Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hyperlink , action

 
Anand Gondhiya
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use the onClick attribute to submit the form.
 
Feargal Egan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Anand Gondhiya
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks everybody...I got it. it's html:link
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic