Java Servlet problem

2011-08-01 Thread isdc_dev
Hi, I made an app. for Android which uses the C2DM service from Google. I made a server simulator from some tutorials and it works fine. My problem is, I tried to build a Java Servlet. From the Android device it receives fine the message and saves the Registration ID, but when I try to send a http

Re: fileUpload and servlet : problem

2010-04-29 Thread Manuel Carrasco Moñino
You can not use DiskFileItemFactory in GAE. Gwtupload resolves it using a FileItemFactory which saves the stuff in memcache. Nevertheless GAE has a buch of constrains in uploading, disk write access, request time, request size, memcache object size, etc which you have to consider. -Manolo On Tu

fileUpload and servlet : problem

2010-04-27 Thread laurent
hello , When i choice a file to upload, and i go to the log of gae to watch the number of uploaded files , it write "taille : 0" and not "taille : 1" , "taille : 2" ,or ... . TopPanel.ui.xml :

servlet problem for fileUpload widget

2010-04-27 Thread laurent
hello , When i choice a file to upload, and i go to the log of gae to watch the number of uploaded files , it write "taille : 0" and not "taille : 1" , "taille : 2" ,or ... . TopPanel.ui.xml :

Re: fileUpload servlet : problem

2010-04-26 Thread laurent
I've modified the url-pattern by : SampleUploadServlet /SampleUploadServlet But it don't never go in the servlet On 26 avr, 15:31, Thomas Broyer wrote: > On Apr 26, 12:32 pm, laurent wrote: > > > Hello , > > > i'm using a fileUpload Widget in a

Re: fileUpload servlet : problem

2010-04-26 Thread Thomas Broyer
On Apr 26, 12:32 pm, laurent wrote: > Hello , > > i'm using a fileUpload Widget in a FormPanel.But when i click on my > button and 'form.submit' , it don't go in my servlet. [...] > formPanel.setAction(GWT.getModuleBaseURL() + "SampleUploadServlet"); [...] > >         SampleUploadServlet >    

Re: fileUpload servlet : problem

2010-04-26 Thread ponthiaux eric
check your web.xml *.gupld and take a look at formPanel.setAction(GWT.getModuleBaseURL() + "SampleUploadServlet"); for my part , i think something look strange . but maybe i'm wrong . Regargds . 2010/4/26 laurent > Hello , > > i'm using a fileUpload Widget in a FormPanel.But when i click on m

fileUpload servlet : problem

2010-04-26 Thread laurent
Hello , i'm using a fileUpload Widget in a FormPanel.But when i click on my button and 'form.submit' , it don't go in my servlet. TopPanel.ui.xml: [...] TopPanel.java : [...] formPanel.setAction(GWT.getModuleBaseURL() + "SampleUploadServlet"); formPanel.setEncoding(FormPanel.ENCODING_MU

Re: servlet : problem

2010-04-21 Thread Manuel Carrasco Moñino
This timeout normally happens when there is not communication with the server, normally because the servlet is incorrectly configured in the web.xml or because the doGet() doesnt answers with a correct xml ajax response. On Wed, Apr 21, 2010 at 10:48 AM, laurent wrote: > My applications come i

Re: servlet : problem

2010-04-21 Thread laurent
My applications come in the executeAction method but when i click on send button for a file with 15kb size , i've a error. I've not an idea where are the problem from. In the servlet , i provoke an IllegalArgumentException but when i go to the log , i see nothing. On the screen , i've two dialog b

Re: servlet : problem

2010-04-20 Thread Manuel Carrasco Moñino
1.- You have to override executeAction, and not doGet nor doPost 2.- In GAE you will have a lot of problems if you don't use the new service blobstore (beta), unfortunately you can not use gwtupload with blobstore. 3.- If you want to use gwtupload with GAE you only can upload 512KB (there is a requ

servlet : problem

2010-04-20 Thread laurent
Hello , I've a problem with the servlets on gwtUpload. I've a SingleUploader and when i choice a file browsed and click 'send' button , i've the following message : Timeout sending the file: perhups your browser does not send files correctly, your session has expired, or there was a server erro

Re: GWT and GeoTools Servlet problem

2010-03-31 Thread Jon Britton
I've just thought - could it be that Jetty is not loading up properly in time for my request? Is there any way to get it to load before the first request is made? Cheers, Jon On Mar 31, 11:16 am, Jon Britton wrote: > Hi, > > I've got a servlet which uses the GeoTools library to contact a remot

GWT and GeoTools Servlet problem

2010-03-31 Thread Jon Britton
Hi, I've got a servlet which uses the GeoTools library to contact a remote server and parse the XML, it then returns the results to the browser client. I've got a button on the client side which initiates the call to the servlet. When I click this button the first time, I get an ClassCastExcepti

Re: Servlet Problem

2008-10-13 Thread gregor
Hi Lukiep, You can try changing your tag in web.xml to: /com.foo.path.to.YourModuleName/MatrioscaCore i.e. the explicit result of String moduleURL = GWT.getModuleBaseURL() + "MatrioscaCore"; regards gregor On Oct 13, 6:40 pm, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote: > Lukiep schrieb

Re: Servlet Problem

2008-10-13 Thread Dean S. Jones
You prepended GWT.getModuleBaseURL() to the URL, so GWT is looking for the Servlet mapped at /your.full.module.name.whatever.Module/MatrioscaCore , not / MatrioscaCore which is mapped at the web-app root. --~--~-~--~~~---~--~~ You received this message because you

Re: Servlet Problem

2008-10-13 Thread Lothar Kimmeringer
Lukiep schrieb: > Hi, I'm trying to deploy my application in Apache Tomcat. > > I generated the file and classes but when I put their in the Tomcat > directory (WebInf/lib e classes) the servlet doesn't work. Check the logfile of the tomcat-server if there are any entries. So check if the insta

Re: Servlet Problem

2008-10-11 Thread Lukiep
I've changed the version in xml file, but doesn't work. Thanks, Luca On 11 Ott, 02:25, Lukiep <[EMAIL PROTECTED]> wrote: > Sorry, I'm newbie. > How can I see the servlet version and change to 2.4? > Thx, > Luca > > On 10 Ott, 14:31, "olivier nouguier" <[EMAIL PROTECTED]> > wrote: > > > > > Hi Lu

Re: Servlet Problem

2008-10-10 Thread Lukiep
Sorry, I'm newbie. How can I see the servlet version and change to 2.4? Thx, Luca On 10 Ott, 14:31, "olivier nouguier" <[EMAIL PROTECTED]> wrote: > Hi Luca, >  First of all you should try to update your "servlet api" version to 2.4 > > To to so remove the DTD and put this as your web.xml root: >

Re: Servlet Problem

2008-10-10 Thread olivier nouguier
Hi Luca, First of all you should try to update your "servlet api" version to 2.4 To to so remove the DTD and put this as your web.xml root: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://java.sun.com/xml/ns/j2ee http://java.

Servlet Problem

2008-10-10 Thread Lukiep
Hi, I'm trying to deploy my application in Apache Tomcat. I generated the file and classes but when I put their in the Tomcat directory (WebInf/lib e classes) the servlet doesn't work. My web.xml is http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> MatrioSCA MatrioscaCore it.kiepsiol