• Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I use form elements in a struts frame

 
Adekunle Gbadamosi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
html:form is required if you want html:select.

What is the error you receive when you use html:form?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!