try the url as :
"http://localhost:8080/servlet/carproject.signon.SignOnServlet".
--- "Praveen Kumar S ." <[EMAIL PROTECTED]>
wrote:
> > Hai All,
> > I am facing a problem when I am trying to run
> servlets.
> >
> > In my project I had very few packages. For example
> take sign on. I wrote a
> > servlet program by name SignOnServlet. It package
> structure is like this.
> > c:/carproject/signon/SignOnServlet.java. After
> writing this SignOnServlet
> > program with the same package structure I kept the
> above java program in
> > servlets directory of java web server. So in java
> web server it looks like
> > this.
> >
>
c:/JavaWebServer2.0/servlets/carproject/signon/SignOnServlet.java.
> > Now I compiled the program and .class files is
> also in the same package
> > where .java program is there.
> >
> > The above servlet contains doGet and doPost
> methods. Now I wrote an HTML
> > program say signon.html.
> > In this html file I created a submit button for
> which action =
> >
>
"http://localhost:8080/servlet/carproject/signon/SignOnServlet".
> >
> > When ever I press submit button in the browser
> when this html file is
> > accessed after statrting the web server, I am
> getting NotFound 404 error.
> >
> > I could not understand why this is happening. All
> .class files are in the
> > same package where .java programs are there.
> >
> > Any one can help me.
> >
> > Another question is what will happen if an
> exception is throwed in either
> > doGet or doPost method Will the client get the
> error message or what error
> > id will the user get.
> >
> > Please help me. I want it urgently.
> >
> > Thanks in advance
> >
> > KrishnaKishore
> >
> >
> >
> >
> >
> > A V K KISHORE VELETI
> > SYSTEMS ANALYST
> > EXTN 3181
> >
>
>
___________________________________________________________________________
> 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
>
=====
Pathuri
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.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