struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Pierce <>
Subject RE: Newcomer question
Date Mon, 10 Feb 2003 00:31:37 GMT
What errors and where? 

Your tag should be using the href attribute (forward refers to global
forwards). I can't see anything wrong with your action mapping.

-----Original Message-----
From: John Dubchak []
Sent: Monday, 10 February 2003 11:38 AM
To: Struts Users Mailing List
Subject: Re: Newcomer question

On Sunday 09 February 2003 17:57, Todd Pierce wrote:
> What I do when linking to another (static?) page within the application is
> define a simple action for it in struts-action.xml and use the <html:link>
> tag:


Thanks for the information.  Can you provide me with an example of the 
html:link you mentioned?  I'm getting errors when trying either the forward,

href or page and specifiying an action as the argument.  Eg:

<html:link forward="/basic-content">Basic Content</html:link>

with the folliwng information in my struts-config.xml file:

		<action path="/basic-content"
			<forward name="success" path="/content.jsp"/>
			<forward name="failure" path="/index.jsp"/>


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message