[appengine-java] Re: Help Me..!
Thank you Mr.Felipe but already i included those api's. On May 5, 6:50 pm, Felipe Teixeira felipe.teixe...@ipnetsolucoes.com.br wrote: try Put in folder lib , docList API and SpreedSheet API , later make the build path. java.lang.NoClassDefFoundError: com/google/gdata/client/spreadsheet/ SpreadsheetService This error talk :SpreadsheetService not found... bye 2011/5/5 Rambo Hi Friends...! Am trying to use spreadsheet service in the servlet but am getting error Here i gave code and the error msg... package guestbook; import java.io.*; import java.net.URL; import javax.servlet.http.*; import com.google.gdata.client.spreadsheet.SpreadsheetService; import com.google.gdata.data.spreadsheet.SpreadsheetFeed; @SuppressWarnings(serial) public class GuestbookServlet extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { //SpreadsheetService service=new SpreadsheetService(sample); String[] spreadsheet_name = null; PrintWriter out=resp.getWriter(); com.google.gdata.data.spreadsheet.SpreadsheetEntry entry=null; SpreadsheetService service = new SpreadsheetService(Sample); try { service.setUserCredentials( ramkumarpec...@gmail.com, october87); URL metafeedUrl = new URL( https://spreadsheets.google.com/feeds/ spreadsheets/private/full); SpreadsheetFeed feed = service.getFeed(metafeedUrl, SpreadsheetFeed.class); java.util.Listcom.google.gdata.data.spreadsheet.SpreadsheetEntry spreadsheets = feed.getEntries(); for (int i = 0; i spreadsheets.size(); i++) { entry = spreadsheets.get(i); spreadsheet_name[i]=entry.getTitle().getPlainText(); //if(spreadsheet_name[i].contains(input_file)) //{ out.println(\t + spreadsheet_name[i]); // break; //} } } catch(Exception e) { System.out.println(Exception +e); } } } And the error msg is HTTP ERROR 500 Problem accessing /guestbook. Reason: com/google/gdata/client/spreadsheet/SpreadsheetService Caused by: java.lang.NoClassDefFoundError: com/google/gdata/client/spreadsheet/ SpreadsheetService at guestbook.GuestbookServlet.doGet(GuestbookServlet.java:30) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 511) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1166) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi lter.java: 58) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans actionCleanupFilter.java: 43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile Filter.java: 122) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 418) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEn gineWebAppContext.java: 70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:351) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 542) at org.mortbay.jetty.HttpConnection $RequestHandler.headerComplete(HttpConnection.java:923) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) at
Re: [appengine-java] Re: Help Me..!
Hi Rambo, Have you installed google plugin for eclipse? If it is installed, you can upload your application from eclipse. Regards, kartik On Wed, May 4, 2011 at 11:04 AM, Rambo ramkumarpec...@gmail.com wrote: My project is not a web application project, its purely java project, I want to deploy it in GAE.. On May 3, 7:17 pm, Felipe Teixeira felipe.teixe...@ipnetsolucoes.com.br wrote: i´m not understand, a simple deploy to google appengine , in eclipse.. your application going to GAE. 2011/5/3 Rambo ramkumarpec...@gmail.com Hi friends..! I am doing a small project in java using spreadsheet api to read and write data's in the Google spreadsheet. I finished it successfully. Now i wanna to upload it to GAE Please give me some suggestions. Thanks in Advance -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- *Felipe Teixeira* *Desenvolvedor Java * IPNET - Soluções em Informática Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br* -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Help Me..!
Its installed When i tried to deploy the project, simply its shows the message that The current project is not an App Engine project.. On May 4, 11:07 am, kartik kudada kartik.kud...@gmail.com wrote: Hi Rambo, Have you installed google plugin for eclipse? If it is installed, you can upload your application from eclipse. Regards, kartik On Wed, May 4, 2011 at 11:04 AM, Rambo ramkumarpec...@gmail.com wrote: My project is not a web application project, its purely java project, I want to deploy it in GAE.. On May 3, 7:17 pm, Felipe Teixeira felipe.teixe...@ipnetsolucoes.com.br wrote: i´m not understand, a simple deploy to google appengine , in eclipse.. your application going to GAE. 2011/5/3 Rambo ramkumarpec...@gmail.com Hi friends..! I am doing a small project in java using spreadsheet api to read and write data's in the Google spreadsheet. I finished it successfully. Now i wanna to upload it to GAE Please give me some suggestions. Thanks in Advance -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- *Felipe Teixeira* *Desenvolvedor Java * IPNET - Soluções em Informática Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br* -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Help Me..!
My project is not a web application project, its purely java project, I want to deploy it in GAE.. On May 3, 7:17 pm, Felipe Teixeira felipe.teixe...@ipnetsolucoes.com.br wrote: i´m not understand, a simple deploy to google appengine , in eclipse.. your application going to GAE. 2011/5/3 Rambo ramkumarpec...@gmail.com Hi friends..! I am doing a small project in java using spreadsheet api to read and write data's in the Google spreadsheet. I finished it successfully. Now i wanna to upload it to GAE Please give me some suggestions. Thanks in Advance -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- *Felipe Teixeira* *Desenvolvedor Java * IPNET - Soluções em Informática Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br* -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Help Me...!
Are you wanting to use oAuth? If not, the api is really easy. Otherwise you have a few steps to do to get oauth to work. http://code.google.com/p/gwt-examples/wiki/DemoGwtGData - I have oauth notes here Brandon Donnelson http://gwt-examples.googlecode.eom -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Help me understand adding objects to existing entity groups
Have you looked at the Google App Engine for Java persistence blog at http://gae-java-persistence.blogspot.com You should find some excellent JDO and JPA working examples here. I have found these very beneficial for me. There are other persistence interfaces available for GAE/J as well as JDO and JPA: Twig, Objectify, If you haven't yet chosen your persistence interface, time spent choosing wisely will be an investment which should pay off handsomely. On Mar 7, 8:03 pm, mscwd01 mscw...@gmail.com wrote: Pardon my ignorance, I have read the docs over and over and this still alludes me. I have two objects, lets call them User and Skill. When a person signs up to my site they are saved as a User. A user may have multiple skills, these are stored as a list within the User object, e.g. @Persistent @Element(dependent = true) private ListSkill skills; Now what I need to determine is how to add a Skill object to the User entity group when I create it, as I need to modify both objects within a single transaction. When I create Skill objects do I have to supply the User key to the new Skill object somehow? I'd appreciate any help I can get with this, thanks! -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Help me in Guestbook googlecode.
If you don't want to modify the JDOQL query, then you should be able to filter using a conditional in the loop. Something like: if (g.getAuthor().getEmail().equals(user.getEmail())) { // ... } Does this work? Is this what you're trying to do? - Jason On Tue, Oct 20, 2009 at 4:07 AM, Jefferson wkeffer...@gmail.com wrote: Hello everybody I am using the example that is in the Guestbook googlecode, I'm trying to get him to catch all the messages that are in the name of the User logged in, I could not do this with an if and not modifying the sql file in guestbook.jsp Any solution? --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---