no need to change your pom,

just remove the import statement,
and import the Inject annottation from tapestry ioc
Eclipse: CTRL+SHIFT+O



Davor Hrg

On 10/28/07, James Lin <[EMAIL PROTECTED]> 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
>
>
>
> _________________________________________________________________
> Windows Live Hotmail and Microsoft Office Outlook – together at last. Get
> it now.
>
> http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033

Reply via email to