For most containers, that will have to be in a file that ends in .jsp to work. What servlet container (and version) are you using? (*Chris*)
On Wed, Apr 20, 2011 at 2:07 PM, kiala davy <davy_ki...@yahoo.fr> wrote: > 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 > > > > > > > > > > > > > > > > >