aspose file tools
The moose likes Servlets and the fly likes where does servlet run in tomcat 6  Server.? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "where does servlet run in tomcat 6  Server.?" Watch "where does servlet run in tomcat 6  Server.?" New topic
Author

where does servlet run in tomcat 6 Server.?

Jack Doson
Greenhorn

Joined: Oct 02, 2008
Posts: 9
Actually, I am running my own web application in tomcat.. in that application i placed those servlet in saperate package..!

Its deploying properly properly..! and while running "as far as my knowledge it will run in main application directory..!

I mean to say [webapps/omcabs} , here om cabs is my application name..!

In that application i used keman[package name.!].

where does these servlets placed in keman package will run..(i mean in which folder..?)

if any body post replay than thanks for help.!


Jack Dososn..!
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5543

Are you asking what the "current working directory" is for your web application? I think that when running in Tomcat, the current working directory for all web applications is tomcat_home/bin. Why? Because the current working directory is an operating system concept that relates to the process, which in this case is the JVM, and the JVM is started from tomcat_home/bin.


JBoss In Action
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56233
    
  13

Please check your private messages for an important administrative matter.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: where does servlet run in tomcat 6 Server.?
 
Similar Threads
Struts allpication not loading
placing .class files in Tomcat4.0
JBoss Follows it's own J2EE Specification
Error : Package does not exist
Application not loading