Hi Musachy, Yes, the url must be a "wrong" URL. I have an Apache web server and a tomcat colaborating together. My application context is /myapp/, but I don't want that the users can see the context (and I don't want to deploy the application in / because I'll create more web applications).
I have create an apache rule (RewriteRule ^(.*) /myapp$1 [PT]) to accept / petitions and add the /myapp/ context "automatically". Nevertheless, s:url and s:form are creating url's with the context, whereas the apache web server is waiting for url's without context. Is it possible to create url's without context? (maybe my solution to hide the application context is wrong, but I believe if struts can create url's without context, the solution can works fine). Greetings On 6/1/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
In that case the form would be submitted the wrong URL right? Can you give some more details on why you need this? regards musachy On 6/1/07, Lucas Garcia <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using s:url and s:form tags to build url's and form's. In a case, I > want > to use s:form and I don't want that taglib put the application context in > the finally action. > > E.g.: > > <s:form action="Sitemap"> is traduce as <form action="/myapp/Sitemap">, > but > I want <form action="/Sitemap"> > > How can I do this? > > Greetings > -- "Hey you! Would you help me to carry the stone?" Pink Floyd