Hi Lothar,

    Now my problem has moved forward with some good-work.
    As you know, My system has set-up Apache server & as well as
Apache tomcat server to deploy the applications in my machine, so that
it can be treated as server machine & all the other systems connected
in LAN are treated as client systems.
Now, the problem/issue i am being facing is:

Case-1:
When I mention the URLRequest() parameter in my flash code as:
[B] var request:URLRequest= new URLRequest("http://localhost:8080/
servlet/getViews");[/B]
Then it works only in my system[server] and not works in any other
systems when they run my application using the url: [B]http://
localhost/Application.html[/B].
[B][I] Here, <Server-IP-Address> means IP-Address of my system which
is treated as server now.[/B][/I]

Case-2:
When I mention the URLRequest() parameter in my flash code as:
[B] var request:URLRequest= new URLRequest("http://<Server-IP-Address>:
8080/servlet/getViews");[/B]
[B][I] Here, <Server-IP-Address> means IP-Address of my system which
is treated as server now.[/B][/I]
 Then, it works in other client systems.
In case of server system,  If I run the application as [B]http://
<Server-IP-Address>/Application.html[/B], then it works fine.
else if I run the application as [B]http://localhost/Application.html[/
B], it is again unable to catch the servlet

But, my requirement is, Whatever the url we pass in my flash code:
(i.e., URLRequest() parameter), the servlets must call successfully
when we use either of the both url's :
[B]http://localhost/Application.html[/B].
[B]http://<Server-IP-Address>/Application.html[/B].


Please, help me by providing a solution.
It is urgent....
Thanks in advance..

Srihari.Ch


On Aug 18, 2:11 pm, "Srihari.Ch" <[email protected]> wrote:
> Thanks Lothar.
>
> On Aug 18, 1:45 pm, Lothar Kimmeringer <[email protected]> wrote:
>
>
>
> > Srihari.Ch schrieb:
>
> > >> After checking Google, the error-code is returned e.g. if the
> > >> URL being specified can't be "found". Check out your request-
> > >> log and see if the request the flash is performing lead to a
> > >> 404-response (or something else than a 200). Personally I
> > >> think it will be a 404 because your URL above does not
> > >> fit the mapping you've defined.
>
> > >       Can you please tell me how to check the error-code which you
> > > mentioned above.
>
> > Open the request log of your web server with the text-editor of
> > your choice and read the content.
>
> > > Or else, Can you tell me what to do in order to move
> > > near to the solution?
>
> > Fix the URL. I don't think that "/webapps/ROOT/" should be
> > really a part of it. The correct URL I can't tell, because
> > I don't know your server-configuration.
>
> > Regards, Lothar
>
> This is the error I found in "Apache2.2/conf/error.log" file:
> [Tue Aug 18 10:41:57 2009] [error] [client 127.0.0.1] File does not
> exist: D:/websites/mymdworld/webapps/ROOT/servlet, referer:
> file:///C|/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/ROOT/DynaAccess.swf
> [Tue Aug 18 10:42:05 2009] [error] [client 127.0.0.1] File does not
> exist: D:/websites/mymdworld/webapps/ROOT/servlet, referer:
> file:///C|/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/ROOT/DynaAccess.swf
>
> Please, Can you explain me with an example on your own?
>
> In my system:
> Tomcat6.0 is present in /Tomcat6.0/
>                      &&
> Apache2.2 is present in /Apache2.2/ folders respectively.
>
> Thanks in advance...
> Srihari.Ch
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to