struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yves Sy" <y...@ublys.com>
Subject RE: Weblogic 6.1 Compatibility Problems
Date Mon, 02 Jun 2003 01:23:11 GMT
ok thnx i'll try that... but i've done several apps in tomcat and another in
jboss and they are rendering it OK. so my guess is it probably is a weblogic
implementation problem more than anything else...

-----Original Message-----
From: stu@acquisitions.org [mailto:stu@acquisitions.org]On Behalf Of
Melissa L Kelley
Sent: Friday, May 30, 2003 10:13 PM
To: Struts Users Mailing List
Subject: Re: Weblogic 6.1 Compatibility Problems


On Fri, 30 May 2003, Yves Sy wrote:

Pardon me for not looking at the source to confirm this, but my guess on
what your problem is that the bean tag will try to convert your bean
property to a String before rendering it. Try making your property an
Integer instead of an int and see if it renders correctly.

--Melissa

> Hi! I am currently involved in a project that uses Struts 1.1 (RC1) on
> Weblogic 6.1. We noticed that there seems to be a problem with Struts'
> <bean:write> tag when the property in the bean that we want to display is
> NOT of type String.  The String properties display fine but properties of
> other types such as "int" produce a "Cannot find key
> org.apache.struts.action.ACTION_MESSAGE" error message or something
similar
> to that. We were able to confirm that our bean does indeed contain the int
> value we want to display because it worked just fine when we used a
> scriptlet to display it.
>
> To elaborate:
>     <bean:write name="myBean" property="myProperty.name"/> works fine
> because "name" is a String... but...
>     <bean:write name="myBean" property="myProperty.id"/> does not work
since
> "id" is of type "int".
>
> Anyone aware of this problem with Weblogic 6.1?



------------------------------
Melissa L Kelley
stu.strutsusers@stuology.net
www.stuology.net
------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message