Hi,
My jsp file is: <br>
<%@ taglib prefix="fmt" uri=" %>
<%@ taglib prefix="spring" uri="/spring" %>
<%@ taglib uri="/WEB-INF/lib/struts-html-el.tld" prefix="html-el" %>
<html>
<head>
<title>
Edit Bike
</title>
</head>
<body>
<h1>Edit Bike</h1>
<form method="POST">
<table border="1" cellspacing="2" cellpadding="2">
<tr>
<td align="right">Manufacturer:</td>
<td>
<html-el:text property="manufacturer" size="25"
maxlength="50" styleClass="textBox" tabindex="1" />
</td>
</tr>
<tr>
<td align="right">Model:</td>
<td>
<html-el:text property="model" size="25"
maxlength="50" styleClass="textBox" tabindex="1" />
</td>
</tr>
<tr>
<td align="right">Frame:</td>
<td>
<html-el:text property="frame" size="25"
maxlength="50" styleClass="textBox" tabindex="1" />
</td>
</tr>
<tr>
<td align="right">Serial Number:</td>
<td>
<html-el:text property="serialNo" size="25"
maxlength="50" styleClass="textBox" tabindex="1" />
</td>
</tr>
<tr>
<td align="right">Weight:</td>
<td>
<html-el:text property="weight" size="25"
maxlength="50" styleClass="textBox" tabindex="1" />
</td>
</tr>
<tr>
<td align="right">Status:</td>
<td>
<html-el:text property="status" size="25"
maxlength="50" styleClass="textBox" tabindex="1" />
</td>
</tr>
</table>
<html-el:submit styleClass="normal">
Submit Bike
</html-el:submit>
</form>
</body>
</html>
When trying to access this web site I got error:<br>
Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope
at org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:934)...
I found out that it may be connected with putting struts tags outside the html form tag. But for me it seems to be everything correct with it. Can anyone tell me what is wrong?
cheers,
Wojtek
My jsp file is: <br>
<%@ taglib prefix="fmt" uri=" %>
<%@ taglib prefix="spring" uri="/spring" %>
<%@ taglib uri="/WEB-INF/lib/struts-html-el.tld" prefix="html-el" %>
<html>
<head>
<title>
Edit Bike
</title>
</head>
<body>
<h1>Edit Bike</h1>
<form method="POST">
<table border="1" cellspacing="2" cellpadding="2">
<tr>
<td align="right">Manufacturer:</td>
<td>
<html-el:text property="manufacturer" size="25"
maxlength="50" styleClass="textBox" tabindex="1" />
</td>
</tr>
<tr>
<td align="right">Model:</td>
<td>
<html-el:text property="model" size="25"
maxlength="50" styleClass="textBox" tabindex="1" />
</td>
</tr>
<tr>
<td align="right">Frame:</td>
<td>
<html-el:text property="frame" size="25"
maxlength="50" styleClass="textBox" tabindex="1" />
</td>
</tr>
<tr>
<td align="right">Serial Number:</td>
<td>
<html-el:text property="serialNo" size="25"
maxlength="50" styleClass="textBox" tabindex="1" />
</td>
</tr>
<tr>
<td align="right">Weight:</td>
<td>
<html-el:text property="weight" size="25"
maxlength="50" styleClass="textBox" tabindex="1" />
</td>
</tr>
<tr>
<td align="right">Status:</td>
<td>
<html-el:text property="status" size="25"
maxlength="50" styleClass="textBox" tabindex="1" />
</td>
</tr>
</table>
<html-el:submit styleClass="normal">
Submit Bike
</html-el:submit>
</form>
</body>
</html>
When trying to access this web site I got error:<br>
Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope
at org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:934)...
I found out that it may be connected with putting struts tags outside the html form tag. But for me it seems to be everything correct with it. Can anyone tell me what is wrong?
cheers,
Wojtek