Share your knowledge with the world.

Archive for the ‘Servlet & JSP’ Category

Servlet : Hello World

Developing Simple Web Application (Java) ================================== 1. Software Done 2. Install so first we will install java 3. We will unzip the tomcat 4. We have to do some configuration. 5. We will develop an application

Instantiation of Tomcat 6.0 & Running Servlet

Minimum requirement: JDK 1.6 & Standard Browser. ======================================= 1. Download Apache Tomcat form :http://tomcat.apache.org/download-60.cgi & extract the Zip file 2. Environment variable: a. CATALINA_HOME H:\Software\apache-tomcat-6.0 b. JAVA_HOME C:\Program Files\Java\jdk1.7.0 c. PATH H:\Software\apache-tomcat-6.0\bin d. Classpath H:\Software\apache-tomcat-6.0\lib\servlet-api.jar; H:\Software\apache-tomcat-6.0\lib\jsp-api.jar 3. Modify this file: H:\Software\apache-tomcat-6.0\conf\tomcat-users.xml 4. cmd => startup or shutdown 4.1 cmd => startup 5. http://localhost:8080 Running Servlet [...]

Follow

Get every new post delivered to your Inbox.