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 synchronize

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.

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 should be a common

Re: directory structure

2009-09-12 Thread Tommy Pham
--- On Sat, 9/12/09, Daniel Blumenthal dan...@wordchamp.com wrote: From: Daniel Blumenthal dan...@wordchamp.com 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

Re: directory structure

2009-09-12 Thread Hassan Schroeder
On Sat, Sep 12, 2009 at 7:42 PM, Daniel Blumenthal dan...@wordchamp.com 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

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

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: ?xml version=1.0 encoding=ISO-8859-1? web-app xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation

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

2008-10-30 Thread Martin Gainty
. Subject: RE: Version 6.0.18 of Tomcat -- 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: 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 servlets which aren't

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. listener listener-classlisteners.SessionListener/listener-class /listener No. Completely wrong. The whole point is that Tomcat *can't* find a listener that is already

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: ?xml version=1.0 encoding=ISO-8859-1? web-app xmlns=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;

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 servlet-mapping servlet-nameSales/servlet-name url-pattern/sales/url-pattern /servlet-mapping If you look

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. servlet-mapping servlet-nameSales/servlet-name url-pattern/sales/url-pattern /servlet-mapping Then in the root of the webapp there is a directory with the same

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 servlet-mapping servlet-nameSales/servlet-name url-pattern/sales/url-pattern /servlet-mapping If you look at the servlet spec (section 11.2

Re: a simple question about Directory structure in Tomcat

2007-10-24 Thread pesho318i
://www.nabble.com/a-simple-question-about-Directory-structure-in-Tomcat-tf4680899.html#a13381308 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e

Re: a simple question about Directory structure in Tomcat

2007-10-24 Thread Mark Thomas
pesho318i wrote: servlet-nameservlet/servlet-name servlet-class myServlet /servlet-class /servlet Your servlet also needs to be in a package. Mark - To

a simple question about Directory structure in Tomcat

2007-10-23 Thread pesho318i
://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: users@tomcat.apache.org To unsubscribe

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.

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

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 other

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

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

2006-08-28 Thread Lloyd Zusman
Mikolaj Rydzewski miki at 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 specific

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 Context definition in

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

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. form name=loginForm method=post action=/login Looking back at your original email -- is this

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
-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 snip /snip Also, now that I have this rudimentary piece of code working

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

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

2006-05-20 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 are my

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

2006-05-20 Thread Gregg Leichtman
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 docroot= /usr/share/tomcat5/webapps/smsinfo *** anw-dev:/usr/share

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: form name=loginForm method=post action=WEB-INF/classes/UserConfig.login 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 servlet

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

2006-05-20 Thread Allen Williams
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: form name=loginForm method=post action=WEB-INF/classes/UserConfig.login

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

2006-05-20 Thread Allen Williams
servlet-classUserConfig.login/servlet-class /servlet servlet-mapping servlet-namelogin/servlet-name !-- url-pattern/servlet/login/url-pattern -- url-pattern/login/url-pattern /servlet-mapping /web-app All the rest (directory structure, etc.) is as in my first post. -Original

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 2006

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

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.jsp |-WEB-INF

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 |-WEB-INF

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

RE: Newbie: Help on directory structure

2006-05-18 Thread Williams, Allen
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: app-name| |-login.jsp

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