aspose file tools*
The moose likes JSP and the fly likes How implicit object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How implicit object "config" work" Watch "How implicit object "config" work" New topic
Author

How implicit object "config" work

ram gaurav
Ranch Hand

Joined: Mar 29, 2006
Posts: 208
HI

Can you please explain the exact work of "config" implicit object in JSP.
and i am very thankful if you can give me some example.

Thanks
Regards
Gaurav
Balasubramani Dharmalingam
Ranch Hand

Joined: Dec 06, 2004
Posts: 116
It is the ServletConfig object corresponding to the generated servlet. If you see the servlet code generated by the Container , u can find code as follows,

ServletConfig config = null;
config = pageContext.getServletConfig();

From this u can get the servlet init parameters.


Balasubramani SD,<br />SCJP 1.4,SCWCD 1.4,SCJP 5.0<br /><a href="http://sd.balasubramani.googlepages.com" target="_blank" rel="nofollow">www.sd.balasubramani.googlepages.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How implicit object "config" work
 
Similar Threads
jspinitparameter
implicit jsp objects
question on implicit objects in EL?
pagecontext and pageconfig
Servlet Object in JSP