• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFJS Chapter-7 Page 309 Doubt

 
Peter Piddle
Greenhorn
Posts: 26
IntelliJ IDE jQuery Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I have started reading chapter-7 from HFJS. There are different questions there. A question is written there which says that.
Suppose you do want ot override the init() method.. how would you do it? I know this part, we can override it by using jsp elements
declarations.

Onwards it says that, Is there something else you can do that'll give you the same result? I couldn't get it. Can we do it some other way
as well?

Thanks,
Peter
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2437
95
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Peter,

There are a number of possiblities, but probably they haven't been discussed yet in the book. The one thing that could be used is
- do initialisation in a Servlet, before forwarding to the JSP.

The other thing I can think of when using JSPs only is:


Regards,
Frits
 
Peter Piddle
Greenhorn
Posts: 26
IntelliJ IDE jQuery Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Frits,

Thanks a ton. I thought of the same thing.

Thanks,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic