disable jsp cache in tomcat work folder

2008-04-06 Thread loredana loredana
Long story short, as everyone know, jsp files are cached in the work folder of tomcat. If I modify something in the jsp, I can't see the difference unless I delete the files under work folder. My problem is that I don't have rights/access to delete files under that folder. Is there any other way

Re: FileUpload problem (HTTPS)

2008-04-06 Thread Lars Nielsen Lind
Lars Nielsen Lind skrev: 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$InvalidCont

RE: How to prevent tomcat from restarting after hot code replacement?

2008-04-06 Thread Remo Liechti
Hi Chris, |Remo Liechti wrote: || I have the problem that always when I start tomcat in debug mode, and || change some java files, tomcat restarts after some seconds after the || code was replaced. |Do you mean that your /webapp/ restarts? Tomcat should not restart itself for any reason. Yes, i

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

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 important/popul

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 CON

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) > > docBase=""> > If your element is in the proper place (META-INF/context.xml of your webapp), then neither the path nor the docBase attributes are allowed. Even

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) i although set a resource in the web.xml Library Connection jdbc/library javax.sql.DataSource Container an

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" ciphers="TSL_RSA

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 > re

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: but I always get a "401 Unauthorized" error. Any ideas?

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, y

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 a