Does anyone help me do that in java? Thanks in advance

On Jul 23, 1:12 am, Ben <bhym...@gmail.com> wrote:
> Matt you will use the request class to retrieve the variable assigned
> in theurl.  
> Reference:http://code.google.com/appengine/docs/python/tools/webapp/requestclas...
>
> the code would be something as simple as:
> parent = self.request.get("targetId")
>
> Note that all variables returned via the request are returned as astring, so 
> in your particular case you may need to convert 'parent' to
> a key object.
>
> -ben
>
> On Jul 21, 7:29 pm, Matt <matthew.david.pick...@gmail.com> wrote:
>
>
>
> > Hi -
>
> > Okay, so I'm totally missing the boat on this one.  How do I pass an
> > argument through aURL?  So on page one I list a bunch of links which
> > correspond to "parent" entities in my datastore.  When a user clicks
> > on a link, I want toquerythe datastore for all "sub-entities" that
> > are associated with the "parent" entity and populate page two with
> > information about those "sub-entities".
>
> > So on page one, I generate links like this:
>
> > <a href="/linklist?targetId={{targetsite.key}}">{{ targetsite.name|
> > escape }}</a>
>
> > which produces a link that looks something like this:
>
> >http://localhost:8080/linklist?targetId=agtsaW5rdHJhY2tlcnIQCxIKVGFyZ...
>
> > But I'm not sure how to access 'targetId' on page two, so I can pass
> > it on to regenerate the page if needed.
>
> > Any help would be appreciated.
>
> > Thanks in advanced.
>
> > Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to