This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I display ArrayList elements in JSP  RSS feed

 
Ibrahim Syed
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Please post the reply soon after understood this scenerio.
Actually I used servlets,there I used to get data from data base
I just stored all those in one of the collections class like ArrayList..
I want to display those contents in one JSP.But one condition that without using java Bean and sessions.How can I display the ArrayList elements in JSP..Recenttly I have attended 1 interview,I faced this problem..Usually I uses form beans in my project..But It seems he needs another solution..
If you know,Can you post reply ASAP???..

Thanks & Regards,
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65830
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The interviewer was apparently trying to gauge your knowledge of web application mechanisms by forcing you to think outside of that way that you normally do things.

So I'll throw the question back at you in a slightly more leading fashion: how would you get any data from a servlet to a JSP?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!