6 Replies - 2772 Views - Last Post: 02 September 2009 - 12:02 PM

#1 luchito   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 12-September 06

Java Program to generate html page

Posted 01 September 2009 - 08:41 PM

Can you please give me a quote for a Java program to generate a simple html page?
Is This A Good Question/Topic? 0
  • +

Replies To: Java Program to generate html page

#2 sl4ck3r   User is offline

  • D.I.C Regular
  • member icon

Reputation: 11
  • View blog
  • Posts: 285
  • Joined: 22-September 07

Re: Java Program to generate html page

Posted 01 September 2009 - 08:53 PM

you need to specify what the page needs to do. Without that there no way of knowing the time that will be needed to create it. Do you just want something that outputs
<html><head></head><body></body></html>


?
5 dollars.
Was This Post Helpful? 0
  • +
  • -

#3 syfran   User is offline

  • D.I.C Lover
  • member icon

Reputation: 83
  • View blog
  • Posts: 1,103
  • Joined: 12-July 09

Re: Java Program to generate html page

Posted 01 September 2009 - 09:00 PM

View Postsl4ck3r, on 1 Sep, 2009 - 07:53 PM, said:

you need to specify what the page needs to do. Without that there no way of knowing the time that will be needed to create it. Do you just want something that outputs
<html><head></head><body></body></html>


?
5 dollars.


Ooo, pricy :D

Maybe he wants JEE?
Was This Post Helpful? 0
  • +
  • -

#4 luchito   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 12-September 06

Re: Java Program to generate html page

Posted 02 September 2009 - 04:33 AM

This is the html that needs to be generated.....

<HTML>
<HEAD>
<CENTER>
<BR>
<H2>Project Test</H2>
</CENTER>
</HEAD>

<BODY BGCOLOR=#d9d9d9 LINK=#581d0c VLINK=#884d3c ><P>
<BLOCKQUOTE>

<FONT SIZE=4>
This web page is produced by simple HTML that you can read using the
"view source" buttons on your browser. <br>
<ul>
<li>Write a Java program to output this HTML text line by line as it is written. (Not and I repeat NOT as a single string in one statement!!)
<li>Run your program under Unix
<li>Capture the output from your program and store it in a file named test.htm

</ul>
When you get a copy of this page you are done.
<br><br>

The project should be completed by Date.
You should submit a hard copy listing of your Java program.
<br>
</FONT>
</BLOCKQUOTE>
</BODY>
</HTML>
Was This Post Helpful? 0
  • +
  • -

#5 syfran   User is offline

  • D.I.C Lover
  • member icon

Reputation: 83
  • View blog
  • Posts: 1,103
  • Joined: 12-July 09

Re: Java Program to generate html page

Posted 02 September 2009 - 04:47 AM

So you want a program that outputs instructions to create itself?
Was This Post Helpful? 0
  • +
  • -

#6 luchito   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 12-September 06

Re: Java Program to generate html page

Posted 02 September 2009 - 11:54 AM

I need a Java program that when run it will generate the html page
Was This Post Helpful? 0
  • +
  • -

#7 syfran   User is offline

  • D.I.C Lover
  • member icon

Reputation: 83
  • View blog
  • Posts: 1,103
  • Joined: 12-July 09

Re: Java Program to generate html page

Posted 02 September 2009 - 12:02 PM

View Postluchito, on 2 Sep, 2009 - 10:54 AM, said:

I need a Java program that when run it will generate the html page


Generate an html page based off of what? user input? a database?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1