Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 12-06-2012, 08:47 PM   #1
Registered: Nov 2010
Distribution: VectorLinux
Posts: 87

Rep: Reputation: 0


I installed Centos 6.3 as a workstation. Both JDK and Tomcat 6 are installed. Where should I place *.class files? What is the url I should use to access the servlet?

I have tried to search online but couldn't find a specific solution which added to the confusion from the book I'm reading.

Thanks in advance,
Old 12-10-2012, 05:36 PM   #2
Registered: Jan 2005
Location: Munich, Germany
Distribution: SuSE
Posts: 184

Rep: Reputation: 25
Hello, the easiest (and correct) way to do this, is:
add a "web.xml" file, package it into a ".war" archive using the "jar" utility and copy the ".war" to the tomcats "webapps"/"deploy" directory.
Maybe Eclipse has a wizard to help you with that ?
Cheers, Tom.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java and Servlets. Do I need J2EE? Mega Man X Programming 5 03-28-2006 02:27 PM
Tomcat can't find th servlets! xpucto Linux - Software 1 03-23-2006 01:46 PM
servlets/jsp/j2ee linux_ub Linux - Software 1 09-29-2004 03:17 PM
Tomcat + Servlets configuration nightmare lethalinjection Programming 2 11-04-2003 09:18 PM
Servlets executing a C program. webee Programming 1 02-04-2003 06:19 PM

All times are GMT -5. The time now is 06:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration