5 Replies Latest reply: Aug 1, 2013 2:48 AM by gimbal2 RSS

    How to create files on my server(online) with servlets

      Hello everyone

      I'm making a website with articles (like a blog). I have a webpage called admin.html where you insert the data of the article (title, post etc).

      Admin.html calls to a servlet and this sends the information to a SQL Database and it stores and my index.jsp calls to database and show the articles.

      This works perfect, and a non-programmer can insert new articles. The problem is that I need to create an .html file for every article/post and save it into my server

      For example if I create "CoolArticle", I need the file "CoolArticle.html" and save it in my hosting.

      How I can do it? I never have seen examples online, all were local, so I can't continue.

      Thanks in advance.