Skip to content

fmontei/TomcatServletExample

Repository files navigation

TomcatServletExample

To launch application,

  1. Deploy .class files to E:\CPSC\apache-tomcat-7.0.54\webapps\TomcatServletExample\WEB-INF\classes\mypkg or [path-to-directory]\webapps\TomcatServletExample\WEB-INF\classes\mypkg

  2. In the E:\CPSC\apache-tomcat-7.0.54\webapps\WEB-INF\ subdirectory, create web.xml with following:

    .........

    TomcatServletExample mypkg.ServletExample

    .........

    TomcatServletExample
  3. Navigate to http://localhost:8080/TomcatServletExample

NOTE: %CATALINA_HOME% environment variable must be set up.

Go to %CATALINA_HOME%\bin and type startup in command prompt to initiate server.

Do not exit out of window that opens.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages