Hi,

I'm working without a mapping currently, but
warname/servlets/servletname is giving me a 404, just like
warname/servlet/servletname...

Hans

On Tue, 2002-11-26 at 20:10, Emerson Cargnin - SICREDI Servi�os wrote:
> it depends of the mapping you created on your web.xml
> 
> if no mapping is created, the default is 
> localhost:8080/warname/servlets/sevletname
> 
> someone correct me if I'm not right.
> 
> you can use servlet mapping to take the servlets from the URL.
> 
> like :
>    <servlet-mapping>
>      <servlet-name>HtmlAdaptor</servlet-name>
>      <url-pattern>/HtmlAdaptor</url-pattern>
>    </servlet-mapping>
> 
> take a look at tomcat or jboss docs/examples to see how to do it.
> a good example can be found at :
> 
> JBOSS_HOME/server/default/deploy/jmx-console.war/WEB-INF/web.xml
> 
> SainTiss wrote:
> > Hi,
> > 
> > I'm trying to create a servlet here...
> > 
> > I've already created a .war file, and jboss says it's been deployed
> > correctly...
> > 
> > Now what is the url for the servlet?
> > 
> > localhost:8080/<warname> is the only thing that doesn't yield an error,
> > but it doesn't execute the servlet either..
> > 
> > Thanks
> > 
> > Hans
> > 
> > 
> 
> 
> -- 
> xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> | Emerson Cargnin          |
> | Analista de Sistemas Sr. |
> | Tel : (051) 3358-4959    |
> | SICREDI Servi�os         |
> | Porto Alegre - Brasil    |
> |xxxxxxxxxxxxxxxxxxxxxxxxxx|
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Get the new Palm Tungsten T 
> handheld. Power & Color in a compact size! 
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to