Hello i'm new of struts and i have a strange problem, i hope you can help me.
I have an EAR application with this context:
http://mydomain/myear/
In a weblogic server. I installed inside two indipendent WAR application
war1 with "app1" context root (set in application.xml)
war2 with "app2" context root.
I have to sat that i can not modify any weblogic configuration, i have a single server in that domain with a fixed root (mydomain/myear)
The application server answer correctly here:
http://mydomain/myear/app1 -> to the war1
http://mydomain/myear/app2 -> to the war2
My trouble is when struts and his tiles create the html path in the views, becuse it thinks that the root is "app1" and not "myear/app1".
Infact the homepage correctly started but inside the html:form tag had this action path: "/app1/MyAction" and obviously it will send to
http://mydomain/app1/MyAction out of my application.
How can i setup struts to add "myear/" before the context root when it makes the html paths?
Thank you.