If I use <html:img> inside <html:link> tag, I get an exception.
Looks like I need to use <html:link> with regular image tag as
        <html:link page="/recentactivity.jsp"><img
src="/images/nav_recent.gif" ></html:link>


Exception:

<Apr 16, 2001 3:37:10 PM EDT> <Error> <HTTP>
<[WebAppServletContext(8358178,WebApp)
] exception raised on '/WebApp/recentactivity.jsp'
javax.servlet.ServletException: runtime failure in custom tag 'link'
        at jsp_servlet._navigation._jspService(_navigation.java:319)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:208)
        at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispat
cherImpl.java:249)
        at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispat
cherImpl.java:167)
        at
weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:104
)
        at jsp_servlet._recentactivity._jspService(_recentactivity.java:148)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:208)
        at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:149)
        at
org.apache.struts.action.ActionServlet.processActionForward(ActionSer
vlet.java:1727)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:156
4)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:208)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:1127)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1529)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>


-----Original Message-----
From: Scott Cressler [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 8:06 PM
To: '[EMAIL PROTECTED]'
Subject: RE: How to use the html:img tag?


Probably something like:

<html:link ...>
  <html:img ... />
</html:link>

?

> -----Original Message-----
> From: Suriyanarayanan, Senthil Kumar
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 10, 2001 5:01 PM
> To: [EMAIL PROTECTED]
> Subject: How to use the html:img tag?
> 
> 
> Hello,
>       I would like to know create an hyperlink image using 
> the html:img ?
>       Basically I want to convert the following html in to 
> html:img ...
>               <a href="registration.jsp"><img
> src="images/registration.gif"></a>
> 
> 
> Thanks
> Senthil Kumar.S
>  
> **************************************************************
> ************
> The Information transmitted herewith is sensitive information 
> intended only
> for use to the individual or entity to which it is addressed. 
> If the reader
> of this message is not the intended recipient, you are hereby 
> notified that
> any review, retransmission, dissemination, distribution, 
> copying or other
> use of, or taking of any action in reliance upon, this information is
> strictly prohibited. If you have received this communication in error,
> please contact the sender and delete the material from your computer.
> 
 
**************************************************************************
The Information transmitted herewith is sensitive information intended only
for use to the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon, this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

Reply via email to