Struts: HTTP Request Parameter overwrites ActionForm Field ?

Joined
Nov 14, 2006
Messages
1
Reaction score
0
Dear developers,

I need help to the following problem. Scenario:

User edits the Field "comment" on the HTML page (.e.g. "hello"). This field corresponds with ActionForm property comment. I set the the ActionForm.comment null in the Action class(the HTTPServletRequest Parameter comment remains "hello" there is no methode to change it). After that will the page displayed again, but the field comment is no more visible for the user (with javascript is disabled). User sends the
page and in the (same) ActionForm is the comment property nit null, but
"hello".

Could anybody advise me ?

Warm regards,

Laszlo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top