no idea about your initial problem, but in order to access the Login
servlet at http://localhost/MyApp/Login you need to change the
url-pattern to just Login (assuming the context is called MyApp).. well
you don't _need_ to, since there are other ways of accessing the servlet..
 

On Thu, Jun 01, 2000 at 11:14:09AM -0000, Bhootnath Singh wrote:
> Yes I am able to request http://localhost/MyApp/jsp/Login.jsp .After 
> entering the login values when I press enter
> a servlet is called the URL for which is http://localhost/MyApp/Login  but 
> it is not able to locate the servlet and gives a Not found error .....
> 
> I have made this entry in the web.xml
> 
>       <servlet>
>               <servlet-name>Login</servlet-name>
>               <servlet-class>com.base.login.web.Login</servlet-class>
>       </servlet>
>       <servlet-mapping>
>               <servlet-name>AgentLogin</servlet-name>
>               <url-pattern>AgentLogin</url-pattern>
>       </servlet-mapping>
> 

Reply via email to