This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

repopulating form  RSS feed

 
Mariusz Bogucki
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could somebody tell me how to get access to the parameters that are used to repopulate the form with struts?

for example from my action class i would like to manipulate the parameters that are send to repopulate the form
[ February 26, 2005: Message edited by: Mariusz Bogucki ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mariusz,
Struts just uses the HttpRequest parameters. If you really need to manipulate them, you could wrap the HttpRequest. However, there is usually a cleaner way of doing it. What are you trying to accomplish?
 
Mariusz Bogucki
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for reply
I have actually figured that out already. I just had a wrong name for the form bean associated with the action class in my code thats why it did not work before.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!