struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Novotny <jason.novo...@gmail.com>
Subject how do I use absolute url actions in html:form tag with struts 1.3.8
Date Wed, 23 Dec 2009 02:01:11 GMT
Hi,

     I'm a Struts newbie and am tasked with trying to change relative 
URLs on our site to be absolute. I have a form that looks like:

<html:form action="/fcon/MyAction">

and once it renders it displays:

<form id="myForm" method="GET" 
action="/modules/mymodule/fcon/MyAction.do" onsubmit="return 
validateFilterForm(event, this);">

What I'd like is to have it render an absolute URL:

<form id="myForm" method="GET" 
action="http://www.mysite.com/modules/mymodule/fcon/MyAction.do" 
onsubmit="return validateFilterForm(event, this);">

How can I do this?

     Thanks a lot, Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message