My file is register.jsp and i use Tomcat 5.5.30
________________________________ De : Chris Pratt <thechrispr...@gmail.com> À : Struts Users Mailing List <user@struts.apache.org> Envoyé le : Mer 20 avril 2011, 23h 11min 21s Objet : Re: Struts 2 problem in In url tag variable 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 > > > > > > > > > > > > > > > > >