Struts error of Default value from the server.....

2006-05-11 Thread rajan pahuja
I am getting this error: javax.servlet.ServletException: General error message from server: "Field 'firstname' doesn't have a default value" org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523) org.apache.struts.action.RequestProcessor.processActionPerform(Re

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
> Change the DTD declaration at the top of your > struts-config.xml to the 1.2 version. Sorry got to run. Argghh!! I didn't see the parsing error message that landed on the app log, not the server console. I had put in: Putting an underscore between "message" and "resources" instead of a hyphe

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
> Change the DTD declaration at the top of your > struts-config.xml to the 1.2 version. Sorry got to run. Did that. Got the same error message. Nothing makes the slightest difference. -- Tim Slattery [EMAIL PROTECTED] - To uns

Re: Struts error handling

2006-03-17 Thread Niall Pemberton
mberton [mailto:[EMAIL PROTECTED] > Sent: Friday, March 17, 2006 11:34 AM > To: Struts Users Mailing List > Subject: Re: Struts error handling > > > On 3/17/06, Slattery, Tim - BLS <[EMAIL PROTECTED]> wrote: > > > Do you have message resources configured in your > s

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
> -Original Message- > From: Niall Pemberton [mailto:[EMAIL PROTECTED] > Sent: Friday, March 17, 2006 11:34 AM > To: Struts Users Mailing List > Subject: Re: Struts error handling > > > On 3/17/06, Slattery, Tim - BLS <[EMAIL PROTECTED]> wrote: >

Re: Struts error handling

2006-03-17 Thread Niall Pemberton
On 3/17/06, Slattery, Tim - BLS <[EMAIL PROTECTED]> wrote: > > Do you have message resources configured in your struts-config.xml? > > > > > > Never used that tag before. I put it in, no difference. Well you need to use it - looks like thats where your problem is - can't find the message resource

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
> Do you have message resources configured in your struts-config.xml? > > Never used that tag before. I put it in, no difference. -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: Struts error handling

2006-03-17 Thread Niall Pemberton
On 3/17/06, Slattery, Tim - BLS <[EMAIL PROTECTED]> wrote: > > > The "errors" tag doesn't have a "message" attribute. I tried this: > > > > Sorry yes, getting mixed up with . > > > > So are you using name="org.apache.struts.action.MESSAGE" on > > your tag then? That would cause the same. > > No "n

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
> So are you using name="org.apache.struts.action.MESSAGE" on > your tag then? That would cause the same. Just tried it with the "messages" loop using name="org.apache.struts.action.ERROR" SAME MESSAGE -- Tim Slattery [EMAIL PROTECTED] --

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
> > The "errors" tag doesn't have a "message" attribute. I tried this: > > Sorry yes, getting mixed up with . > > So are you using name="org.apache.struts.action.MESSAGE" on > your tag then? That would cause the same. No "name" attribute on the "errors" tag or the "messages" tag. > Otherwise

Re: Struts error handling

2006-03-17 Thread Niall Pemberton
On 3/17/06, Slattery, Tim - BLS <[EMAIL PROTECTED]> wrote: > > Thats very strange because the error your getting is when it > > looks for errors under the "message" key - which happens when > > message="true" is set - otherwise it should look under the > > "error" key. What happens if you set > me

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
> Thats very strange because the error your getting is when it > looks for errors under the "message" key - which happens when > message="true" is set - otherwise it should look under the > "error" key. What happens if you set message="false"/>? > > Also are you sure there are no other or >

Re: Struts error handling

2006-03-17 Thread Niall Pemberton
Thats very strange because the error your getting is when it looks for errors under the "message" key - which happens when message="true" is set - otherwise it should look under the "error" key. What happens if you set ? Also are you sure there are no other or tags on yor page that could be caus

RE: Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
> Do you have on your jsp? If > so remove the message="true" and it should work. Nope, just "". -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts error handling

2006-03-17 Thread Niall Pemberton
Do you have on your jsp? If so remove the message="true" and it should work. Niall On 3/17/06, Slattery, Tim - BLS <[EMAIL PROTECTED]> wrote: > I'm trying to convert a Struts app from version 1.1 to the latest > production version, 1.2.8. The sticking point is reporting errors. > > ActionErrors

Struts error handling

2006-03-17 Thread Slattery, Tim - BLS
I'm trying to convert a Struts app from version 1.1 to the latest production version, 1.2.8. The sticking point is reporting errors. ActionErrors is now deprecated, soon to disappear, so I've converted instances of ActionErrors to ActionMessages. The exception handling code looks like this (ex is

Re: Struts Error

2005-11-25 Thread Asad Habib
Hello. I just wanted to let all of you that I figured this out. I had to flush the compiled files in the Eclipse work directory and then everything worked. Thanks. - Asad On Fri, 25 Nov 2005, Asad Habib wrote: Hello. I have a web application in which I am only using the Tiles component of S

Struts Error

2005-11-25 Thread Asad Habib
Hello. I have a web application in which I am only using the Tiles component of Struts. Up until recently this application was running without any errors. However, after incorporation of JNDI into this project I get the following error: org.apache.jasper.JasperException: Unresolved compilation

RE: How to configure Tomcat/Struts ... error messages are sent to a file, not the console?

2004-10-06 Thread O. Oke
> > -Original Message- > > From: O. Oke [mailto:[EMAIL PROTECTED] > > Sent: Mittwoch, 6. Oktober 2004 14:09 > > To: Struts Users Mailing List > > Subject: RE: How to configure Tomcat/Struts ... > error > > messages are sent to a file, not the console? >

RE: How to configure Tomcat/Struts ... error messages are sent to a file, not the console?

2004-10-06 Thread Hiran.Chaudhuri
+49-89-54 74 21 34 Fax +49-89-54 74 21 99 > -Original Message- > From: O. Oke [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 6. Oktober 2004 14:09 > To: Struts Users Mailing List > Subject: RE: How to configure Tomcat/Struts ... error > messages are sent to a fil

RE: How to configure Tomcat/Struts ... error messages are sent to a file, not the console?

2004-10-06 Thread O. Oke
IL PROTECTED] > > Sent: Mittwoch, 6. Oktober 2004 13:11 > > To: Struts Users Mailing List > > Subject: How to configure Tomcat/Struts ... error > messages > > are sent to a file, not the console? > > > > Please tell me how to configure Tomcat/S

[OT] Re: How to configure Tomcat/Struts ... error messages are sent to a file, not the console?

2004-10-06 Thread DGraham
PROTECTED]> cc Subject How to configure Tomcat/Struts ... error messages are sent to a file, not the console? Please tell me how to configure Tomcat/Struts so that error messages are sent to a file, not the console? SERVER == I am using tomcat-5.0.27 BACKGROUND == I am usi

RE: How to configure Tomcat/Struts ... error messages are sent to a file, not the console?

2004-10-06 Thread Hiran.Chaudhuri
> -Original Message- > From: O. Oke [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 6. Oktober 2004 13:11 > To: Struts Users Mailing List > Subject: How to configure Tomcat/Struts ... error messages > are sent to a file, not the console? > > Please tell me how to configure Tom

How to configure Tomcat/Struts ... error messages are sent to a file, not the console?

2004-10-06 Thread O. Oke
Please tell me how to configure Tomcat/Struts so that error messages are sent to a file, not the console? SERVER == I am using tomcat-5.0.27 BACKGROUND == I am using for logging error messages. The output of the code below goes to Eclipse console. What I want is for the output t

Invalid path STRUTS error

2004-05-25 Thread Hammer
Hi All, I am getting this error still. Error Code :400 Error occured while processing request : http://xyx.com/TerrorismApp/error.jsp Exception Type : com.ibm.servlet.engine.webapp.WebAppErrorReport Message : Invalid path /countryWiseDetailsInput was requested Stack T

RE: struts error message

2004-05-25 Thread Slattery, Tim - BLS
> Struts has an internal tag to show the action > errors on the current jsp page, which is OK. However, our > business requirement is that in case there is an error, we > display the error on an error jsp, then it is not advisable > or easily to use since this tag is normally > placed on the

struts error message

2004-05-25 Thread Zhang, Larry \(L.\)
Struts has an internal tag to show the action errors on the current jsp page, which is OK. However, our business requirement is that in case there is an error, we display the error on an error jsp, then it is not advisable or easily to use since this tag is normally placed on the current jsp