[Resin-interest] How to set default/global response encoding?
I need to know if there is any way to make UTF-8 my default charset encoding. Do I really have to set the page contentType at the top of every jsp? It currently defaults to ISO-8559-1 if I do not explicitly set it. Thank you, Hans Loeblich ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] How to set default/global response encoding?
On Jun 27, 2007, at 7:59 AM, Hans Loeblich wrote: I need to know if there is any way to make UTF-8 my default charset encoding. Do I really have to set the page contentType at the top of every jsp? It currently defaults to ISO-8559-1 if I do not explicitly set it. With 3.1.1, you can use character-encodingUTF-8/character- encoding to set the default charset encoding. Technically, this goes beyond the spec. JSP defaults to ISO-8859-1 according to the spec, so you do need a contentType for standard JSP. -- Scott Thank you, Hans Loeblich ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] SSL support in Resin
Why don't you just ask Caucho for an eval license for Pro version? Greg On 6/27/07, Karthik Gajjala [EMAIL PROTECTED] wrote: We are currently evaluating Resin and TomCat in our company which is currently using Weblogic as application server. I am trying to setup the SSL support in Resin and found that it is available in only professional version (error message on the screen when starting Resin). Is there a way to use SSL with the free version of Resin. Does anyone have any benchmarks and results to compare TomCat Vs Resin? I am planning to do my own on my application. I would be glad to share them with all. Regards, *Karthik Gajjala* Director of Engineering Vendio Inc. 408-718-6503 (Cell) AIM : karthikgajjala ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] SSL support in Resin
You can also use JSSE for SSL with the GPL version of Resin, although this obviously won't perform as well as the OpenSSL version. There have been a number of mailings on that in this list, and I believe people have said that they thought it performed well enough for many uses. For Resin 3.0.x: http://www.caucho.com/resin-3.0/security/ssl.xtp#jsse For Resin 3.1.x: http://www.caucho.com/resin-3.1/doc/ssl.xtp#jsse Matt Pangaro Lokitech software . strategy . design http://www.lokitech.com m. 1.301.728.6906 f. 1.815.364.0656 e. [EMAIL PROTECTED] Gregory Stewart wrote: Why don't you just ask Caucho for an eval license for Pro version? Greg On 6/27/07, *Karthik Gajjala* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: We are currently evaluating Resin and TomCat in our company which is currently using Weblogic as application server. I am trying to setup the SSL support in Resin and found that it is available in only professional version (error message on the screen when starting Resin). Is there a way to use SSL with the free version of Resin. Does anyone have any benchmarks and results to compare TomCat Vs Resin? I am planning to do my own on my application. I would be glad to share them with all. Regards, *Karthik Gajjala* Director of Engineering Vendio Inc. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] importing java.io, java.util packages in JSPs
Hi, While migrating from Weblogic to Resin, I have noticed that Resin requires us to explicitly import the basic Java language packages like io, util. This makes sense as a software developer. We have 100's of JSPs developed by our Web Developers who did not do this and Weblogic used to do this by default when generating the output Java file from JSP. Is there a way in Resin to do the same?. Something better than painfully editing the JSP files to add these imports :-) Regards, Karthik Gajjala Director of Engineering Vendio Inc. 408-718-6503 (Cell) AIM : karthikgajjala ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] importing java.io, java.util packages in JSPs
Karthik Gajjala wrote: do the same?. Something better than painfully editing the JSP files to add these imports J Add a prelude in your JSP configuration that defines whatever imports you are used to having automatically done for you. -- Serge Knystautas Lokitech software . strategy . design http://www.lokitech.com p. 301.656.5501 e. [EMAIL PROTECTED] ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] How to set default/global response encoding?
I already have it declared in header include files, but it doesn't do anything. I did some searching and found this nugget (from http://www.oreillynet.com/pub/a/oreilly/java/news/jsptips_1100.html tip #2): The default buffer size is 8KB, more than enough for a typical page, and you can increase it with the buffer attribute of the page directive. But if you use the include action in a page, you may be in for a surprise. Due to limitations in the way the servlet features used by jsp:include are specified, the buffer is always flushed before the target page is invoked. This means that you can't set headers or use jsp:forward after a jsp:include action. So far it seems to me that setting it manually in every jsp is my only option, which is quite annoying. -Hans Loeblich Yong Bakos wrote: Hans, don't declare it manually in every jsp -- just once in your header portion of your view/jsp templates, which would typically be included in each individual jsp. On Jun 27, 2007, at 8:59 AM, Hans Loeblich wrote: I need to know if there is any way to make UTF-8 my default charset encoding. Do I really have to set the page contentType at the top of every jsp? It currently defaults to ISO-8559-1 if I do not explicitly set it. Thank you, Hans Loeblich ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest