Re: Re: Sitemesh release - Websphere 5

[email protected]
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <[email protected]>
I haven't yet proven that it doesn't work, but I don't expect your i18n to
work under WebSphere.  I have found that the version of Jasper that
WebSphere uses is quite primative in how it works out the content type.  It
only checked code in the JSP, without checking anything done on the
request/response.

The hack I have used previously is:
<%
    response.setContentType(ApplicationProperties.getContentType());
%>

Ugly, but it works.

Again not a showstopper.

Regards,
Rob



Internet
[email protected]@lists.sourceforge.net - 26/08/2003 14:52


Please respond to [email protected]

Sent by:    [email protected]

To:    opensymphony-developers

cc:


Subject:    [Opensymphony-developers] Re: Sitemesh release - Websphere 5


Rob,

[email protected] wrote:
> However, the test suite doesn't work under WebSphere 5.
>
> The title decorator isn't getting applied when using the default page.
>
> ie:
<<snip>>

>     [junit] Testcase: testWelcomePage took 0.125 sec
>     [junit]     FAILED
>     [junit] expected:<[:: Welcome Page ::]> but was:<Welcome Page>
>     [junit] junit.framework.AssertionFailedError: expected:<[:: Welcome
Page ::]
>
>>but was:<Welcome Page>
>
<<snip>>

>
> I also get more errors, but thought this might be a good starting point.
>
> The WebSphere build I was testing against is:
> IBM WebSphere Application Server, 5.0.0
> Build Number: s0245.03
> Build Date: 11/11/02
>
> Manually hitting the welcomepage displayed the same result, but when I
went to welcomepage/default.jsp I get the appropriately decorated page.
>
> Hope this is useful for someone :).
>
> Rob

Unfortunately the welcome page bug is impossible to work around - as it
is just Websphere's screwed implementation of filters.  However, it is
easy to work around in your application - just don't link to a
directory, but link to the file instead.

Any other bugs?  I would consider this one minor
--

ATLASSIAN - http://www.atlassian.com
Expert J2EE Software, Services and Support
-------------------------------------------------------
Need a simple, powerful way to track and manage issues?
Try JIRA - http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:
http://www.vmware.com/wl/offer/358/0
_______________________________________________
Opensymphony-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensymphony-developers






This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.