| Author |
Uploading a JSP into a WAR file
|
rastas biggs
Ranch Hand
Joined: Sep 24, 2004
Posts: 41
|
|
Is it possible? to upload a jsp file into a web app .war file from a web interface, so i can create jsp templates and delopy from my app. Ras
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
|
No, but some containers like Tomcat will run an app from either a war file or from an exploded directory structure.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Andy Hahn
Ranch Hand
Joined: Aug 31, 2004
Posts: 225
|
|
|
I have found WebLogic, WebSphere, and Tomcat will allow you to specify if you would like your EAR/WAR exploded or not. Most of the time our apps are deployed as exploded WAR files. I use ant via my IDE to copy over JSPs to my app servers jsp directory. If you wanted something more glamorous or production worthy, I would definitely suggest you first determine if your app is deployed as an exploded war or not. If you wanted to upload your jsp files, you could do some intermediate work, such as running the JSP through a compile test.
|
 |
 |
|
|
subject: Uploading a JSP into a WAR file
|
|
|