Hello everyone,
this is my first post and i pray i did not do anything wrong by write
it here.
I've been looking for the solution of my problem for days over the
web, but i did not find what i need so, i'm posting right here at
google groups hoping someone more skilled than me and very patient
co
Hello Isaac
thank you very much for your quick reply!
That wasn't for sure the "/" 'cause i tried with and without it but it
never changed.
What i was surely doing wrong was the fact that i did not compile the
servlet. I stupidly thought that gwt did it!
Now i'm downloading j2ee from sun.com (ye
Welcome!
I think your problem could be as simple as the "/" at the start of
your class name:
Try changing it to this:
Now, if that isn't the problem (maybe the "/" was a typo in your post,
but not in your gwt.xml), then I would ask you to make sure that you
are compiling your servlet (javac
Hello!
Now...i did the compilation with javac like:
javac -cp lib1.jar:lib2.jar:lib3.jar MyFormHandler.java and it went
well. Now in server folder i have the .class file. But...what now? If
i run in hosted mode it doesn't work either. The error is the same as
usualwhat do i do wrong?
I also
Hello everyone!
sorry for the multiple posting, but this morning i updated everything
to the 1.6, downloaded the eclipse plugin and so on.
Now i'm getting another error:
The code is the same as yesterday. What i get now is a message in the
window.alert like this: "HTTP ERROR: 404 NOT_FOUND Reques
If you're running in web mode or hosted mode with -noserver, you would
deploy class files to WEB-INF/classes. com.example.Foo would be
WEB-INF/classes/com/example/Foo.class, for example.
2009/4/8 Nickelnext :
>
> Hello everyone!
> sorry for the multiple posting, but this morning i updated everyt
Hello Isaac, hello everyone
First of all, I'd like to thank you for your help, i really appreciate
it.
So, if u let me, i'll resume a bit my situation so it will be more
clear for everyone.
I changed the web.xml pointing to the FormHandler which is in
the .server package. I also changed the modu
Thank you for your help Isaac, i really appreciate it.
So, if u let me, i'll resume a bit my situation so it will be more
clear for everyone.
I changed the web.xml pointing to the FormHandler which is in
the .server package. I also changed the module.gwt.xml to match the
servlet (i read it in the
Thank you Isaac, thank you everyone
First of all, i'd like to thank you for your help, i really appreciate
that.
So, if u let me, i'll resume a bit my situation so it will be more
clear for everyone.
I changed the web.xml pointing to the FormHandler which is in
the .server package. I also change
Hi Nickelnext,
> What i cannot do is to configure the setAction properly (i tried with
> "/MyFormHandler", with the whole path "WEB-INF/CLASSES/.../server/
> MyFormHandler", with and without using the GWT.getModuleBaseUrl() and
> the others two .get methods provided by GWT. But it's always the sa
First: sorry for the multiple posting: there were some problems on
this topic.
Second: i followed some of yours advices. I made these changes
-> in web.xml (war/subfolder) in the url pattern i put something like
this: /provaupload2/MyFormHandler
-> in module.gwt.xml (in src/ subfolder) i put this
Update: i did a jar -cvf lol.war * in the /war/ folder, i did deploy
it to the tomcat server but when i press the submit button -> "HTTP
Status 404 - /provaupload2/MyFormHandler"
- Nickelnext
--~--~-~--~~~---~--~~
You received this message because you are subscrib
Couple of questions:
1. What is the URL pattern of your servlet mapping?
2. What is your application context path?
On Thu, Apr 9, 2009 at 1:56 PM, Nickelnext wrote:
>
> Update: i did a jar -cvf lol.war * in the /war/ folder, i did deploy
> it to the tomcat server but when i press the submit b
Hello Isaac.
About my last update: I figured out what i was doing wrong with the
apache/tomcat server. Simply i gave the "lol.war" name instead of
"provaupload2.war". Now it works like the hosted/compiled mode. Now i
get the http 500 error but withouth the "RequestURI=/provaupload2/
MyFormHandler
Update: there was a big error in the HttpServlet code:
the main method was service instead of doPost. I fixed it and now the
hosted/compiled mode works fine! I can see the bytes uploaded through
the response.write.blablabla.
What is not working is the deployed file on my "native" apache/t
> Also, what i do not understand is that in the hosted/compiled mode i
> have a path (in the browser url bar) like this: "localhost:port/
> provaupload2.html", instead of "localhost:port/provaupload2/", which i
> have when i deploy the .war file in my apache/tomcat "native" server.
>
> How am i su
16 matches
Mail list logo