Hi,

On Friday 25 August 2006 23:49, Bull, John wrote:
> I'm getting closer.  I removed the multiple component roots, but am still
> getting the following error message 
> "The requested URL /ajax/ajax.comp/ajax/index.html:my_ajax_test was not
> found on this server." 

not sure how ajax comp works, but it looks like you are calling the ajax.comp 
from index.html. Now the method you want the browser to call for Ajax events 
is within the ajax.comp sub-component. Does the ajax component get the 
request component's URL ? It looks like so, as it 
requests /index.html:my_ajax_test, with some noise at the beginning. That 
noise may come from the fact that you use relative URL paths.
What if you put everything into the single .html file ? 

> The prototype library is calling back to this url which isn't valid.  What
> else am I doing wrong? 
> Thanks,
> John
>  
>
> From: John Williams [mailto:[EMAIL PROTECTED]
> Sent: Fri 8/25/2006 11:07 AM
> To: Bull, John
> Cc: mason-users@lists.sourceforge.net
> Subject: Re: [Mason] Problems using Component:Ajax
>
> On Fri, 25 Aug 2006, Bull, John wrote:
> > Here is my example:
>
> The example looks good.
>
> > When I post the page my webserver produces the following error.
> >
> > "The requested URL /ajax/ajax.comp [main]/ajax/index.html
> > [main]:my_ajax_test was not found on this server."
>
> I looks like you are using multiple component roots, is that right?
>
> I only use a single comp_root personally, so I didn't think about testing
> it that way.  I'll have to setup something to test it.
>
> Could you give me an idea how your component roots are set up?
>
> ~ John Williams

-- 
--paf

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to