(unknown)

Geeta Ramani <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Organization Central Maine Power Company
Message-ID <[email protected]>
Kevin:

Well, ok, you could at the time of (I am assuming server-side)
validation set some session variables and then in your jsp check if
those session vars are nonnull and if so set the "value" of the field to
be the value of that session var and if not set it equal to the empty
string.

Geeta

Kevin Goethe wrote:

>  Is there another way without diving into struts!   It sounds like I
> need to spend time in the future to learn about struts, but for
> now...  I need another solution.
>
> At 02:50 PM 1/30/2003 -0500, you wrote:
>
>> Kevin:
>>
>> Have you considered using Struts?  It neatly solves this as well as
>> many other problems. (plus is pure pleasure to work with!! :)
>>
>> Regards,
>> Geeta
>>
>> Kevin Goethe wrote:
>>
>> >  Use pure server-side (javascript not an option)
>> >
>> > Question:
>> > I need a way to preserve the input fields entered on a form after
>> > field validation occurs in the servlet.   If input error is
>> > detected during servlet validaton, how can I redisplay input form
>> > with values the user entered?
>> >
>> > I am using a servlets not jsp.
>> >
>> > Kevin Goethe
>> > Senior Analyst
>> > Northern Michigan University
>> > 1401 Presque Isle
>> > 501 Cohodas Building
>> > Marquette, MI  49855
>> >
>> > email:  [email protected]
>> > phone: 906-227-1253
>> > fax:      906-227-1890
>>
>> Kevin Goethe
>> Senior Analyst
>> Northern Michigan University
>> 1401 Presque Isle
>> 501 Cohodas Building
>> Marquette, MI  49855
>>
>> email:  [email protected]
>> phone: 906-227-1253
>> fax:      906-227-1890
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.