1 / 3

Tomcat and Servlets

Tomcat and Servlets. CSE 3330 Southern Methodist University. Tomcat. If you change your servlet , you’ll need to let Tomcat know. Restart the server Use the manager app Modify the tomcat- users.xml file in < TCHome >/conf. Request Parameters.

adele
Download Presentation

Tomcat and Servlets

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tomcat and Servlets CSE 3330 Southern Methodist University

  2. Tomcat • If you change your servlet, you’ll need to let Tomcat know. • Restart the server • Use the manager app • Modify the tomcat-users.xml file in <TCHome>/conf

  3. Request Parameters • http://localhost:8080/MyServ/Serv?fname=Mark&lname=Fontenot • Use the request object’s getParameter() method to get the value of a particular key. • req.getParameter(“fname”); Parameters are key/value pairs

More Related