1

Using Kaptcha in JSP page within WEB-INF folder

Since our JSP page in inside WEB-INF folder, we need to give path starting from the context path.

in JSP page

instead of <img=kaptcha/>

place

<img=<%request.getContextPath()%>/kaptcha/>

|

1 Comments


use ${pageContext.request.contextPath}/kaptcha if you don't want to insert scriptlet in your jsp.

Copyright © 2009 So That I Can Remember All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.