You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Alvarado, Juan (c)" <Ju...@NielsenMedia.com> on 2003/02/05 19:11:19 UTC

Can anyone tell me how I can prepend the context path to the following
example:

<html-el:button property="userAction" onclick="goLink('<%=
request.getContextPath() %>/resultsAction.do?userAction=Modify
Group&companyNumber=222')"><bean:message
key='button.modify.assoc'/></html-el:button>

The output of the above is: 
<input type="button" name="userAction" value="Modify Assoc"
onclick="goLink('<%= request.getContextPath()
%>/resultsAction.do?userAction=Modify Group&companyNumber=222')">

Your help is greatly appreciated.

Thanks




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