Alright folks, lead me. I am trying to catch up with y'all.First of all, I am wondering about the significance of <servlet-name>...</servlet-name> in web.xml.... I thought that after configuring this, I will be able to invoke my servlet by refering to this name, as opposed to using it's class name; but apparently I can't.
the significance of <servlet-name>...</servlet-name> in web.xml.... 1. to define custom URL using servlet-mapping. 2. to define init-param's for your servlet. and others....(I can't think of any right now) I thought that after configuring this, I will be able to invoke my servlet by refering to this name, as opposed to using it's class name; but apparently I can't. Did you map this servlet-name to a particular URL using servlet-mapping element? Let us know the details. I will check again later in the morning...... - satya
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Yes, I did map the servlet to the servlet mapping. So what is happening is that I can access the servlet using the value I put for <servlet-url>..... and not the servlet name. Herbert.
So what is happening is that I can access the servlet using the value I put for <servlet-url>..... and not the servlet name IMO, that is the right behavior. regds. - satya
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Let's go to the waterfront with this tiny ad:
Gift giving made easy with the permaculture playing cards