This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Preview Page before Submission

 
naro pad
Ranch Hand
Posts: 58
Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok I want to ask something

I have a jsp web page where I have a form to be filled.When is submitted all the data entered are saved immediately. Now I have think about if there is any way when I submit the form to display page of the enter data and the user can preview it or edit before save them. Can this be done only on the client side without the need of the server side to 'catch' the enter data and send it back again?

I hope you understand me...
 
Jilesh Lakhani
Ranch Hand
Posts: 49
Java Python Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please clear what do you mean by client side
1) You don't wish to communicate with your database.
2) You don't wish a call to be made to your webServer.
3) Your customer should feel that the page is not refreshed but then you wish to validated stuff with your Database.
 
naro pad
Ranch Hand
Posts: 58
Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want when I submit the form to open let say a new window or to create a new web page that will have all the data that the user has enter without the need of sending them to server and wait for the server to send them back for preview. The operation to be done only to the client side. And after preview them then submit the form normally to the server.

Is it possible to be done without sending the form parameters to the server and then the server to process them and send them back again to the client and display them.

Hope you understand me...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure it could be done with a lot of JavaScript, but for what purpose? What possible benefit to doing this would there be?
 
naro pad
Ranch Hand
Posts: 58
Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok you have right... I will do it with the normal way.

Thanks
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic