> From: Rohit Maheshwari [mailto:[EMAIL PROTECTED]
> Subject: How can iredirect a request from one apache to other apache.
>
> I have the configuration like below
> User--->Apache ( mod_ssl)--->Apache (mod_ssl)--->Weblogic Server
And what does this have to do with
Hi All,
I have the configuration like below
User--->Apache ( mod_ssl)--->Apache (mod_ssl)--->Weblogic Server
I want to redirect the request sent to one apache to other apache which
in turn sends the request to the Weblogic server.
So please help me out on how can I redirect the use
Just remember to add it after the tag.
>
> 503
> /errors/503.html
>
>
> in web.xml
>
> Ebru KAYA wrote:
>
> > Can anyone help me how can i change the error page http1.1 500 on tomcat
> > ?
> >
> >
> >
> >
503
/errors/503.html
in web.xml
Ebru KAYA wrote:
Can anyone help me how can i change the error page http1.1 500 on tomcat
?
Ebru KAYA
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Can anyone help me how can i change the error page http1.1 500 on tomcat
?
Ebru KAYA
Ivan, Thanks a lot.
Ivan Rodriguez <[EMAIL PROTECTED]> escribió:
public void execute(HttpServletRequest request, HttpServletResponse
response)
throws IOException, ServletException {
[.]
[When you end the server tasks, ]
String redirectString = request.getContextPath() +
"/some/path/to/fin
public void execute(HttpServletRequest request, HttpServletResponse
response)
throws IOException, ServletException {
[.]
[When you end the server tasks, ]
String redirectString = request.getContextPath() +
"/some/path/to/finished.jsp";
response.sendRedirect(response.encodeURL(r
javascript
>- Original Message -
>From: "password password"
>To:
>Sent: Tuesday, July 12, 2005 12:18 PM
>Subject: how can I put enable a button when a servlet has finished.
>
>
>
-
To unsubscrib
servlet has finish in that jsp page?
"Eric J. Pastoor" <[EMAIL PROTECTED]> escribió:
you can enable and disable buttons through javascript
- Original Message -
From: "password password"
To:
Sent: Tuesday, July 12, 2005 12:18 PM
Subject: how can I put enable a
Tuesday, July 12, 2005 12:18 PM
Subject: how can I put enable a button when a servlet has finished.
> Hi,
>
>
> I have a jsp page, and when I click a button it puts disable this button
> and calls a servlet. This servlet update a table of a database.
>
> I want to enable the
you can enable and disable buttons through javascript
- Original Message -
From: "password password" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, July 12, 2005 12:18 PM
Subject: how can I put enable a button when a servlet has finished.
Hi,
I have a jsp page, and when
Hi,
I have a jsp page, and when I click a button it puts disable this button and
calls a servlet. This servlet update a table of a database.
I want to enable the button when the servlet has finished. How can I put
enable this button?
Thanks
Hi,
I have a jsp page, and when I click a button it puts disable this button and
calls a servlet. This servlet update a table of a database.
I want to enable the button when the servlet has finished. How can I put
enable this button?
Thanks
I deleted all my project files by misoperation.
Using the FinalDate+GoogleDesktop makes all java and xml files back. But
some jsp ... ;-(
Thanks In Advance
Hi,
My objective for this topic is to find a way to make my tomcat app able
to handle as many as possible concurrent requests.
My app spec is
-servlet running on Tomcat 5.0
My app is a mobile text messaging app that receives requests via a
single servlet, called InboundRequest. This
Hi,
My objective for this topic is to find a way to make my tomcat app able
to handle as many as possible concurrent requests.
My app spec is
-servlet running on Tomcat 5.0
My app is a mobile text messaging app that receives requests via a
single servlet, called InboundRequest. This se
Hi,
I create a thread using an init servlet, which is loaded on
start-up. This thread listens on port 3030 and does well.
But after changing ip-address,this thread seems dead and no responses
to any incoming connections.
How can i catch the ip-address chenged event so that i can
re
ed it would be 'a little' more difficult...
-Mensagem original-
De: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 14 de abril de 2005 00:58
Para: Tomcat Users List
Assunto: Re: RES: How can I create a digest password - digest.bat is the
key!
Dejavu.
issues.
What exactly do you mean by "watch clean passwords"?
Doug
- Original Message -
From: "Paulo Alvim" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, April 13, 2005 7:00 PM
Subject: RES: RES: How can I create a digest password - digest
[mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 13 de abril de 2005 18:16
Para: Tomcat Users List
Assunto: Re: RES: How can I create a digest password - digest.bat is the
key!
Paulo,
I am pretty sure this won't work. Tomcat can't calculate the real
password (required by the databas
eira, 13 de abril de 2005 18:02
Para: Tomcat Users List
Assunto: RE: How can I create a digest password - digest.bat is the key!
- Found word(s) list error in the Text body
Prioridade: Alta
Paulo:
> Are you using the DBCP JDBC connection pooling
Yes, but how can I tell tomcat the password is enc
bc:oracle:thin:@x:1521:oraplcdb
username
demo3
password
%$&#I(#)$
(...)
-Mensagem original-
De: Lorenzo Jiménez [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 13 de abril de 2005 17:13
Para: Tomcat Users List
Assunto: RE: How can
Paulo:
> Are you using the DBCP JDBC connection pooling
Yes, but how can I tell tomcat the password is encrypted?
Using the realm?
Thanks again,
Lorenzo
-Original Message-
From: Paulo Alvim [mailto:[EMAIL PROTECTED]
Sent: Miércoles, 13 de Abril de 2005 02:59 p.m.
To: Tomcat Us
river
url
jdbc:oracle:thin:@x:1521:oraplcdb
username
demo3
password
%$&#I(#)$
(...)
-Mensagem original-
De: Lorenzo Jiménez [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 13 de abril de 2005 17:13
Para: Tomcat Users List
PROTECTED]
Sent: Miércoles, 13 de Abril de 2005 02:01 p.m.
To: Tomcat Users List
Subject: [SPAM2] - RES: How can I create a digest password - another error -
Found word(s) list error in the Text body
Hi,
I don't know if it's your objective but is it possible to use MD5 to encode
passwo
ez [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 13 de abril de 2005 15:04
Para: Tomcat Users List
Assunto: RE: How can I create a digest password - another error
Prioridade: Alta
Dear Jerry:
Thanks for the advice.
I follow your advice but did not worked. I use this
C:\>java -cp C:\Java
Miércoles, 13 de Abril de 2005 11:07 a.m.
To: 'Tomcat Users List'
Subject: [SPAM2] - RE: How can I create a digest password - Found word(s) list
error in the Text body
The problem you are hiting is due to the location of the jar file in the
default tomcat install. You can move the jar f
ode. Just find the
realmbase class in the Tomcat source and clone the method.
Jerry
-Original Message-
From: Lorenzo Jiménez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 11:57 AM
To: Tomcat Users List
Subject: How can I create a digest password
Importance: High
Hi,
I need h
AIL PROTECTED]
Skickat: den 13 april 2005 18:57
Till: Tomcat Users List
Ämne: How can I create a digest password
Prioritet: Hög
Hi,
I need help to generate encrypted passwords. Using the Tomcat 5's
documentation:
C:\>java org.apache.catalina.realm.RealmBase -a MD5 mypassd
And this
Hi,
I need help to generate encrypted passwords. Using the Tomcat 5's documentation:
C:\>java org.apache.catalina.realm.RealmBase -a MD5 mypassd
And this is the error message:
"Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/catalina/realm/RealmBase"
I also checked the c
Thank you very much!
Regards,
Lorenzo
-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Martes, 12 de Abril de 2005 06:04 p.m.
To: Tomcat Users List
Subject: Re: How can I access a web app only from 443 in Tomcat 5
On 4/12/05, Lorenzo Jiménez <[EMAIL PROTEC
On 4/12/05, Lorenzo Jiménez <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to make my webapp to only be available thru port 443 in Tomcat 5.
>
> Can I do it in context.xml or need a further config on server.xml or web.xml?
>
Well you can either disable the non HTTPS connector in your server.x
Hi,
I am trying to make my webapp to only be available thru port 443 in Tomcat 5.
Can I do it in context.xml or need a further config on server.xml or web.xml?
Thanks a lot!
Lorenzo
-
Si usted no es el destinatario indicado en este
Is it possible to see the full stack trace of an exception in the browser?
If yes, how can I enable it?
thank you in advance kostas.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
h)" <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: 'Tomcat Users List' <[EMAIL PROTECTED]>
> Subject: How can I deploy 2 tomcat and work on both of them at the same
> ti me?
>
> Hello,
>
> I have tomcat ja
THank you!!! It works for me too!!!
Elisabeth
-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: miercoles, 29 de septiembre de 2004 12:11
To: Tomcat Users List
Subject: RE: How can I deploy 2 tomcat and work on both of them at the
sam e time?
In server.xml:
Change
e modified?
> Actually, I have not made a copy of my current working version but I
> installed another tomcat (same version) in another directory.
>
> -Original Message-
> From: Steffen Heil [mailto:[EMAIL PROTECTED]
> Sent: miercoles, 29 de septiembre de 2004 11:50
> To
ssage-
From: Steffen Heil [mailto:[EMAIL PROTECTED]
Sent: miercoles, 29 de septiembre de 2004 11:50
To: 'Tomcat Users List'
Subject: AW: How can I deploy 2 tomcat and work on both of them at the
same time?
Hi
> I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt
N
septiembre de 2004 10:08
To: Tomcat Users List
Subject: Re: How can I deploy 2 tomcat and work on both of them at the
same ti me?
you should not have problem to run two or more if they
do not use the port. for your test one, you may not
want to use port 80.
cheng
--- "Bachler, Elis
Hi
> I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt
Now, I have installed another tomcat (same version) under another root
directory.
> I need to have two versions working at the same time. Under one, I will
have a client web version and under the other one, my test version
you should not have problem to run two or more if they
do not use the port. for your test one, you may not
want to use port 80.
cheng
--- "Bachler, Elisabeth (Elisabeth)"
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have tomcat jakarta-tomcat-5.0.19 installed on my
> machine under /opt
> Now, I
Hello,
I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt
Now, I have installed another tomcat (same version) under another root
directory.
I need to have two versions working at the same time. Under one, I will have
a client web version and under the other one, my test versio
st
Subject: RE: How can I make cluster nodes communicate info other than
session
Can someone please answer my queriees
Regards,
Srinivas
-Original Message-
From: Srinivas Rao Ch [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 2:28 PM
To: Tomcat Users List
Subject: How can I ma
the night, farm the work
out to some freelancer(s) for a worthy hourly rate.
As for your question:
: 1. I have to design an application in which the cluster nodes and LB will be
: communicating application specific information other than session info. How
: can I do this? Do I need to subclass
Can someone please answer my queriees
Regards,
Srinivas
-Original Message-
From: Srinivas Rao Ch [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 2:28 PM
To: Tomcat Users List
Subject: How can I make cluster nodes communicate info other than
session
1. I have to design an
1. I have to design an application in which the cluster nodes and LB will be
communicating application specific information other than session info. How
can I do this? Do I need to subclass/implement ReplicationTransmitter and
ReplicationListener like classes? Or is there any other way?
2. I am
Mmmm, I think people is answering more than one question ;-)
If you need to be strict with respect to the timings, that is, you need
exactly the number of requests in the past five seconds counting from
the moment your request is done, you will need the solution proposed by
Tim. Just remember to
More academic exercise than recommendation, but...
Write your own implementation of a Map/HashMap
specific to java.util.Date objects.
Identify your smallest time increment (5 seconds in your email).
Identify largest time increment (60 seconds)
Create (60/5)+1 buckets for your hash function
Writ
increment each timer by one every time a request comes in. The JSP
would simply read the counter values.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: tom ly [mailto:[EMAIL PROTECTED]
>Sent: Thursday, July 29, 2004 10:11 AM
>To: [EMAIL PROTECTED]
>Sub
You could use a list of java.util.Dates with the oldest date at the beginning
of the list and the newest at the end of the List. Push new Dates onto the
list and pull (expired) dates from the front of the list accoring to your
threshold.
The number of hits per unit time is the size of each list
I need to display on a .jsp page the number of requests for Tomcat in the past 5 / 10
/ 15/ 30 / 45 / 60 seconds. I've already implement a Filter will count the total
number of requests. I did this with a static int, which is incremented everytime a
request comes in. But what should I do so t
Thanks Cristian
regards DaveP
-Original Message-
From: Cristian ANCA
It is {catalina.home}/webapps/xxx.war
[EMAIL PROTECTED] wrote:
>
> Which one please?
>
> In {catalina.home}/webapps/xxx.war ?
>
> Or in
> {catalina.home}/webapps
Jouikov wrote:
Iâve asked this question before but nobody seemed to know the answer.
So, Iâll ask againâ
So, Tomcat has a maanger application, which allows you to dynamically
deploy sutff. Nice.
But how can you deploy your stuff onto a SPECIFIC host?
Thx
It is {catalina.home}/webapps/xxx.war
[EMAIL PROTECTED] wrote:
-Original Message-
From: Tonte Pouncil
I normally just use ant to deploy my stuff by dropping a
.war file into the webapps dir.
Which one please?
In {catalina.home}/webapps/xxx.war ?
Or in
{catalina.h
-Original Message-
From: Tonte Pouncil
I normally just use ant to deploy my stuff by dropping a
.war file into the webapps dir.
Which one please?
In {catalina.home}/webapps/xxx.war ?
Or in
{catalina.home}/webapps/appname/xxx.war
I've never yet got a war file
Ivan,
This depends a lot on your environment.
I am running 3 virtual hosts on this machine. I have used the following
documentation in setting up a manager application for each virtual host.
http://localhost:8080/tomcat-docs/manager-howto.html
In particular, I use the following solution:
Inst
:30 PM
To: 'Tomcat Users List'
Subject: AGAIN: How can you deploy an application onto a specific host?
I've asked this question before but nobody seemed to know the answer.
So, I'll ask again.
So, Tomcat has a maanger application, which allows you to dynamically
deploy sut
omcat Users List" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Subject: AGAIN: How can you deploy an application onto a specific host?
Date: Wed, 7 Jul 2004 14:30:29 -0700
I’ve asked this question before but nobody seemed to know the answer.
So
I normally just use ant to deploy my stuff by dropping a .war file into the webapps
dir.
-Original Message-
From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 4:30 PM
To: 'Tomcat Users List'
Subject: AGAIN: How can you deploy an application onto a spe
Iâve asked this question
before but nobody seemed to know the answer. ÂSo, Iâll ask againâ
So, Tomcat has a maanger
application, which allows you to dynamically deploy sutff. Nice.
But how can you deploy your stuff onto a SPECIFIC host?
Thx.
Best Regards
> Unless there is a PATCH in bugzilla, then no.
OK. Thanks for your help, Tim.
Ian.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Unless there is a PATCH in bugzilla, then no.
-Tim
Ian Stevens wrote:
The Server header is hardcoded into the Connectors. You can't
remove/change it without a PATCH/recompile to
org.apache.coyote.http11.Constants
That's certainly what I saw when looking at the source. There's no way
alter it us
> The Server header is hardcoded into the Connectors. You can't
> remove/change it without a PATCH/recompile to
> org.apache.coyote.http11.Constants
That's certainly what I saw when looking at the source. There's no way
alter it using a javax.servlet.Filter and a
javax.servlet.HttpServletRespon
The Server header is hardcoded into the Connectors. You can't remove/change
it without a PATCH/recompile to org.apache.coyote.http11.Constants
-Tim
Ian Stevens wrote:
Is it possible to programmatically change the Server header?
[...]
Surely there is a way to alter the Server header of an HTTP
> > > Is it possible to programmatically change the Server header?
[...]
> Surely there is a way to alter the Server header of an HTTP
> response, if only for security reasons. I can't be the only
> person who wishes to do this. I would appreciate any
> suggestions as to how this can be acco
> > Is it possible to programmatically change the Server header?
> > Barring that, is it possible to set a Server header for a servlet
> > within its web.xml file? My least preferred method is to change the
Server
> > header within Tomcat's server.xml file.
> I was thinking that a javax.servlet
tomcat doesnt know anything about tcp/ip traffic. go for a network
analyzer or something similar.
art
Ivan Jouikov wrote:
I was wandering how can you count traffic in Tomcat?
One way that I could think of, is to write a filter, and have it wrap
the response output stream, and count the bytes
the tomcat distribution includes a manager webapplication which provides
the functionality of
starting, stopping and reloading specific web applications, take a look
at the source code of
this app to figure out how to achive such a behaviour. you may face some
problems when
the webapp tries to r
I was wandering how can you
count traffic in Tomcat?
One way that I could think
of, is to write a filter, and have it wrap the response output stream, and
count the bytes. ÂBut that wonât count
the TCP IP headers sizeâ Is there any
way to effectively count traffic for a given
Hi;
I have created an "installation Servlet", which
gathers some information from the administrator upon
first startup after installation of my webapp.
Everything is running fine, but at the end the
Servlet should restart/reload the webapplication
in which it is running.
I haven't found any hint ho
never hit.
Can calls to setHeader() in Tomcat source, specifically HttpConnector, be
wrapped with Filter objects? or does that only apply to calls within servlet
source? How can I wrap all calls to setHeader()?
thanks,
Ian.
/**
* The javax.servlet.Filter to set HTTP headers
I would like to change the value of the Server HTTP header returned by
Tomcat. Calling HttpServletResponse.setHeader( "Server", "value" ) will
either add a second Server header or will do nothing, depending on whether
it is called before or after the HTTP body is written.
Is it possible to progra
Hi, yeah thanks - have been doing that this morning!
Regards,
Carl
-Original Message-
From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
Sent: 21 June 2004 09:34 PM
To: 'Tomcat Users List'
Subject: RE: AW: How can I add without restarting Tomcat?
Look at tomcat's administr
Look at tomcat's administration tool - it can dynamically add hosts. Looks at its
codes. Go from there.
-Original Message-
From: Carl Olivier [mailto:[EMAIL PROTECTED]
Sent: Monday, June 21, 2004 7:00 AM
To: 'Tomcat Users List'
Subject: RE: AW: How can I add wit
restart!
Is this possible?
Thanks!
Carl
-Original Message-
From: Peter Rossbach [mailto:[EMAIL PROTECTED]
Sent: 18 June 2004 12:49 PM
To: Tomcat Users List
Subject: Re: AW: How can I add without restarting Tomcat?
Hey,
you can used the admin application.
Tipp:
Add a user with admin
MatrixOne Tech Support eMail incident submission functionality requires specific
subject line. The following subject lines are recognized.
Request for CustomerLink Access
- This will submit a request for new CustomerLink account
Request for CustomerLink Password Reset
- This will subm
Hey,
you can used the admin application.
Tipp:
Add a user with admin role at your conf/tomcat-users.xml!
Before you create the new host, create the webapps directory!
After create your new host, copy the Catalina/localhost/manager.xml to
Catalina//manager.xml and
you have at usefull new host witho
Gunnar Pörschke wrote:
Non way, because it is written in server.xml file.
You'll need to stop the server, I guess
Tomcat has a manager application. It can deploy new contexts
(applications) on-the-fly, but I'm not sure about hosts.
Nix.
---
Non way, because it is written in server.xml file.
You'll need to stop the server, I guess
-Ursprüngliche Nachricht-
Von: Ivan Jouikov [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 18. Juni 2004 11:33
An: 'Tomcat Users List'
Betreff: How can I add without restarting To
Nobody knows the answer to subj?
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 07.06.2004
Thank you very much. The "listings" parameter does exactly what I wanted to
do!
Elisabeth
-Original Message-
From: Frank Zammetti [mailto:[EMAIL PROTECTED]
Sent: jueves, 17 de junio de 2004 15:46
To: [EMAIL PROTECTED]
Subject: RE: How can I inhibit web navegation?
Well, yo
: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 9:35 AM
To: 'Tomcat Users List'
Subject: How can I inhibit web navegation?
Hello,
I have a web application that runs under jakarta-tomcat-5.0.19. The
root of
my application is: /opt/jakarta-tomcat-5.0.
t the request.
Hope that helps!
Frank
From: "Bachler, Elisabeth (Elisabeth)" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Subject: How can I inhibit web navegation?
Da
http://jakarta.apache.org/tomcat/faq/misc.html#listing
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED]
>Sent: Thursday, June 17, 2004 9:35 AM
>To: 'Tomcat Users List'
>Subje
Hello,
I have a web application that runs under jakarta-tomcat-5.0.19. The root of
my application is: /opt/jakarta-tomcat-5.0.19/webapps/provision/ I can
access the application through:
http://135.88.100.251:8080/provision/web/login.jsp
Now, I don't want the user to be able to navigate through
I didn't know that, thanks for the heads-up!
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: RE: How can I access a file located in WEB-INF
Da
Hi,
>I suppose you could use a getRelativePath()
Huh?
Yoav
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, June 16, 2004 2:15 PM
>To: Tomcat Users List
>Subject: RE: How can I access a file located in WEB-INF
>
>
>
I suppose you could use a getRelativePath()
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 2:15 PM
To: Tomcat Users List
Subject: RE: How can I access a file located in WEB-INF
Hi,
Just remember getRealPath returns null in a packed WAR
IL PROTECTED]
>Subject: RE: How can I access a file located in WEB-INF
>
>Further, you will probably want to be able to construct the path to
/WEB-
>INF
>at runtime rather than hardcoding paths... You can do that as follows:
>
>String fullPath = getServletContext().getRealPath(&q
AIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Subject: RE: How can I access a file located in WEB-INF
Date: Wed, 16 Jun 2004 13:52:42 -0500
File dir = new File("directoryName");
st
Subject: How can I access a file located in WEB-INF
Hi,
I need to access a file located in the directory WEB-INF of my web
application.
In fact, in WEB-INF/conf.
How can I open this file in one of my servlet ?
Any advise is welcome.
--
Thanks
-Message d'origine-
De : Tim Funk [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 16 juin 2004 13:24
À : Tomcat Users List
Objet : Re: How can I access a file located in WEB-INF
FAQ
http://jakarta.apache.org/tomcat/faq/misc.html#getResourceAsStream
-Tim
STOCKHOLM, Raymond
FAQ
http://jakarta.apache.org/tomcat/faq/misc.html#getResourceAsStream
-Tim
STOCKHOLM, Raymond wrote:
Hi,
I need to access a file located in the directory WEB-INF of my web application.
In fact, in WEB-INF/conf.
How can I open this file in one of my servlet
u can define path variable into web.xml file and u can call this path variable into ur
servlet file.
Deepak
On Wed, 16 Jun 2004 STOCKHOLM,Raymond wrote :
>Hi,
>
>I need to access a file located in the directory WEB-INF of my web application.
>In fact, in WEB-INF/conf.
>How
Hi,
I need to access a file located in the directory WEB-INF of my web application.
In fact, in WEB-INF/conf.
How can I open this file in one of my servlet ?
Any advise is welcome.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
pira
Millennium Research Informatics
>-Original Message-
>From: Masashi Nakane [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, June 09, 2004 2:08 AM
>To: [EMAIL PROTECTED]
>Subject: How Can I doDefault Context Path
>
>
> Hi, all
>
> I need some help to set up an contex
Hi, all
I need some help to set up an context path.
I'm using apache 2.0 ,JK2, tomcat 5.0.24 on Linux.
I made an application and packed into ABC.war.
Then I put the war file into $TOMCAT_HOME\webapps\ directory.
SO, I can access the top JSP with url http://localhost:8080/ABC/top.jsp
This
Hi,
Remember, getRealPath doesn't work in a packed WAR file.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: stan [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, May 26, 2004 9:43 AM
>To: Tomcat Users List
>Subject: Re: How can I Know the servle
In a servlet, you can use
getServletContext().getRealPath("/") to get the root of the web's docBase
- Original Message -
From: "Francisco José Arnau Vives" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 26, 2004 9:21 PM
Subject: How
On Wed, May 26, 2004 at 03:21:43PM +0200, Francisco Jos? Arnau Vives wrote:
: In a message I said my problem into migrate a application from windows to a
: linux server. I think the problem is about the root directory where the
: servlets try to find the files. How can I know the dafault route for
1 - 100 of 581 matches
Mail list logo