Re: tomcat with jcaptcha

2008-07-08 Thread WILLIAMer
Thanks Johnny, and Sammer reply me by e-mail :) I think move the data under eCom to ROOT directory and delete the eCom directory is a way to help me work out this. Likes Johnny says, if i set the eCom default, there are two directories - eCom and ROOT. I think i understand why the session differe

Re: tomcat with jcaptcha

2008-07-08 Thread Johnny Kewl
- Original Message - From: "WILLIAMer" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 08, 2008 9:23 AM Subject: RE: tomcat with jcaptcha Thanks for reply ,Sameer :) for me, webapps | - eCom - Admin - Login.jsp - Account - *.jsp eCom is a webapp

RE: tomcat with jcaptcha

2008-07-08 Thread WILLIAMer
Thanks for reply ,Sameer :) for me, webapps | - eCom - Admin - Login.jsp - Account - *.jsp eCom is a webapps and Admin is a directory under eCom , right? I just strange why i set the eCom default apps(it means root dir/path), the sessions are different between eCom and Admin.

RE: tomcat with jcaptcha

2008-07-07 Thread Sameer Acharya
application directory and not separate Web Applications. -Sameer --- On Tue, 7/8/08, WILLIAMer <[EMAIL PROTECTED]> wrote: > From: WILLIAMer <[EMAIL PROTECTED]> > Subject: RE: tomcat with jcaptcha > To: users@tomcat.apache.org > Date: Tuesday, July 8, 2008, 8:42 AM >

RE: tomcat with jcaptcha

2008-07-07 Thread WILLIAMer
WILLIAMer [mailto:[EMAIL PROTECTED] >> Subject: Re: tomcat with jcaptcha >> >> Now, i think i just only one question :) >> I know the sessions cant share with two directory(apps). >> But iinclude parent and child directory? >> The dir "Admin" just under

RE: tomcat with jcaptcha

2008-07-07 Thread Caldarale, Charles R
> From: WILLIAMer [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat with jcaptcha > > Now, i think i just only one question :) > I know the sessions cant share with two directory(apps). > But iinclude parent and child directory? > The dir "Admin" just under the dir &

Re: tomcat with jcaptcha

2008-07-07 Thread WILLIAMer
Thanks for replies :) Sorry, my english is hard to read! I google for how to set the "apps" to default(ROOT) though chinese keywords, there are kinds of lists. However, i read different version have different approach. I try some and get useful with add one line code that i wrote that post befor

Re: tomcat with jcaptcha

2008-07-07 Thread Johnny Kewl
- Original Message - From: "Johnny Kewl" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, July 07, 2008 2:53 PM Subject: Re: tomcat with jcaptcha - Original Message - From: "WILLIAMer" <[EMAIL PROTECTED]> To: Sent: Mon

Re: tomcat with jcaptcha

2008-07-07 Thread Johnny Kewl
- Original Message - From: "WILLIAMer" <[EMAIL PROTECTED]> To: Sent: Monday, July 07, 2008 5:51 AM Subject: tomcat with jcaptcha Hi! all, I have an application named "eCom" unnder the tomcat/webapps and using jcatpcha with the login page. I set the eCom becomes the root dir(path) w

RE: tomcat with jcaptcha

2008-07-07 Thread Caldarale, Charles R
> From: WILLIAMer [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat with jcaptcha > > Sorry my english is poor. Better than my Mandarin or Taiwanese. > tomcat/conf/server.xml > "" before tag That is wrong, for a couple of reasons. First, putting elements in server

Re: tomcat with jcaptcha

2008-07-07 Thread WILLIAMer
I think i find why the sessions are different. The Login.jsp i put in eCom/Admin/. for example: link "http://myDomain/";, the session is "A", link "http://myDomain/Admin/";, the session is "B", link "http://myDomain/eCom/Admin/, ths session is "B", link "http://myDomain/eCom/";, the session is "B

Re: tomcat with jcaptcha

2008-07-06 Thread WILLIAMer
Sorry my english is poor. I use the version 5.5.20. and i add one line like under let the "eCom" becomes root in tomcat/conf/server.xml "" before tag markt-2 wrote: > > WILLIAMer wrote: >> Sorry i forget to write down the environment. >> The application used by tomcat version 5.5 and LINUX. >

RE: tomcat with jcaptcha

2008-07-06 Thread WILLIAMer
I trace the jcaptcha code. Jcaptcha set a parameter name "captchaId" in session when this servlet use(when link to login.page). And when user submit the form.Its will get "captchaId" from session. Then compare the two "captchaId". So i system out the "captchaId", and see whats wrong. when i link

Re: tomcat with jcaptcha

2008-07-06 Thread Mark Thomas
WILLIAMer wrote: Sorry i forget to write down the environment. The application used by tomcat version 5.5 and LINUX. There are currently 27 different 5.5.x versions. Knowing which one you are using would help. You still haven't told us how you made "eCom" the 'default' webapp. Mark -

RE: tomcat with jcaptcha

2008-07-06 Thread WILLIAMer
Sorry i forget to write down the environment. The application used by tomcat version 5.5 and LINUX. Caldarale, Charles R wrote: > >> From: WILLIAMer [mailto:[EMAIL PROTECTED] >> Subject: tomcat with jcaptcha >> >> I have an application named "eCom" unnder the tomcat/webapps and using >> jcatpch

RE: tomcat with jcaptcha

2008-07-06 Thread Caldarale, Charles R
> From: WILLIAMer [mailto:[EMAIL PROTECTED] > Subject: tomcat with jcaptcha > > I have an application named "eCom" unnder the tomcat/webapps and using > jcatpcha with the login page. > I set the eCom becomes the root dir(path) with the server.xml. Probably a fatal mistake, but since you didn't bot