• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

jsp page iterator help

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Genius,
I kept trying and look all over the google.
my question is how do I iterate to next button and new result should come from listerator on button click above
all the data stored in list collection

this is my test.jsp file


any help will be appreciate
thanks in advance
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
paging not possibile in jsp but it comes with built in component on asp.net
i dont think javascript able to call iterator method
 
Sheriff
Posts: 67590
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

raj sawant wrote:paging not possibile in jsp


Huh? Of course it's possible. What tripe.

See the JSP FAQ which addresses this very issue.

And, putting Java code in a JSP is no longer a good practice. Time to move on to more modern techniques.
 
Jiten Kothari
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:

And, putting Java code in a JSP is no longer a good practice. Time to move on to more modern techniques.



then what is the good practice? where to put java code? what do you put in jsp? only JSTL?
please let me know
 
Bear Bibeault
Sheriff
Posts: 67590
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In a JSP there should be only JSTL, EL, custom tags and the like. No scriptlets of any kind. Java code goes into controllers, beans, tag handlers, EL functions and the like.

this article might be a good start.
reply
    Bookmark Topic Watch Topic
  • New Topic