• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp page  RSS feed

 
trinadh reddy
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In jsp first time some data is to retreived from the database and when u update to the database.next page when u access the same page the updated data should be displayed
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66158
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, so what's the issue?
 
trinadh reddy
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in jsp
when you acess some page suppose a.jsp
one string for example required is to be displayed.
when u click submit button the values are updated to the database.
up to this ok.
when u access the same page the updated value is to be displayed.
i have done this,but i have used another jsp file.but i want with the same jsp file. i have used sessions,but unable to do it
 
trinadh reddy
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there any possible way for my question.if so [please rely to my question.
as it is very urgent for me
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is the problem. If you can do it with other jsp page then why not with the same jsp. What are you getting, while doing with same jsp page?
 
trinadh reddy
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when iam accessiong the same jsp the updated data is not comming.
only the previous data is comming.if you want i shall send the code
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried to refresh the page?

Originally posted by trinadh reddy:
if you want i shall send the code


Yes please go ahead.
 
lilili xh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Bear edit: nonsense post removed]
[ September 26, 2005: Message edited by: Bear Bibeault ]
 
trinadh reddy
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, i refreshed the page,but the old data is comming,please tellme the solutionas it is urgent for me
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by trinadh reddy:
yes, i refreshed the page,but the old data is comming,please tellme the solutionas it is urgent for me


Please read my previous post carefully. I have asked you for a code.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66158
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"lilili xh",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!