• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown


Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am facing some problem in using html ptions .Below are the relevant snippets/


<html:select name ="priceForm" property = "pricePurpose">
<html ptions collection = "pricePurposeList" property = "pricePurpose"/>


while (rs.next()) {
pricePurposeList.add(new PriceForm(rs.getString(1)));
request.setAttribute("pricePurposeList", pricePurposeList);

PriceForm is one bean


<form-bean name="priceForm" type="net.ubssngpb.starr.forms.PriceForm">
<action path="/getPricePurpose" type="com.ubs.starr.GetPricePurposeAction" name="priceForm" scope="request">
<forward name="home" path="Home.jsp">

SRVE0026E: [Servlet Error]-
[Cannot find bean under name priceForm]:
javax.servlet.jsp.JspException: Cannot find bean under name priceForm

Can anybody point out where am I going wrong?

pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you surrounding it with an html:form with an action of getPricePurpose?
You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic