Hi, registerInputLink here is EL variable of type java.lang.String. It contains URL of the registerInput action What is output of this code? Do you have this action set in your struts.xml?
Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com <http://www.jetbrains.com/> "Develop with pleasure!" _____ From: kiala davy [mailto:davy_ki...@yahoo.fr] Sent: Thursday, April 21, 2011 1:08 AM To: user@struts.apache.org Subject: Struts 2 problem in In url tag variable Hi, I am a newbie in Struts 2.2.1.1. So i am learning to use Struts. I am facing a problem in the example on the following link http://struts.apache.org/2.2.1/docs/message-resource-files.html. The following code does not work: <s:url action="registerInput" var="registerInputLink" /><p> <a href="${registerInputLink}">Please register</a> for our prize drawing.</p> ${registerInputLink} is not considered as a variable but as a String ? It does not contain registerInput ? Thanks for your help