This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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