Displying Alert

2001-04-18 Thread Balkrishna R.Parab

Hello Everybody

I am working on a project which requred to display alert to the user when
ever particular table in database without refreshing that page.

1.  One way to do this is to write an seperate applet which will keep on
monitoring the database updatation and in turns display Message box to the
user. But required to display alert even when browser is minimized.
2.  Another way is to write an application and insatll on client machine
which will keep on monitoring database updataion and inturnns display
Message box. But this requires seperate login. Can i call application in jsp
page so that i can pic up sesion value from the same and can eliminate the
login screen

Any suggestion/modification or advise  will of great help

Thankx in advance


Balkrishna R Parab
Global TeleSystems Ltd

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Displying Alert

2001-04-18 Thread Martin, Janet

Remember that JSP's are server side processed and then sent to the browser.
Using the web browser as your UI delivery framework does limit how much
access you have to the servers.  "Normally" once the HTML is sent to the
browser all contact with the server is broken until the next request from
the browser.  What you asking for is an "active listener" that will always
maintain an open connection to the server.  Not sure the web is the best way
to set this kind of architecture up given how web apps are "normally"
architected.


-Original Message-
From: Balkrishna R.Parab [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 10:22 AM
To: [EMAIL PROTECTED]
Subject: Displying Alert


Hello Everybody

I am working on a project which requred to display alert to the user when
ever particular table in database without refreshing that page.

1.  One way to do this is to write an seperate applet which will keep on
monitoring the database updatation and in turns display Message box to the
user. But required to display alert even when browser is minimized.
2.  Another way is to write an application and insatll on client machine
which will keep on monitoring database updataion and inturnns display
Message box. But this requires seperate login. Can i call application in jsp
page so that i can pic up sesion value from the same and can eliminate the
login screen

Any suggestion/modification or advise  will of great help

Thankx in advance


Balkrishna R Parab
Global TeleSystems Ltd

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Displying Alert

2001-04-18 Thread M. Simms

Best approach would be to create an applet embedded in a JSP that implements
a listener for a custom event that is fired from a stored procedure /
trigger within the database.
other JSP "refresh" approaches may cause too many roundtrips back and forth
to the server.

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Balkrishna R.Parab
 Sent: Wednesday, April 18, 2001 10:22 AM
 To: [EMAIL PROTECTED]
 Subject: Displying Alert


 Hello Everybody

 I am working on a project which requred to display alert to the user when
 ever particular table in database without refreshing that page.

 1.  One way to do this is to write an seperate applet which
 will keep on
 monitoring the database updatation and in turns display Message box to the
 user. But required to display alert even when browser is minimized.
 2.  Another way is to write an application and insatll on
 client machine
 which will keep on monitoring database updataion and inturnns display
 Message box. But this requires seperate login. Can i call
 application in jsp
 page so that i can pic up sesion value from the same and can eliminate the
 login screen

 Any suggestion/modification or advise  will of great help

 Thankx in advance


 Balkrishna R Parab
 Global TeleSystems Ltd

 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 For digest: mailto [EMAIL PROTECTED] with body: "set
 JSP-INTEREST DIGEST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Displying Alert

2001-04-18 Thread Balkrishna R.Parab

Displaying alert by refreshing the pasge is one of the simplest way and i
guess its best possible way. But we need to display alert in all possible
situatation, browser minimize is also included.

I guess I need to write seprate application and that will keep on monitoring
the database updatation. Like MSN or Yahoo messanger ?

Thankx for respaonse

Have a nice day

Balkrishna R Parab
Global TeleSystems Ltd


-Original Message-
From:   Fetyko Jan [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, April 18, 2001 7:57 PM
To: [EMAIL PROTECTED]
Subject:Re: [JSP-INTEREST] Displying Alert

what about refreshing the page ( JSP - that gets the information
from your
Database ) every couple of minutes/seconds ?
This can be done with a simple HTTP Response Header:

Something like : HttpServletResponse.setHeader("Refresh", "5;
URL=http://host/path")


Jano Fetyko
Script fighter

Phase2 Development
825 N.Broadway
Oklahoma City
73102
Phone: (405) 232-4545 x231
Fax: (405) 232-4550
http:\\www.phase2online.com




"Balkrishna
R.Parab" To:
[EMAIL PROTECTED]
Balkrishnap@GTL.cc:
CO.IN       Subject: Displying
Alert
Sent by: A
mailing list
about Java Server
Pages
specification and
reference
JSP-INTEREST@jav
a.sun.com


04/18/01 09:21 AM
Please respond to
A mailing list
about Java Server
Pages
specification and
reference






Hello Everybody

I am working on a project which requred to display alert to the user
when
ever particular table in database without refreshing that page.

1.  One way to do this is to write an seperate applet which will
keep
on
monitoring the database updatation and in turns display Message box
to the
user. But required to display alert even when browser is minimized.
2.  Another way is to write an application and insatll on client
machine
which will keep on monitoring database updataion and inturnns
display
Message box. But this requires seperate login. Can i call
application in
jsp
page so that i can pic up sesion value from the same and can
eliminate the
login screen

Any suggestion/modification or advise  will of great help

Thankx in advance


Balkrishna R Parab
Global TeleSystems Ltd


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set
JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set
JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets