Dear all

There is a problem with my application and I describe it as below,
please help to give me a comment.

Problem Description:

   I use GWT 1.6 plug with Eclipse to create a new application in my
localhost directory (path/www/myAppcliation). This application needs
to request server.php to get response data from local server. The
server.php is located at path/www/serverscript directory and the
request is implemented by "RequestBuilder builder = new RequestBuilder
(RequestBuilder.GET, url)", where url = 
http://localhost:8080/serverscript/server.php.

After sending a request to server.php, I got a error message:

                                             2009/5/16 11:08:23
com.google.appengine.tools.development.LocalResourceFileServlet doGet
                                             WARNING: No file found
for: /serverscript/server.php

I have two solutions to this problem, not make sense.
Solution A:
    I put the server.php into path/www/myApplication/war/myApplication
directory and modify url to GWT.getModuleBaseURL()+"server.php", it
could get right response. But this results in that I need to put
each .php files into my each application, which does not make sense
and is inconvenient to me. I think the best way is to collect all .php
files in one directory which is outside the directory of applications
and every application could request this directory, but it does not
work.

Solution B:
    I created a directory in the path/www/myApplication/war and named
as serverscript. Then to put server.php into this directory. It
benefits to not need modify url (http://localhost:8080/serverscript/
server.php) but still needs to put the .php files into my application
first.


Summary:
  Above two solutions which do not allow me to create a directory
under the path/www, and put all my .php files into it.
  Does anyone could solve this issue?


Thanks and BR,
bencoder


--~--~---------~--~----~------------~-------~--~----~
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