Hello

I've successfully deployed my HelloWorld servlet, but when I try to execute it 
I get a 'not found' error.

The name of the war file is Proyecto.war and I do this:
localhost:8080/Proyecto/HelloWorld/HelloWorld 
and 
localhost:8080/HelloWorld/HelloWorld

and it doesn't work :(

the web.xml file is:

anonymous wrote : 
  | <?xml version="1.0" encoding="UTF-8"?>
  | <!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-name>HelloWorld</servlet-name>
  |     <servlet-class>HelloWorld</servlet-class>
  |   
  |   <servlet-mapping>
  |     <servlet-name>HelloWorld</servlet-name>
  |     <url-pattern>/HelloWorld</url-pattern>
  |   </servlet-mapping>
  | </web-app>
  | 
  | 

I wrote also a jboss-web.xml file:
anonymous wrote : 
  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.2//EN" 
"http://www.jboss.org/j2ee/dtd/jboss-web.dtd";>
  | 
  | <jboss-web>
  | </jboss-web>
  | 

What am I doing wrong? 

Thank you!

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to