Re: Problem serializing JDK dynamic proxies

2008-04-06 Thread nlif
Hi Chris, Thanks for the link. I found the following workaround: instead of placing my Proxy object in the HttpSession, I put it in a serializable wrapper class first, and then put the wrapper in the HttpSession. The wrapper overrides the default de-serialization to set a different class-loader

Re: Newbie: Question about first Servlet

2008-04-06 Thread Alan Chaney
Actually ISO-8851-1 according to Google is a standard determining the moisture content of butter. http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=35218 However, ISO-8859-1 is the Latin character set definition. Probably ISO-8859-1 is more relevant. Anyway,

security with tomcat-users.xml

2008-04-06 Thread sex
I'm trying to give myself access to the manager web app, but have been unsuccessful. My tomcat-users.xml looks like this: ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=manager/ role rolename=admin/ user username=chris password=chris roles=admin,manager/ /tomcat-users

FileUpload problem (HTTPS)

2008-04-06 Thread Lars Nielsen Lind
Hi, I have some problems with FileUpload. When I use it in my development environment with SSL and from the same network, there are no problems. But when I use it in my production environment from another network, I get this error message: FileUploadBase$InvalidContentTypeException: the

SSL IE vs Opera war

2008-04-06 Thread Max Sevenfold
Hello, Opera dislikes low encryption. It works only when I add ciphers=TLS_RSA_WITH_AES_256_CBC_SHA But it stops IE 7. IE 7 uses TSL_RSA_WITH_RC4_128_MD5 We tries following so far ciphers=TLS_RSA_WITH_AES_256_CBC_SHA,TSL_RSA_WITH_RC4_128_MD5

Re: web.xml pbm

2008-04-06 Thread supareno
i found the problem !! i tried a war without a context and everything is working find (but i didn't have a db connection !!) so i tried with a context (like the example below) ?xml version=1.0 encoding=UTF-8? Context path= reloadable=true docBase= Resource name=jdbc/library

RE: web.xml pbm

2008-04-06 Thread Caldarale, Charles R
From: supareno [mailto:[EMAIL PROTECTED] Subject: Re: web.xml pbm so i tried with a context (like the example below) ?xml version=1.0 encoding=UTF-8? Context path= docBase= /Context If your Context element is in the proper place (META-INF/context.xml of your webapp), then neither

RE: security with tomcat-users.xml

2008-04-06 Thread Caldarale, Charles R
From: sex [mailto:[EMAIL PROTECTED] Subject: security with tomcat-users.xml Why is it so hard for people to tell us what Tomcat version they're working with? but I always get a 401 Unauthorized error. Did you restart Tomcat after making the change? - Chuck THIS COMMUNICATION MAY CONTAIN

Usage of Hibernate

2008-04-06 Thread Sam Wun
Hi, I am new to Hibernate. From googl'ing around, I found that Hibernate is designed for mapping object classes and database. But this doesn't entirely solve my puzzle on this framework, that is what it's distinct advantage over simple usage of JDBC? UnlessHibernate has another

Adding transactional classloader for dynamic code in webapp?

2008-04-06 Thread David Wall
I'd like to allow a web app to define custom code, such as for custom data validators or data formatters to be added by a user through configuration in my web app. That is, I'd like to have a user of my web app specify some Java code snippets (either a few lines of code, or perhaps a complete