struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry Glasco" <bgla...@silverhosting.com>
Subject RE: Two questions concerning html:options
Date Tue, 25 Sep 2001 13:58:23 GMT
Collection

-----Original Message-----
From: Christoph Conrad [mailto:cc@cli.de]
Sent: Tuesday, September 25, 2001 8:04 AM
To: struts-user@jakarta.apache.org
Subject: Two questions concerning html:options


Hello,

i am new in this group, hello all! I am also a beginner in JSPs, Java,
HTML and nearly all techniques used around struts, so forgive me, when
the following question is too stupid. I tried to resolve it via
reading the docs and studying the examples, but didn't found the
solution.

I have a JSP which tries to access a String[] in the Formbean in
html:options, but it doesn't work at all.

I get the following exception:

,----
| javax.servlet.ServletException: Cannot create iterator for
| ext.stub.samples.Form@1bd427
|
| at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:459)
| at
WEB_0002dINF.pages.stub._0002fWEB_0002dINF_0002fpages_0002fstub_0002fForm_00
02ejspForm_jsp_58._jspService(_0002fWEB_0002dINF_0002fpages_0002fstub_0002fF
orm_0002ejspForm_jsp_58.java:427)
| at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
| at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130)
`----

with

,----
|       <html:select property="multipleSelect" size="10" multiple="true">
|           <html:options labelName="multipleValues"/>
|       </html:select>
`----

It's the options statement failing.

Could you give me a hint what's going wrong? Thank you!

Best regards,
Christoph Conrad
--
TTi Entwicklungszentrum GmbH,  Elisabethstr. 16, D-52062 Aachen
Fon: +49 241 47051-0  Fax: +49 241 47051-89 Web: http://www.ttisystems.com
Look Ma, this man can twist his fingers as if they were made of rubber,
isn't that amazing? -- Not really, he's been using emacs for years...!



Mime
View raw message