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
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828300#3828300
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828300
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user