Re: [appengine-java] Re: Reading a Google Doc from google app engine code

2011-11-18 Thread Amit Pandey
confirm. And it is strange if google api gives me access to get handle to the doc but need third party libraries to read it, Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Mon, Nov 14, 2011 at 1:10 PM, Amit Pandey amit.s...@gmail.com wrote: Have you used

Re: [appengine-java] Re: Reading a Google Doc from google app engine code

2011-11-13 Thread Amit Pandey
characters rather plain english text. Please advise Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Fri, Nov 11, 2011 at 5:46 PM, Amit Pandey amit.s...@gmail.com wrote: Mistakenly send wrong code. Here is correct code. On Fri, Nov 11, 2011 at 5:35 PM, Amit

Re: [appengine-java] Re: Reading a Google Doc from google app engine code

2011-11-11 Thread Amit Pandey
Hi ViK, I did the same before and I use *org.apache.poi.hwpf.HWPFDocument* API. Following code snippet may be useful for you. Let me know if this works. for (DocumentListEntry entry : resultFeed.getEntries()) { String docId = entry.getDocId(); String docType = entry.getType(); URL exportUrl =

Re: [appengine-java] Re: Reading a Google Doc from google app engine code

2011-11-11 Thread Amit Pandey
Mistakenly send wrong code. Here is correct code. On Fri, Nov 11, 2011 at 5:35 PM, Amit Pandey amit.s...@gmail.com wrote: Hi ViK, I did the same before and I use *org.apache.poi.hwpf.HWPFDocument* API. Following code snippet may be useful for you. Let me know if this works

[appengine-java] How to protect static files??

2011-06-20 Thread Amit Pandey
Hi All, I'm developing an application on GAE/Java. I'm using css, js and images file in my application and I've declared static filehttp://code.google.com/appengine/docs/java/config/appconfig.html#Including_and_Excluding_Filesin appengine-web.xml file. I've created a Authentication Filter that

Re: [appengine-java] Datastore Viewer - Server Error

2011-06-10 Thread Amit Pandey
Anyone? On Wed, Jun 8, 2011 at 7:32 PM, Amit Pandey amit.s...@gmail.com wrote: I'm also getting the same error. Any workarround for this??? Thanks, Amit On Fri, Apr 22, 2011 at 1:57 PM, Charms Styler charmssty...@gmail.comwrote: I keep getting the following message when ever I

Re: [appengine-java] Datastore Viewer - Server Error

2011-06-08 Thread Amit Pandey
I'm also getting the same error. Any workarround for this??? Thanks, Amit On Fri, Apr 22, 2011 at 1:57 PM, Charms Styler charmssty...@gmail.comwrote: I keep getting the following message when ever I Click on the *Datastore Viewer* link at the Admin Control Panel. How can I view my App

Re: [appengine-java] Re: Data being stored in a weird way

2011-04-20 Thread Amit Pandey
Hi Didier, I have almost same problem. I'm not able to store þ (thorn) char in datastore. I'm using String as a data type. Thanks, Amit On Wed, Apr 20, 2011 at 10:08 AM, Didier Durand durand.did...@gmail.comwrote: Hi, Are you using eclipse ? if yes check under File Properties Text File

Re: [appengine-java] Re: Custom security for servlets

2011-04-14 Thread Amit Pandey
Is there anyone who have implemented something similar? Any thoughts would be great. Thanks, Amit On Fri, Apr 8, 2011 at 6:35 PM, Amit Pandey amit.s...@gmail.com wrote: To apply the basic authentication we have to provide role (as I did in Tomcat container). Here google app engine defines

[appengine-java] Deploying from eclipse throwing exception.

2011-04-14 Thread Amit Pandey
I am successfully able to login into gmail but could not not able to deploy in app engine. *Exception:* com.google.appengine.tools.admin.ServerConnection$ClientLoginException: Email *user email* and password do not match. I double checked my password. -- You received this message because you

Re: [appengine-java] Re: My application works well in eclipse but when I deploy the same code in GAE it shows the following error while opening the homepage

2011-04-08 Thread Amit Pandey
a typical request for your application. Regards, Suvrat On Apr 7, 5:56 pm, Amit Pandey amit.s...@gmail.com wrote: Please copy and paste your google app engine console to identify the exact problem. Thanks.On Thu, Apr 7, 2011 at 5:31 PM, Rajesh KN knra...@gmail.com wrote: Error

Re: [appengine-java] Re: JDO - Updating a One-to-one child

2011-04-08 Thread Amit Pandey
But editing the existing one is not a good solution. What if I want to insert another object keeping old object remains on datastore? On Fri, Apr 8, 2011 at 4:04 PM, Luca Matteis lmatt...@gmail.com wrote: Oh! Oh!!! Great idea I will just edit it instead of creating a new one! DUH! thanks

Re: [appengine-java] Re: Custom security for servlets

2011-04-08 Thread Amit Pandey
To apply the basic authentication we have to provide role (as I did in Tomcat container). Here google app engine defines only two role a) *. b) admin. I believe Google app engine has customize the BASIC_AUTH to GOOGLE_AUTH. Thats why they have their own role constraint. And in GOOGLE_AUTH it

Re: [appengine-java] My application works well in eclipse but when I deploy the same code in GAE it shows the following error while opening the homepage

2011-04-07 Thread Amit Pandey
Please copy and paste your google app engine console to identify the exact problem. Thanks. On Thu, Apr 7, 2011 at 5:31 PM, Rajesh KN knra...@gmail.com wrote: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please

[appengine-java] Custom security for servlets

2011-04-06 Thread Amit Pandey
Hi All, I wrote a servlet in app engine which return some response. It will be invoked by java stand alone applications (it is not going to invoke by browser at all). I want to apply some security constraint for that servlet so that servlet will accesible to only authenticated user. I was

Re: [appengine-java] Re: Protocol Buffer in Google app engine

2011-02-22 Thread Amit Pandey
I miss something? regards didier On Feb 22, 7:03 am, Amit Pandey amit.s...@gmail.com wrote: Hi Didier, Almost same requirement is mine. Actually My requirement is to expose the data store data (or any custom data) in protocol buffer format and it will consumes by java standalone

Re: [appengine-java] Re: Protocol Buffer in Google app engine

2011-02-22 Thread Amit Pandey
I am planning to use the regular servlet interface and use encoded protobufs in the request and response bodies. thoughts/suggestions? On Wed, Feb 23, 2011 at 12:47 PM, Peter Ondruška peter.ondru...@gmail.comwrote: Just a note on Java-to-Java serialization: This is not going to work 100%

Re: [appengine-java] Re: Protocol Buffer in Google app engine

2011-02-21 Thread Amit Pandey
Hi Didier, Almost same requirement is mine. Actually My requirement is to expose the data store data (or any custom data) in protocol buffer format and it will consumes by java standalone program via RPC. I went through the Protocol Buffer documentation and I came to following questions- 1.

Re: [appengine-java] Re: Problems in deployment

2011-02-15 Thread Amit Pandey
Same version I'm using and I'm able to deploy it without any problem. I'm located in India. Thanks, Amit On Wed, Feb 16, 2011 at 12:19 PM, jt jooth...@stconsultancy.com wrote: The latest version 1.4.2. -- You received this message because you are subscribed to the Google Groups Google

Re: [appengine-java] Google App engine Hexadecimal decoding issue

2011-01-14 Thread Amit Pandey
What the error message you are getting? On Fri, Jan 14, 2011 at 9:12 AM, Chandana Napagoda cnapag...@gmail.comwrote: Hi All, I have issue with decode Hex String value value to String conversion. If Input is : 687474703a2f2f772e676f6f676c652e6c6b2f Here is my decode logic: private

Re: [appengine-java] Unable to send mail

2011-01-11 Thread Amit Pandey
Hi Jeevan, There are certain thing which you need to remember for using mail API- 1. Sender address must be any of the owner email of application. 2. Mail will be send only when you deploy the code to App Engine. It does not work locally. 3. Make sure Sun mail API is not in your

Re: [appengine-java] Parent-Child relation if parent primary key is generated by Datastore

2010-12-14 Thread Amit Pandey
Is there any one who can address my problem. On Tue, Dec 14, 2010 at 12:59 PM, Amit Pandey amit.s...@gmail.com wrote: Hi, Is there any way to create parent child relation between two table if parent table's primary key is Long and generated by Datastore. basically, I don't know how

Re: [appengine-java] Parent-Child relation if parent primary key isgenerated by Datastore

2010-12-14 Thread Amit Pandey
from my BlackBerry® wireless device -- *From: * Amit Pandey amit.s...@gmail.com *Sender: * google-appengine-java@googlegroups.com *Date: *Tue, 14 Dec 2010 19:09:07 +0530 *To: *google-appengine-java@googlegroups.com *ReplyTo: * google-appengine-java@googlegroups.com

Re: [appengine-java] Not sending email with Javamail and no error

2010-12-14 Thread Amit Pandey
Just try creating session object using property object. May be it can help(Not sure). Properties props = new Properties(); Session session = Session.getDefaultInstance(props, null); On Tue, Dec 14, 2010 at 9:21 AM, Moretto mala...@gmail.com wrote: Hi, I'm using JAVAMAIL to send mail

[appengine-java] Multiple times login page problem

2010-12-14 Thread Amit Pandey
I'm using struts framework in my application. I want Google authentication for all the request coming to my application. So I putted one filter which invoke for all request. Login code inside the filter is like- if (request.getUserPrincipal() != null) { chain.doFilter(request, response);//

[appengine-java] Parent-Child relation if parent primary key is generated by Datastore

2010-12-13 Thread Amit Pandey
Hi, Is there any way to create parent child relation between two table if parent table's primary key is Long and generated by Datastore. basically, I don't know how two create child class key if parent class key is generated by datastore. Thanks, Amit -- You received this message because

Re: [appengine-java] Cloud2db and hibernate

2010-11-30 Thread Amit Pandey
Wow..Its a good news. Has anyone tried it out? Thanks, Amit On Wed, Dec 1, 2010 at 6:53 AM, lisandrodc lisandr...@gmail.com wrote: Hi! Cloud2db http://www.cloud2db.com/ is pleased to announce the availability of Hibernate framework on Google App Engine. Has someone a concrete example that

[appengine-java] Re: Google App Engine + Struts1 - problem with session

2010-11-26 Thread Amit Pandey
I think you need to implement Serializable interface in your UserBean class. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this