aspose file tools*
The moose likes Servlets and the fly likes repopulating form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "repopulating form" Watch "repopulating form" New topic
Author

repopulating form

Mariusz Bogucki
Greenhorn

Joined: Mar 09, 2004
Posts: 13
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 ]

SCJP,SCWCD
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31074
    
232

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?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Mariusz Bogucki
Greenhorn

Joined: Mar 09, 2004
Posts: 13
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: repopulating form