Can't you deploy your app in a Tomcat?
If you do this, you don't have any restriction.
On 4 ene, 17:18, a...@mechnicality.com a...@mechnicality.com
wrote:
Yes, but that doesn't actually 'write' the file does it?
It just generates a String which contains the XML representation of the java
Sorry, but if I disable GAE from Eclipse, I do not run the
application. Possible solutions? Where did I go wrong in the code?
Thanks to all
Regards
Sebe
On Jan 3, 11:43 pm, a...@mechnicality.com a...@mechnicality.com
wrote:
This one is pretty interesting - I'll look into it further.
Hi again,
GAE don't allow to use FileWriter, but I need to write an XML file!
I noticed it from here:
http://code.google.com/intl/it-IT/appengine/docs/java/jrewhitelist.html
I can use the classes:
javax.xml.transform.Transformer
javax.xml.transform.dom.DOMSource
.
that allow writing to an
I was wrong to write the code on the server-side ..
try {
DOMSource DOMSource source = new (doc);
StreamResult sr = new StreamResult (dest);
TransformerFactory tf =
TransformerFactory.newInstance ();
Transformer tf.newTransformer TRANSF = ();
transf.transform (source, sr);
}
catch
I've used this code frag to write XML on app engine without any problems.
ByteArrayOutputStream baos = new ByteArrayOutputStream( );
XMLEncoder encoder = new XMLEncoder(baos);
encoder.writeObject(myObject);
encoder.close();
return baos.toString();
I believe I got the code from Example Depot at
Yes, but that doesn't actually 'write' the file does it?
It just generates a String which contains the XML representation of the java object. Its not
persisted anywhere. You can generate a String representation of an object on the client with a few
StringBuilder calls if you want to.
I
Hello to all ...
I have to write an XML doc with GWT. I discovered that you can not do
client-side but it can be done with server-side.
So I setup the synchronous and asynchronous client-side:
package com.example.foobar.client ;
import com.google.gwt.user.client.rpc.RemoteService;
public
The stack trace says it all...
com.example.foobar.client.RPCInterface.testRPC (java.lang.String)'
Threw an unexpected exception: java. lang.NoClassDefFoundError:
java.io.FileWriter is a restricted class. Please see the Google App
Engine developer's guide for more details.
You appear to have
Hi Alan, thanks for the response
I can not figure out is how to save content from client-side textbox
as a parameter via an XML file.
The work to be done into server's package right? I'm working with
Eclipse and I use Google Apple Engine..
You know give me a hand? Or know of a tutorial that
All of the writing needs to be done on the server, so within your sever
package. The only thing which the client should do with this is make an RPC
call.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Hi Sebe
As I understand it, you want to be able to upload a file from the client and
save it on the server.
One important point -
You CANNOT read and write files in the local (that is, client) computer's general filing system
using javascript in the browser. You can only upload a file to the
Vi posto il mio caso cosi vedete dove sbaglio (grazie in anticipo):
CLIENT SIDE:
final String nickname=textNickReg.getText();
final String pass=textPassReg.getText();
final String email2=textMail.getText();
final String
On Monday, January 3, 2011 4:46:38 PM UTC+1, alanmechy wrote:
The stack trace says it all...
com.example.foobar.client.RPCInterface.testRPC (java.lang.String)'
Threw an unexpected exception: java. lang.NoClassDefFoundError:
java.io.FileWriter is a restricted class. Please see the Google
I've learned to use ByteArrayOutputStream rather than FileOutputStream when
needing to write files using server side logic.
What happens after you've created one is another story.
On Mon, Jan 3, 2011 at 1:41 PM, Thomas Broyer t.bro...@gmail.com wrote:
On Monday, January 3, 2011 4:46:38 PM
Hi Thomas
On 1/3/2011 1:41 PM, Thomas Broyer wrote:
On Monday, January 3, 2011 4:46:38 PM UTC+1, alanmechy wrote:
The stack trace says it all...
com.example.foobar.client.RPCInterface.testRPC (java.lang.String)'
Threw an unexpected exception: java. lang.NoClassDefFoundError:
Can't you store it in the DB?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
On 1/3/2011 2:05 PM, Matthew Hill wrote:
Can't you store it in the DB? --
According to the GAE docs:
maximum entity size 1 megabyte
Most of my entities *start* at 1 MB and go up to maybe 500+ (its 3D data)
So, I assumed that, no, I couldn't store it in the DB :-)
Alan
You received
Can you use com.google.appengine.api.datastore.Text ?
Text wraps around a string of unlimited size.
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Text.html
On Mon, Jan 3, 2011 at 2:12 PM, a...@mechnicality.com a...@mechnicality.com
wrote:
On 1/3/2011
I bookmarked this blog entry a while ago which has a recipe for posting into
the blobstore from app engine.
http://jeremyblythe.blogspot.com/2010/10/manipulating-images-in-blobstore.html
One other note - I suspect using the ByteArrayOutputStream for hundreds of
megabytes is going to run into the
On 1/3/2011 2:29 PM, A. Stevko wrote:
Can you use com.google.appengine.api.datastore.Text ?
|Text| wraps around a string of unlimited size.
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Text.html
Nope - its 3D vertex and animation data - basically
20 matches
Mail list logo