Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Deploying a Servlet In A Linux System

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 08-03-2010
Member
 
Join Date: Nov 2009
Posts: 652
Deploying a Servlet In A Linux System
  

Hi, I am working on the Linux platform. I tried to follow a tutorial to run my first servlet in this tutorial all goes through the command prompt.
- I was able to install Tomcat and start it from the command prompt.
- In the compilation of my Servlet I am getting the problem.
I want to know how can I simply able to deploy the Servlet in my Linux platform.

Reply With Quote
  #2  
Old 08-03-2010
Member
 
Join Date: Feb 2008
Posts: 1,844
Re: Deploying a Servlet In A Linux System

Hello, If you want to do it by command line, I suggest you start command javac without parameter (or javac-help). It will tell you that to specify the classpath is the option-cp. So you must write a command to resemble it. I have the following command. So, just make use of it.
Code:
javac-cp "xxxxxx/apache-tomcat-6.0.24/bin /" -d .. / WEB-INF / classes / TestingServlet.java
Reply With Quote
  #3  
Old 08-03-2010
Member
 
Join Date: Jan 2008
Posts: 1,513
Re: Deploying a Servlet In A Linux System

Hello, you need to make use of the following command for Apache configuration:

Code:
 ./configure --prefix=/usr/local/apache
    --add-module=/usr/local/src/
                jserv0.9.11/mod_jserv.c
Reply With Quote
  #4  
Old 08-03-2010
Member
 
Join Date: Apr 2008
Posts: 1,946
Re: Deploying a Servlet In A Linux System

Hello for deploying a Servlet in a Linux System you must need to use the Apache which is having following features:
  • Unix Threading
  • New Build System
  • Multiprotocol Support
  • Better support for non-Unix platforms
  • New Apache API
  • IPv6 Support
  • Filtering
  • Multilanguage Error Responses
  • Simplified configuration
  • Regular Expression Library Updated
Reply With Quote
  #5  
Old 08-03-2010
Member
 
Join Date: May 2008
Posts: 2,379
Re: Deploying a Servlet In A Linux System

Hello, you can use the books below for getting the reference for Deploying a Servlet in a Linux System:
  • Unix Network Programming
  • Just Java, 1st Edition
  • Java Programming for Dummies
  • Java Developer's Resource
  • Java by Example, 1st Edition
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Deploying a Servlet In A Linux System"
Thread Thread Starter Forum Replies Last Post
How to create system recovery image in Linux system Vedavrata Operating Systems 9 01-08-2012 02:15 PM
Best Friendly Linux Distribution For Biggest Linux System Aniela Operating Systems 3 13-12-2010 06:42 AM
Deploying MSI's with WSUS 3.0?? VauGhna Server Update Service 2 24-01-2010 07:06 AM
Problem deploying XP SP3 with WSUS 3.0 SP1 Pine Le Server Update Service 1 21-05-2008 06:23 PM


All times are GMT +5.5. The time now is 11:45 AM.