• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about initializing JSP

 
shan xiao
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On page 308 of HFS, it talks about how to initialize JSP in DD. I am just wondering if i don't need to configure init params for my JSP, do i still have to add <jsp-file>...</jsp-file> or anything else in DD?

For my understanding, if i have a servlet forwarding the request to a JSP just for viewing, i don't have to do anything in DD in terms of this JSP, but how about those JSPs directly accessible to the client?

Thanks in advance
 
Nitish Bahadur
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NO need to use <jsp-file> if your JSP's are just for presentation purposes. The flexibility is provided if you ever wanted to override jspInit and jspDestroy of the HttpJspPage.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic