Re: directory structure

2009-09-13 Thread David Kerber
Daniel Blumenthal wrote: If you're referring to during the development phase Yes, during the development phase. the IDEs I've worked with such as NetBeans and Eclipse does it for you automatically. I don't remember if NetBeans actually make a war or not but it does autodeploy. Ecl

RE: directory structure

2009-09-13 Thread Daniel Blumenthal
> If you're referring to during the development phase Yes, during the development phase. > the IDEs > I've worked with such as NetBeans and Eclipse does it for you > automatically. I don't remember if NetBeans actually make a > war or not but it does autodeploy. Eclipse will auto > synchron

Re: directory structure

2009-09-12 Thread Hassan Schroeder
On Sat, Sep 12, 2009 at 7:42 PM, Daniel Blumenthal wrote: > I'd like to be able to set up a system in which I can make a change to a css > file (or whatever) and see the change after reloading the page - i.e., > without having to run another build. Uh, wouldn't that just depend on your build sys

Re: directory structure

2009-09-12 Thread Tommy Pham
--- On Sat, 9/12/09, Daniel Blumenthal wrote: > From: Daniel Blumenthal > Subject: directory structure > To: users@tomcat.apache.org > Date: Saturday, September 12, 2009, 9:42 PM > I'm reorganizing an existing project > according to the generally accepted > Java d

directory structure

2009-09-12 Thread Daniel Blumenthal
I'm reorganizing an existing project according to the generally accepted Java directory structure (http://java.sun.com/blueprints/code/projectconventions.html#23136), and everything seems to be working all right, but there's one thing I don't understand that seems like it sho

Caching static files in hierarchical directory structure

