yourapp.war!/WEB-INF/jboss-web.xml:

<?xml version="1.0">
<jboss-web>
     <context-root>/</context-root>
</jboss-web>

Look at: $JBOSS3_HOME/docs/dtd/jboss-web_3_0.dtd

David

--

bryan hansen wrote:
> Ok sorry for possibly not seeing the obvious, but I am
> looking at the flashline documentation, specifically
> at jboss-web.xml, and I don't see how to specify a
> context in the jboss-web.xml. If you have a sample
> that would be awesome. 
> 
> I wasn't struggling with the unpackaged ear or war
> file, the only thing that seemed a little strange was
> how to specify what the war file was in an
> application.xml file. If the ear and war file is
> unpacked I am actually referencing a folder and it
> wasn't seeming to work when referencing a folder.
> 
> Thanks,
> 
> Bryan
> 
> 
> --- Jules Gosnell <[EMAIL PROTECTED]> wrote:
> 
>>Get over the mental hurdle of thinking of deploying
>>an unpacked war as 
>>different from a packed one - they should be treated
>>in exactly the same 
>>way. Unpacked is just more accessible (for
>>development) than packed (for 
>>production).
>>
>>If you want to set your application context either:
>>
>>1. deploy an unpacked ear with it configured in
>>application.xml (The 
>>standard J2EE way)
>>
>>2. you can configure it in
>>my.war/WEB-INF/jboss-web.xml (the proprietary 
>>JBoss way)
>>
>>3. rename your war to <required-context>.war -
>>common non-standard hack?
>>
>>
>>All this and more is in :
>>
>>
> 
> 
>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/jetty/FAQ?rev=HEAD&content-type=text/vnd.viewcvs-markup
> 
>>Let me know if you would like anything added.
>>
>>
>>Jules
>>
>>
>>bryan hansen wrote:
>>
>>>I am trying to define the context root of an
>>>application without including it in an ear file.
>>
>>Is
>>
>>>this possible in JBoss/Jetty? About two weeks ago
>>>someone on the list recommended not packaging an
>>>application into a war to deploy, but instead
>>
>>placing
>>
>>>an unzipped directory (that would be your war) so
>>
>>that
>>
>>>you could work on JSP(s) and have them
>>
>>automatically
>>
>>>deploy and show the changes. This was a cool idea,
>>
>>but
>>
>>>then I realized we needed to change the
>>
>>context-root
>>
>>>of the application and the only way I know of
>>
>>doing
>>
>>>that is with the application.xml inside an ear. I
>>>tried including one in a META-INF directory under
>>
>>the
>>
>>>folder that we deployed, but the change didn't
>>
>>take
>>
>>>affect. Any ideas as to how we might get this to
>>
>>work?
>>
>>>Thanks,
>>>
>>>Bryan
>>>
>>>__________________________________________________
>>>Do You Yahoo!?
>>>Sign up for SBC Yahoo! Dial - First Month Free
>>>http://sbc.yahoo.com
>>>
>>>
>>>
>>
> -------------------------------------------------------
> 
>>>This sf.net email is sponsored by:ThinkGeek
>>>Stuff, things, and much much more.
>>>http://thinkgeek.com/sf
>>>_______________________________________________
>>>JBoss-user mailing list
>>>[EMAIL PROTECTED]
>>>
>>
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
>>
>>
>>
>>
>>
> -------------------------------------------------------
> 
>>This sf.net email is sponsored by:ThinkGeek
>>Stuff, things, and much much more.
>>http://thinkgeek.com/sf
>>_______________________________________________
>>JBoss-user mailing list
>>[EMAIL PROTECTED]
>>
> 
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Two, two, TWO treats in one.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



-- 

---------------------
David Ward
[EMAIL PROTECTED]
http://www.dotech.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Two, two, TWO treats in one.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to