You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Rajasekhar Bodduluri <ra...@csgsystems.com> on 2001/06/21 18:19:57 UTC

html:link error

Hi all,

When i am using this code i got one error:

 Attribute req has no value  at
org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:567)

<html:link href="default.do" onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Login','',<bean:write name="req"
property="contextPath"/>/<application:initparameter
name="imagePath"/>/LoginButton2.gif,1)"> <IMG NAME="Login" BORDER="0"
SRC="<application:initparameter name='imagePath'/>/LoginButton1.gif"
ALT="Login"
onLoad="MM_preloadImages('static/images/LoginButton2.gif')"></html:link>

but i defined req

thanks & regards
raj


Re: html:link error

Posted by Oleg V Alexeev <go...@penza.net>.
Hello Rajasekhar,

Thursday, June 21, 2001, 8:19:57 PM, you wrote:

RB> Hi all,

RB> When i am using this code i got one error:

RB>  Attribute req has no value  at
RB> org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:567)

RB> <html:link href="default.do" onmouseout="MM_swapImgRestore()"
RB> onmouseover="MM_swapImage('Login','',<bean:write name="req"

                                         ^
Error lives here ------------------------|

Ypu can not use tag as attribute value for another tag. This rule
about JSP tags - not HTML.

RB> property="contextPath"/>/<application:initparameter
name="imagePath"/>>/LoginButton2.gif,1)"> <IMG NAME="Login" BORDER="0"
RB> SRC="<application:initparameter name='imagePath'/>/LoginButton1.gif"
RB> ALT="Login"
RB> onLoad="MM_preloadImages('static/images/LoginButton2.gif')"></html:link>

RB> but i defined req

RB> thanks & regards
RB> raj



-- 
Best regards,
 Oleg                            mailto:gonza@penza.net