Hi,

Iam getting this error while I try to bring up my application

HTTP Status 500 - 

type Exception report
message 
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception 
org.apache.jasper.JasperException: /userLoginPage.jsp(4,0) Attribute
redirectEmployee invalid for tag UserLogin according to TLD
        
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:39)
        
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407
)
        
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:238
)
        
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Vali
dator.java:975)
        
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:69
6)
        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
        org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
        org.apache.jasper.compiler.Validator.validate(Validator.java:1475)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:214)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
        
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
11)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
95)
        
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.27 logs.

Apache Tomcat/5.0.27


Iam using Tomcat 5.0.27 Version

Following is my jsp code

<%@ page language="java" %>
<[EMAIL PROTECTED] uri="user" prefix="user"%>

<user:UserLogin redirectEmployee="eSuccess.html"
redirectPartner="pSuccess.html"/>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title>Titan Online Parts System - Titan</title>
    <link rel="STYLESHEET" type="text/css" href="css/titan.css">
    <meta http-equiv="expires" content="0">
</head>
<body topmargin="0" leftmargin="0"
bgcolor="#333333"><user:UserLoginForm><form action="userLoginPage.jsp"
method="post">
<table width="100%" height="100%" border="0" cellspacing="0"
cellpadding="0">
    <tr>
        <td align="center" valign="middle">
            <table width="780" border="0" cellspacing="0" cellpadding="0"
align="center" bgcolor="#ffffff">
                <tr>
                    <td height="32">&nbsp;</td>
                </tr>
            </table>
            <table width="780" border="0" cellspacing="0" cellpadding="0"
align="center" class="bodyBG" bgcolor="#ffffff" height="227">
                <tr>
                    <td width="20">&nbsp;</td>
                    <td valign="bottom"><img
src="Images/topsTransparent.gif" width="195" height="48" border="0"
alt="TOPS"></td>
                    <td width="260"><img src="../Images/shim.gif" width="1"
height="279" border="0"></td>
                    <td valign="bottom">
                        <table border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td class="text">Username</td>
                                <td><img src="Images/shim.gif" width="10"
height="1" border="0"></td>
                                <td class="text" colspan="2">Password</td>
                            </tr>
                            <tr>
                                <td><input type="text" maxlength=10
class="formfield" name="userName" value="$userName$"></td>
                                <td><img src="Images/shim.gif" width="10"
height="1" border="0"></td>
                                <td><input type="password" class="formfield"
name="password" value="$password$" maxlength="20"></td>
                                <td><input type="image"
src="Images/goButton.gif" width="18" height="20" hspace="5" border="0"
alt="Click here to Login"></td>
                            </tr>
                        </table>
                    </td>
                    <td width="15">&nbsp;</td>
                </tr>
                <tr>
                    <td colspan="5"><img src="Images/shim.gif" width="10"
height="14" border="0"></td>
                </tr>
            </table>
            <table border="0" cellspacing="0" cellpadding="0" width="780">
                <tr>
                    <td><img src="Images/squareOneNew.gif" width="81"
height="77" border="0" alt=""></td>
                    <td><img src="Images/squareTwoNew.gif" width="78"
height="77" border="0" alt=""></td>
                    <td><img src="Images/squareThreeNew.gif" width="78"
height="77" border="0" alt=""></td>
                    <td><img src="Images/squareFourNew.gif" width="78"
height="77" border="0" alt=""></td>
                    <td><img src="Images/squareFiveNew.gif" width="78"
height="77" border="0" alt=""></td>
                    <td><img src="Images/squareSixNew.gif" width="78"
height="77" border="0" alt=""></td>
                    <td><img src="Images/squareSevenNew.gif" width="78"
height="77" border="0" alt=""></td>
                    <td width="231" bgcolor="black" align="center"><img
src="Images/titanLogo.gif" width="98" height="60" border="0" alt=""></td>
                </tr>
            </table>
            <table border="0" cellspacing="0" cellpadding="0" width="780"
height="50" class="bottomBG">
                <tr>
                    <td width="20">&nbsp;</td>
                    <td width="760"><a href="forgotPassword.jsp"
class="link">Forgot Your Password?</a></td>
                </tr>
            </table>
        </td>
    </tr>
</table>
</form></user:UserLoginForm>

<user:ErrorMessage>
<script language="vbscript">
MsgBox "$errorMessage$", 0, "Login Error"
</script>
</user:ErrorMessage>
</body>
</html>

My web.xml code for tld

    <taglib>
        <taglib-uri>user</taglib-uri>
        <taglib-location>/WEB-INF/user.tld</taglib-location>
    </taglib>



Regards
Prem 



********************************************************************************

The information in this mail is confidential and is intended solely for the 
addressee. Access to this mail by anyone else is unauthorized. Any copying 
or further distribution beyond the original recipient is not intended and 
may be unlawful. The opinion expressed in this mail is that of the sender 
and does not necessarily reflect that of Titan.

********************************************************************************

Reply via email to