This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "using html:link tag" Watch "using html:link tag" New topic
Author

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="Myaction.do">
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).


-Tad
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using html:link tag
 
Similar Threads
How to avoid using formbean and redirect to another JSP ?
[SOLVED] Problem with LocaleAction + DynaActionForm
Pass Parameter value to dipatchMethod
preserving session formbeans