1
I created my app Java
with Eclipse
in the directory Meus Documentos/workspace/TesteJAVA/
Now I want to call a class with JSP
, want to know how to configure to grab the application from this directory or should I keep the application and classes in the folder Tomcat
?.
I’m using Apache Tomcat 8
and the page is in C:Aplicativos/Apache/Tomcat8/webapps/TesteJSP/
Well, just for the level of clarification, what the reason of this class is not inserted in the project that contains the page?
– Weslley Tavares
@Weslley Tavares I’ve never made it work before, there’s a JSP file in the Tomcat folder that works with java code, this is my HTML page, I must include this file in the project by Eclipse ?
– Tiago Oliveira de Freitas
I see no problem in this inclusion.
– Weslley Tavares
@Weslley Tavares Ok, I try to include JSP file, but Eclipse automatically closes, I will reinstall the modules and try again.
– Tiago Oliveira de Freitas
What eclipse perspective are you using?
– Weslley Tavares
@Weslley Tavares Latest version of Eclipse Mars + Jboss Tools, but was giving error when installing, the afternoon I will try again.
– Tiago Oliveira de Freitas
So, as for perspective, you’re in java ee?
– Weslley Tavares
@Weslley Tavares Yes
– Tiago Oliveira de Freitas
I have no computer to try to simulate your case...
– Weslley Tavares
@Weslley Tavares But that’s right, isn’t it? Java EE + Jbos to allow creating Dynamic Web Projects..., if this is what I’m going to try to solve, the real issue is that I didn’t care that I should include JSP in the project, as simple, but as I’m getting started...
– Tiago Oliveira de Freitas