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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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: 2902
    
    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
 
jQuery in Action, 2nd edition
 
subject: How to show alert box when database connection is successful
 
Similar Threads
Showing Request Attribute in javascript
jAlert usage
Alert box issue in Struts
Alert
Capture Browser url