• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hi(can i store data in files)

 
pradeep arum
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have very minimum knowledge of java script....but I am a SCJP 1.4
my school server do not support data bases ....but I still want to maintain a file that gets appended with data that is entered online through a html file with javascript code in it ,can any body guide me through this process.That would be appreciated .
thanks
pradeep
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to Javaranch pradeep -
Since what you're after is javascript, try posting your question here, this is the Java Server Pages (JSP) forum.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34074
336
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this would be better done with JSPs/servlets than javascript. The JSP/servlet has access to the files on the server and can write to them just like a regular java program.
Ideally, you would have a servlet write to the data file and then forward to a JSP to redisplay the page.
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed u better use JSPs or Servlets to do such kind of job... Since JavaScript is best used for client-side handling and JSPs/Servlets for server-side handling...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic