Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can we override jspInit() in my JSP if I do not use scripting  RSS feed

 
Simran Dass
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Suppose I have a jsp page A.jsp in which I am doing something in jspInit() by overriding it. I use scriptting <%! %>
to override jspInit() as shown below :-

A.jsp
---------




My question is how can I override jspInit() in a jsp page without using scripting i.e. without using <%! %>.

PLEASE HELP.

Regards
Simran
 
Stoian Azarov
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't. At least I am not aware of such method.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!