aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFJS Chapter-7 Page 309 Doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFJS Chapter-7 Page 309 Doubt" Watch "HFJS Chapter-7 Page 309 Doubt" New topic
Author

HFJS Chapter-7 Page 309 Doubt

Peter Piddle
Greenhorn

Joined: Jun 13, 2012
Posts: 26

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


Peter Piddle - Skype(peter.piddle)
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1734
    
  25

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

Joined: Jun 13, 2012
Posts: 26

Hi Frits,

Thanks a ton. I thought of the same thing.

Thanks,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HFJS Chapter-7 Page 309 Doubt