Appachetomacat server-course-navi-mumbai-appache-tomcat-course-providers-navimumbai
Upcoming SlideShare
Loading in...5
×
 

Appachetomacat server-course-navi-mumbai-appache-tomcat-course-providers-navimumbai

on

  • 198 views

apache-tomcat classes-navi-mumbai,apache-tomcat course-provider-navi-mumbai apache-tomcat-training-navi-mumbai best apache-tomcat classes-navi-mumbai ...

apache-tomcat classes-navi-mumbai,apache-tomcat course-provider-navi-mumbai apache-tomcat-training-navi-mumbai best apache-tomcat classes-navi-mumbai
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
enquiry@vibrantgroup.co.in

Statistics

Views

Total Views
198
Views on SlideShare
198
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Appachetomacat server-course-navi-mumbai-appache-tomcat-course-providers-navimumbai Appachetomacat server-course-navi-mumbai-appache-tomcat-course-providers-navimumbai Presentation Transcript

  • Vibrant Technologies & Computers Apache Tomcat Make Career With Us!! B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
  • apachetomcattraining.vibranttechnologies.co.in What is Tomcat? Tomcat is a Servlet container (Web server that interacts with Servlets) developed under the Jakarta Project of Apache Software Foundation Tomcat implements the Servlet and the Java Server Pages (JSP) specifications of Sun Microsystems Tomcat is an open-source, non commercial project Licensed under the Apache Software License Tomcat is written in Java (OS independent) B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 advancedaixadministration.vibranttechnologies.co.in enquiry@vibrantgroup.co.in
  • apachetomcattraining.vibranttechnologies.co.in A Servlet Example public class HelloWorld extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { PrintWriter out = response.getWriter(); out.println("<html><head><title>Hello</title></head>"); out.println("<body>"); out.println("<h2>" + new java.util.Date() + "</h2>"); out.println("<h1>Hello World</h1></body></html>"); } http://localhost/dbi/hello B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 } advancedaixadministration.vibranttechnologies.co.in enquiry@vibrantgroup.co.in
  • apachetomcattraining.vibranttechnologies.co.in A JSP Example <html> <head> <title>Hello World</title> </head> <body> <h2><%= new java.util.Date() %></h2> <h1>Hello World</h1> </body> http://localhost/dbi/hello.jsp </html> B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 advancedaixadministration.vibranttechnologies.co.in enquiry@vibrantgroup.co.in
  • apachetomcattraining.vibranttechnologies.co.in The Apache Jakarta Project • The Apache Jakarta Project “creates and maintains open source solutions on the Java platform for distribution to the public at no charge” • Apache Jakarta Tomcat--or just “Tomcat”--is one of those projects • Tomcat is a container for servlets – Tomcat can act as a simple standalone server for Web applications that use HTML, servlets, and JSP – Apache is an industrial-strength, highly optimized server that can be extended with Tomcat B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 advancedaixadministration.vibranttechnologies.co.in enquiry@vibrantgroup.co.in
  • apachetomcattraining.vibranttechnologies.co.in Getting Tomcat • The Apache Jakarta website is hard to navigate • If you want to get Tomcat, one reasonable download site is http://mirrors.xtria.com/apache/jakarta/tomcat5/v5.0.29/bin/ • You would need the whole “tarball”, which will have a name such as jakarta-tomcat-5.0.29.tar.gz • An excellent tutorial site is Configuring & Using Apache Tomcat, http://www.coreservlets.com/Apache-Tomcat-Tutorial/ – This site also contains many examples you can use to test your installation • Installing Tomcat by itself is much easier than installing Apache and then adding Tomcat to it B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 advancedaixadministration.vibranttechnologies.co.in enquiry@vibrantgroup.co.in
  • apachetomcattraining.vibranttechnologies.co.in Another JSP Example <html> <head><title>Numbers</title></head> <body> <h1>The numbers 1 to 10:</h1> <ul> <% int i; for (i=1; i<=10; ++i) { %> <li>Number <%=i%> </li> <%}%> </ul> </body> </html> http://localhost/dbi/numbers.jsp B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 advancedaixadministration.vibranttechnologies.co.in enquiry@vibrantgroup.co.in
  • apachetomcattraining.vibranttechnologies.co.in Tomcat Directory Structure Tomcat-Base conf logs webapps server server.xml ROOT myApp1 work myApp2 shared lib classes WEB-INF web.xml lib classes Tomcat-Home bin common B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 lib classes advancedaixadministration.vibranttechnologies.co.in enquiry@vibrantgroup.co.in
  • apachetomcattraining.vibranttechnologies.co.in Base and Home Directories • The directory TOMCAT-HOME contains executables and libraries required for the server launching, running and stopping – This directory is placed under /usr/local/… • The directory TOMCAT-BASE contains the Web-site content, Web applications and configuration data – This directory is placed under your home directory B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 advancedaixadministration.vibranttechnologies.co.in enquiry@vibrantgroup.co.in
  • apachetomcattraining.vibranttechnologies.co.in Tomcat directory structure myApplicationDirectory/ -- this is your top level directory myWebForm.html myJspPage.jsp WEB-INF/ -- must have this directory, named exactly like this lib/ -- mostly for external .jar files classes/ -- must have this directory, named exactly like this com/ -- The com.example.model package directory example/ model/ myModel.class -- in package com.example.model; web/ myServlet.class --in package com.example.web; web.xml -- this is the deployment descriptor, it must have this name B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 advancedaixadministration.vibranttechnologies.co.in enquiry@vibrantgroup.co.in
  • androidtraining.vibranttechnologies.co.in Where to Get More Information Vibrant Group: www.vibrantgroup.co.in Vibrant Technologies & Computers www.vibranttechnologies.co.in/technologies.vibrantgroup.co. in Vibrant HR Team www.hr.vibrangroup.co.in B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 advancedaixadministration.vibranttechnologies.co.in enquiry@vibrantgroup.co.in