aspose file tools
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
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Reply 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: 17225
    
    1

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to prepopulate a form using form:input tag?
 
Similar Threads
Tabbed Pane usage
1 Form 2 Actions both cant be request?
how to prepopulate FormBean
iText issue- how to read filled PDF from from a hashmap.
How to set default values in an spring form input?