this. Did I miss something?
Given that it seems one can safely use statics in webapps,
is there anything now to be said against this?
Miles Daffin
> -Original Message-
> From: craigmcc@localhost [mailto:craigmcc@localhost]On Behalf Of Craig
> R. McClanahan
> Sent: Monday, Augus
Hi There TC Peeps,
I have added a default servlet to a little test webapp
(/).
After I did this I can no longer access static resources
(html, images etc.) in the app.
All requests, apart from those to other (mapped) servlets
are picked up by the default. e.g. I have an index.html in the
a
Craig,
I was wondering if there is an optimal way of doing the following in TomCat?
If you have the time to briefly describe such
Thanks
Miles
> > >(I prefer to store global application
> > objects in
> > > the servlet context, so that they are easily visible to all servlets
and
> > JSP
>
I had a similar problem and, when I looked, the jar
file containing the class you mention had been deleted. I really do not remember
doing this. it was a mystery, but easily fixed.
Miles
- Original Message -
From:
Rahul RM
Desai
To: [EMAIL PROTECTED]
Sent: Monda
Subject: Re: Tomcat & Cache
>
> --- zys <[EMAIL PROTECTED]> wrote:
> > I am trying a jsp file, however if I change in the
> > jsp file
> > this modification is not taken by TOMCAT eventhough
> > I
> > shutdown & restart it and delete all *.java ,
> > *.class TOMCAT
> > has generated for my jsp f
\jsp\snp\snoop.jsp'
does not exist--
What do you think about that??
Miles
- Original Message -
From:
Ramesh Kumar . T
To: [EMAIL PROTECTED]
Sent: Friday, November 24, 2000 11:51
AM
Subject: Re: precompilations
Miles Daffin wrote:
Hi,
I have tried inv
> I am using tomcat v3.1. I have set all the paths etc.
> as in the documentation. An error is generated quoted
> as under:
> java.lang.ClassNotFoundException:
> org/apache/tomcat/service/http/HttpConnectionHandler
>
> I have checked the classpath for the existance of the
> file. It exists, but e
Subject: Meet us on Wine Alley
This is the best one yet - and they don't seem to have ANY problems using
Tomcat at all! Perhaps they are Master Gurus and all really difficult
questions should be Cc'ed to this address??
Miles
--
Hello!
I found your address while surfing the Net for sites that
Dear Craig,
See below.
> Miles Daffin wrote: (I did)
>
> > I have been on this list for a week or so now and I am flooded with
mails
> > everyday. When this happened on the Orion Interest list I had no choice
bu to
> > unsubscribe. The sheer volume of mails (50% of
Hi,
> the classes i put in the ROOT/WEB-INF/classes
> is possible , for a user, put the classes in ROOT/WEB-INF/classes/user?
Yes but why? Read the docs - \doc\appdev\index.html
> Carlos
Miles
>
> I would like to set up HTTP security using Tomcat.
>
Read the readme.txt file in the /docs directory - 6.2 Container Managed
Security
Miles
Hi,
I have tried invoking jspc as suggested below (Windows). Have a look at what
happens - basicly the arg file cannot be found even though it is DEFINITELY
valid.
--
E:\TOMCAT\3.2-b7>bin\jspc
E:\TOMCAT\3.2-b7\webapps\examples\jsp\snp\snoop.jsp
Including all jars in .\lib in your CLASSPATH.
Usin
> > I am getting to the point where I will have to unsubscribe.
>
> Excuse me for asking - but why don't you just have your mail program sort
> mails from [EMAIL PROTECTED] into a folder and read that?
Doesn't
> differ much from a digest, and it's even more responsive...
>
Good plan - or workar
Subject: Re: News Group needed desperately
> It would also be wonderful if there is a digest form. I am learning tons
> from this list, however - it has averaged several hundred messages / week
> since I joined.
Good idea. The only problem with these is that some *person* has to
implement the
You should join the Java Developer Connection and browse the forums. This
question is highly out of place here.
People will be asking where to buy their groceries or exchanging jokes next.
MD
> Ok this has been driving me nuts. JDK1.3 is suppossed to support runtime
> loading of truetype fonts
This is precisely the sort of question that should be sent to a
tomcat-newbies news group.
Please.
Miles
- Original Message -
From: "Byung Jin Chun" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 21, 2000 6:09 PM
Subject: RE: NoClassDefFoundError in Tomcat installati
I have been on this list for a week or so now and I
am flooded with mails everyday.
When this happened on the Orion Interest list I had
no choice bu to unsubscribe.
The sheer volume of mails (50% of which ask
ill considered questions) suggests the need for a news group, maybe
two.
The
Hi,
I have managed to invoke Jasper from a batch file.
Either I get a list of options because the JSP file
is not found
or Japser is mysteriously quiet - no news, no
apparent compilation.
What am I doing wrong?
Miles
> Yeah... the goofball slempine used the wrong email address when he/she
> registered...
>
> So, unless we create a filter they will keep showing up.
>
That mesage was so garbled - which address do I filter out?
Miles
Hello to all those treading the Tomcat user trail,
1: Fully encapsulated webapps...
> >
> > Because we're trying to write nice well-behaved webapps, we don't want
to
> > have to change a global setting, only a local-to-webapp setting.
> >
Is it possible to set the access control stuff on a weba
000
> Received: from cable064.228.eneco.bart.nl (HELO hotlink.xs4all.nl)
(@195.38.228.64)
> by locus.apache.org with SMTP; 20 Nov 2000 23:50:59 -
> Received: from hotduck ([10.0.2.222])
> by hotlink.xs4all.nl (8.9.3/8.9.3) with SMTP id AAA03730
> for <[EMAIL PROTECTED]>;
> Oops. Tomcat twice the speed of WebSphere.
Which versions/builds of WebSphere and TomCat would these be exactly?
Can you say anything else - some settings, stats etc.
Miles
> > Note that you can also change the timeout on a
> > session dynamically, by calling
> > the session.setMaxInactiveInterval() method.
> >
> > > I v a n ...
> >
> > Craig McClanahan
> but in that tag what is the unit ?
> secondes, minutes?
This a classic "read the API docs and find out" answer
> >
> > As long as this property value is never broadcast
> > i.e. System.setProperty("myProperty", "42");
> >
>
> System properties, in the sense that we are talking about the
java.lang.System
> class, are global to the entire JVM. Therefore, even if the statement
above was
> allowed, it would s
Hi Scal,
> I have a servlet called "myServlet"
> and i have defined a context "foo"
>
> How i can access to this servlet whitout "servlet" in the url ->
> http://locahost/foo/servlet/myServlet
Try doing this in your apps web.xml (in the etc dir??).
myServlet
No descr
Hi guys,
> > From the looks of things, it is just the way it is, although I was
hoping
> > the there would be some way to put stuff in the web.xml file, maybe in
the
> > servlet tag like:
> >
> >
> > myproperty
> > 42
> >
> >
> > Anyone think this is a good idea, or am I talking rubbish?
>
> It
> Hi all..
>
> I'm doing work load testing on a webapplication built on javascript,
.JSP:s
> and EJB:s. We've load tested on many different setups and are getting some
> interesting results:
>
> Simulated number of users: 25
> Computer setup: NT4 sp6, 1 GB RAM, Pentium III ~600 MHz
> Tomcat setup:
Hi Thilan,
There is good documentation provided with the
Tomcat download.
%TOMCAT_HOME%\doc
Just read it and follow the steps.
Miles
- Original Message -
From:
Thilan
Silva
To: [EMAIL PROTECTED]
Sent: Monday, November 20, 2000 5:44
AM
Subject: help me..
Subject: Can a server call an other servlet?
> Hello!
>
> Let's say I have some servlet, and each of them would like to reach a
> function I write into one of them. Can the others reach it somehow? Maybe
> if I restructure the code?
Easiest way - write a base Servlet class containing the defin
I know everyone's really busy but - any ideas?
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø
Miles Daffin
Java Developer, Netherlands.
Land: +31 (0)10 476 2412
Mobile: +31 (0)6 2959 1423
Permanent email: [EMAIL PROTECTED]
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øøb
Hi Charles,
> A few notes:
>
> 1) java.lang.Comparable is new in Java2. It's not there
>if you are running w/Java 1.1 (OK with Tomcat 3.x).
>
> 2) compareTo(), for Strings does a *lexical* comparison.
>Semantically, this code wants to know that the user
>is "admin", not that the u
(theString,
',');
Vector substrings = new Vector();while
(sT.hasMoreTokens()){ vec.addElement(st.nextToken().trim());}
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø
Miles Daffin Java Developer, Netherlands.
Land: +31 (0)10 476 2412Mobile: +31 (0)6 2959 1423Permanent emai
Check out these URLs:
http://java.sun.com/docs/index.html
http://java.sun.com/docs/books/tutorial/
http://java.sun.com/j2se/1.3/docs/api/index.html
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø
Miles Daffin Java Developer, Netherlands.
Land: +31 (0)10 476 2412Mobile: +31 (0)6 2959
> Brett Bergquist wrote:
> > Actually the test that you want is:
> >
> > if (user.compareTo("admin") == 0) {
> > ...
> > }
>
> And how is this any different from using "if (user.equals("admin"))"?
The method 'compareTo(Object o)' is specified in java.lang.Comparabl
> if (user == "admin")
> {
> }
>
> then it doesnt go into this condition, but goes into the ELSE instead!!!
>
> Why is this?
You need to do some basic Java study.
The conditional test above actually asks this:
If
the explicit String type object reference 'user' points to the same
o configure Basic and other forms of access control to protected resources
using JUST TomCat?
* Is it possible to hook TomCat up to an LDAP
server (users, groups & roles)?
* Can I define users (as in
TOMCAT_HOME/conf/tomcat-users.xml) separately for each web app?
Thanks in advance .....
36 matches
Mail list logo