Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-13-2008, 08:56 AM
Member
 
Join Date: Feb 2008
Posts: 2
am17mu is on a distinguished road
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
Sponsored Links
  #2 (permalink)  
Old 03-29-2008, 11:56 AM
Member
 
Join Date: Jul 2007
Location: bangalore,india
Posts: 19
varunthecool is on a distinguished road
<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
Sponsored Links
Reply


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

vB 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 +3. The time now is 06:23 AM.


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