I've finally managed to get Stripes working on Weblogic 8.1 sp6 which is running on a 1.4 JVM and in a JSP 1.2 servlet container, with help from Taras.
Tim it looks like there is a bug with the TLD, shall I raise a bug in JIRA detailing my changes? Taras has built a beta JSP 1.2 -> 2.0 extension for retrotranslator - I think when this is complete it may be worthwhile updating the Stripes 1.4 info page explaining the workaround for servlet containers which don't support JSP spec 2.0. Cheers, Phil On Tue, Dec 9, 2008 at 5:47 PM, Tim Fennell <[email protected]> wrote: > Does changing the TLD fix the problem? If it does, it sounds to me > like a minor bug that we should just fix in the TLD and be done with. > -t > > On Dec 9, 2008, at 11:50 AM, phil darley wrote: > >> Hi, >> >> I'm attempting to get stripes to run on a 1.4 jee application server, >> specifically Weblogic 8.1 with service pack 6. >> >> - Stripes: 1.5 >> - Retrotranslator: backport-util-concurrent-3.1.jar, >> retrotranslator-runtime-1.2.7.jar & >> retrotranslator-transformer-1.2.7.jar >> - Ant: 1.7.0 >> - JDK: I am using the default jdk for web modules, this is either >> sun's jdk (142_11) or BEA JRockit(R) JDK 1.4.2_10 >> >> I have followed the instructions on >> http://www.stripesframework.org/display/stripes/Java+1.4+and+Stripes, >> including removing 1.5 code from the .tld files. I am creating my >> build using the Ant Tasks provided by retrotranslator Jar. >> >> The application deploys and the following error is displayed when >> requesting index.jsp : >> >> Parsing of JSP File '/index.jsp' failed: >> ________________________________ >> /index.jsp(1): Error in using tag library >> uri='http://stripes.sourceforge.net/stripes-dynattr.tld' >> prefix='stripes': type mismatch for property 'value', for Tag class >> 'net.sourceforge.stripes.tag.InputImageTag': tld says >> java.lang.Object, implementation type is java.lang.String >> probably occurred due to an error in /index.jsp line 1: >> <%@ taglib prefix="stripes" >> uri="http://stripes.sourceforge.net/stripes-dynattr.tld"%> >> >> Okay so the problem is that in stripes-dynattr.tld the Java datatype >> specified for the value property of class InputImageTag is >> java.lang.Object, the datatype in the implemented class (and >> interface) in the stripes jar is java.lang.String. The Jrockit or Sun >> Servlet complier does not like this. Anybody know why when this >> clearly works deployed to a 1.5 environment? Obviously one fix would >> be to modify the .tld file to state the datatype specified for the >> value property of class InputImageTag to 'java.lang.String' but I >> don't believe I should have to! >> >> Does anybody understand what is happening here? >> >> Thanks in advance, >> Phillip Darley >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, >> Nevada. >> The future of the web can't happen without you. Join us at MIX09 to >> help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> Stripes-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/stripes-users > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users > ------------------------------------------------------------------------------ _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
