Meaningless Drivel is fun!*
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


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: 12792
    
    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
 
GeeCON Prague 2014
 
subject: accessing implicit objects using JSP tags