• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Q:load-on-startup

 
Henrik Krievs
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is possible to define load-on.startup for .JSP's ?

Rgds, Henrik
 
Praful Thakare
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try this in you web.xml
<servlet>
<servlet-name>myjsp</servlet-name>
<jsp-file>/myjsp.jsp</jsp-file>
<load-on-startup>1</load-on-startup>
</servlet>

Cheers
-Praful
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic