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
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.
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
--- 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
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
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
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
.
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
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
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
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;
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
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
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
://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
pesho318i wrote:
servlet-nameservlet/servlet-name
servlet-class
myServlet
/servlet-class
/servlet
Your servlet also needs to be in a package.
Mark
-
To
://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
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
(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
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
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
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
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
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
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
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.
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
40 matches
Mail list logo