Why not just use: <html:link page="main.do" styleClass="menuItem">Main<html:link>
It's much cleaner than trying to shove tags into attributes. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 21, 2003 10:31 PM > To: [EMAIL PROTECTED] > Subject: RE: <html:rewrite> gets the error message "Body is > supposed to > be empty for html:rewrite" > > > Replace " with ' > > <a class="menuItem" href='<html:rewrite page="/main.do"/>'>Main</a> > > Regards, > > > PQ > > "This Guy Thinks He Knows Everything" > "This Guy Thinks He Knows What He Is Doing" > > -----Original Message----- > From: Jagdish Arora [mailto:[EMAIL PROTECTED]] > Sent: January 21, 2003 2:06 AM > To: Struts Users Mailing List > Subject: Re: <html:rewrite> gets the error message "Body is > supposed to be > empty for html:rewrite" > > try > <a class="menuItem" href="<html:rewrite page="/main.do"/>">Main</a> > > ----- Original Message ----- > From: "Jason Yam" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > Sent: Tuesday, January 21, 2003 1:09 AM > Subject: <html:rewrite> gets the error message "Body is > supposed to be empty > for html:rewrite" > > > > Hi everyone, > > > > I get this error during executing <html:rewrite>. > Anyone know how to > > solve this problem? > > > > Error message: > > Body is supposed to be empty for html:rewrite > > > > Source code: > > <a class="menuItem" href="<html:rewrite > > page="/main.do"></html:rewrite>">Main</a> > > > > Thank you > > > > Jason > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

