This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSP and the fly likes How to create a Search Page with search results in the same page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "How to create a Search Page with search results in the same page" Watch "How to create a Search Page with search results in the same page" New topic
Author

How to create a Search Page with search results in the same page

Muni Jampana
Greenhorn

Joined: Sep 05, 2007
Posts: 3
Hello,
I am trying to make a search page and..if I submit the form... I like to view the search results in the same page .

If lets say arl is the arraylist i am retieving then how do i check whether the size is 0 or not..

please help me..
thank you
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"Love Fun",
Please check your private messages.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Muni Jampana
Greenhorn

Joined: Sep 05, 2007
Posts: 3
sry.. now i changed it
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56207
    
  13

Thank you. Now, one more thing...

Please use real words when posting to the forums. Abbreviations such as "sry" in place of "sorry" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56207
    
  13

Originally posted by Love Fun:
If lets say arl is the arraylist i am retieving then how do i check whether the size is 0 or not..


That greatly depends on what version of JSP you are using. As per forum instructions, please include this information.

P.S. Surely you can come up with a better name than "arl"?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create a Search Page with search results in the same page
 
Similar Threads
Passing values from JSP page to Java program
Help with a gui requirement
JSP Search & Display results on same page.
Javascript help : Please
How to get values from dropdown Select box in JSP