IdPv3 webapp/index.jsp --> views/index.vm?
Brent Putman
putmanb at georgetown.edu
Fri Oct 9 17:29:10 EDT 2015
On 10/8/15 9:50 AM, Cantor, Scott wrote:
> On 10/8/15, 4:41 AM, "users on behalf of Martin Haase" <users-bounces at shibboleth.net on behalf of Martin.Haase at DAASI.de> wrote:
>
>> Dear team,
>> I have response from our designer that it is quite impractical to
>> maintain both the new views/*.vm templates and the webapp/index.jsp
>> which shows up when calling /idp/. Any chance the latter can be
>> relalized using velocity templates as well, and having really all GUI
>> stuff under /views?
> Seems like it would be quite ugly to pull off. We'd probably have to embed use of the Velocity engine inside a JSP page or in a servlet mounted there.
Fwiw, I have actually used Velocity to render content inside a JSP. My
case was a custom tag to represent a particular kind of object, where I
also needed to generate the same HTML fragments outside of JSP anyway.
This seems easier actually.
But honestly, I probably wouldn't do it either of those ways. I'd just
add additional servlet mapping(s) for the MVC DispatcherServlet and just
do it as a simple controller + (Velocity) view. Unless there's
something about our setup that would make that hard, but off-hand I
don't know of anything.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20151009/eead83aa/attachment.html>
More information about the users
mailing list