aspose file tools*
The moose likes Struts and the fly likes Hyperlink , action 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 "Hyperlink , action" Watch "Hyperlink , action" New topic
Author

Hyperlink , action

Anand Gondhiya
Ranch Hand

Joined: Feb 24, 2004
Posts: 155
Hello All,

I have one submit button on my JSP page.i.e one form.

I want to put a hyper link on that page ..but want to use the same actionClass which i use when I hit "submit"

How do I do this..i.e in my actionClass , How do I know that I had hit hyper link on jsp ??

I am new to sturts....please reply thanks
-Anand.
Trevor Whitehead
Greenhorn

Joined: Oct 16, 2002
Posts: 16
use the onClick attribute to submit the form.
Feargal Egan
Greenhorn

Joined: Nov 14, 2001
Posts: 13
Anand Gondhiya
Ranch Hand

Joined: Feb 24, 2004
Posts: 155
Thanks everybody...I got it. it's html:link
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hyperlink , action
 
Similar Threads
Populating form values with hyperlink clicks
Pass values using href in JSP
control the reseting the form --form bean
Is it possible to save the data of the applet when focus is lost from it
How to use Request Dispatcher