A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
ServletContext in a JSP page
Joined: Jun 22, 2006
Jul 21, 2008 21:09:00
In the page 500(1st Edition), it says that a Tag File (a
doesn't have access to a ServletContext, instead it has access to
But the implicit object "application" is a ServletContext.
Isn't it? So a JSP page has access to a ServletContext.
Joined: Jan 28, 2008
Jul 22, 2008 00:14:00
in tag file(.tag extension)is nothing about jsp,so you can access application . i think your are talking about Tag handler .
Tag handler is having its own behaviour(it is like
file)...so using pageContext you can access application
Joined: Jun 06, 2007
Jul 22, 2008 02:53:00
In the page 500(1st Edition), it says that...
And looks like you are confused with tag files and JSP.
Asking Good Questions
I agree. Here's the link:
subject: ServletContext in a JSP page
What is the spec saying ?
Model 2 Question
ServletContext Doubt / Poll
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014