wood burning stoves 2.0*
The moose likes Servlets and the fly likes accessing implicit objects using JSP tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "accessing implicit objects using JSP tags" Watch "accessing implicit objects using JSP tags" New topic
Author

accessing implicit objects using JSP tags

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
If you need to produce JSPs that are 100% Java-free, is there an
alternative notation, using XML JSP tags, for accessing implicit objects such as request. E.g. for:
<%= request.getAttribute("return") %>

Can't seem to find it anywhere.
many thanks

Howard
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
Since a JSP is basically a Java servlet, you have to use Java to get the values of the implicit objects. How could it be otherwise?
Bill
 
wood burning stoves
 
subject: accessing implicit objects using JSP tags
 
Similar Threads
Implicit and Explicit Objects
Difference between page , pagecontext and application implicit object
Implicit Objects doubt!
JSP implicit objects in Simple Tags
Implicit Objects available in Tag Files