MCQs Test!! VB Basic Test !! Essentials of VB !! Creating User Services !! function !! Anatomy !! GK March-2019 !! DATA TYPES IN JAVA !! Classes ,Constructor ,Methods,Inheritance !! Ecology-I !! Biology 2019 !! Gk april 2019 !! Biology (living world) !! Plant anatomy !! CELL STRUCTURES AND FUNCTION !! General biology !! Human physiology !! Data structure !! Ecology-II !! GK TEST !! Reproduction in plants !! Human reproduction !! The ABC of C !! Operating system set1 !! Operating system set2 !! Gk and current affairs !! Animal kingdom !! Number system !! Animal kingdom-II !! Gk TEST-III !! Number series !! Microorganisms !! Interview question in c !! Time and Work !! Percentage !! General history !! Average !! Cells !! Locomotion and Movement !! paging !! Bacteriology !! Page replacement policy !! Secondary memory and Disk scheduling !! Introduction of Nervous System and neurons !! Plant harmones !! Transport and Mineral Nutrition in Plants !! Neurotransmitters !! Modern Indian History !! Photosynthesis in Plants !! Modern Indian History-II !! Plant respiration !! Environment & Biodiversity !! Environment & Biodiversity - II !! Algae, Bryophytes, Pteridophytes !! Area !! Cricket !! Days of the Year (India and the World) !! Plant Pathology - I !! Indian Transport System !! Plant Pathology - II !! Aptitude !! Biology !! Botany !! C language !! Computer Science !! Core Java !! Gate !! GK !! Mysql !! Operating system !! Physics !! VB-Visual Basic !! Zoology

Java Servlet Programing Laungage

Java Servlet Projects

Servlet Project 3

How to run the Servlet program
Previous Home Next

To Run a Servlet follow the below steps :

  1. Install the Server - Install the Weblogic Server in a directory in which you want to install and set the classpath for the variable JAVA_HOME in the Environment Variable.
  2. Set the classpath of the weblogic.jar file in the variable CLASSPATH inside the Environment Variable. Variable Name: CLASSPATH Variable Value: C:\bea\weblogic81\server\lib\weblogic.jar
  3. Create a our Servlet Class file and a web.xml file in a directory structure.
  4. Compile the Servlet Class, put the compiled file (.class file) in the classes folder of our application and deploy the directory of your application
  5. Start the Weblogic server.
  6. \Send URL - http://localhost:7001/console/servlet-name/servlet-urlpattern from browser at Client.
  7. If everything is fine, Servlet will run at Server and send response to Client. Then we can see the response sent by the Servlet at Client.
Previous Home Next