RE: JspException: null in doStartTag() of form tag

2006-10-02 Thread David Pinho (Hexadecimal)
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]



RE: JspException: null in doStartTag() of form tag

2006-10-02 Thread Samere, Adam J
Can you post the stack trace from your application log along with the
version of struts you are using and the class ContactUsTestForm inherits
from?

Adam 

-Original Message-
From: Jennifer Jacobs [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 02, 2006 1:44 PM
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]


-
The information contained in this message may be privileged,
confidential, and protected from disclosure. If the reader of this
message is not the intended recipient, or any employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution, or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.

Thank you. Paychex, Inc.


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



RE: JspException: null in doStartTag() of form tag

2006-10-02 Thread Jennifer Jacobs

David,

Thanks so much!  You wouldn't believe it, but I already HAD log4j in there
and totally missed the error message that was causing me problems.  Your
response made me recheck it, though, and I caught it - my local engine
couldn't connect to the location I had for my dtd file in my web.xml.  Of
all things!

Thanks,
Jennifer


David Pinho (Hexadecimal) wrote:
 
 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]
 
 
 

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


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