url - validates url format. Has four optional variables (allowallschemes, allow2slashes, nofragments and schemes) which can be used to configure this validator.
allowallschemes specifies whether all schemes are allowed. Valid values are true or false (default is false). If this is set to true then the schemes variable is ignored. allow2slashes specifies whether double '/' characters are allowed. Valid values are true or false (default is false). nofragments specifies whether fragements are allowed. Valid values are true or false (default is false - i.e. fragments are allowed). schemes - use to specify a comma separated list of valid schemes. If not specified then the defaults are used which are http, https and ftp.
<field property="custUrl" depends="url">
<arg0 key="customer.url"/>
</field>
<field property="custUrl" depends="url">
<arg0 key="customer.url"/>
<var>
<var-name>nofragments</var-name>
<var-value>true</var-value>
</var>
<var>
<var-name>schemes</var-name>
<var-value>http,https,telnet,file</var-value>
</var>
</field>
http://struts.apache.org/struts-doc-1.2.4/userGuide/dev_validator.html
I hope you are not thinking of the HttpSession object! That is created and managed by the servlet container.
Make your own user Serializable "session" to manage persistance in a database and sharing across applications.