Yes, fully agree. Switching from jsp cannot be taken lightly. Anyway, I was just looking for something that can be loaded from the classpath. I only found freemarker and velocity, and could not find anything related to jsp. I did not like the alternative of manually compiling the jsp, either (user jasper at runtime, for instance). I imagine that this approach would have portability issues, so I didn't even look at this option.
Pablo On 9/4/2007, "Scott Battaglia" <[EMAIL PROTECTED]> wrote: >I'm not sure if its possible either it was just a thought of what to look >into. I'd be interested in using alternative views that would make it >easier for people to include external content. However, it seems that JSP >is probably what people are most familiar with. > >-Scott > >On 9/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> AFAIK, it is not possible to put jsp pages in a jar file. Pleaselet me >> know if I am wrong. >> >> I am using freemarker just for this. Furthermore, I integrated the cas >> (version 3.0.7) jar in my own war, and I am now trying to replace jsp >> pages with freemarker templates. >> >> Pablo >> >> On 9/4/2007, "Scott Battaglia" <[EMAIL PROTECTED]> wrote: >> >> >Matt, >> > >> >Would be a good first step be to move the changes in 1 and 3 to >> >deployerConfigContext.xml (or at least #3, and we could move the >> themename >> >to the cas.properties file). >> > >> >We should also look into a ViewsResolver that can maybe read views from a >> >JAR file so people can merely include the JAR file with the JSP pages and >> >the properties files. >> > >> >-Scott >> > >> > >> > >> >On 8/27/07, Smith, Matt <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> ... >> >> > A second step could be to identify commonly changed items in the XML >> >> > files and isolate those changes to one file so that merging becomes >> >> > easier. >> >> ... >> >> >> >> >> >> Not sure how common my changes are, but: >> >> >> >> 1) I change cas-servlet.xml to reflect my "ThemeName" and "basename". >> >> 2) I change deployerConfigContext.xml to reflect my >> >> authenticationHandler. >> >> 3) I change securityContext.xml to remove "battags" from "ROLE_ADMIN", >> >> and eventually will be replacing the inMemoryDaoImpl with something >> >> better. >> >> 4) I include my view pages in views/jsp/uconn >> >> 5) I include my themes in themes/uconn >> >> 6) I modify the log4j.properties in WEB-INF/classes >> >> 7) I add a uconn.properties and a uconn_views.properties to >> >> WEB-INF/classes. >> >> >> >> If the XML changes in 1-3 could be centralized, it would help. >> >> >> >> I'll post something (to the Wiki if appropriate) about managing these >> >> customizations as a Maven project, once I actually hammer out the >> >> details. >> >> >> >> HTH, >> >> -Matt >> >> >> >> -- >> >> Matt Smith >> >> [EMAIL PROTECTED] >> >> University Information Technology Services (UITS) >> >> University of Connecticut >> >> PGP Public Key: http://web.uconn.edu/dotmatt/matt.asc >> >> >> >> _______________________________________________ >> >> Yale CAS mailing list >> >> [email protected] >> >> http://tp.its.yale.edu/mailman/listinfo/cas >> >> >> >> >> >> >> > >> > >> >-- >> >-Scott Battaglia >> > >> >LinkedIn: http://www.linkedin.com/in/scottbattaglia >> _______________________________________________ >> Yale CAS mailing list >> [email protected] >> http://tp.its.yale.edu/mailman/listinfo/cas >> > > > >-- >-Scott Battaglia > >LinkedIn: http://www.linkedin.com/in/scottbattaglia _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
