Hello Eric,

You misspelled <url-pattern> as <url-patter> + why do a URL mapping to
map it right back to the package + className?  Why don't you do
something like:

<servlet-mapping>
    <servlet-name>Login</servlet-name>
    <url-pattern>/login</url-pattern>
</servlet-mapping>

Jake

Thursday, April 25, 2002, 1:06:39 PM, you wrote:

EJM> I keep getting an error
EJM> "The request resource (/test/Login) is not available.

EJM> I have no idea what is going wrong.

EJM> I found an error that reads "Exception intitializing TldLocationsCache: 
EJM> XML parsing error on file /WEB-INF/web.xml (line 3, col 9): Element type 
EJM> "webapp" must be declared

EJM> my web.xml file looks like this



EJM> <?xml version="1.0" encoding="ISO-8859-1"?>

EJM> <webapp>

EJM>     <servlet>
EJM>         <servlet-name>Login</servlet-name>
EJM>         <servlet-class>com.test.Login</servlet-class>
EJM>     </servlet>

EJM>     <servlet-mapping>
EJM>         <servlet-name>Login</servlet-name>
EJM>         <url-patter>com.test.Login</url-pattern>
EJM>     </servlet-mapping>
      
EJM> </webapp>


EJM> Any help would be appreciated.

EJM> Eric


EJM> --
EJM> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
EJM> For additional commands: <mailto:[EMAIL PROTECTED]>
EJM> Troubles with the list: <mailto:[EMAIL PROTECTED]>



-- 
Best regards,
 Jacob                            mailto:[EMAIL PROTECTED]


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to