This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes using html:link tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "using html:link tag" Watch "using html:link tag" New topic

using html:link tag

rakkesh kumar
Ranch Hand

Joined: Oct 06, 2004
Posts: 37
i want to pass the form bean to the Action class
by clicking the Link.
by using <html:link action="">
the page is redirected to the Action .but i'm not able to retrieve the values in form bean.the form bean is not passed to the Action class.
is there any way to do that.
Tad Dicks
Ranch Hand

Joined: Nov 16, 2004
Posts: 264
If you use on_click="document.formname.submit()" inside the tag it should work. (remove the underscore between on and click, and don't leave a space).

wood burning stoves
subject: using html:link tag
It's not a secret anymore!