tags:

views:

3

answers:

0

I m trying to use secureforward in maplet in shine pattern.when I change my jsp it cant load my maplet.tld. I want to read a name string from user and Encrypt it with MD5 and if it was successful use secureforward("../response.jsp","success"); I place my maplet.tld in public_html\WEB-INF but it has error. here is my code in jsp page.

<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="/WEB-INF/maplet.tld" prefix="maplet"%>
<maplet:SecureService name="Success">Done</maplet:SecureService>
<maplet:SecureService name="Failed">Error</maplet:SecureService>
<maplet:ErrorService>WrongReq</maplet:ErrorService>
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Code your name</title>
</head>
<body>
<form>
    <input type="text" name="name"/>
    <input type="submit" value="   Encrypt Name   "/>
  </form>
</body>
</html>