Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

get next record clicking on next button  RSS feed

 
deep raj
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

but it not go to next record
can anyone help me?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're very profoundly mistaken about the way JSP works. I suggest to spend some time with a good tutorial book (maybe Head First Servlets & JSP), but if you're short on time or money, start at http://faq.javaranch.com/java/JavaRanchJournalArticles. The articles "The Secret Life of Java Server Pages" (especially) and "Scriptless JSP Pages: The Front Man" should help you get going.

Also, check the HTML that gets generated by the code fragment you posted; I'll bet it's very different from what you think it is.
 
deep raj
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to make next button
when i click this only then loop run
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read the articles I linked to? If not, do that before spending any more time on this problem; the effort would be wasted.
 
deep raj
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why did you give those links/
my problem is only that
how can get next record from database only when click on a button
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I give up.
 
deep raj
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there another method to get next record after click on next button?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will continue to be completely lost and clueless about how to do even basic things in Java web applications until you understand the fundamentals. And it is very clear from this, and from your other posts, that you know very little about the technologies that you are trying to use. I wrote the articles that Ulf referenced specifically to help people get started on the fundamentals.

To willingly continue to be ignorant of fundamentals is a crying shame.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!