*
The moose likes Spring and the fly likes how to prepopulate a form using form:input tag? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "how to prepopulate a form using form:input tag?" Watch "how to prepopulate a form using form:input tag?" New topic
Author

how to prepopulate a form using form:input tag?

hernan rodriguez
Greenhorn

Joined: Mar 13, 2011
Posts: 14
hi, i need some help, need to prepopulate a form , just take the data from the db and put them into a form. I tried using the "value" attribute but it didn't work, i got an error: Undefined attribute name "value". In the form should appear the user's credentials so he can edit them... but i don't know how to do it...,
there's is also select tags in the form.

thanks

regards
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

What does your Controller method look like? How about your jsp file? We can't figure it out unless we see that information.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
hernan rodriguez
Greenhorn

Joined: Mar 13, 2011
Posts: 14
Mark Spritzler wrote:What does your Controller method look like? How about your jsp file? We can't figure it out unless we see that information.

Mark


My index.jsp:



My controller:



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to prepopulate a form using form:input tag?