Forms submit to the web application, so it requires a web context proceeding your domain. You can't submit to the root of the domain; the root domain is not a web application. Struts is rendering the form action correctly.

Roberto C. Lima Jr. wrote:
No. I'm not using modules.

----------------------------------
Roberto Costa Lima Jr.
e-novar Soluções Tecnológicas
www.enovar.com.br

+55(85) 4009-5860
+55(85) 9104-6526


-----Mensagem original-----
De: Adam Gordon [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 21 de setembro de 2006 17:35
Para: Struts Users Mailing List
Assunto: Re: html:form problem

It looks like you might be using modules...are you?

-adam

Roberto C. Lima Jr. wrote:
Hi, everyone.

I have an app that will be published at internet with apache + JBoss
Server.

So, it will be published on the address above:

 <http://sis.enovar.com.br/> http://sis.enovar.com.br/

But the problem is that html:form writes more than just the “.do” thing

<html:form action=”example” ...>

becomes

<form action=”/sis/example.do” …>

So, when i submit the page, it is trying to go to
http://sis.enovar.com.br/sis/example.do

and actually I was wondering it goes to

http://sis.enovar.com.br/example.do

Does anyone have any tip to solve my problem?

I’m using struts 1.2

Thank’s

----------------------------------
Roberto Costa Lima Jr.
e-novar Soluções Tecnológicas
 <http://www.enovar.com.br/> www.enovar.com.br

+55(85) 4009-5860
+55(85) 9104-6526



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to