Hi Kalya,
First, JSP has it's own list - JSP and servlets have been
differentiated for over a year.
Second, without code snippets of what you are actually trying to do,
it is almost impossible to help. Generally speaking, though, a
NullPointerException causing your code to crash is the result of
improper pre-validation code, like:
if( whatever != null) {
do_something;
}
Cheers!
Mark
----- Original Message -----
From: "kal inuganti" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 06, 2001 4:58 PM
Subject: JSP ERROR
> Dear List Members,
>
> I am posed with a wierd problem. I have apache tomcat on apache
webserver on
> redhat linux6.2. My JSPs AddAssessment.jsp and EditAssessment.jsp
result
> from two form operations. They both can be accessed from Author.jsp.
There
> is a hidden field author="kalyan inuganti" that is passed from
Author.jsp to
> each of these files depending on the jsp selected. This is the only
hidden
> field that is being passed to both of these files.
>
> Here is my problem: Once in a while, my EditAssessment.jsp file
gives a
> nullPointerException for the hidden field while the
AddAssessment.jsp works
> absolutely fine. I am not able to figure out what is happenning. If
anybody
> has had such an experience before please let me know how I should
deal with
> this problem.
>
> Thanks,
> Kalya
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
______________________________________________________________________
_____
> 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