edu.indiana.dlib.metsnav.tld
Class DisplayUrl
java.lang.Object
TagSupport
edu.indiana.dlib.metsnav.tld.DisplayUrl
public class DisplayUrl
- extends TagSupport
DisplayUrl is a jsp tag that displays the url of the requested page. This Url
is specifically formatted to display a Struts page, that is, the action
mapping that was requested, rather than a servlet that was subsequently
called, or the resulting jsp. So the output of the displayUrl tag looks like:
http://webapp1.dlib.indiana.edu/newton/browse.do
-NOT- http://webapp1.dlib.indiana.edu/newton/WEB-INF/pages/layouts/browse.jsp
This tag supports no attributes. The corresponding .tld entry should be:
<tag> <name>displayUrl</name>
<tag-class>edu.indiana.dlib.tld.DisplayUrl</tag-class>
<body-content>empty</body-content> </tag>
- Author:
- tlcamero
TODO To change the template for this generated type comment go to Window -
Preferences - Java - Code Style - Code Templates
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisplayUrl
public DisplayUrl()
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
Copyright © 2005 Trustees of Indiana University. All Rights Reserved.