hello,

but doesn't that mean that my application would still be running as context
"myApp"?
Or does stripes realize that it doesn't have to put the context-name in the
action of forms?

thanks,
Stefanie


On Mon, 16 Nov 2009 10:53:10 +0100, Morten Matras <[email protected]>
wrote:
> You can set up tomcat (included in jboss) to serve a specified folder as
> the
> ROOT for a specified domain using the HOST element in server.xml
> 
> Morten Matras
> 
> 2009/11/16 Stefanie Poeschl <[email protected]>
> 
>> Hello list,
>>
>> I've got the following problem with a stripes application:
>> The application is running on a JBoss 5 under the context name "myApp".
>> Its
>> working fine when calling the jboss directly like that:
>> http://localhost:8080/myApp/MyAction.action
>> Now I've installed an Apache Webserver and configured it like that:
>> ProxyPass           /myApp ajp://localhost:8009/myApp/
>> This is also working like a charm.
>>
>> But now my problem:
>> I want to install "myApp" on the Production-Server and run it under a
>> domain e.g. www.myApp.com (NOT www.myApp.com/myApp)
>> The problem here are stripes-Tags like <s:form> in my jsp-pages. They
>> include the context-name in the action-attribute of the form-tag so when
>> i
>> look at the source of the website the form tag looks something like
that:
>> <form action="/myApp/MyAction.action">. BUT it has to be like this:
<form
>> action="/MyAction.action">.
>> The easiest way to do that would be to let "myApp" run in the
>> ROOT-context
>> of the server (e.g. make a ROOT.war and deploy that), but that is
>> unfortunately not possible.
>>
>> So finally my question: Is it somehow possible to configure stripes that
>> it
>> is "internally" running as context "myApp" but the links/form-actions
>> etc.
>> created use another (external) context-path??
>>
>> Thanks,
>> Stefanie
>>
>>
>>
------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Stripes-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to