Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
The JSP that you list uses the getAttribute(“name”) command, but I think that it’s really getParameter(“name”). Following the tutorial step by step did *not* in fact leave me with a working struts example…
Mike,
getAttribute is the correct call as the action sets the ‘name’ value in the request attributes. You use getParameter for query string parameters, of which there are none in that application.
Can you paste your code from your action (the execute method) and your JSP page where you try and print out the value, and we’ll have a look?