Green Modern Kits brings affordable prefab house kits to you!

Prefab Green Passive Solar House Kits: Green Modern Kits!

Prefab Passive Solar Modern House Kits- My own net zero energy off grid house kit construction blog. See affordable house kits at www.GreenModernKits.com / www.GreenCottageKits.com and www.GreenCabinKits.com.


If you like, click here to subscribe to our blog. : )
Search:

2/14/08

What I did for Valentine's Day

...In case any of you wonder whether I'm cool or a geek.

SO, I was emailing back & forth with my friend Justin about his (veddy popular) blog when suddenly, I ended it with:
"Oops I’m going to say goodbye now because Christoph just walked into the room and said he just did his first code in Java…
'Ooh! I want to do Java!' my eyes brightened... So I’m off! This is what geeks do on Valentines Day!"
I ambled over to his computer. There was his first code in Java, a typical admin page. "Type in your name into the text field..." so I did... He then explained about Java vs. .net's code-behind...

and then I looked at the source, smiled, and swooned as he hit "submit"... : )
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {

String firstName = request.getParameter("firstName").toString();

response.setContentType("text/html");
PrintWriter out = response.getWriter();
out
.println("");
out.println("");
Happy out.println(" ");
out.println(" ");

out.println("I love " + firstName);
out.println("

Happy Valentine's Day ") ;
//out.print(this.getClass());
//out.println(", using the POST method");
out.println(" ");
out.println("");
out.flush();
out.close();
}

Labels: , , ,


 

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home

Brighter Planet's 350 Challenge