You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by John Yu <jo...@scioworks.com> on 2001/11/05 03:38:40 UTC

Leading slash '/' in URLs

I'm wondering whether the leading slash '/' is optional in the URLs in the 
tags like

   <html:link page="/login.do">...
   <html:form action="/subscription">...

and in the action path

   <action path="/subscription" .../>

It seems to me it works without the leading slashes. Could someone confirm 
me whether they're required?

-- 
John Yu                       Scioworks Technologies
e: john@scioworks.com         w: +(65) 873 5989
w: http://www.scioworks.com   m: +(65) 9782 9610

Scioworks Camino - "Rapid WebApp Assembly for Struts"


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>