2009-05-19 Thread Pantvaidya, Vishwajit
Is there anyway to cache sets of files in multiple levels of a hierarchical directory structure e.g. /js/*.js /js/1/*.js /js/1/1/*.js I was checking this out on the httpd side using mod_file_cache, mod_headers, mod_expires. The Directory and other directives seem to take wildcards like * and

RE: Version 6.0.18 of Tomcat -- Web.xml file and file/directory structure

2008-10-31 Thread John Byrne
Users List Subject: Re: Version 6.0.18 of Tomcat -- Web.xml file and file/directory structure Strip your web.xml file down to this: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.co

Re: Version 6.0.18 of Tomcat -- Web.xml file and file/directory structure

2008-10-30 Thread David Smith
Strip your web.xml file down to this: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5"> Servlet and JSP Examples.

Re: Version 6.0.18 of Tomcat -- Web.xml file and file/directory structure

2008-10-30 Thread Mark Thomas
Martin Gainty wrote: > Good Evening John- > > in /WEB-INF/web.xml make sure your listener is configured in e.g. > > listeners.SessionListener > No. Completely wrong. The whole point is that Tomcat *can't* find a listener that is already configured in web.xml. >> Attached is my

RE: Version 6.0.18 of Tomcat -- Web.xml file and file/directory structure

2008-10-30 Thread Caldarale, Charles R
> From: John Byrne [mailto:[EMAIL PROTECTED] > Subject: RE: Version 6.0.18 of Tomcat -- Web.xml file and > file/directory structure > > Attached is my web.xml file. Your web.xml file is completely wrong for your test application. All of those extra filters, listeners, and servle

RE: Version 6.0.18 of Tomcat -- Web.xml file and file/directory structure

2008-10-30 Thread Martin Gainty
cat -- Web.xml file and file/directory > structure > Date: Thu, 30 Oct 2008 16:28:18 -0700 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > > > David, and everyone else, > > Here is the file layout: > C:\tomcat\apache-tomcat-6.0.18\webapps\Test\WEB-INF\web.xml

RE: server mapping behaviour when directory structure mirrors mappings

2007-12-11 Thread Matthew Broadhead
Caldarale, Charles R wrote: > >> From: Matthew Thomas Broadhead [mailto:[EMAIL PROTECTED] >> Subject: server mapping behaviour when directory structure >> mirrors mappings >> >> >> Sales >> /sales >> > > If you look at the

RE: server mapping behaviour when directory structure mirrors mappings

2007-12-10 Thread Caldarale, Charles R
> From: Matthew Thomas Broadhead [mailto:[EMAIL PROTECTED] > Subject: server mapping behaviour when directory structure > mirrors mappings > > > Sales > /sales > If you look at the servlet spec (section 11.2), you'll see that the above is not vali

server mapping behaviour when directory structure mirrors mappings

2007-12-10 Thread Matthew Thomas Broadhead
Recently upgraded Tomcat from version 4.1.31 to 6.0.14. In my webapp I mapped servlets to paths without extensions e.g. Sales /sales Then in the root of the webapp there is a directory with the same name (e.g. sales) in which all the resources for that servlet are stored.

Re: a simple question about Directory structure in Tomcat

2007-10-24 Thread Mark Thomas
pesho318i wrote: > servlet > > myServlet > > Your servlet also needs to be in a package. Mark - To start a new topic, e-mail: users@tomcat.apache.org To un

Re: a simple question about Directory structure in Tomcat

2007-10-24 Thread pesho318i
e out why if it's one directory deeper it cannot find the > servlet. > > > I'll be grateful if you could tell me how to handle this problem... > Thanks, > P. > -- View this message in context: http://www.nabble.com/a-simple-question-about-Directory-structure

Re: a simple question about Directory structure in Tomcat

2007-10-23 Thread David Smith
This is by design. WEB-INF is a special directory that must be a direct subdirectory of the webapp's top level. In other words, webapps/myApp/WEB-INF is good. WEB-INF in any other location within your webapp is bad. All this is described in the servlet spec and not tomcat specific. --Davi

a simple question about Directory structure in Tomcat

2007-10-23 Thread pesho318i
View this message in context: http://www.nabble.com/a-simple-question-about-Directory-structure-in-Tomcat-tf4680899.html#a13375489 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: use

How to specify my directory structure in Apache?

2007-06-26 Thread shiva sha
How to specify my directory structure (C:\tomcat5.5.17\webapps\sampleapp\web-inf\classes\com\bean) in Apache? I m doing tomcat server clustering. I have to mention in httpd.conf or workers.properties or mod_jk.conf or mod_jk_cluster.conf? In which file i have to mention.. Thanks Shiva

Re: Jar files that have to live outside of tomcat's directory structure?

2006-08-28 Thread Lloyd Zusman
Mikolaj Rydzewski ceti.pl> writes: > > Lloyd Zusman wrote: > > Ideally, I'd like to be able to tell tomcat's class loader to look in the > > home of these business-specific jar files in addition to the standard > > locations. [ ... ] > > > You can also use your own class loader to load speci

Re: Jar files that have to live outside of tomcat's directory structure?

2006-08-28 Thread Mikolaj Rydzewski
Lloyd Zusman wrote: Ideally, I'd like to be able to tell tomcat's class loader to look in the home of these business-specific jar files in addition to the standard locations. Is there any way to do this? You can also use your own class loader to load specific jars. Instead of telling Tomcat

Jar files that have to live outside of tomcat's directory structure?

2006-08-28 Thread Lloyd Zusman
I understand that the tomcat standards specify that jar files with classes that are shared among more than one webapp should live in the "shared" directory. However, for the application that I'm working on, there are some jars that are shared not only among tomcat-based webapps, but also, by othe

Re: Can't figure out directory structure (again:-(

2006-07-24 Thread David Smith
According to the configurations you posted, the full path of your login servlet is /smsinfo/smsinfo/login. I doubt that was what you were really after. The URL mapping in web.xml is relative to the webapp, not the root. Also, if this is tomcat 5.x, you should put your definition in it's ow

Can't figure out directory structure (again:-(

2006-07-23 Thread aladdin
I had this all working with some basic jsp pages and a (one) servlet. I went to continue to build on my application, and all of a sudden, it broke again. I changed a lot of code (html, jsp, and java), but none of the configuration files, I don't think (but, you know how that goes). All of a sud

Re: Directory Structure and Can't Find Resources in Tomcat

2006-05-21 Thread Hassan Schroeder
On 5/21/06, Allen Williams <[EMAIL PROTECTED]> wrote: I don't really have a burning need, but would consider it educational So's putting your hand on a hot stove burner; the value of the lesson is yours to decide :-) ... was laboring under the impression (rightly or wrongly) that it would in

RE: Directory Structure and Can't Find Resources in Tomcat

2006-05-21 Thread Allen Williams
> -Original Message- > From: Hassan Schroeder [mailto:[EMAIL PROTECTED] > Sent: Sunday, May 21, 2006 4:02 PM > To: Tomcat Users List > Subject: Re: Directory Structure and Can't Find Resources in Tomcat > > Also, now that I have this rudimentar

Re: Directory Structure and Can't Find Resources in Tomcat

2006-05-21 Thread Hassan Schroeder
On 5/21/06, Allen Williams <[EMAIL PROTECTED]> wrote: Do you know where I can find a GOOD reference on how Tomcat resolves that stuff? I've looked at most of the "official" docs, and a lot of stuff on the web, but they more or less allude to it peripherally, as though it is already understood.

RE: Directory Structure and Can't Find Resources in Tomcat

2006-05-21 Thread Allen Williams
er got it quite working, but had to leave. Any good references there? Thanks again!!! Hopefully, before long, I'll know enough to contribute. -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Sunday, May 21, 2006 9:30 AM To: Tomcat Users List Subject: Re: Dir

Re: Directory Structure and Can't Find Resources in Tomcat

2006-05-21 Thread Hassan Schroeder
On 5/20/06, Allen Williams <[EMAIL PROTECTED]> wrote: Sorry, it didn't work. Once again, in my browser I have: HTTP Status 404 - /login Description: The requested resource (/login) is not available. Looking back at your original email -- is this your ROOT context? If not -- if it's "smsin

RE: Directory Structure and Can't Find Resources in Tomcat

2006-05-20 Thread Allen Williams
n.jsp: * Here is my entire web.xml file: http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";> login UserConfig.login login /login All the rest (directory structure, etc.) is as in my first post. -Original Message- From: Has

RE: Directory Structure and Can't Find Resources in Tomcat

2006-05-20 Thread Allen Williams
tomorrow;-). Thanks again! -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Saturday, May 20, 2006 2:19 PM To: Tomcat Users List Subject: Re: Directory Structure and Can't Find Resources in Tomcat On 5/19/06, Allen Williams <[EMAIL PROTECTED]> wrote: &g

Re: Directory Structure and Can't Find Resources in Tomcat

2006-05-20 Thread Hassan Schroeder
On 5/19/06, Allen Williams <[EMAIL PROTECTED]> wrote: You can't directly address something under WEB-INF; your action should be something like `action="/login"` with a mapping in your web.xml like login UserConfig.login login /login Note: NO "/servlet" in there -- read t

FW: FW: Directory Structure and Can't Find Resources in Tomcat

2006-05-20 Thread Allen Williams
gt; > -=> Gregg <=- > > Mladen Adamovic wrote: > > I would suggest you to install and work with Netbeans 5.0. Netbeans > > 5.0 have bundled Tomcat which work out of the box. Than you will not > > have problems like these before deployment. > > > > Allen Williams wro

RE: Directory Structure and Can't Find Resources in Tomcat

2006-05-20 Thread Allen Williams
nd like it. Thanks for the help, though. -Original Message- From: Mladen Adamovic [mailto:[EMAIL PROTECTED] Sent: Saturday, May 20, 2006 2:29 AM To: Tomcat Users List Subject: Re: Directory Structure and Can't Find Resources in Tomcat I would suggest you to install and work with Netbean

Re: Directory Structure and Can't Find Resources in Tomcat

2006-05-20 Thread Gregg Leichtman
he box. Than you will not > have problems like these before deployment. > > Allen Williams wrote: >> Well, I can't figure out this directory structure and finding stuff >> at all. >> >> Here are my directory listings

Re: Directory Structure and Can't Find Resources in Tomcat

2006-05-19 Thread Mladen Adamovic
I would suggest you to install and work with Netbeans 5.0. Netbeans 5.0 have bundled Tomcat which work out of the box. Than you will not have problems like these before deployment. Allen Williams wrote: Well, I can't figure out this directory structure and finding stuff at all. Here a

Directory Structure and Can't Find Resources in Tomcat

2006-05-19 Thread Allen Williams
Well, I can't figure out this directory structure and finding stuff at all.   Here are my directory listings docroot= /usr/share/tomcat5/webapps/smsinfo *** anw-dev:/usr/share/tomcat5/webapps/smsinfo$ ls -laF total 20 drwxr-xr-x  3 anw     root 4096

Re: Newbie: Help on directory structure

2006-05-18 Thread Hassan Schroeder
On 5/18/06, Williams, Allen <[EMAIL PROTECTED]> wrote: Tonight I'll try it with all the lines recommended here, and see. The book I'm using only had the four lines. Is this a change between Tomcat4 and Tomcat5? Yes. Throw that book away and use the excellent documentation on the Tomcat web s

RE: Newbie: Help on directory structure

2006-05-18 Thread Williams, Allen
mcat Users List Subject: Re: Newbie: Help on directory structure On 5/18/06, Allen Williams <[EMAIL PROTECTED]> wrote: > I have an Java app called login, in a package called UserConfig. This is > just a very simple app to help me get started. > > The directory structure: &g

RE: Newbie: Help on directory structure

2006-05-18 Thread Williams, Allen
I tried referencing the class with the name UserConfig.login in the .jsp file, with a directory structure classes/UserConfig/login.class and classes/UserConfig.login.class. Neither worked, but I could have made a mistake and will try again. Where should the name UserConfig.login be used? As the

Re: Newbie: Help on directory structure

2006-05-18 Thread Hassan Schroeder
On 5/18/06, Allen Williams <[EMAIL PROTECTED]> wrote: I have an Java app called login, in a package called UserConfig. This is just a very simple app to help me get started. The directory structure: app-name| |-login.jsp |-welcome.jsp |-W

Re: Newbie: Help on directory structure

2006-05-18 Thread Steve Ochani
On 18 May 2006 at 9:10, Allen Williams wrote: > I have an Java app called login, in a package called UserConfig. This > is just a very simple app to help me get started. > > The directory structure: > > app-name| > |-login.jsp > |-welcome

Newbie: Help on directory structure

2006-05-18 Thread Allen Williams
I have an Java app called login, in a package called UserConfig. This is just a very simple app to help me get started. The directory structure: app-name| |-login.jsp |-welcome.jsp |-WEB-INF| ||-classes| |||-UserConfig