Re: struts 2 - framework question

2010-03-07 Thread Cimballi
John, I don't have immediate code that I can copy paste, but I can explain a bit more the package solution. You will have to declare 2 packages, one with namespace "store1" and one with namespace "store2". Then you can write a single action, which take a storeId paramter, and you set the parameter

Cannot find bean: "bookList" in any scope

2010-03-07 Thread tesla
Hi i'm new at struts.I wanna write all the array elements which i defined at java class to the jsp file but i'm getting this error "javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find bean: "bookList" in any scope" Here is my code Thx for helping Book.JAVA public class Bo

Re: struts 2 - framework question

2010-03-07 Thread john lee
    possible for you to show some psedo code for how to do it?   tks in advance    john --- On Sun, 3/7/10, Paweł Wielgus wrote: From: Paweł Wielgus Subject: Re: struts 2 - framework question To: "Struts Users Mailing List" , cimba...@cimballi.net Date: Sunday, March 7, 2010, 1:59 AM Hi All

Re: possible s:submit with parameter?

2010-03-07 Thread Burton Rhodes
Adam is correct. Every item filled out in the form is sent to your action. You can save these variables in the session or alternaitvely store them in each subsequent jsp with hidden form variables. You can use struts to display these properties/variables whereever you want. I think you are making y