Weblogic 8.1 supports servlet 2.3. Yes its most recommended to give DTD at the top. This is ensure that you can use correct elements and particularly the order to be defined.. So add those DOCTYPE lines and see if you still get error.
But when i am using init/context-param its not even running.
Thats exactly what i meant. You can check for the example web.xml inside your weblogic domain examples.
I tried it.. and that error is no more alive. Thanks a lot.
My app is runnig but its returing the null values for context/init param.
I am getting SAX.parse.exception.. init-param/context-param must be declared. But they are already.
I have checked few examples but couldn't find any clue. they have declared it same as i did.
I m not sure if you read the link i pointed out. Is this elemnts <context-pattern> and <init-pattern> are valid ? Its "param" and not pattern , where did you get that ? Please take time to read the links offered and post anything if not working out..
Oh my God.... what i was doing..
So i have written pattern inplace of param...
I checked the links but actual mistake is that you stated.
Its working now my friend.... Thanks a lot for all your help!!!