java - Unable to use hidden field value in JSP -


i have hidden field value want send action, sends null.

<s:hidden property="systemid" name="systemid" id="systemid" value="1"/> 

i calling action this

<s:url  id="papa" value="alertpup?et_id=%{id}&et_busid=%{systemid}"></s:url> <s:a href="%{papa}"><s:property value="id" /></s:a> 

but et_busid field in bean null.

instead of hidden try

<s:set name="systemid" value="1"/> <s:url  id="papa" value="alertpup?et_id=%{id}&et_busid=%{#systemid}"/> 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -