edu.indiana.dlib.metsnav.tld
Class DisplayUrl

java.lang.Object
  extended by TagSupport
      extended by 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

Constructor Summary
DisplayUrl()
           
 
Method Summary
 int doEndTag()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayUrl

public DisplayUrl()
Method Detail

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException


Copyright © 2005 Trustees of Indiana University. All Rights Reserved.