Hi David, You need to put servlet.jar in the path.
This is available in the \sample\tomcat\common\lib dir of ULC release. Thanks and regards, Janak >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Behalf Of Thunder, >David >Sent: Wednesday, March 14, 2007 12:23 AM >To: [email protected] >Cc: McCarty, Brian; McWhirter, Michael; Asaro, Rick; Ross, Sue >Subject: [ULC-developer] Need your help with a indirect reference >that Eclipse cannot resolve... > > >On the yellow highlighted item the message from Eclipse appears as: >"javax.servlet.http.HttpSession cannot be resolved. It is >indirectly referenced from the >required .class file" > >Do I need to copy the javax jars to the java lib ext directory? >Or would reconfiguring the java build path work somehow? > >I would like to get the server session id to trace the session on >our database server. > >Thank you for your help. ---dt > >import com.ulcjava.base.application.AbstractApplication; >import com.ulcjava.base.application.ULCFrame; >import com.ulcjava.base.application.ULCRootPane; >import com.ulcjava.container.servlet.application.ServletContainerContext; > > >public class Login extends AbstractApplication{ > protected ULCRootPane createRootPane(){ > ULCFrame frame = new ULCFrame("Sample Application"); > frame.setDefaultCloseOperation(ULCFrame.TERMINATE_ON_CLOSE); > return frame; > } > > public void start(){ > int intTest = ServletContainerContext.getHttpSession().getId(); > ULCRootPane frame = createRootPane(); > frame.add(new LoginBoxPane()); > frame.setVisible(true); > } >} _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
