• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

where does servlet run in tomcat 6 Server.?

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.!
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please check your private messages for an important administrative matter.
reply
    Bookmark Topic Watch Topic
  • New Topic