garfield11
IS-IT--Management
Hi all,
Can anyone help me with this.
I had a page called viewProd.jsp and i wanna my page to work like this:
Title: View Products
___________________________________________________
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
___________________________________________________
Found 18 results
1. ------
2. ------
3. ------
4. ------
5. ------
<< 1 | 2 | 3 >> <-- page number
List from A-Z and when a user clicks on A, below will display all products starting with the letter A from the database. If no results found, a message will be shown.
Also, I wanna limit the result entries to 5 per page. Lets say product starting with letter A found 18 results, i want first 5 items to be displayed 1st: that's page 1 and when click page 2 next 5 will be displayed and so on.
Is it possible to do that in JSP/using servlets?
Thanks
Can anyone help me with this.
I had a page called viewProd.jsp and i wanna my page to work like this:
Title: View Products
___________________________________________________
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
___________________________________________________
Found 18 results
1. ------
2. ------
3. ------
4. ------
5. ------
<< 1 | 2 | 3 >> <-- page number
List from A-Z and when a user clicks on A, below will display all products starting with the letter A from the database. If no results found, a message will be shown.
Also, I wanna limit the result entries to 5 per page. Lets say product starting with letter A found 18 results, i want first 5 items to be displayed 1st: that's page 1 and when click page 2 next 5 will be displayed and so on.
Is it possible to do that in JSP/using servlets?
Thanks