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
> 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
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
--- 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
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
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
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
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.
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
> 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
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
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
> 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
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.
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
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
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
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
(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
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
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
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
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
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
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
> -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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
43 matches
Mail list logo