Serve servlet by class name

You can enable "Serve Servlet by classname" feature, Once you do that you can access any servlet in the web application by its class name in addition through the servlet context

I have one com.webspherenotes.webapp.WebAppExtensionServlet servlet in my WebAppExtensionSample.war file and i can access it by going to http://localhost:9081/webappext/servlet/com.webspherenotes.webapp.WebAppExtensionServlet url.

In this the /webappext is the web application context

You can download the sample code from here

1 comment:

for IT the said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java EE Online Training from India . Nowadays Java has tons of job opportunities on various vertical industry.



Java Online Training