Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Uploading a JSP into a WAR file

 
rastas biggs
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, but some containers like Tomcat will run an app from either a war file or from an exploded directory structure.
 
Andy Hahn
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic