jQuery in Action, 2nd edition
The moose likes Struts and the fly likes How to show alert box when database connection is successful Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "How to show alert box when database connection is successful" Watch "How to show alert box when database connection is successful" New topic
Author

How to show alert box when database connection is successful

sandeeps kulkarni
Greenhorn

Joined: May 30, 2009
Posts: 8
I am working in struts2 .

connection to the database is successful .
in my view page i have one Test connection button .
after clicking i want to show alert box in that i want to show message database connection is successful or not?

how can i do that


Please reply me thanks in advance.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2896
    
    1

AJAX will help !


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
sandeeps kulkarni
Greenhorn

Joined: May 30, 2009
Posts: 8
This problem is solved by using ajax thanks
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to show alert box when database connection is successful
 
Similar Threads
Alert box issue in Struts
Capture Browser url
Alert
jAlert usage
Showing Request Attribute in javascript