Thread: [Winstone-devel] jstl support?
Status: Beta
Brought to you by:
rickknowles
From: Qingtian W. <qin...@gm...> - 2007-12-20 21:37:40
|
Hi, Is JSTL supported in v0.9.9? I am trying to run the Sventon WAR file with the following index.jsp. But only got the "plain text" of the page up to the "redirect" comments. Apparently the <c:redirect ....> is not happening (either is tag rendered as plain text). The same WAR works OK in Tomcat 6. Thanks! -Qingtian ================== <% /* * ==================================================================== * Copyright (c) 2005-2007 Sventon Project. All rights reserved. * * This software is licensed as described in the file LICENSE, which * you should have received as part of this distribution. The terms * are also available at http://sventon.berlios.de. * If newer versions of this license are posted there, you may use a * newer version instead, at your option. * ==================================================================== */ %> <%@ include file="/WEB-INF/jspf/pageInclude.jspf" %> <%-- Redirected because we can't set the welcome page to a virtual URL. --%> <c:redirect url="/start.svn"/> |
From: Qingtian W. <qin...@gm...> - 2007-12-20 22:09:35
|
My bad - I didn't read the --userJasper part of the doc. However, I have a new problem following the JSP direction as in the stack trace. I don't think the missing class org/apache/juli/logging/LogFactory is in the common logging API jar... What is with "juli" in the package name? Thanks, Qingtian =========================== [Winstone 2007/12/20 16:04:14] - Error initializing web application: prefix [] java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory at org.apache.jasper.servlet.JspServlet.<init>(JspServlet.java:60) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at winstone.ServletConfiguration.ensureInitialization(ServletConfiguration.java:178) at winstone.WebAppConfiguration.<init>(WebAppConfiguration.java:918) at winstone.HostConfiguration.initWebApp(HostConfiguration.java:131) at winstone.HostConfiguration.<init>(HostConfiguration.java:73) at winstone.HostGroup.initHost(HostGroup.java:85) at winstone.HostGroup.<init>(HostGroup.java:45) at winstone.Launcher.<init>(Launcher.java:196) at winstone.Launcher.main(Launcher.java:391) On Dec 20, 2007 3:37 PM, Qingtian Wang <qin...@gm...> wrote: > Hi, > > Is JSTL supported in v0.9.9? > > I am trying to run the Sventon WAR file with the following index.jsp. > But only got the "plain text" of the page up to the "redirect" > comments. Apparently the <c:redirect ....> is not happening (either is > tag rendered as plain text). The same WAR works OK in Tomcat 6. > > Thanks! > -Qingtian > > ================== > > <% > /* > * ==================================================================== > * Copyright (c) 2005-2007 Sventon Project. All rights reserved. > * > * This software is licensed as described in the file LICENSE, which > * you should have received as part of this distribution. The terms > * are also available at http://sventon.berlios.de. > * If newer versions of this license are posted there, you may use a > * newer version instead, at your option. > * ==================================================================== > */ > %> > <%@ include file="/WEB-INF/jspf/pageInclude.jspf" %> > > <%-- Redirected because we can't set the welcome page to a virtual URL. --%> > <c:redirect url="/start.svn"/> > |
From: Qingtian W. <qin...@gm...> - 2007-12-20 22:34:29
|
Ok, got it. For whom ever trying to get this work with 6.0.14 version of the tomcat server lib jars, there is a jar called "tomcat-juli.jar" inside "$CATALINA_HOME/bin" (notice not "lib", but "bin") directory that needs to be dropped in the --commonLibFolder for Winstone. Sorry about all the noise.... -Qingtian On Dec 20, 2007 3:37 PM, Qingtian Wang <qin...@gm...> wrote: > Hi, > > Is JSTL supported in v0.9.9? > > I am trying to run the Sventon WAR file with the following index.jsp. > But only got the "plain text" of the page up to the "redirect" > comments. Apparently the <c:redirect ....> is not happening (either is > tag rendered as plain text). The same WAR works OK in Tomcat 6. > > Thanks! > -Qingtian > > ================== > > <% > /* > * ==================================================================== > * Copyright (c) 2005-2007 Sventon Project. All rights reserved. > * > * This software is licensed as described in the file LICENSE, which > * you should have received as part of this distribution. The terms > * are also available at http://sventon.berlios.de. > * If newer versions of this license are posted there, you may use a > * newer version instead, at your option. > * ==================================================================== > */ > %> > <%@ include file="/WEB-INF/jspf/pageInclude.jspf" %> > > <%-- Redirected because we can't set the welcome page to a virtual URL. --%> > <c:redirect url="/start.svn"/> > |
From: Rick K. <ri...@kn...> - 2007-12-20 23:46:17
|
Yes - I think the jasper integration instructions in winstone probably need to be updated. The version I use is pretty old (the one just after JSP2.0 support ... ancient). Qingtian: if you can send me a list of the jars needed for the latest jasper, I'll update the help. Thanks, Rick Qingtian Wang wrote: > Ok, got it. > > For whom ever trying to get this work with 6.0.14 version of the > tomcat server lib jars, there is a jar called > > "tomcat-juli.jar" > > inside "$CATALINA_HOME/bin" (notice not "lib", but "bin") directory > that needs to be dropped in the --commonLibFolder for Winstone. > > Sorry about all the noise.... > -Qingtian > > > > > On Dec 20, 2007 3:37 PM, Qingtian Wang <qin...@gm...> wrote: > >> Hi, >> >> Is JSTL supported in v0.9.9? >> >> I am trying to run the Sventon WAR file with the following index.jsp. >> But only got the "plain text" of the page up to the "redirect" >> comments. Apparently the <c:redirect ....> is not happening (either is >> tag rendered as plain text). The same WAR works OK in Tomcat 6. >> >> Thanks! >> -Qingtian >> >> ================== >> >> <% >> /* >> * ==================================================================== >> * Copyright (c) 2005-2007 Sventon Project. All rights reserved. >> * >> * This software is licensed as described in the file LICENSE, which >> * you should have received as part of this distribution. The terms >> * are also available at http://sventon.berlios.de. >> * If newer versions of this license are posted there, you may use a >> * newer version instead, at your option. >> * ==================================================================== >> */ >> %> >> <%@ include file="/WEB-INF/jspf/pageInclude.jspf" %> >> >> <%-- Redirected because we can't set the welcome page to a virtual URL. --%> >> <c:redirect url="/start.svn"/> >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Winstone-devel mailing list > Win...@li... > https://lists.sourceforge.net/lists/listinfo/winstone-devel > |