?
Solved

Refreshing or Reloading of Screen

Posted on 2007-11-19
5
Medium Priority
?
801 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Stack Overflow Podcast - Developer Story

Welcome to the Stack Overflow podcast recorded Thursday July 20 at Stack Overflow Headquearters in NYC. Your hosts today are podcast regulars Jay Hanlon, David Fullerton, and Ilana Yitzhaki, plus the quite irregular Matt Sherman (Stack Overflow Engineering Manager extraordinaire)

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'…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

743 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