Hi all, here is my problem:
In Jboss - 3.2.0 + Jetty, I can copy (upload) a JSP to the directory given by :
path = servletContext.getAttribute("javax.servlet.context.tempdir") +"/webapp/"
For example, copying the file "newFile.jsp" to "path" result in /tmp/Jetty_0_0_0_8080_myapp/webapp/newFile.jsp
If I try to access the to new JSP file "http://localhost:8080/myapp/newFile.jsp" Jetty detect the new file and start to compile it....
that's ok and it does what I need ( I want to upload JSP files dynamically once the application is deployed)
Ok, I decided to upgrade to Jboss-3.2.3 + Tomcat and servletContext.getAttribute("javax.servlet.context.tempdir") now points to $JBOSS_HOME/server/default/work/MainEngine/localhost/ and the previous solution doesn't work
any idea of how can I upload JSP files dinamically with Jboss-3.2.3 + Tomcat ?
Many thanks