Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here





My jsp file is: <br>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%@ taglib prefix="spring" uri="/spring" %>
<%@ taglib uri="/WEB-INF/lib/struts-html-el.tld" prefix="html-el" %>

            Edit Bike
        <h1>Edit Bike</h1>
        <form method="POST">
            <table border="1" cellspacing="2" cellpadding="2">
                    <td align="right">Manufacturer:</td>
                        <html-el:text property="manufacturer" size="25"
                        maxlength="50" styleClass="textBox" tabindex="1" />
                    <td align="right">Model:</td>
                        <html-el:text property="model" size="25"
                        maxlength="50" styleClass="textBox" tabindex="1" />
                    <td align="right">Frame:</td>
                        <html-el:text property="frame" size="25"
                        maxlength="50" styleClass="textBox" tabindex="1" />
                    <td align="right">Serial Number:</td>
                        <html-el:text property="serialNo" size="25"
                        maxlength="50" styleClass="textBox" tabindex="1" />
                    <td align="right">Weight:</td>
                        <html-el:text property="weight" size="25"
                        maxlength="50" styleClass="textBox" tabindex="1" />
                    <td align="right">Status:</td>
                        <html-el:text property="status" size="25"
                        maxlength="50" styleClass="textBox" tabindex="1" />
            <html-el:submit styleClass="normal">
                Submit Bike

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?


RE: org.apache.struts.taglib.html.BEAN

It's possible that you need to use an <html-el:form... tag instead of <form.

I think the html-el tags only work if they're nested inside of an <html-el:form...> </html-el:form>  tag set


RE: org.apache.struts.taglib.html.BEAN

i think you need put in <html-el:form>  where server binds
  a action class and action form to this page which you mention an action mapping struts-config file...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close