Hi there,

I've just been checking out Orion, and I love what I see so far.  But here 
are a few questions I've noted:

tools.jar in installation
-------------------------
Not really a question - but the server didn't work until I copied tools.jar 
into my JavaSoft/Jre/1.2/lib/ext directory.

Sites vs Applications?
----------------------
I think I appreciate the difference between the two, and I noted the earlier 
question of someone doing their config stuff as a new site, when they should 
have been doing it as a new application under the default site.  How would 
you go about setting up another site?  I also made the above mentioned 
mistake and found I could only have 1 site listed in the server.xml file.  I 
have since set it up as an app under the default site, but I'm curious.

Classes used by servlets
------------------------
Although I have specified with <classpath> tages a directory for other 
classes that I'm using, if I want to use them with one of my servlets, they 
must be deployed in my servlets directory.  JSPs have no trouble loading 
these classes from where I'd like to store them - so why do servlets have 
this problem?

Invalidating the session
------------------------
I have a servet that "logs off" a user by invalidating their session and 
returning them to the logon page.  Pages in my app check for a valid session 
and a "logon" object associated with it.  Thus, once they log off or their 
session times out, they shouldn't be able to reload any pages from within 
the app.

When I call my logoff servlet, it's not invalidating the session.  A) I can 
go back in my browser history and reload pages.  B) when I log into the app 
again shortly thereafter, which shows various logon info, it says my session 
creation date is that of the original logon.

The doGet method of the servlet contains only:

        HttpSession session = request.getSession(true);
        session.invalidate();
        response.sendRedirect(response.encodeRedirectURL("/servlet/LogonServlet"));

This method worked just fine in the old app server I was using.

Any comments or suggestions regarding the above would be appreciated.

Regards,
Steve Almond
[EMAIL PROTECTED]
http://www.jedinet.com/timeline/

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to