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 <saf: property value="#request.myId" /> in the jsp but that doesn't seem to work.
My jsp is (a.jsp): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <[EMAIL PROTECTED] prefix="s" uri="/struts-tags" %> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Hello World</title> <s:head /> </head> <body> Id is : <saf property value="#request.id" /> </body> </html> And i'm accessing it using a.jsp?id=xxxx. Am I missing something really obvious here? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]