File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question about struts2 and links

 
Jordan Smith
Ranch Hand
Posts: 89
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi!

i have a form with 3 links.

i would like to submit the form content by the user clicking on the link. as well, i the link has to forward a new page that will accept videoId by the link.
for example:


what is the way to submit the form by clicking on a link and sending params?


 
Abhilash Chander
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are telling the page to go in two diffrent directions which is tough. why don't you pass the link values as <s:hidden> in the form.
 
Jordan Smith
Ranch Hand
Posts: 89
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
because i generate the links in iterator and each link has a different video id:
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use JavaScript.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic