Green Modern Kits brings affordable prefab house kits to you!

Prefab Green Homes: Passive Solar House Kits from Green Modern Kits!

Our family's passive solar zero energy off grid house kit construction blog.
See affordable prefab house kits at GreenModernKits.com / GreenCottageKits.com and 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

Subscribe to Post Comments [Atom]

Links to this post:

Create a Link

<< Home

Newer Prefab House Posts         Older Prefab House Kit Posts