Hi,
So what is the value for GWT.getHostPageBaseURL()?
What is your app called? By that I mean under Jetty_home/webapps/, in
what dir is your app.
Probably it's not com.tergwt.Main, but that is what you were asking in
http://localhost:8080/com.tergwt.Main/FileServlet
http://localhost:8080/dir
Wow i don't know what happened but i put
form.setAction(GWT.getHostPageBaseURL() + "FileServlet");
using this web.xml and all finally works fine...
Thanks you very much for the help, i can now go forward !
Thanks again !
Best regards,
Jonathan
On 7 fév, 15:48, Jonathan wrote:
> Pointing tohttp
Pointing to http://localhost:8080/com.tergwt.Main/FileServlet shows me
HTTP 405 (HTTP method GET is not supported by this URL).
http://localhost:8080/FileServlet shows 404 (normal it's not in my
webapp folder).
So, the FileServlet is here, but it stills can't be found by the form
action ?
I'm no
Why don't you try opening a separated browser window and point to
http://localhost:/FileServlet
It should give you a HTTP Status 500 error meaning it is listening
there in hosted mode
On Feb 7, 8:05 am, Jonathan wrote:
> Hi,
> Thanks again for the help.
>
> GWT.getModuleBaseURL() returnshtt
Hi,
Thanks again for the help.
GWT.getModuleBaseURL() returns http://localhost:8080/com.tergwt.Main/
so i guess the path is correct...
I tried to put the hardcoded path to my app folder (/home/jon/
GWTDeploy/webapps/com.tergwt.Main + /FileServlet) and i still get this
404.
I even tried to point i
What about playing with:
form.setAction(GWT.getModuleBaseURL() + "/FileServlet");
and trying form.setAction("hard_coded_path_to_your_app_dir" + "/FileServlet");
I think GWT.getModuleBaseURL() isn't returning a valid path and
neither is form.setAction("/FileServlet")
Best,
Shawn
On Sat, Feb
With form.setAction("/FileServlet"); i get HTTP ERROR: 404NOT_FOUND
RequestURI=/FileServlet
That's strange.
Thanks for the help.
Cheers
On 7 fév, 01:59, Jonathan wrote:
> Hey i just saw this before your message.
> But even with that, it stills not working.
> I still get this message 404RequestU
Hey i just saw this before your message.
But even with that, it stills not working.
I still get this message 404RequestURI=/com.tergwt.Main//
FileServlet...
And i changed my formAction to form.setAction("/FileServlet"); instead
of form.setAction(GWT.getModuleBaseURL() + "/FileServlet");
So now, n
Well you have to specify a valid url.
You are configuring /fileServlet to go to your servlet and then asking
requesting a url of /FileServlet.
Aren't you? I am not sure but think capitalization is significant.
Best,
Shawn
On Sat, Feb 7, 2009 at 9:42 AM, Jonathan wrote:
>
> Wow, i'm almost
Wow, i'm almost happy !
I finally managed to get rid of the HTTP ERROR 503.
I misplaced the bin files (.classes), they need to be under yourapp/
web-inf/classes/...
So i took the time to copy libs here too (in lib folder).
OK this done, i don't success to upload my file.
I browse it correctly, bu
Hi to all,
I'm under linux and I follow this tutorial
http://jeff.ourexchange.net/2008/03/01/deploying-gwt-applications-with-jetty/.
I have a simple gwt application that browses for a file and upload it
using a servlet (class FileServlet extends HttpServlet).
In hosted mode (with tomcat) with the
11 matches
Mail list logo