473,387 Members | 3,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

pop up window message to client system

i want to give popup message to my client system . is it possible in jsp
Mar 16 '07 #1
16 3631
dmjpro
2,476 2GB
when do u want to do pop_up the window?????
Mar 16 '07 #2
r035198x
13,262 8TB
i want to give popup message to my client system . is it possible in jsp
Yes it is possible.
You can pop up a Swing pop up or a Javascript pop up.
Mar 17 '07 #3
when do u want to do pop_up the window?????

while the client updates his data in their side that time i want popup message .
Mar 19 '07 #4
Yes it is possible.
You can pop up a Swing pop up or a Javascript pop up.

java script pop up at the client side...
Mar 19 '07 #5
r035198x
13,262 8TB
java script pop up at the client side...
Yes it does. You said you want to pop up the message to the client.
What kind of a pop up do you want to show?
When exactly do you want to pop up this message?
Mar 19 '07 #6
Yes it does. You said you want to pop up the message to the client.
What kind of a pop up do you want to show?
When exactly do you want to pop up this message?
i explained here wat the exactly i want.
i have two systems A and B in the client side.system B wants to approval from A. So he updates his data in the system B. this data to be displayed in the system A if it is popup window or popup message any type.
Mar 20 '07 #7
r035198x
13,262 8TB
i explained here wat the exactly i want.
No you did not.

i have two systems A and B in the client side.system B wants to approval from A. So he updates his data in the system B. this data to be displayed in the system A if it is popup window or popup message any type.
What do you mean by "systems A and B"? Do you have client/server setup?
Mar 20 '07 #8
No you did not.



What do you mean by "systems A and B"? Do you have client/server setup?
i said it for example.

Actually in client side number of system is there working under one server.

System A is one authorised user and B also another user. they want to interlink through the system thats why i am asking about popup message.
Mar 20 '07 #9
r035198x
13,262 8TB
i said it for example.

Actually in client side number of system is there working under one server.

System A is one authorised user and B also another user. they want to interlink through the system thats why i am asking about popup message.
So you have one database and you have one system but users can log in from different locations through JSPs, is that right? And you want it so that if one user makes a change in the database, a pop up is shown in theother user's JSP page?
Mar 20 '07 #10
So you have one database and you have one system but users can log in from different locations through JSPs, is that right? And you want it so that if one user makes a change in the database, a pop up is shown in theother user's JSP page?

ya.. correct....
Mar 20 '07 #11
r035198x
13,262 8TB
ya.. correct....
The JSPs have to be automatically refreshing then. At each refresh, the JSP connects to the database and determines if they have been changes that require a pop up then the page loads with or woithout the pop up depending on the search done in the database. It's just a matter of putting an if else.
Mar 20 '07 #12
The JSPs have to be automatically refreshing then. At each refresh, the JSP connects to the database and determines if they have been changes that require a pop up then the page loads with or woithout the pop up depending on the search done in the database. It's just a matter of putting an if else.

ok... i dont know idea about create a pop up window .
Mar 20 '07 #13
r035198x
13,262 8TB
ok... i dont know idea about create a pop up window .
import javax.swing.* and use
Expand|Select|Wrap|Line Numbers
  1.  JOptionPane.showMessageDialog(null, "Test Message");
Mar 20 '07 #14
import javax.swing.* and use
Expand|Select|Wrap|Line Numbers
  1.  JOptionPane.showMessageDialog(null, "Test Message");

this is in swing..... i want to create pop up in java script ... please help
Mar 21 '07 #15
r035198x
13,262 8TB
this is in swing..... i want to create pop up in java script ... please help
When the db connection is made and it is determined that the value has changed, populate a value on the JSP page. You can use a hidden input field for that

Expand|Select|Wrap|Line Numbers
  1.  if(valueCanged) { 
  2. %>
  3. <input type="hidden" name ="state" value ="changed" >
  4. <%
  5. }
  6. else {
  7. %>
  8. <input type="hidden" name ="state" value ="noChange" >
  9. <%
  10. }
  11. %> 
  12.  
Now after the page finishes loading, you can call a javascript function which does something like

[HTML]
if(documen.forms['formName'].state.value == "changed") {
alert("Chaged");
}
[/HTML]
Mar 21 '07 #16
When the db connection is made and it is determined that the value has changed, populate a value on the JSP page. You can use a hidden input field for that

Expand|Select|Wrap|Line Numbers
  1.  if(valueCanged) { 
  2. %>
  3. <input type="hidden" name ="state" value ="changed" >
  4. <%
  5. }
  6. else {
  7. %>
  8. <input type="hidden" name ="state" value ="noChange" >
  9. <%
  10. }
  11. %> 
  12.  
Now after the page finishes loading, you can call a javascript function which does something like

[HTML]
if(documen.forms['formName'].state.value == "changed") {
alert("Chaged");
}
[/HTML]
ok thank you.. i will do it....
Mar 21 '07 #17

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: BlackHawke | last post by:
Our program, game program Andromeda Online (www.andromedaonline.net) uses two programs- one to play the game, another to patch the game as updates come out. Players actually launch the updater...
1
by: Vetrivel | last post by:
Application architecture : Develop interface between two existing systems, a. Enterprise CRM system b. Web based intranet system. Environment : Intranet Server : IIS and ASP. Script :...
13
by: Kai Grossjohann | last post by:
It seems that Ctrl-N in Mozilla opens a new empty browser window. That's fine, I don't need to do anything about it. But Ctrl-N in IE appears to clone the current window. Is there a way to...
12
by: HarveyB | last post by:
I would like to generate non-modal popup windows from ASP.Net code-behind. I have tried using Client Side scripting like "function Test(){ window.open('test.htm',_blank,...
4
by: Altramagnus | last post by:
I have 30 - 40 type of different window. For each type I need about 20 instances of the window. When I try to create them, I get "Error creating window handle" My guess is there is a maximum...
13
by: Dave Holmes | last post by:
Is there a way to keep an other application from opening a link in a browser where I am running an ASP application? For example, I have an ASP application open in a browser. If I click on a link...
31
by: Benno Bös | last post by:
If I use the following construct in the frame "main" for a link to an extern site: <A HREF="http://www.any.xy" TARGET="extern"> the Browser is creating the window "extern", loading the page...
1
by: redneon | last post by:
I'm trying to add another button to a window's title bar to use as a "keep this window on top" button. I've managed to draw the button using the code below (C#) but I'm having a couple of other...
6
by: Scott Lee | last post by:
I am displaying an ASP.Net generated form in a popup opened with window.showModalDialog. The form contains DropDownList controls. The first ddl is populated via databinding to a datatable, has...
7
by: =?Utf-8?B?Vmlua2k=?= | last post by:
public void sendKeysTest() { Process myProcess = Process.Start(@"C:\winnt\system32\cmd.exe"); SetForegroundWindow(myProcess.Handle); if (myProcess.Responding) SendKeys.SendWait("{ENTER}");...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.