Tuesday, April 07, 2009

Tomcat and servlets

  • Sevlet Package Strucutre
package proto.inmc.fm.servlet;
  • Web Xml Structure
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
   version="2.5"> 
  
    inmcservlet
    proto.inmc.fm.servlet.inmcservlet
  
  
    inmcservlet
     /servlet/inmcservlet2
    

  • Deploy dir in Tomcat
D:\Program Files\Apache Group\apache-tomcat-6.0.16\apache-tomcat-6.0.16\webapps\inmc\WEB-INF\classes\proto\inmc\fm\servlet
  • Html depl0y place in Tomcat
D:\Program Files\Apache Group\apache-tomcat-6.0.16\apache-tomcat-6.0.16\webapps\docs\inmc.html

  • Html invocation of servlet

form name="myForm" method="GET" action="../inmc/servlet/inmcjnlp"
input type="submit" value="Get Logged in User"

 form

  • Paths
 http://localhost:8090/docs/inmc.html
 http://localhost:8090/docs/inmcjnlp.html

http://localhost:8090/inmc/servlet/inmcservlet2



1 comment:

Anonymous said...

Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!

Install/Upgrade NVIDI Driver in Ubuntu for CUDA SDK

Most linux distribution comes with the Nouveau https://nouveau.freedesktop.org/wiki/ display driver configured. If you need to use NVIDIA...