Re: jsp templates and blueprint/petstore
- Original Message - From: "elephantwalker" <[EMAIL PROTECTED]> Hi, > [...] > Does anybody has some insight on the "why" of the j2ee blueprint templating > mechanism? Or for that matter, any procedural templating mechanism? IMO it is just to make the customer think he needs experienced developers to implement simple things and to assure noone else will be able to maintain your application in the future :) Of course it would be nice to have an uniform screen layout which requires only minimal effort when you decide to redesign apperance of all app pages, but: - I don't think the effort to implement such mechanism pays back (I do agree that standard include mechanism is flexible enough for that purpose), - when these changes have to be done by someone else than the autor, he's probably going to need more time to understand the design than to change each page individually with classic include mechanism. -- Regards, Rafal
Re: Character encoding problem
Sure I have (#364). Just hoped that here I would get the solution faster. Regards, Rafal > Have you submitted a bug report for this on orionserver.com's bugzilla? > > Just a thought. > > Dan. > > At 09:36 16/03/2001 +0100, you wrote: > >Once again since my yesterdays posting seems to be lost: > > > >Hi Orion Masters, > > > >When I put line: > >response.setContentType("text/html;charset=ISO-8859-2"); > >into my servlet's doGet method, I don't get response from the servlet. > >[...]
Character encoding problem
Once again since my yesterdays posting seems to be lost: Hi Orion Masters, When I put line: response.setContentType("text/html;charset=ISO-8859-2"); into my servlet's doGet method, I don't get response from the servlet. Moreover, Orion starts consuming ~100% of CPU until restarted. When I use: response.setContentType("text/html"); I get the response, but naturally without my national charset. The problem occurs on 1.4.5, I didn't have it on 1.2.9. JSP encoding works fine. When I get its java code and put it as servlet, it works too. If I change my servlet to extend com.evermind.server.http.EvermindHttpJspPage instead of HttpServlet (and change doGet to _jspService, and so) it starts working, but it is not solution I would accept. So how can I have charset definition in servlets working? Thanks in advance, Rafal p.s. If it helps, I have Orion on NT Workstation installed.