Hi Jennifer,

You can try to put a log4j.properties with something like:
log4j.rootCategory=DEBUG, console

log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d - %5p [%t] (%l) -
%m%n

in WEB-INF/classes to catch all the detailed debug messages from server
and struts, to see "under the hood".

Maybe it can shed some light.

Tks,

David 

-----Original Message-----
From: Jennifer Jacobs [mailto:[EMAIL PROTECTED] 
Sent: segunda-feira, 2 de Outubro de 2006 18:44
To: user@struts.apache.org
Subject: JspException: null in doStartTag() of form tag


Hello,

I've created struts forms before with no problems, and have been working
with them for over a year, and I'm suddenly having a horrible time
creating
a small test form, and I have no idea what I'm missing.  The error that
I'm
getting is completely unhelpful:

javax.servlet.jsp.JspException: null

I've been able to debug and know that the error is occuring when doing
the
lookup() method in the doStartTag() method of the form tag.  It's like
it's
not able to bring in the struts-config?

I feel like I've done everything possible to strip this down to the most
basic form possible, and I'm ripping my hair out trying to figure out
what's
happening.

Here's my struts-config:

        <form-beans>
                <form-bean name="MyForm"
type="com.jaj.test.ContactUsTestForm"/>
        </form-beans>
        <action-mappings>
                <action path="/test"
type="com.jaj.test.ContactUsTestAction" 
                name="MyForm" scope="session" input="/contactTest.jsp">
                        <forward name="success" path="/contactTest.jsp"
redirect="true"/>
                </action>
        </action-mappings>

Here's my jsp:

                <html:form action="/test" >
                <html:submit>
                        Submit
                </html:submit>
                </html:form>

I can't make it any easier!  Anyone have any suggestions?

Thanks,
Jennifer

-- 
View this message in context:
http://www.nabble.com/JspException%3A-null-in-doStartTag%28%29-of-form-t
ag-tf2371322.html#a6606195
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AVISO

Esta mensagem e quaisquer anexos seus podem conter informacao confidencial para 
uso exclusivo do destinatario. Cabe ao destinatario assegurar a verificacao de 
virus e outras medidas que assegurem que esta mensagem nao afecta os seus 
sistemas. Se nao for o destinatario, nao devera usar, distribuir ou copiar este 
e-mail, devendo proceder a sua eliminacao e informar o emissor. E estritamente 
proibido o uso, a distribuicao, a copia ou qualquer forma de disseminacao nao 
autorizada deste e-mail e seus anexos. Obrigado.

DISCLAIMER
This e-mail and its attachments may contain confidential information for 
exclusive use of its recipient. It is your responsibility to carry out 
appropriate virus and other checks to ensure that this message and any 
attachments do not affect your systems / data. If you are not the intended 
recipient you must not use, distribute or reproduce this e-mail and you must 
notify the sender and delete the entire email. Any unauthorized use, 
dissemination, distribution or copying of this message and its attachments is 
strictly prohibited. Thank You.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to