Home > FAQs > Cookbook > Application, Session, Request objects in vm |

Apache Struts 2 Documentation
Application, Session, Request objects in vm
Edit Page Browse Space Add Page Add News

To get parameters from the QueryString or from a POSTed form, do not use getAttribute, use:

But that's quite obvious, since $req is the request object and we all know how it works.

Example:

_test.jsp_:

_test.vm_: