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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
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: 5837
    
    7

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: 61434
    
  67

Please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: where does servlet run in tomcat 6 Server.?