Running Servlets Using Tomcat

  1. In the Filesystems window right-click the servlet file.
  2. Choose Execute from the contextual menu. If the compiled servlet is newer, the server reloads the servlet. The IDE sends a URL to the server that is comprised of the server's URL and the Execution URI value from the servlet's property sheet. The IDE also sends the Request Parameter values that are specified in the property sheet.

Troubleshooting

If you get "file not found" errors when you execute a servlet, see Accessing Local files Through a Proxy for possible solutions.

See Also
Servlet Property Sheet
About Running Web Modules
Running a Web Module Using Tomcat
Targeting Tomcat Server for Running Web Modules

Legal Notices