TextFields empty after submit

Hello everyone,

I hope this is not a stupid question(newbe..)?

I have a JSP file, where i use a submit button in a

FORM

After clickking the submit button al my fields are empty,

Is there a way to avoid this?

Can somebody help me out,please!

Thanks in advance...

by

stoneJ

[354 byte] By [stoneJ] at [2007-9-26 1:18:39]
# 1

In your post from the html form, write the content of your fields to a cookie.

In your re-load of the page, populate the values from your stored cookie. I belive there should be a Java object for accessing the cookie, otherwise you could always try using javascript (but you would probobly want to handle the writing of the cookie through javascript then).

Dan Hughes

dhughes1 at 2007-6-29 0:49:58 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...