Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Help needed


Message #1 by "Brandon Ng" <nodnarb_33@y...> on Sun, 10 Jun 2001 18:06:54
You should also check on your JSP page or servlet, since it's possible the
browser may not support javascript, or the page may be requested directly by
the user typing the URL in which case the expected form data will not be
present when sent to the server. It's easy to have logic errors arise on the
server in either of these cases.

/charlie

-----Original Message-----
From: prashant agaskar [mailto:agaskar_99@y...]
Sent: Monday, June 11, 2001 1:52 AM
To: Pro_JavaServer_Pages
Subject: [pro_jsp] Re: Help needed



This can be handled most effeciently by using java
script in the html page.

simple loop to check if document.form.object.value is
not null. if it is null then cancle submit.

u will have to check actual implementation but that's
the basic idea.

hope it helps

Prasad

--- Brandon Ng <nodnarb_33@y...> wrote:
> Anyone have any ideas on how to ensure that user
> fill in the required data
> for radio buttons and menu lists?
> tks in advance...

  Return to Index