Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Muni Jampana
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Love Fun",
Please check your private messages.
 
Muni Jampana
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sry.. now i changed it
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64712
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64712
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic