The fix to Bugzilla Bug #26788 necessitated changing the marginheight and marginwidth properties from int primitives to Integer objects so that the tag could correctly distinguish between "0" values and undefined values:

 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26788

Simply recompiling all your JSPs should do the trick.

Joe

At 2:27 PM +0000 11/1/04, Caoilte O'Connor wrote:
Hi,
We've just begun migrating to struts 1.2.4 on our dev boxes
and the process has mostly been smooth. There is one very
worrying bug however. Most pages with a struts frame tag in
have started breaking for no apparent reason. The jsp is
usually something like

<html:frame page="/pages/subFrame.jsp" frameName="main"
frameborder="no" marginheight="0" />

the error page along the lines of,

javax.servlet.ServletException:
org.apache.struts.taglib.html.FrameTag.setMarginheight(I)V
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:533)
        at
org.apache.jsp.index_jsp._jspService(index_jsp.java:140)

Not much to go on I know and the weirdest thing is if you
adjust the tag (put a marginwidth="0" in for instance) then
the page recompiles correctly.

It occurs to me the problem therefore is probably old jsp
pages needing recompiling to work correctly after a struts
upgrade. Does that seem likely, or is there possibly
something more we're unaware of?

thanks for any confirmations/better ideas,


c

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn back; I'll know I'm in the wrong place."
- Carlos Santana

Reply via email to