On Wed, 16 Aug 2000, Chauhan, Vivek wrote:

> Because this is a basic JAVA question.
>
> If you have a method getAddress(String name), you can call it as
>
> getAddress("");  // Or
> getAddress(null); // Or
> getAddress("Purav");
>
> Now what checks you should have in your methods?

For the purpose of form parameters, you might even want to include:

  getAddress(" ");
  getAddress("  ");
  getAddress("   ");
  getAddress("    ");
  getAddress("     ");

and so on.


> > -----Original Message-----
> > From: Purav [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 16, 2000 7:38 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Custom Error Page
> >
> >
> > Hi,
> > The following url does not contain any information about the
> > question i have
> > posted
> >  http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "David Concannon" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 16, 2000 11:48 AM
> > Subject: Re: Custom Error Page
> >
> >
> > > Hi,
> > >  http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/
> > >
> > > This page has answers to all beginners questions.
> > > A very comprehensive resource, with links to answers
> > > for questions such as this one.
> > >
> > >
> > > Dave
> > >
> > > -----Original Message-----
> > > From: Purav [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, August 16, 2000 10:38 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: [SERVLET-INTEREST] Custom Error Page
> > >
> > >
> > > Hi,
> > >
> > > I am using Apache Web Server.
> > > I have a few questions
> > > How do i make my own Error Pages
> > > like the one you see on the sun site, when you tye a wrong
> > Url it says
> > > "Oops! We couldn't find your document.
> > > The file that you requested could not be found on this
> > server. If you
> > > provided the URL, please check to ensure that it is correct
> > or try using
> > the
> > > search field above. "
> > >
> > > So how do I acheive the same
> > >
> > > ALSO can i change my Servet directory .
> > > its normally /servlet/pagename . how do i change the
> > directory. what are
> > the
> > > changes i need to do in Jserv Configuration
> > >
> > > Please Help
> > >
> > >
> > > Purav
> > >
> > >
> > ______________________________________________________________
> > _____________
> > > To unsubscribe, send email to [EMAIL PROTECTED] and
> > include in the
> > body
> > > of the message "signoff SERVLET-INTEREST".
> > >
> > > Archives:
> > http://archives.java.sun.com/archives/servlet-interest.html
> > > Resources:
> > http://java.sun.com/products/servlet/external-resources.html
> > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> > >
> > >
> > >
> > **************************************************************
> > *********
> > > Privileged/confidential information may be contained in
> > this message.
> > > If you are not the addressee indicated in this message (or
> > responsible
> > > for delivery of the message to such person), you may not copy or
> > > deliver this message to anyone. In such case, you should
> > destroy this
> > > message and notify the sender and [EMAIL PROTECTED]
> > > immediately.
> > >
> > > If you or your employer do not consent to Internet E-mail
> > messages of
> > > this kind, please advise us immediately.
> > >
> > > Opinions, conclusions and other information expressed in
> > this message
> > >  (including any attachments) are not given or endorsed by ebeon ltd
> > >  (or ebeon inc., as applicable) unless otherwise confirmed
> > in writing
> > > by an authorised representative independent of this message. Any
> > > liability arising from reliance placed on this message
> > (including its
> > > attachments) without such independent confirmation is
> > hereby excluded.
> > >
> > > This message (including attachments) is protected by copyright laws
> > > but has no other legal or contractual standing. The presence of this
> > > footnote indicates that this message (including its attachments) has
> > > been processed by an automated anti-virus system; however it is the
> > > responsiblity of the recipient to ensure that the message (and
> > > attachments) are safe and authorised for use in their environment.
> > >
> > **************************************************************
> > *********
> > >
> > >
> > ______________________________________________________________
> > _____________
> > > To unsubscribe, send email to [EMAIL PROTECTED] and
> > include in the
> > body
> > > of the message "signoff SERVLET-INTEREST".
> > >
> > > Archives:
> > http://archives.java.sun.com/archives/servlet-> interest.html
> > >
> > Resources:
> > http://java.sun.com/products/servlet/external-resources.html
> > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
> > ______________________________________________________________
> > _____________
> > To unsubscribe, send email to [EMAIL PROTECTED] and
> > include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources:
> > http://java.sun.com/products/servlet/external-> resources.html
> >
> > LISTSERV Help:
> > http://www.lsoft.com/manuals/user/user.html
> >
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to