do you have these lines in the code: import org.apache.tapestry.services.RequestGlobals; import org.apache.tapestry.annotations.Inject;
James Lin-3 wrote: > > dear all: > > I have read one sample from Tapestry website > http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest > > @Inject > private RequestGlobals requestGlobals; > > public void onActivate(Object context) { > HttpSession session = > requestGlobals.getHTTPServletRequest().getSession(); > ... > } > > But I got problem comping this code for line @Inject > I thought Tapestry 5 should have a regular,simple way to retrieve it > > Thanks in advance! > > James > > _________________________________________________________________ > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews > -- View this message in context: http://www.nabble.com/How-do-I-get-parameter-from-URL-in-Tapestry-5---tf4706868.html#a13453670 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]