dcsimg
"No name specified" error using html:options
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Neha_Kansal
Posted On:   Tuesday, January 25, 2005 11:58 AM

Hi, I am trying to populate a combo box using . I am storing a List Object in a reuqest scope inside my ActionServlet and then I use it in my .jsp page. But I get the following error: SEVERE: ServletException in '/pages/tiles/body/pricingBodyBasicSearch.jsp': No n ame specified org.apache.jasper.JasperException: No name specified My code in the jsp page is <%@ page import="java.util.Collection" %> <% Collection sportCategoryOptions = (Collection) request.getAttribute("sportCategoryOptions"); %> Am I missing something there, can someone help me with this, than   More>>

Hi,


I am trying to populate a combo box using . I am storing a List Object in a reuqest scope inside my ActionServlet and then I use it in my .jsp page. But I get the following error:

SEVERE: ServletException in '/pages/tiles/body/pricingBodyBasicSearch.jsp': No n
ame specified
org.apache.jasper.JasperException: No name specified



My code in the jsp page is


<%@ page import="java.util.Collection" %>
<% Collection sportCategoryOptions = (Collection) request.getAttribute("sportCategoryOptions"); %>







Am I missing something there, can someone help me with this, thanks a lot.


Regards,
Neha.

   <<Less

Re: "No name specified" error using html:options

Posted By:   Prem_Anand  
Posted On:   Thursday, January 27, 2005 02:55 AM

Hi


Try this





and then the html:select definitions


In the exception message 'No name specified', I guess the name refers
to the form bean.


Best regards

Prem

Re: "No name specified" error using html:options

Posted By:   Chris_Melville  
Posted On:   Wednesday, January 26, 2005 05:35 AM

Are you nesting your select tag inside an html:form tag? Not sure if the jsp code supplied was just a snippet or the complete code.

About | Sitemap | Contact