• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bean's value is not setting on submit press

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI

When I fille the form and submit it via a submit button the values are not setting into bean properties...where can I made mistakes...I am using struts 1.3 in my application...
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kaustubh,

By now, you should be knowing that, without providing any details about your application and relevant code/configurations, you won't be able to get any decent help. So please be more specific about what problem you are running into.
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MY JSP CODE...


 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MY strutconfig code

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ManagepriorityAction Code

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Redirect method code

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
now you can see in this code when i try to add an priority from my jsp I will fill the form then press save button then the control goes towards redirect method in the action class where it decide which method had to be called by seeing that request came from 'add' it send the conrtol towards insertprior method in action class where I must get the bean with the values i filled in the form but the problem is that I am not getting those values in that form...hope that the problem is claear to u..

Thanks
Kaustubh
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Struts, in case someone wants to read all of that.

sscce.org
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ohk Sir...I hope I'll get the answer there..
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
got the solution the problem is with the hidden fields..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic