Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I enable “legacy” servlets under iWS 6.0?

enable iws legacy servlets
0
Posted

How do I enable “legacy” servlets under iWS 6.0?

0

Servlets may either be deployed as part of a deployment under 6.0 or they may be accessed as individual servlets. As a deployment, they would be deployed as per the earlier section in this faq. The older methodology for deploying servlets is now called “legacy” and simply implies that you will be accessing your servlets as standalone entities. From the GUI, click to manage your server, then choose the “legacy servlets” tab. Click on “Configure Servlet Directory” Note that a default servlet directory is preconfigured for you as “/servlet” with a physical directory to be located at $docroot/servlet You will need to create the “servlet directory” underneath the docroot directory eg: $iws_install_dir/docs/servlet and then place a sample servlet in this directory to test. Accessing the servlet class file by a client browser would look something like this: http://iws_server:port/servlet/HelloWorldServlet where HelloWorldServlet is simply the name of a servlet class file.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.