I don't know if there's an easy way to tell your user that they've timed out
before they"submit" something, but in your JSP/servlet action you can also
use something like
HttpSession session = request.getSession(false);
where "request" is HttpServletRequest. If "session" is null, the timeout has
You can probably do this with JAAS, which is included in j2sdk1.4.0 and was
an add-on on 1.3. The main problem I had originally was with the
CallbackHandler, which is supposed to get input from the user. I couldn't
figure out how to have the CallbackHandler object create an HTML form, send
that to
Copying an earlier response from Larry Isaacs; maybe you missed it... If I
read it right, sounds like it's premature to start trying to use Tomcat
w/Apache 2.
=
The API to Apache 2 is very different from Apache 1.3.x. It was
As far as I know, you can't get a standard browser to send form data to the
server without a "submit." If you want to repaint the form with the data in
the fields, you can send a new verson of the page and form with the
variables "value"d with the entries. That way, the user doesn't lose any
entri
Would you all quit this? It's silly to generate so much email in defense of
a product we're all working with. If someone doesn't like it, so be it. BTW,
our correspondent may already be off the group, which could mean that we're
all just reading our own flames. Can we return to matters of substanc
I think this went astray... apologize in advance if anyone gets it twice...
-Mark
> -Original Message-
>
>
> Problem: Browser cannot load applet class.
> Environment: Tomcat 4.0.3 w/Apache; Solaris 8.
> Webapp Directory Structure:
>$CATALINA_HOME---webapps---ROOT---src---[.html f
Problem: Browser cannot load applet class.
Environment: Tomcat 4.0.3 w/Apache; Solaris 8.
Webapp Directory Structure:
$CATALINA_HOME---webapps---ROOT---src---[.html fragments]
|
+-WEB-INF---[web.xml, etc.]
You need to add an appropriate permissions entry to your catalina.policy
file. On Solaris, the file is in ${catalina.home}/conf. The permission you
need to add is
permission java.io.FilePermission "/var/tomcat4/conf/server.xml"
"read";
It should go into a "grant" section that pertains to
Is it known whether or not Tomcat 4.0.1 will handle Principal-based
permissions in the catalina.policy file? I have been working to get the
Authentication and Authorization services to work and have no problem with
the Authentication but I can't get Authorization to work. I've isolated the
first s