[EMAIL PROTECTED] wrote:
>
> Hi,
> Can someone please tell me whats wrong with this web.xml file?
>
> <servlet>
>
> <servlet-name>nData</servlet-name>
>
> <servlet-class>se.tj.activity.servlets.NServlet</servlet-class>
>
> </servlet>
>
> <servlet-mapping>
>
> <servlet-name>nData</servlet-name>
>
> <url-pattern>/se/tj/activity/servlets/nData</url-pattern>
>
> </servlet-mapping>
>
> The servlet is in the
> \webapps\Activety\WEB-INF\classes\se\tj\activity\servlets directory and the
> servlet class is in a package called se.tj.activity.servlets.
>
> Thanks!
>
> /Lisa
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
Hi,
Sorry, if I am wrong! Try it If u can
I think you dont need to give the entire package path in the
<url-mapping>.
Just say /ndata - no need to give the exact name of the servlet or class
file name.
But, the problem could be in your <Context> specification in server.xml.
You didn't write about it.
cheers,
Upadhyayula
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]