Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Save HTML data in Database?

 
Bhavesh Sangwan
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts ... ! is it possible to save html data directly into database somehow without using any server side technology like java/aspx/php....
If yes .. then plzz explain below... I really require the solution if possible.....

Thanks in advance and I'll thank specially again on submission ....
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean from within a browser? No, that's not possible (unless you consider things like an applet that makes a direct DB connection, but there are multiple drawbacks with the approach).

The question sounds a bit unusual, maybe you can explain what problem you're actually trying to solve, and we can then suggest alternative approaches.
 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use Local Storage or IndexedDB on the client side as databases, or you could go the whole hog and use Offline Web Apps. But like Ulf says, you should tell us what you're trying to achieve if you want more specific advice.
 
Bhavesh Sangwan
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually I'm trying to insert records in MySQL database from a web page(HTML form) using JQuery OR java script only.....
I mean without using any server side programming languages - - without jsp,servlet, ASPX, PHP ....
according to my requirement, I can use only java script or JQuery...

I think now my problem is explained clearly... I'm waiting for urgent results.... please help regarding this....

It may seem very strange but this is... very urgent

Thanks
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I said, a signed applet might be able to do this, but it has lots of drawbacks. But I think the requirements are not well thought out - if there are HTML forms, then there should be form processing on a server somewhere. If there is to be no server-side processing, then you might be better off using a Java desktop app (or JNLP app) instead of HTML pages.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bhavesh Sangwan wrote:I mean without using any server side programming languages - - without jsp,servlet, ASPX, PHP ....
according to my requirement, I can use only java script or JQuery...

Who gave you that requirement? Can you ask that person what you should use? If the person knows enough to give an odd requirement, he/she should have opinions about implementation. If not, it is possible the requirement meant you should use jQuery (or AJAX) on the client side and assumed you would use a servlet at the other end.
 
Bhavesh Sangwan
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks friends ! finally I come to know that it is not possible using only AJAX , Jquery or Java script without having some form processing server side languase,,,,


many many thanks to all helpers to guide me on correct way... Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic