Hola Nacho,
Ignacio J. Ortega wrote:
I'm lost here, where you put the Junit.jar? , because it will be on some
place? no? to allow you load classes from , no?, i think you need the
entire inheritance chain for resolving dependencies, so you need
Junit.jar in some place in classpath AFAIK..
Hi, Á¦ÇØ¿í!
We cannot read Korean on the list. Besides, it should be ¶È °°ÀÌ
isapiÇÊÅÍ¿¡¼ ÇØ°á Çߴµ¥ :)
¹æ¹ýÀÌ ¾ø°Ú½À´Ï±î,
Alex.
Á¦ÇØ¿í wrote:
window200+iis+tomcat3.2 ¿¬µ¿ÀÌ °¡´ÉÇÑ°¡¿©?
°¡´ÉÇÏ´Ù¸é °°Àº ¹æ¹ýÀ¸·Î ÇÏ¸é µË´Ï±î
»ç½Ç ¶È °°ÀÌ Çߴµ¥ isapiÇÊÅÍ¿¡¼ »¡°£ È»ìÇ¥°¡
¾Æ·¡·Î Ç×ÇÏ°í
Hi Vincent!
I've run into the same situation a couple of times, when one class uses
a second class, and this second class uses a third one that is not
present.
1st - 2nd - 3rd (missing)
One would think that instantiating the 2nd should give an error, but
that loading the 2nd and/or
Hi Jerry!
Li, Jerry wrote:
We have been flooded by emails from the mailing lists of CVS, apache,
tomcat, and so on. All of them come into our inbox, it is very tough
to separate them. If you send emails with Tomcat in the subject, we
could easily group them and redirect them into a
In fact, Tomcat does support automatic reloading of classes.
When you declare a context, add a 'reloadable=true' attribute:
Context path=/admin
docBase=webapps/admin
reloadable=true
trusted=false
See apps-admin.xml or server.xml for an example.
In
Hi Jianming!
I don't understand your problem. When users click on a link, a new page
appears. So, what is the problem?
Perhaps you want to say that users click a second time after the request
has got to the server (and the DB updated), but before the response gets
to them. In this case, you'd
Hi Jon!
Jonathan Eric Miller wrote:
Anyone have any ideas on when Tomcat 4.0 might be released?
Tomcat 4.0 will be the reference implementation of servlet spec 2.3,
which isn't still out. Therefore, it cannot be released until the spec
is ready and finished -- which should be around september,
problem a lot. I suppose it won't be difficult
to check the db beforehand if data has already been updated?
Un saludo,
Alex.
Thanks.
JW.
-Original Message-
From: Alex Fernández [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 12:03 PM
To: [EMAIL PROTECTED]
Subject: Re
Hi Zhang!
zhang heng chong wrote:
I am sorry for interrupted you.
I have a question about software copyright.
I downloaded tomcat,apache from jakarta.apache.org,and I read licence. I am
puzzled whether those softwares can be used by a profit-making company website .
Yes, it can.
Hi Frans!
Frans Thamura wrote:
I think, Gomez must create tomcat-doc ASAP.
I agree completely! Let people do what they do best.
Un saludo,
Alex.
Hi Henri!
One suggestion: create a mailing list (e.g. tomcat-doc) so that folks
may speak about docs. Also, it would show some level of commitment -- at
least you have to subscribe.
Un saludo,
Alex.
GOMEZ Henri wrote:
Not to get into a great big argument over OS version commercial
Hi Jeff!
Noll, Jeff HS wrote:
Not to get into a great big argument over OS version commercial
products, but if OS projects expect to be taken with the same consideration
as commercial they have to accept to be compared across the board. This
includes documentation. You can't just
Hi folks,
I agree with Nael. Tomcat is production-quality, open-source, has some
excellent Java developers actively working on it, and best of all: you
can ask them directly if there's any problem, they answer on a timely
basis.
Tomcat's power is not in full-page ads, visibility, phone support,
Why? It's nice to get some worm regards once in a while...
Un saludo,
Alex.
Can something be done about this kind of behavior...
Hi Ofer!
You can specify a different context, that will not contain the /servlet
prefix. The prefix is set by context.
I don't think the suggestion that was sent before (RequestDispatcher)
will work, since it's a static page.
Un saludo,
Alex.
Ofer Baranes wrote:
Hi
I am tring to use
Interesting, didn't know that.
Thanks,
Alex.
Ofer Baranes wrote:
Alex , actually i just learnd that using the RequestDispatcher is a better
solution since the response is for this request while redirct is creating
new requestresponse.
By the way the RequestDispatch is showing static
Hi Rajesh!
Rajesh Chandran M. R. wrote:
I want to test my web application developed in java.If U pls inform me
about the links for free java testingtool with license it would be more
helpful to me.
I'm not sure I understand your problem, the license part eludes me.
But, if you want to
Hi Andy!
Just a fine point here.
A Yang wrote:
RequestDispatch.forward takes a URL that is a RELATIVE
path but also requires a leading slash.
From the javadoc of ServletRequest.getRequestDispatcher(String):
'The pathname specified may be relative, although it cannot extend
outside the
Conceptually, requestDispatcher.forward() is different from
response.sendRedirect().
In forward(), you are moving inside the same webapp, and as such it
doesn't even reach the client browser. The session is maintained.
In sendRedirect(), you're instead moving across webapps, and it's the
-
From: Alex Fernández [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2001 16:34
To: [EMAIL PROTECTED]
Subject: Re: Multiple requests
So, just to clarify:
The request arrives, Tomcat processes it and sends it to your servlet.
You do:
response.setContentType(text/html);
// commits
Hi Glyn!
Glyn Walters wrote:
Looking through the archives I could not see if this was resolved by
anybody. I am trying to use a servlet that is posted user authentication
data to post the data back to a redirect url. Is it possible to use
sendRedirect or another technique to POST the return
Hi David!
You can commit the response, and then the request will not be
resubmitted. But it's difficult, since the problem was that Tomcat is
not honoring the requests, to begin with.
In iPlanet, you can tell how many requests can be queued; it would be
interesting to know whether you can do
Message-
From: Alex Fernández [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2001 14:50
To: [EMAIL PROTECTED]
Subject: Re: Multiple requests
Hi David!
You can commit the response, and then the request will not be
resubmitted. But it's difficult, since the problem was that Tomcat
I used hypersonicSQL about three months ago, and it was so slow. The
idea was probably good, a light-weight DB in pure Java, but the
implementation took ages just to perform a select.
I don't think it was a configuration issue, because I just measured the
example given.
Un saludo,
Alex.
Hi Roman!
Gerteis, Roman wrote:
Nope,
in the /conf folder, this is the web.dtd for validating web.xml
configuration files.
TomCat is not coming with a server.dtd, at least slocate was not finding
anything ;)
There's no such thing as a server.dtd.
I'm searching for the server.dtd as
forward() will only send it to another servlet or jsp, I think.
However, sendRedirect() will work with external URLs. Just do
response.sendRedirect(http://www.misMuelas.com;);
Un saludo,
Alex.
Zsolt Koppany wrote:
Thank you for the idea, I know the jsp:forward command but I was not
able
They are different things. The remote user only appears if the user did
enter his user id and password. The IP address you want is the remote
host, so you would use
request.getRemoteHost();
Un saludo,
Alex.
Jack Li wrote:
Hello,
I need to know who visits my web page. In jsp, I got null
Hi Mark!
I don't think so. When you set a bean equal to null, you just erase a
reference to it. Any other references left around would make it linger
in memory, and there might be a few. Are you talking about EJBs?
Anyway, if you set to null the only existing reference, you'll have to
wait for
Ha ha ha, that's funny.
You US guys are so obsessed with military potential, everyone is willing
to invade you :)
And, to the pseudo-fascist guy who wrote in the first place, remember
this is not an US-only list discussing mortgages in Pennsylvannia, it's
an international list that deals with
The default port is 8080. So your friend should try
http://yourip:8080/
Ah, one more thing: try sending messages with more descriptive subjects.
It helps if you want a prompt response.
Un saludo,
Alex.
Amit Mahale wrote:
I am a tomcat user my o.s is windows 95 .I would like my
Hi Manmeet!
Manmeet Anand wrote:
Dear all,
can anyone recommend books or papers discussing object relational
design.
If you mean 'Object-Oriented Design': The subject, as you will know, is
a very broad one. I'd suggest
- 'Object-Oriented Programming and the Objective-C Language', an
Hi Robert.
I guess you're talking about a static xml file. In this case, you should
add the mime-type to your web.xml.
I don't have an example ready, but you can follow the web.dtd in
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
Un saludo,
Alex.
Robert Nicholson wrote:
Am I missing
Go for it!
Un saludo,
Alex.
Mike Slinn wrote:
Kevin:
I've also started some docs on JDBC realms at
http://www.mslinn.com/sites/tomcat/jdbcRealm.html
Again, if anyone has corrections or suggestions I am most happy to
incorporate them.
I am planning to write up web.xml next.
Hi Sebastian,
Sebastian Schulz wrote:
is there a trick to anyhow get some related behavior
with forward to work?
or is this not necessary, because i can access the
original session object at the second
page in the case of a redirect as well?
I think so. If you want to send an error,
Someone please correct me if I'm wrong here, since it seems important for William --
and eventually it's an important capability, I don't want to mislead anyone.
William Wishon wrote:
Here's the problem I keep running up against.
The top level XML element is a Server, it contains a
It seems there isn't. Well, Ok, there's a server.dtd that comes with the
distribution. Sadly, Tomcat never checks it out, since server.xml
includes a lot of evil stuff in the form of non-standard XML elements.
By this I mean that each Interceptor needs its own set of XML elements,
and that
Hi William!
Configure two contexts, and load each servlet in one context.
Un saludo,
Alex.
William Wishon wrote:
Hi,
I am trying to assign one of my servlets (say servlet1) to port 8080 and
another one (say servlet2) to port 8081. I want them totally separate so
that I can't
Hi William!
Configure two contexts, and load each servlet in one context.
Un saludo,
Alex.
William Wishon wrote:
Hi,
I am trying to assign one of my servlets (say servlet1) to port 8080 and
another one (say servlet2) to port 8081. I want them totally separate so
that I can't
Hi Shahed!
You can also translate them into PHP and serve them as such.
http://www.php.net/
http://www.linux-mag.com/online/php_01.html
I even read somewhere there's an automated translation that takes your ASP
site and spits out a PHP one. But cannot remember where.
Of course, PHP is not
Hi.
Your question would be better answered in a general servlet list, since it
has nothing to do with Tomcat specifically.
Anyway, I think that
request.getHeader ("Referer")
will do it.
Un saludo,
Alex.
Carlos wrote:
can any body say me how can i in a JSP page detect which is the referer
Hi Thomas! I'll try to answer from my limited knowledge (couple of months
reading the list):
"Amrhein, Thomas" wrote:
By the way I'm a bit confused about the different
tomcat trees (3.2/3.3/4.0).
There are no more 3.2 nightly builds but 3.2.2beta-release...
Right now there are three
Three reasons pro-Tomcat:
- Freedom to change it if you don't like it.
- Specs compliance.
- And a great support list with the best Java server-side programmers around :)
Un saludo,
Alex.
Ase Lieden-Seeligson wrote:
I am setting up this web server:
Pentium 100
RedHat 6.2
Apache 1.3.17
This is the Tomcat-user list, perhaps you should try on the JavaWebServer-user
list.
Un saludo,
Alex.
Shailendra wrote:
hi
no ans for my question.
nobody know the solution...
nobody want to help ...
please
if you know somthing please mail
shailendra
- Original Message -
Hi folks!
Remember the strange messages we got a while ago that run
---
Sorry,
The person you are trying to contact is no longer at this address.
If you feel you have reached this in error, please contact with
[EMAIL PROTECTED]
---
Well, I wrote to that mailman and got the attached answer.
There are some other Jakarta products that provide Connection Pooling. You can use
Struts, you can use Turbine. Not part of Tomcat, but nice dressings (I haven't used
them though).
Right now the Jakarta folks are deciding if it's feasible to provide some sort of
general utility library, so each
Hi Christian!
Christian Rauh wrote:
To the Tomcat active developers and everyone else,
Well, I dont have "The Ultimate Tomcat as NT Service How-To" either.
But I think someone must write one soon because this list is being
flooded with the same questions over and over.
You're right.
It
Hi Ludovic! I think you've answered yourself, but let's get ahead with it:
Ludovic Maitre wrote:
I think that i haven't good understand how work tomcat because i was
thinking that the web.xml
file provided in the /conf directory was for declaring the servlets
loaded at startup (Jasper), the
Hi Paul,
I'm not sure if this is what you're asking, but
javax.servlet.http.HttpUtils.getRequestURL(request) will give you the URL
that originated the request.
Cheers,
Alex.
Paul Yoon wrote:
Hello,
I am sorry to ask off topic
but is there any way to know which hyper-link was clicked?
Besides the annoying (and never corrected) bugs: init-params not loaded, session
shaky...
Cheers,
Alex.
Jeff Lansing wrote:
Hi,
Let's see what I recall.
(1) war files not supported.
(2) web.xml not used.
(3) WEB-INF meaningless. (path has to point directly to classes)
(4)
Where did you get the idea that Tomcat is a GNU project? It's an Apache project!
The Apache license is quite less restrictive than GPL. You can use the code in a
commercial project, you don't have to redistribute your changes.
Please read the license that came with your package carefully -- it
John, don't get jumpy. This is not one of your flame wars.
GNU's Not Unix. Apache's not GNU. The Apache Group is not GNU. And the GPL (Gnu Public
License) is not the Apache License.
I was just trying to educate you: not all free software is GNU. There are several
public licenses available
Sure! And when you're fixed the problem, please take the time to send it to the
Tomcat-dev list as a patch. (Just send the diff file and a [PATCH] message, see
http://jakarta.apache.org/site/source.html for details.) That way everyone benefits
from your bug-crashing, we'll admire you, and
Try the web.xml inside your webapp, in WEB-INF. The one in conf/ is just for
shows.
Cheers,
Alex.
Carlos wrote:
i have writte that in my web.xml but doesn't run, doesn't show the wml
pages.
it says me that there are te3xt/plain
I have restart the tomcat but doesn't show.
anybody can help
What does this have to do with Tomcat-user?
Haridham - Yogi Divine Society wrote:
Friends:
Jai Swaminarayan
Everyone of us is aware of the earthquake calamity that hit India. As per
H.D.H. Hariprasad Swami Maharaj's wish, saints and devotees from Yogi Divine
Society are working hard to
I'd say that you've started too many threads; when there are no more threads
available in the thread pool, Tomcat refuses connections.
You should increase the number of threads in the pool. Sadly, I don't know
how to do that; and would like to know :)
Cheers,
Alex.
Markus Ebersberger wrote:
Aren't they part of a thread pool?
You don't want to initialize a thread every time a request comes; instead,
you better have them ready and waiting to serve incoming petitions. They
won't eat into your memory until they're used, and they share the same
memory.
Actually, for a production server
It's not hard. Just add the following code to your web.xml (the one inside your
webapp/WEB-INF, since conf/web.xml isn't used at all):
web-app
servlet
servlet-name
InitServlet
/servlet-name
servlet-class
InitServlet
/servlet-class
Me, I still don't get it. See below.
Thom Park wrote:
Hi Alex,
I wrestled with this one as well - I'd like to see a DTD for server.xml as also The
problem is that, as various connectors/interceptors/valves/whoknowswhat are added to
tomcat during a development cycle, the parameters can
That makes a lot of sense. Thanks.
Alex.
"Craig R. McClanahan" wrote:
Alex Fernndez wrote:
I cannot understand why there can be no DTD. Yes, the contents may be variable and
extensible, but that's what XML is -- eXtensible.
At least for closed versions, it should be possible to
A simple answer would be: place every servlet in your web.xml file, and
apply a servlet mapping. You must do it for each one you have, but then
it works (that's what I do).
And also, you can skip those odd package names.
Un saludo,
Alex.
web-app
servlet
servlet-name
Joder, un malagueo (t), un granadino (Nacho), un almeriense (yo)...
Aqu se est como en casa... :)
[Sorry folks, it's so odd to see Spanish folks in these places...]
Viva Tomcat,
Alex.
David Tinaquero wrote:
Can Tomcat use XSLT?
=
David
I did it and quite successfully.
Intergate wrote:
Alex,
Were you successful with this auto loading solution?
It is something that I have been searching for...
I seem to remember a message a while back from someone
on the list that indicated that the
load-on-startup
Hi folks!
I'm having the same problem, but with servlets. To summarize, I want to have some
kind of init() method, to perform some startup tasks, but for the whole application.
Right now, in every servlet's init() method I must call a singleton to perform the
job. So the problem is, can I do
That looks nice. Thanks.
Alex.
[EMAIL PROTECTED] wrote:
So why don't you just shortcut this approach:
make a dummy servlet that will load at startup ( is a configuration job)
that instantiates the Application objects.
You don't need a broker (at least not for this problem)
Sloot.
64 matches
Mail list logo