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

Struts Question

 
Martin Coetzee
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys...I have a question regarding struts. I've got a tabs page with different information on it. At the bottom of each tab, i placed a button that will submit to a certain dispatch action. I need to get the 'key' for the information on the tab to modify in the action. There is a hidden variable declared inside the form. I.E. :

When I extract the 'partyKey' parameter from the request, the value inside it is: "<%=key%>" and not the "person4" value I expected. How can I replace the value in the tag with something that's everchaning on the page?
I appreciate all comments.
Greetings from Pretoria, South Africa
Martin Coetzee
P.S. Sorry for the onklick spelling mistake, but the BB does not except the correct spelling in the message.
 
Rick Hightower
Author
Ranch Hand
Posts: 350
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why not just use <html:hidden />
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic