Sebastian,

Jitender is right about a tag only allowing one of "forward", "href", "page"
or "action" as an attribute in the tag.  However, the Jasper Exception is
telling you which tag: in an html:rewrite.  I just verified this by making a
bad tag and seeing the exact same error in Tomcat 5.0.28 under Struts
v1.2.4.  My bad tag was:

<html:rewrite forward="welcome" action="/hi_there"/>

See? I per the docs we are not allowed to use both a "forward" and an
"action" parameter in the html:rewrite tag. RTFM page:
http://struts.apache.org/userGuide/struts-html.html#rewrite

Regards,
David

-----Original Message-----
From: Sebastian Ho [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 11:06 PM
To: Struts Users Mailing List
Subject: jasper exception



hi

anyone encounter this exception before?

org.apache.jasper.JasperException: Cannot create rewrite URL:
java.net.MalformedURLException: You must specify exactly one of
"forward", "href", "page" or "action"

It only happens in one particular JSP..

Sebastian Ho


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to