I have to popualate a form with a users email, which is obtained from the database. In my Action I set where email is a String. In my jsp I do the following Unfortunately, this doesn't work, nevermind the fact that its bad practice to include scriplets in jsp. I don't see the need to create a value object here so what do I do? Thanks.
unfortunatly you need a form class for this. This form class can then simply hold the email address. This info you can retrieve in the entry action and then store it again in the exit action Like this entry (retrieve and call setter of form) -> jsp -> exit (store form into db again) The problem you have is that the html:text tag is also only working in a html:form element. olli