wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
problem:Invalid path was requested /RES_userhomepage
Tiles with the submit form
Tiles and struts 1 , not redirecting to tileĊ› definition path
1.3.8 tiles problem
Tiles winding me up.