You probably made a mistake when generating the .ear file.
BE CAREFULL when setting the:
Servlet and the Bonus.html
The Servlet.class needs to be added in the upper part of the Window frame
and the .html in the lower part.
This is very easy to overlook in the documentation.

I hope this helps.

Regards,

Patrick Balm.

Suhail Beig wrote:

> Hi all
> I deployed the BonusServlet as explained in lesson 1
> of the java site.
> When i tried to run by typing
> http://localhost:8000/BonusRoot/Bonus.html
>
> I got the following error
>
> Error: 500
> Internal Servlet Error:
>
> java.lang.IllegalArgumentException: Given path
> web-inf/bonus.html is not absolute to the base of this
> context.
> at
> 
>org.apache.tomcat.core.ServletContextFacade.getResource(ServletContextFacade.java:163)
>         at
> org.apache.tomcat.core.DefaultServlet.doGet(DefaultServlet.java:55)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:701)
>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
>         at
> org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:543)
>         at
> org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:463)
>         at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:310)
>         at
> org.apache.tomcat.core.Context.handleRequest(Context.java:551)
>         at
> org.apache.tomcat.server.ConnectionHandler.run(ConnectionHandler.java:147
>
> Please help
> Thanks in advance
> Suhail
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

--
Kind regards / Vriendelijke groeten,
Patrick Balm (epoline project)
Ext. 4610

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to