This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
hay friends, i m using tomcat 4 on win 2k system. i have created context in tomcat named world. i mapped servlet name helloworld in it such that when i hit http://localhost:8080/world/servlet/helloworld my servlet runs. is it possible to give an alias name to my servlet "helloworld" to "helloweb" ??? what modification i required in web.xml ??? or other ???
"TECH ZALA"- This is your second notice. Welcome to the JavaRanch! Please adjust your displayed name to meet the JavaRanch Naming Policy. You can change it here. Thanks! and welcome to the JavaRanch! Mark
Use following tags in Web.xml <servlet> <servlet-name>helloworld</servlet-name> <servlet-class>test.HelloWorld</servlet-class> </servlet> <servlet-mapping> <servlet-name>helloword</servlet-name> <url-pattern>/servlet/helloweb</url-pattern> </servlet-mapping>