This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes How can I use form elements in a struts frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How can I use form elements in a struts frame" Watch "How can I use form elements in a struts frame" New topic
Author

How can I use form elements in a struts frame

Adekunle Gbadamosi
Greenhorn

Joined: Sep 30, 2004
Posts: 4
Hi folks,
I am trying to use an <html:select> tag in a frame with no success. I keep getting an error like:

javax.servlet.jsp.JspException: Cannot find bean under name org.apache.struts.taglib.html.BEAN

I guess the tag only works when it is embodied by a <html:form> tag. But when I add the <html:form> to the jsp page, I keep getting an error still. Any advice on how to go about this?

Thanks.
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

html:form is required if you want html:select.

What is the error you receive when you use html:form?


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I use form elements in a struts frame
 
Similar Threads
struts 1.3.5 tags-html attributes syntax error
Can't conditionally exclude parts of Struts page
Exception Report
Struts: Can we have a html:text tag without a html:form tag outside it.
MalformedURLException