Request attributes are not the same as request parameters. Nils-H On Feb 18, 2008 2:16 PM, Gaurav Arora wrote: > I'm in the process of learning struts and I have a very simple jsp > with a very simple Action behind it (doing no processing, simply > returning SUCCESS). I want to access a get parameter in the jsp and > print it out. This page : > http://struts.apache.org/2.x/docs/accessing-application-session-request-objects.html > says that I can simply do in > the jsp but that doesn't seem to work. > > My jsp is (a.jsp): > "-//W3C//DTD XHTML 1.1 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > <%@taglib prefix="s" uri="/struts-tags" %> > > > > Hello World > > > > Id is : > > > > And i'm accessing it using a.jsp?id=xxxx. Am I missing something > really obvious here? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org