Re: [appengine-java] Re: achieving URL redirection (.htaccess) functionality with app engine?

2010-07-08 Thread Ikai L (Google)
You'd write a servlet filter that matches on the regex, redirecting as
needed. A quick search turned up this:

http://code.google.com/p/urlrewritefilter/

I just searched for:

servlet filter url rewriting
http://www.google.com/search?sourceid=chromeie=UTF-8q=servlet+filter+url+rewriting

On Thu, Jul 8, 2010 at 12:12 PM, John V Denley
johnvden...@googlemail.comwrote:

 The reason I am asking this is because there seems to be a python
 solution for this as documented here:

 http://www.terminally-incoherent.com/blog/2009/05/11/google-appengine-url-rewriting/

 On Jul 7, 10:36 pm, John V Denley johnvden...@googlemail.com wrote:
  I have an application where I want to simplify theURLfor the end
  users
 
  so for examplewww.appname.appspot.com/demowould be redirected
 towww.appname.appspot.com/?id=demo
 
  currently Im doing this by using a .htaccess file on my hosting
  company website so thatwww.appname.com/demois then redirected to
  user.appname.com/?id=demo and I have the CNAME for the user subdomain
  pointing to ghs.google.com which is managed within my googleapp to
  point back atwww.appname.appspot.com

 --
 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 group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
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 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.



Re: [appengine-java] First app in google app engine; please see whether iv understood the usage of app engine

2010-07-08 Thread John Denley
Your site looks great and seems to work pretty well too, I dont really
understand your question though, as you seem to have implemented in pure
javascript as it is currently. Your GAE bit could be a server based
function (and the data can be held in the GAE datastore too) and the client
can ask the server to do the java processing and then pass back the results
to be displayed on the screen.

Hope that helps and makes sense!
John

On 8 July 2010 19:00, emigrant fromwindowstoli...@gmail.com wrote:

 On Thu, 2010-07-08 at 23:26 +0530, RAVINDER MAAN wrote:
  Yes GAE is good.But keep in mind that concept of datastore is
  different from other RDBMS like MySQL.

 for the time being i can manage the data in arrays itself.
 :)

 --
 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 group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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-j...@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: How to use the data in local datastore uploaded by bulk loader?

2010-07-08 Thread Fox W
I am going to try your method, thank you very much!

On Jul 8, 11:25 am, John Patterson jdpatter...@gmail.com wrote:
 You can use the RemoteDatastore class to upload or download from a  
 normal Java application to yourlocalor a remote datastore.  It takes  
 care of setting up a dummy Environment and ApiProxy.Delegate for you.  
 You can then use then readlocalfiles unrestricted and use the low-
 level api to insert your data.

 http://code.google.com/p/remote-datastore/

 You just need to call RemoteDatastore.install() and ignore the other  
 steps about connecting to a remote datastore.

 John

 On 7 Jul 2010, at 05:14, Fox W wrote:



  Hi,every one!
  I uploaded some data intolocaldatastore, but I found Python and Java
  are using different files to store data.
  I want to debug my program inlocal, is there any solution?
  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 
  athttp://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-j...@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.