cookiePath. I can make sure
in my application this won't happen right ?
If you think something is wrong in the methods below please suggest
solution..
Thanks!
On Mon, Dec 7, 2009 at 10:42 PM, itay sahar wrote:
> sure!
> protected void setCookieValueIfEnabled(String value)
>
Cookie cookie = new Cookie( getCookieName(), value );
cookie.setMaxAge( getCookieMaxAge() );
cookie.setPath(cookiePath);
response.addCookie(cookie);
}
}
On Mon, Dec 7, 2009 at 10:26 PM, André Warnier wrote:
> itay sahar wrote:
>
>> sur
i'm not sure it solve all the
scenarios/possibilities.
On Mon, Dec 7, 2009 at 9:47 PM, Pid Ster wrote:
> On 7 Dec 2009, at 19:26, itay sahar wrote:
>
> > I add log for the following method:
> >
> > protected String encodeToken(String username, String value)
> >
79, 68, 89,
53, 77, 122, 103, 61]
Please note that any change in the above might affect the decoder.
Thanks!
On Mon, Dec 7, 2009 at 3:04 PM, itay sahar wrote:
> Thanks André,
> *
> *
> *I agree with you about the doubt you have about the ":" being in C (after
> encod
t somthing to sove this.*
On Mon, Dec 7, 2009 at 1:57 PM, André Warnier wrote:
> itay sahar wrote:
>
>> Pid,
>> I'm not using B as the cookie value. A & B go to encode and finally you
>> have *one *value(C). this value
>&g
2/2009 21:51, itay sahar wrote:
>
>> Hi Andre,
>>
>> please see below input and output of:
>> protected String encodeToken(String username, String value)
>>{
>> StringBuilder sb = new StringBuilder();
>> sb.append(username);
>>
).getBytes());
}
Input is:
username= itay.sa...@gmial.com
value=6de5ca4f:1254c461110:-7feb:9135486247122677484
Output is (this is what actually addCookie get as parameter):
6de5ca4f:1254c461110:-7feb:9135486247122677484
Can you suggest solution ?
On Sun, Dec 6, 2009 at 11:28 PM, itay sahar wrote:
il
address.
Thanks!
On Sat, Dec 5, 2009 at 3:37 PM, Mark Thomas wrote:
> itay sahar wrote:
> > Caused by: java.lang.IllegalArgumentException: Control character in
> cookie
> > value, consider BASE64 encoding your value
> > at
> >
> org.apache.tomcat.util.http
b.toString().getBytes());
}
On Sat, Dec 5, 2009 at 2:14 PM, André Warnier wrote:
> itay sahar wrote:
>
>> Hi all,
>>
>> I'm using seam on tomcat 6.0.20 and encounter problem in my security
>> module.
>>
>> Basically, i try to add cookie with bas
Hi all,
I'm using seam on tomcat 6.0.20 and encounter problem in my security module.
Basically, i try to add cookie with base64 encoding of the username which is
email address.
The encoding works and no exception is thrown. But when seam try adding the
cookie an exception is thrown:
05/12/2009 0
Hello,
I've successfully created all hbm,POJO and DAO files using Hibernate tool
which is great!!!
Once deploy to Tomcat I got the exception:
nested exception is org.hibernate.MappingException: entity class not found:
MyClass
the full stack is:
org.springframework.beans.factory.BeanCreationExcep
hi all,
I would like you share with us the best JSF implemetation.
(myfaces,icefaces) and explian
why you prefer one above the other.
Thanks
Itay
Tomcat can use JTA. I use it also with Hib3. My sugession to you is to find
the appropriate jar with JBossCache and for tomcat version.
On 2/1/08, David Cassidy <[EMAIL PROTECTED]> wrote:
>
> Hey guys
>
> Having problems getting Hib3/JPA working with JBossCache within tomcat.
>
> Am I trying for t
i do have, thanks
On 11/16/07, Martin Gainty <[EMAIL PROTECTED]> wrote:
>
> make sure you have $CATALINA_HOME/common/lib/jsp-api.jar
>
> M--
> - Original Message -
> From: "itay sahar" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
hi,
i'm trying to forward from index.jsp:
to main.jsp:
<%@ taglib uri="http://tiles.apache.org/tags-tiles"; prefix="tiles" %>
this is part of tiles.xml:
http://tiles.apache.org/dtds/tiles-config_2_0.dtd";>
part of web.xml:
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://w
api 2.0 (included w/ tomcat 5.5 in
> the common/lib directory).
>
> Also if you have any .java or .class files in tomcat's work directory,
> delete them and restart tomcat to remove any possible old stuff.
>
> --David
>
> itay sahar wrote:
> > hi david than
anyway.
>
> Lastly, you webapp will continue to use servlet spec 2.3/jsp 1.2 as long
> as your web.xml declares servlet spec 2.3. Upgrade to the web.xml to
> enable all the servlet spec 2.4/jsp 2.0 features.
>
> --David
>
> itay sahar wrote:
> > hi all,
> >
&
hi all,
The tomcat version is 5.5.25 with the default version (binary).
contain (jsp-api,jar and servlet-api.jar). Servlet 2.4 support jsp 2.0.
My application worked (before) on tomcat 4.1 with jsp 1.2.
Now i'm working on tomcat 5.5 as mention.
I'm not sure what i need to change!!!
my index.jsp
any ideal anyone?
On 11/4/07, itay sahar <[EMAIL PROTECTED]> wrote:
>
> well, in apache both jsp-api.jar, servlet-api.jar were removed before
> running.
> they exist only in eclipse!!
>
>
>
>
>
>
>
> On 11/4/07, Caldarale, Charles R <[EMAIL PROTECTE
well, in apache both jsp-api.jar, servlet-api.jar were removed before
running.
they exist only in eclipse!!
On 11/4/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> > From: itay sahar [mailto:[EMAIL PROTECTED]
> > Subject: Re: Tomcat 5.5.23 throw Servle
eclipse. build with no errors. the problem is only on
runtime as mention.
thanks
On 11/4/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > From: itay sahar [mailto:[EMAIL PROTECTED]
> > Subject: Tomcat 5.5.23 throw ServletException
> >
> > i
hi,
i think i have wrong jar files.
org.apache.jasper.JasperException: javax.servlet.ServletException:
java.lang.NoSuchMethodError:
javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServ
running Tomcat by itself downloaded from tomcat.apache.org
On 10/30/07, itay sahar <[EMAIL PROTECTED]> wrote:
>
> i'm using the servlet-api.jar that come with tomcat 5.5 installation (
> download from tomcat website).
> it's should be 2.4. (according the spec).
>
change somthing in the code:
this is the code display with the error mention above:
org.apache.jasper.JasperException: Exception in JSP: /index.jsp:5
2:
3:
4:
5:
6:
7:
On 10/30/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> > From: itay sahar [mailto
gt; wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Itay,
>
> itay sahar wrote:
> > The type javax.servlet.jsp.tagext.TagSupport cannot be resolved. It is
> > indirectly referenced from required .class files
> > *The application is up and ru
(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
On 10/30/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Itay,
>
> itay sahar wrote:
> > i have an application running on tomcat 4.1.
> > i
hi,
i have an application running on tomcat 4.1.
i want to make a huge addings to this application but first i want to work
on tomcat 5.5 version.
is there a way i can do it ? (i know it's not easy).
my project lib include the following jar files: (works fine on tomcat
4.1)
aopalliance.
27 matches
Mail list logo