2008/4/16, ryan webb <[EMAIL PROTECTED]>: > > I am having trouble with it..I created a pop up window using javascript > and > i cant pass query string on new window. > when i clicked a <html:link> I pass a paramId and paramProperty and I cant > make it appear to new window. > > I have an action class that has *request.setAttribute("username", > request.getParameter("username"));* > on the new window I have *<%= > out.println(request.getAttribute("username")) > %>* but this only displays the word NULL
Mmmm.... I think that you need to start from a tutorial, won't you? http://struts.apache.org/1.x/userGuide/index.html With Struts 1 you don't need to read parameters, but use the corresponding ActionForm. Moreover you need to understand the lifecycle of a request: when a new request is created (for example, when a popup page is shown) the request attributes are cleared. Antonio