Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-13-2008, 08:56 AM
Member
 
Join Date: Feb 2008
Posts: 2
Rep Power: 0
am17mu is on a distinguished road
Default Display success message in same page when submit button is clicked
I have a jsp page, where i use a form to submit data into my database.when submit button is clicked, i am able to display "Data entered Successfully" in a different page. But i want to display the message in the same jsp page.

what do i do?

PS :- i have tried a javascript message box, but that is not working properly. I need this solved urgently.

I m stuck here.
Thanks
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 03-29-2008, 11:56 AM
Member
 
Join Date: Jul 2007
Location: bangalore,india
Posts: 19
Rep Power: 0
varunthecool is on a distinguished road
Default
<html>
<head></head>
<body>
<form method="post" action="">
//put ur form elements here
</form
<%
//validate for succesful entering
out.println("<p> Succesfuully updated </p>");
%>
</body>
</html
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display Tabuler Data in J2EE application on jsp page AMATYA-CHANAKYA Advanced Java 2 04-23-2008 06:54 PM
code for number of clicks clicked on a web page??? Sveta_cool Advanced Java 2 02-01-2008 03:55 PM
how to display image in jsp page(Struts) rama6262 Advanced Java 1 12-21-2007 08:50 AM
simulate message box pablitohh New To Java 1 12-05-2007 05:52 PM
How to display a database-image in a page? simon New To Java 1 07-24-2007 12:56 AM


All times are GMT +2. The time now is 06:59 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org