RE: How to change session key name

2001-10-17 Thread Firestar

But JRun does allow me to change it:) I was hoping
Tomcat 4.0 would be as flexible...

For e.g. another gd thing abt JRun is that it allows
us to place our servlets and classes anywhere, instead
of WEB-INF folder. Specification or not, there are
times where due to certain reasons or legacy issues
internally, we have to break the 'rule'. And so far we
still can't move to Tomcat, as much as we would like
to...:(

Firestar

--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
 
 
 On Thu, 18 Oct 2001, Jovie Castaneda wrote:
 
  Date: Thu, 18 Oct 2001 09:28:46 +1000
  From: Jovie Castaneda [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: RE: How to change session key name
 
  Hi Larry,
 
 Thanks for the reply I really want to make it
 but it seems that I cant
  get
  what's going on here is it beacause im using
 Tomcat 3.1?
 
 
 The use of JSESSIONID for the cookie name is
 required by the servlet
 specification.  Therefore it is not a configurable
 option.
 
 Craig
 


__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com



Re: Must servlets be inside WEB-INF/classes pr /lib?

2001-10-05 Thread Firestar

Hi Dmitri, thanks for your quick reply. 

I have tried adding the classpath to my servlets to
catalina.bat, but it throw a javax.http.servlet class
not found exception. It will works OK if i do not add
in the classpath.

Regards,
Firestar

  Is this possible in TC? I know in JRun it is
 possible
  to do so by specifying the classpath to my
 servlets in
  the configuration file. 
 Anything's possible  the simplest way is to
 change the catalina.sh to
 include your classpath, but this is plain _wrong_,
 what you would be
 better off doing is changing your build/deploy
 process so that you have a
 properly structured webapp.
 
 for more info check out
 http://java.sun.com/products/servlets
 
 cheers
 dim
 
 


__
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1



Re: Must servlets be inside WEB-INF/classes pr /lib?

2001-10-05 Thread Firestar

Hi Dmitri, thanks for yr patience.

I guess we have no choice but to stick with JRun for
the moment (until we sort out our own classes
deployment internally), as it allows us the
'flexibility' to break the rule:) 

Regards,
Firestar

--- Dmitri Colebatch [EMAIL PROTECTED] wrote:
 Hi,
 
 yeah, that doesn't surprise me... the reason that
 tomcat 4 ignores your
 classpath is that it causes all sorts of problems. 
 seriously, the spec
 outlines how things are suppose to happen, and my
 best advice would be to
 put your servlets in web-inf/classes (or lib).  
 
 alternatively, you'd need to have a good explanation
 from someone who
 fully understands the class loading mechanism of
 catalina... I could take
 a few guesses, but wont.  I also think that someone
 who does fully
 understand it will simply repeat the above
 advice 
 
 so, cd /myservletclasses; jar cf myservlets.jar *
 
 (o:
 
 cheers
 dim
 
 On Fri, 5 Oct 2001, Firestar wrote:
 
  Hi Dmitri, thanks for your quick reply. 
  
  I have tried adding the classpath to my servlets
 to
  catalina.bat, but it throw a javax.http.servlet
 class
  not found exception. It will works OK if i do not
 add
  in the classpath.
  
  Regards,
  Firestar
  
Is this possible in TC? I know in JRun it is
   possible
to do so by specifying the classpath to my
   servlets in
the configuration file. 
   Anything's possible  the simplest way is to
   change the catalina.sh to
   include your classpath, but this is plain
 _wrong_,
   what you would be
   better off doing is changing your build/deploy
   process so that you have a
   properly structured webapp.
   
   for more info check out
   http://java.sun.com/products/servlets
   
   cheers
   dim
   
   
  
  
  __
  Do You Yahoo!?
  NEW from Yahoo! GeoCities - quick and easy web
 site hosting, just $8.95/month.
  http://geocities.yahoo.com/ps/info1
  
 


__
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1



Changing servlet directory

2001-10-01 Thread Firestar

Hi, for some reasons i would like to place my servlets
and java classes in a separate directory instead of
WEB-INF/classes or WEB-INF/lib. 

I tried to add the classpath of my classes in the
catalina.bat script as suggested by some ppl here.
However, tomcat throws the following error:

java.lang.NoClassDefFoundError:
javax/servlet/http/HttpServlet

Did adding extra classpath to catalina.bat affect the
loading of tomcat's classes? Thansk in advance.

Firestar



__
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com