The easiest way is to simply put the JSP pages that you want to deny direct
access to someplace under the WEB-INF directory. Direct access to anything
under this if forbidden, but your controller is still allowed to forward or
include.
A less good solution is to specify a security-constraint for
It's a known problem. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15790 for
more details. It is fixed in the CVS, and so will work in 4.1.25.
"Antonio Fiol Bonnín" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Hello,
>
> I have been struggling with a strange problem:
Hi,
Once in awhile I catch my website not responding to jsp's, but loading up
html files fine. It would mysteriously appear, and just as mysterious, it
would disappear after a few minutes. No restarting Apache/Tomcat or
whatnot. System is RH9. Apache is 1.3.27, Tomcat is 1.4.1. I have a hunch
Hi Everyone,
After some good advise from members of this lists (thanks again) I have
started learning about servlets.
I have created a simple servlet that act as a controller in my webapp,
this is where all requests get sent to. However I have not been able to
find a way to stop users from ge
Oh yeah, the tomcat icon's "start from" setting is set to:
"C:\Documents and Settings\Dad\Start Menu\Programs\Apache Tomcat 4.1"
So it looks like FileOutputStream creates files in the dir that
bootstrap.jar is executed from, while the File.mkdirs() function creates
dirs in the tomcat installation
Running v4.1.24 on winxp.
Using jdk1.4
Installed via the apache installation program
jakarta-tomcat-4.1.24-LE-jdk14.exe
>From within a servlet the following code behaves weirdly:
File fl = new File("blah/blah/blah");
fl.mkdirs();
fl = new File("doh.txt");
FileOutputStream out = new FileOutputStr
Andreas Schildbach wrote:
I am trying to remove the root context using the manager application.
Sorry, I forgot to include my system configuration:
- Tomcat 4.1.24
- Windows.NET Server beta 1
Regards,
Andreas
-
To unsubscribe
On Sun, 15 Jun 2003 02:34, Paridhi Bansal wrote:
> https://localhost:8443/test/servlet/servletname
> where test is inside webapps folder
>
> moreover, on viewing the properties of the image on the web browser shows
> the correct path..If u give that url on the browser, the image appears, it
> gets
hi
thanx for the reply..
The servlet is being invoked using this url
https://localhost:8443/test/servlet/servletname
where test is inside webapps folder
moreover, on viewing the properties of the image on the web browser shows the correct
path..If u give that url on the browser, the image appea
Thanks John - solved.
-Original Message-
From: John Rishea [mailto:[EMAIL PROTECTED]
Sent: 14 June 2003 16:46
To: Tomcat Users List
Subject: RE: security constraint & web.xml
Euan,
If you look at the DTD 2.3 specs, the and
entries have to be placed after the entries. It's
very pick
Hi!!
I am developing a web-based application using servlets and applets concept..I am using
tomcat 4.0.6 as standalone server..The server hosts two applications both at the same
port..So i have madetwo folders app1 and app2 inside my webapps directory..i have made
corresponding contexts in ser
On Sun, 15 Jun 2003 02:05, Paridhi Bansal wrote:
> My directory structure is :
> i have folders test and images inside the webapps directory.the servlet is
> inside test/WEB-INF/classes and the gif image is inside images folder..i
> have also kept the image inside the jar file...
Are you using the
Hi!!
I have a web-based application that uses servlets and throws an applet to the client
side..I am using tomcat4.0.6 standalone server..First an html page is displayed on the
browser. On clicking the link, the servlet is invoked that throws the applet and jar
file to the client. The apple
Euan,
If you look at the DTD 2.3 specs, the and
entries have to be placed after the entries. It's
very picky about tags being in the correct order.
Hope that helps.
__
John Rishea
Avaya, Inc.
(303) 538-4503
-Original Message-
From: Euan Guttridge [mailto:[EMAIL PROTE
The security constraint I am adding is screwing up my web.xml. After adding
the contraint tomcat cannot find my taglibs. Any ideas? (web.xml below)
Thanks,
Euan
http://java.sun.com/dtd/web-app_2_3.dtd";>
TestOnline
Build of Test
webmaster
[EMAIL PROTECTED]
Hello everybody,
I am trying to remove the root context using the manager application.
First, I list all installed applications:
http://www.xxx.de/manager/list
OK - Listed applications for virtual host www.xxx.de
/manager:running:0:../server/webapps/manager
/:running:1:xxx
Here are my 3
Do you set your CLASSPATH in your Shell script? or in .login or something like that?
Cos then that will work for a manual start, but not for the /init.d one. You'll have
to set up the classpath in that script.
-Tom
- Original Message -
From: Tim Funk
To: Tomcat Users List
Sent
Is it just your servlet that doesn't work, or all servlets? (and jsps)
Are you using different userids when run from boot time vs command line?
What happens if your startup command is moved to inittab? (Or other wacky
equivalent)
-Tim
Chad Lemmen wrote:
It's not a system CLASSPATH I have set. I
Hi,
If you're calling Bootstrap.main(), please also have a look at the source code
within Bootstrap.
You'll find that Bootstrap just sets the ground for the Catalina classes...It
creates a classloader hierarchy, with classloaders for classes visible to just
Catalina, and for visibility between bo
Hello,
I have been struggling with a strange problem:
Using Apache Web server (1.3.23 - 1.3.26, not tested others).
Using mod_jk (EAPI version, recent download).
On a Linux machine.
Using tomcat 4.1.24
Both on solaris and on Linux.
When Apache is configured with
SSLClientVerify optional
or
SSLCli
20 matches
Mail list logo