Results 1 to 2 of 2
  1. #1
    Praveen2710 is offline Member
    Join Date
    Aug 2014
    Posts
    1
    Rep Power
    0

    Default Create Static Images from processied XML data Java

    Hi,
    I currently have inherited a project where the XML is parsed and converted to static HTML pages using PrintWriter,fileOuputStream to generate a html page and insert html data in it.
    Then we need to go the folder where the html is generated to view it. I wanted to know if there is a easier and more manageable way to do this.

    I am not allowed to run a server as it is a standalone application so I believe Struts,Spring is out of question.I am putting an image for better understanding please let me know if there is a easier way to generate html.

    Create Static Images from processied XML data Java-delete4.png


    I apologize in advance if this is not the right forum for this post.

  2. #2
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    450
    Rep Power
    6

    Default Re: Create Static Images from processied XML data Java

    You have clearly mentioned that you will not be able to use any server technology like Servlets, JSP or any web framework. But you have asked the question under JSP category. Finally, you had asked apologies. I really dont know your intention.

    your problem could be solved in standalone application in which you can use any XML parser like DOM or SAX to parse the XML files and you can create .html file by your parsed data. To create .html file you are highly recommended FileWriter. But to read the xml file you better use any parser.

    Good Luck.
    Mak
    (Living @ Virtual World)

Similar Threads

  1. Replies: 0
    Last Post: 02-14-2014, 11:40 AM
  2. create a static array of objects in java?
    By aidanmack in forum New To Java
    Replies: 10
    Last Post: 01-02-2014, 05:28 PM
  3. transfer data from static to non-static method
    By ki_ha1984 in forum New To Java
    Replies: 7
    Last Post: 10-21-2012, 04:37 PM
  4. How can I create Graph(Data structure) with Java ?
    By mir.shahidul in forum Advanced Java
    Replies: 2
    Last Post: 02-10-2009, 11:19 AM
  5. How can I create Graph(Data structure) with Java
    By mir.shahidul in forum New To Java
    Replies: 4
    Last Post: 02-09-2009, 09:48 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •