Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

in jsp what tags go where after compilation?

 
J radolf
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like there are

Expression <%= %>
Declaration <%! %>
Scripplets <% %>

where do these things go?

i mean whether it goes to the init() service() or Destroy()


 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64688
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those aren't tags, they are scriptlets. At this point, they should no longer be used in JSP pages.

The best way to answer your question though, is to write a sample JSP and look at the resulting servlet that the container generates on its behalf.
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... Or read some material on JSP lifecycle.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic