<div dir="ltr">I would potentially like to be able to access cookie values in my login.vm, and it looks like the CookieTool (org.apache.velocity.tools.view.tools.CookieTool) would be the easiest way to do this. <div><br></div><div>However, those view tools don't seem to be included in the velocity-1.7.jar file. So...it seems unlikely I could just add this into my edit-webapp/WEB-INF/lib directory. I don't see any reference to velocity in the web.xml to begin with, so I don't see where I can do the sort of setup described on this page:</div><div><br></div><div><a href="https://velocity.apache.org/tools/1.2/view/index.html#Installation">https://velocity.apache.org/tools/1.2/view/index.html#Installation</a><br><div><br></div><div>In the end, what I'm looking into doing is display a personalized image and phrase for the user based on cookie values - but I don't want the cookie names to be visible (as it would be if you used javascript to do this.) Originally, I thought of storing this info with the person's ldap account, but that would require looking them up - making the login (or at least displaying the image) a two step process. (Unless I used some sort of javascript magic looking for them to finish typing in their userid and then displayed the image...but that might be beyond me.)</div><div><br></div><div>I am looking to thwart the phishing *&*!!#@'s who have grabbed our login screen image. But this all depends on being able to access the cookies in velocity templates - thus the question.<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div style="margin-left:40px">Karla Borecky<br>Systems Administrator<br>ITS<br>Smith College<br>Northampton, MA 01063<br></div></div>
</div></div></div>