By applying the following config to your application.xml:

<web>
    <web-uri>testapp.war</web-uri>
    <context-root>/</context-root>
</web>

Wonne
 
 
 
 
REAL SOFTWARE GROUP
Industry Division - ICT Services

Prins Boudewijnlaan 26  
B-2550 KONTICH
http://www.realsoftware.be <http://www.realsoftware.be/>  
 
This e-mail may contain information which is privileged or confidential. If
you received this e-mail in error, please notify us immediately by e-mail or
telephone and delete the e-mail without reading, copying or disclosing its
contents to any other person.
 


________________________________

        Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens
[EMAIL PROTECTED]
        Verzonden: donderdag 18 maart 2004 16:33
        Aan: [EMAIL PROTECTED]
        Onderwerp: [JBoss-user] integrated tomcat question
        
        

        Hi all, 
        
        I have an ear file which contains a web-application (war file:
testapp.war). 
        
        If I deploy this war file, it can be reached at: 
        
        http://myhost.com/testapp 
        
        How can I configure JBoss to open my webapp at this url: 
        
        http://myhost.com 
        
        But, because during development all my (relative) links look like
this: 
        
        /testapp/myjsp.jsp 
        
        So I want to keep the /testweb prefix. 
        
        Can this be achieved? 
        
        Thanks, 
        
        Regards, 
        
        Harm de Laat 
        Informatiefabriek 
        The Netherlands 
        




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to