Hello, I'm sure this question has been asked alot but here goes ... I can't 
seem to find the answer.

When I go here http://www.mysite.xyz:8080/shoppingCart/Cart

Everything is great.

When I go here http://www.mysite.xyz/shoppingCart/Cart

404 Error not found

The thing is  http://www.mysite.xyz/shoppingCart/ 
comes up great it is just not seeing my servlet defined in my web.xml ...

This is my jboss-web.xml for shoppingCart ...

  | <?xml version="1.0" encoding="UTF-8"?>
  | <jboss-web>
  | <context>/com-html-jsp/shoppingCart/*</context>
  | <!-- I've also tried /com-html-jsp/shoppingCart</context> -->
  | <virtual-host>www.mysite.xyz</virtual-host>
  | </jboss-web>
  | 

I have shoppingCart.war in the deploy directory everythings setup and 
shoppingCart application comes up fine like I said ...

This is my WEB-INF/web.xml inside shoppingCart ...

  | <?xml version="1.0" encoding="ISO-8859-1"?>
  | 
  | <!DOCTYPE web-app
  |     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
  |     "http://java.sun.com/dtd/web-app_2_3.dtd";>
  | 
  | <web-app>
  | 
  |     <servlet>
  |     <servlet-name>Cart</servlet-name>
  |     <servlet-class>STOREBEANS.Cart</servlet-class>
  |     </servlet>
  |     
  |     <servlet-mapping>
  |     <servlet-name>Cart</servlet-name>
  |     <url-pattern>/Cart</url-pattern>
  |     </servlet-mapping>
  |     
  | </web-app>
  | 

I can't seem to find out what I'm doing wrong here. Please help ...

thanks in advance.




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861201#3861201

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861201


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to