This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployment Location: HTML and JSPs (directly accessible)

 
Ken Severn
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Working with Head First Servlets & JSP ... It says that if you deploy them in a war file they can't be under the META-INF directory. If not in a war file they can't be under the WEB-INF directory. They also state, elsewhere, that the rules don't change when deploying with a war file. So, I think that if deployed in war file that they can't be under the META-INF or under the WEB-INF directories. Is that correct?
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2536
113
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
H Ken,

You are right. If you want to access the JSPs and HTML files directly, then they can't be under those two directories.

Regards,
Frits
 
Ken Severn
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hellow Fritz,

Thanks a bunch for the confirmation. I appreciate it.

Ken
 
Devaka Cooray
Marshal
Pie
Posts: 4896
409
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, if you are using good practices, you must use JSP pages as viewer components - your JSP files should NOT be directly accessible.
 
Ken Severn
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agreed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic