Hi Jeff,
I'm no guru - what i do with a problem like this is start removing
bits till the problem goes away. As it's in the form tag processing
take out bits within the form (like the <html:select).
Sorry, this is the best help I can give. It's hard isn't it!
Good luck,
Keith.
--- Jeff Canna <[EMAIL PROTECTED]> wrote:
>
> I'm hoping that someone can help me out, I'm running out of
> theories...I've
> included the stack trace and, what I think is relevant snippets
> from the
> files involved. If someone could even suggest a way to debug this
> I'd
> appreciate it....
>
> Below is part of the exceptions stack trace:
> javax.servlet.jsp.JspException
> java.lang.Throwable(java.lang.String)
> java.lang.Exception(java.lang.String)
> javax.servlet.jsp.JspException(java.lang.String)
> void org.apache.struts.taglib.html.FormTag.lookup()
> int org.apache.struts.taglib.html.FormTag.doStartTag()
> void
>
_0002fassayType_0002ejspassayType_jsp_1._jspService(HttpServletRequest,
> HttpServletResponse)
> .
> .
> .
> .
>
> I have a struts-config.xml that looks like this:
> <struts-config>
> <!-- ========== Form Bean Definitions ======= -->
> <form-beans>
> <form-bean name="AssayType"
> type="gsk.prototrack.protocoleditor.AssayTypeActionForm"/>
> </form-beans>
> <!-- ========== Action Mapping Definitions ======= -->
> <action-mappings>
> <action path="/SelectAssayTypeAction.do"
> type="gsk.prototrack.protocoleditor.SelectAssayTypeAction"
> name="AssayType"
> scope="request"
> input="/prototrack/assayType.jsp"
> validate="false">
> </action>
> </action-mappings>
> </struts-config>
>
> The AssayTypeActionForm has the following signature:
>
> public class AssayTypeActionForm extends ActionForm {
> public Collection getAssayTypes();
> public String getSelectedAssayType();
> public void setAssayTypes(Collection newTypes);
> public void setSelectedAssayType(String newSelectedAssayType);
> }
>
> The jsp looks like this:
> <%@ page language="java" %>
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
>
> <html:html locale="false">
> <head>
> <title>Assay Type Action Form</title>
> <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1">
> </head>
>
> <body bgcolor="#FFFFFF">
>
> <p align="center"><b><font size="+3">Assay Type</font></b></p>
> <html:form action="/SelectAssayTypeAction.do">
> <html:select property="selectedAssayType">
> <html:options property="assayTypes" />
> </html:select>
> <html:submit />
> </html:form>
>
> </body>
> </html:html>
>
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> + +
> + Jeff Canna [EMAIL PROTECTED] +
> + RoleModel Software www.rolemodelsoft.com +
> + Holly Springs, NC v:(919)557-6352 f:(919)552-8166 +
> + +
> + Your life may be measured by what you reap, +
> + but it is determined by what you sow. +
> + +
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>
__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1