aspose file tools*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
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: 60041
    
  65

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

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"?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to create a Search Page with search results in the same page
 
Similar Threads
Help with a gui requirement
Passing values from JSP page to Java program
Javascript help : Please
JSP Search & Display results on same page.
How to get values from dropdown Select box in JSP