I tried to put just /ndata in <url-mapping>, but I can´t get it to work.

I am a Java and tomcat newbie so I don´t realy know what´s supposed
to be in the server.xml file. I have runed the admin program though and
there is a context for ActivetyJE.

/Lisa




|--------+-------------------------------------->
|        |          prasad.upadhyayula@realtime.|
|        |          co.uk                       |
|        |          Sent by:                    |
|        |          [EMAIL PROTECTED]|
|        |          time.co.uk                  |
|        |                                      |
|        |                                      |
|        |          2001-03-05 17:02            |
|        |          Please respond to           |
|        |          tomcat-user                 |
|        |                                      |
|--------+-------------------------------------->
  
>-----------------------------------------------------------------------------------------------------------|
  |                                                                                    
                       |
  |       To:     [EMAIL PROTECTED]                                       
                       |
  |       cc:                                                                          
                       |
  |       Subject:     Re: web.xml configuration                                       
                       |
  
>-----------------------------------------------------------------------------------------------------------|




[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]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to