• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

adding action mapping to struts-config

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is it you are having trouble with? The links in your jsp?

- Brent
 
Ricky James
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic