its struts 1 struts version 1.2.9 and also i added this code "bookForm.getBookList().add("qwer") " to bookAction.java but still i cant see array elemtens at the browser
its my struts config.xml <action-mappings> <action path="/Welcome" forward="/welcomeStruts.jsp"/> <action path="/data" type="paket.BookAction" name="BookForm" scope="request" input="data.jsp"> <forward name="success" path="/data.jsp" redirect="false" /> </action> </action-mappings> mgainty wrote: > > > the short answer is you'll need to populate your arraylist for any of the > elements in the list to 'show up' > > the long answer is > you'll need to supply jsp/struts-config.xml,struts.xml and backend > beans,contents of Action class > and which struts version you are implementing on to be able to provide a > solution for you > > Martin Gainty > ______________________________________________ > Verzicht und Vertraulichkeitanmerkung > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht > dient lediglich dem Austausch von Informationen und entfaltet keine > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > > > > > > >> Date: Mon, 8 Mar 2010 13:51:10 -0800 >> From: fatihdu...@hotmail.com >> To: user@struts.apache.org >> Subject: Re: Cannot find bean: "bookList" in any scope >> >> >> thx for helping but now when i run the application i see an empty page i >> can't see books which i retrive from my database i guess my arraylist is >> empty why it is?? >> -- >> View this message in context: >> http://old.nabble.com/Cannot-find-bean%3A-%22bookList%22-in-any-scope-tp27816517p27828192.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> > > _________________________________________________________________ > Hotmail: Free, trusted and rich email service. > http://clk.atdmt.com/GBL/go/201469228/direct/01/ > -- View this message in context: http://old.nabble.com/Cannot-find-bean%3A-%22bookList%22-in-any-scope-tp27816517p27828494.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org