You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jason Yam <ja...@ehk.epson.com.hk> on 2003/01/21 07:09:59 UTC

gets the error message "Body is supposed to be emp ty 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

Re: gets the error message "Body is supposed to be empty for html:rewrite"

Posted by Jagdish Arora <ja...@hotmail.com>.
try
  <a class="menuItem" href="<html:rewrite page="/main.do"/>">Main</a>

----- Original Message -----
From: "Jason Yam" <ja...@ehk.epson.com.hk>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>