Sunday, December 26, 2004

It all happened on Friday night 3:30 am (early morning !). But could not blog as we had to go for trip and did not get time.

It took so much time to blog this. I hope nobody is missing this(missing not even me!!).

The web-server was earlier responded to the Servlet programs which extended Servlet,
now it also responds to the modern servlet which extends HttpServlet.

Thats really nice !!

Going still further, the query string is also parsed and set to request parameters.
And we can now set and get request parameters !!

This all an HashMap, i.e., a key/value pairs. For setting parameters it takes two objects(values) one is key and the other is value. As the signature of the method goes..

public void setParameter(Object key,Object value);

Add the key and value to the hash map.

And for getting the parameters value, you need to provide the key.

As the signature of the method goes..

public Object setParameter(Object key);//returns the value.. for key

Similar kind of implementations for Cookies and Session will take place today.

One more thing, This is not the exact implementation of the Tomcat which i am studying right now. I just read the explaination for the things to be done and the UML diagrams, so implemented it in my own programs.

Just the crude thing !!

There are still no packages made, it is just some 6 programs working for me.

Still if someone cares to see the code with UML diagrams, can mail or just add comments will get them(of course with their email id !!).

After some more implementation, blogs will come up!!

Thanks for all the comments and encouragement u all have given!!

Merry Christmas and Enjoy !!





2 comments:

Vinay Krishna said...

astaste boss..
halft kudi..
night out madu..
bari codu..
hodi handu..
njoy maadu..
vinay

Vinay Krishna said...

boy, send me the desing, code....