Re: DWR throws errors

2006-04-17 Thread Lixin Chu
thanks.
but according to the doc, I can use the form bean for Struts creator. I
tried Spring creator, it works if I only use the bean name not fully
qualified class name though.


On 4/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> -- Original Message ---
> From: "Lixin Chu" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" 
> Sent: Mon, 17 Apr 2006 07:56:46 +0800
> Subject: DWR throws errors
>
> > Hi,
> > I am trying my luck to see if someone in this forum has any idea of why
> - i
> > have not got response from DWR forum so far.
> >
> > I am using DWR 1.1.1 (also tried 2.0M1) with Struts 1.2.8. My DWR
> > configuration is like this:
> >
> >
> >   
> >
> Here is the example from there docs
> http://getahead.ltd.uk/dwr/getstarted
>
> 
> 
>
>  
>  
>
>
>  
>
> 
> 
> >
> > Here is the error message:
> > --
> > WARN org.directwebremoting.struts.StrutsCreator - Using a
> > FakeHttpServletRequedt as part of setup
> > ERROR org.directwebremoting.impl.DefaultCreatorManager
> > - Error loading class for creator
> > 'StrutsCreator[GetMultipleUsers]'.
> > java.lang.NullPointerException
> >   at
> > org.directwebremoting.struts.StrutsCreator.getType(StrutsCreator.java
> :120)
> > .
> >
> > Looking at DWR StrutsCreator source, it seems that it can not find the
> > formBean configuration. Anything else I need to config ?
> >
> > I tried Spring bean, it works though.
> >
> > thanks in advance,
> > lixin
> --- End of Original Message ---
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: DWR throws errors

2006-04-17 Thread [EMAIL PROTECTED]

-- Original Message ---
From: "Lixin Chu" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: Mon, 17 Apr 2006 07:56:46 +0800
Subject: DWR throws errors

> Hi,
> I am trying my luck to see if someone in this forum has any idea of why - i
> have not got response from DWR forum so far.
> 
> I am using DWR 1.1.1 (also tried 2.0M1) with Struts 1.2.8. My DWR
> configuration is like this:
> 
>
>   
>
Here is the example from there docs
http://getahead.ltd.uk/dwr/getstarted


  

  
  


  

  

> 
> Here is the error message:
> --
> WARN org.directwebremoting.struts.StrutsCreator - Using a
> FakeHttpServletRequedt as part of setup
> ERROR org.directwebremoting.impl.DefaultCreatorManager
> - Error loading class for creator
> 'StrutsCreator[GetMultipleUsers]'.
> java.lang.NullPointerException
>   at
> org.directwebremoting.struts.StrutsCreator.getType(StrutsCreator.java:120)
> .
> 
> Looking at DWR StrutsCreator source, it seems that it can not find the
> formBean configuration. Anything else I need to config ?
> 
> I tried Spring bean, it works though.
> 
> thanks in advance,
> lixin
--- End of Original Message ---


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



DWR throws errors

2006-04-16 Thread Lixin Chu
Hi,
I am trying my luck to see if someone in this forum has any idea of why - i
have not got response from DWR forum so far.

I am using DWR 1.1.1 (also tried 2.0M1) with Struts 1.2.8. My DWR
configuration is like this:

   
  
   

Here is the error message:
--
WARN org.directwebremoting.struts.StrutsCreator - Using a
FakeHttpServletRequedt as part of setup
ERROR org.directwebremoting.impl.DefaultCreatorManager
- Error loading class for creator
'StrutsCreator[GetMultipleUsers]'.
java.lang.NullPointerException
at
org.directwebremoting.struts.StrutsCreator.getType(StrutsCreator.java:120)


Looking at DWR StrutsCreator source, it seems that it can not find the
formBean configuration. Anything else I need to config ?

I tried Spring bean, it works though.

thanks in advance,
lixin