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