IntelliJ Java IDE
The moose likes Servlets and the fly likes new data on same html document  response? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "new data on same html document  response?" Watch "new data on same html document  response?" New topic
Author

new data on same html document response?

ruhi
Greenhorn

Joined: Jan 13, 2001
Posts: 6
well i want my servlet to get data from a database in the resultset but to show a single record each time at the user's end as a static document.I want my user to be able to navigate
back & froth in the database.for it i am using rs.next();etc.I
desire that the html page which servlet is generating as response should remainn same but its contents change as per user
command, is this possible with servlet.pls help
Thank u.
Ramneek Handa
Ranch Hand

Joined: Nov 10, 2000
Posts: 44

for that you will have to use an applet. or if you are sure there will not be too many records then you can move the whole data to client in one go and then can display as desired through dhtml.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
"ruhi",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
 
 
subject: new data on same html document response?
 
Threads others viewed
execute servlet without returning a page
error HTTP Status 500 -
Enthuware query
close browser window!
Returning a Value from a Post
IntelliJ Java IDE