Also, here's the structure of my .war file:

META-INF/
META-INF/MANIFEST.MF
WEB-INF/
WEB-INF/classes/
WEB-INF/classes/eenloketsysteem/
WEB-INF/classes/eenloketsysteem/TestClient.class
WEB-INF/classes/eenloketsysteem/ClientServlet.class
WEB-INF/web.xml
WEB-INF/jboss-web.xml

Hans

On Wed, 2002-11-27 at 09:43, anna schricker wrote:
> if you don't have an entry in web.xml for your servlet 
>warname/servlet/your.package.servletname should work.
> 
> -----Ursprüngliche Nachricht-----
> Von: SainTiss [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 27. November 2002 01:07
> An: JBoss Mailing
> Betreff: Re: [JBoss-user] deploying war file
> 
> 
> 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
> > 
> 
> 
> 
> -------------------------------------------------------
> 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