This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes adding action mapping to struts-config Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "adding action mapping to struts-config" Watch "adding action mapping to struts-config" New topic
Author

adding action mapping to struts-config

Ricky James
Ranch Hand

Joined: Mar 26, 2007
Posts: 83
Hello,

I have 2 hyperlinks on a jsp page in my Struts with Tiles application.
I am a bit confused about how to write the action-mapping for these
links in the struts-config file.

Would be really thankful if someone helps me with this. I have pasted
the files below.

Thanks
Ros

Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
What is it you are having trouble with? The links in your jsp?

- Brent
Ricky James
Ranch Hand

Joined: Mar 26, 2007
Posts: 83
Originally posted by Brent Sterling:
What is it you are having trouble with? The links in your jsp?

- Brent


That is correct. Need help with the links.

Thanks
Ricky
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
I would probably use an html:link tag and specify an action attribute.

http://struts.apache.org/1.1/userGuide/struts-html.html#link

- Brent
Ricky James
Ranch Hand

Joined: Mar 26, 2007
Posts: 83
Originally posted by Brent Sterling:
I would probably use an html:link tag and specify an action attribute.

http://struts.apache.org/1.1/userGuide/struts-html.html#link

- Brent


Thanks for the tip Brent.

Ricky
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: adding action mapping to struts-config