using entries allows you to:
- specify init-parameters
- specify security-role-refs (a security role mapping)
- specify a security role to use for the request
- specify the servlet to be loaded on application (servlet context) startup
- specify a *jsp* to be used (not just a servlet class)
- use
also on the craig mclanahan / MVC tip, check out another Apache project:
http://jakarta.apache.org/struts/index.html
( Don't know if this project is mentioned in that presentationbut how
could it not be.;) )
Tim Julien
HP Middleware
-Original Message-
From: Milt Epstein [mailto:[
1. You are right that the spec doesn't say what to do when a login form is
accessed directly. This is why Tomcat doesn't know what to do. Two things:
a) don't let users access login form directly. Not sure what happens in
Tomcat if you protect the login form. At least you can remove all links
this is a bug, and is slated to be fixed.
don't know when.
Basically, after FORM login, a redirect needs to occur, but Tomcat is doing
an internal forward.
Tim Julien
HP Middleware
-Original Message-
From: Simon Ozturk [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 14, 2001 4:16 AM
To: '[E
the call: System.getProperty("java.class.path")
only returns your System class path -
the jars in /lib and the classes in /classes are dynamically loaded by a
ClassLoader in Tomcat - they do not become a part of your System class path.
Tim Julien
HP Middleware
-Original Message-
From: D
How would you rank what is most valuable to you about Tomcat?
__Ease of use
__Open Source
__Spec Compliant
__Free
__User Community
__Performance
__Other
How would you like to see Tomcat improve?
Tim Julien
HP Middleware
where can i get JDE.
I'm all about some emacs.
Tim Julien
HP Middleware
-Original Message-From: Nick Christopher
[mailto:[EMAIL PROTECTED]]Sent: Monday, April 30, 2001 10:49
AMTo: [EMAIL PROTECTED]Subject: Re: Best IDE
for Servlet Development?emacs w/ the JDE package.
Curtis
you should be able todo the following:
http://host/app-context/index.jsp?jsp_precompile=true
adding jsp_precompile=true as an argument should force Tomcat to do this.
If it does not then this part of the JSP spec hasn't been implemented.
Tim Julien
HP Middleware
-Original Message-
From:
that example may be protected with
a
CONFIDENTIAL
check WEB-INF/web.xml
Tim Julien
HP Middleware
-Original Message-From: Wang, Yuhui
[mailto:[EMAIL PROTECTED]]Sent: Friday, April 27, 2001 11:40
AMTo: '[EMAIL PROTECTED]'Subject: servlet
problem
Hello,
I have written a
Working in the
> $TOMCAT_HOME/webapps/WEB-INF/classes directory. But
> when I tried to access the servlet, there is no loggin prompt for me, I
> just
> get the page right away. Do you see anything
> wrong with my settings in the web.xml. Thanks for your help.
>
>
> -
n the web.xml. Thanks for your help.
- Original Message -
From: "JULIEN,TIMOTHY (HP-NewJersey,ex2)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 10:18 AM
Subject: RE: How to set access restriction to servlets in tomcat?
use the sec
use the security-constraint element in
web.xml:
Secure
Servlets
/main/secure
/main/secure
main
servlet
main
servlet
org.foo.Servlet
Tim Julien
HP Middleware
-Original Message-From: Xiaofeng Chen
[mailto:[EMAIL PROTECTED]]
12 matches
Mail list logo