You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by NGUYEN G InfoEdpMsiVdf <Gi...@socgen.com> on 2001/07/02 14:01:21 UTC

HELP!

Hi,

I'm new in Struts, I try to test the login application, but I get the
following error message:

Internal Servlet Error:

javax.servlet.ServletException: Cannot find ActionMappings or
ActionFormBeans collection
	at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:386)
	at
_0002flogon_0002ejsplogon_jsp_2._jspService(_0002flogon_0002ejsplogon_jsp_2.
java:246)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:174)
	at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
	at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
	at java.lang.Thread.run(Thread.java:484)
 
Can any one help me?

Thanks!

-----Message d'origine-----
De : Geddes, Mark (ANTS) [mailto:mark.geddes@ants.co.uk]
Envoyé : lundi 2 juillet 2001 10:07
À : 'struts-user@jakarta.apache.org'
Objet : RE: Set html:option value with bean:write


I meant <html:select property="currency.id">

-----Original Message-----
From: Geddes, Mark (ANTS) [mailto:mark.geddes@ants.co.uk]
Sent: 02 July 2001 09:05
To: 'struts-user@jakarta.apache.org'
Subject: RE: Set html:option value with bean:write



Assuming your form is already associated with 'merchantForm' FormBean, and
that 'currencyList' is a Collection, try:

<html:select property="currency">
	<html:options collection="currencyList" property="id"
labelProperty="id"/>
</html:select>

Mark

-----Original Message-----
From: Pham Thanh Quan [mailto:quanpt@sdcgrp.com]
Sent: 02 July 2001 09:04
To: struts-user@jakarta.apache.org
Subject: Set html:option value with bean:write


Hi all,

i want to set the value of html:option to the corresponding currency.id as
in the following (broken) jsp segment

<html:select size="1" property="currency" value="<bean:write
name='merchantForm' property='currency'/>">
    <logic:iterate id="currency" name="currencyList">
        <html:option value="<bean:write name='currency'
property='id'/>"><bean:write name='currency' property='id'/>
        </html:option>
   </logic:iterate>
</html:select>

Please help !

Quan



***************************************************************************
This email message contains confidential information for the above addressee
only.  If you are not the intended addressee you must not disclose or use
the information in any manner whatsoever.

Any opinion or views contained in this email message are those of the
sender, do not represent those of the Company in any way and reliance should
not be placed upon its contents.

Unless otherwise stated this email message is not intended to be
contractually binding.  Where an Agreement exists between our respective
companies and there is conflict between the contents of this email message
and the Agreement then the terms of that Agreement shall prevail.

Abbey National Treasury Services plc. Registered in England. Registered
Office:  Abbey House, Baker Street, London NW1 6XL.  Company Registration
No: 2338548.  Regulated by the SFA
***************************************************************************



***************************************************************************
This email message contains confidential information for the above addressee
only.  If you are not the intended addressee you must not disclose or use
the information in any manner whatsoever.

Any opinion or views contained in this email message are those of the
sender, do not represent those of the Company in any way and reliance should
not be placed upon its contents.

Unless otherwise stated this email message is not intended to be
contractually binding.  Where an Agreement exists between our respective
companies and there is conflict between the contents of this email message
and the Agreement then the terms of that Agreement shall prevail.

Abbey National Treasury Services plc. Registered in England. Registered
Office:  Abbey House, Baker Street, London NW1 6XL.  Company Registration
No: 2338548.  Regulated by the SFA
***************************************************************************
*************************************************************************

Ce message et toutes les pièces jointes (ci-après le "message") sont
confidentiels et établis à l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisée est interdite. 
Tout message électronique est susceptible d'altération. 
La SOCIETE GENERALE et ses filiales déclinent toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié.

				********

This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited. 
E-mails are susceptible to alteration.   
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. 

*************************************************************************