This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

translation + request phase

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jsp can be compiled during
(got these from specs)
1.deployment time
2.at the first request to the jsp page
can somebody explain the first one?
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. deployment time
Use a < servlet > tag in your web-app to specify your JSP page and include its child element <load-on-startup>. In this case, your JSP page must be compiled at deployment time as the app server is required to load the servlet.
This is as per the Servlet 2.3 spec.
regds.
- satya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic