?
Solved

Refreshing or Reloading of Screen

Posted on 2007-11-19
5
Medium Priority
?
805 Views
Last Modified: 2013-11-24
Hi all,
I am calling one jsp named admission.jsp. In admission.jsp, there is one textfield which has some data coming from database. When we mousehover on that textfield it shows the data to us which isin text field. Besides that textfield we have one button when we click on that button it calls another jsp which shows a textarea with update button. When user write some data in that textarea and click on update then it save that data in the DB. What i need to do is what ever user write in the textarea, i can fetch the initial 1st line of that text area and that line should be shown in that admission.jsp textfield. But this should be happend immediatly after user clicks on update button. Means the updation in textarea causes admission.jsp screen to be refreshed and comes up with new text int hat textfield from Database.
Can anyone suggest me how to refresh the previous screen in javascript on the condition of updating something on current screen??
Waiting for Reply.
Asif.
0
Comment
Question by:royalcyber
  • 3
5 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 20318169
0
 
LVL 7

Accepted Solution

by:
ALNMOO earned 750 total points
ID: 20318182
I think you need to use AJAX to do this.
0
 
LVL 17

Expert Comment

by:contactkarthi
ID: 20336299
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 20337935
@contactkarthi: And why would that be a proposed solution?
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 20794837
Can I please know why my first posted comment with links to examples

"Have a look at AJAX
http://www.google.com/search?q=ajax+jsp
For example DWR http://getahead.org/dwr"

was not accepted as an answer but

"I think you need to use AJAX to do this."

posted later was?

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question