| |
| |
| |
|
Page: 1 2
Comments:
<0> Does anyone know? surely someone must? - How do set up a path variable on linux to the 'bin' dir???? <1> yeehaw <2> 'ello. Is there a way to force a sessionbean's object to be destroyed when the JSP page that calls it, is closed (or refreshed) ? <2> According to the api ejbRemove() would be executed before the object is destroyed, but it doesn't get destroyed at all
<3> erm <3> the ejbRemove is a lifecycle thing <3> the JSP's reference will have to be GCed and the container will need to decide to close the instance instead of recycling it <2> Well... I'd like to keep track of how many sessions there are, and some info on each session. <3> what does that have to do with a sessionbean? <3> a JSP session isn't the same as an EJB sessionbean <2> mmm... true too. <3> it sounds like what you want is a session listener in the servlet container, not a sessionbean <2> I'm playing around with a couple of things. One was authorization, which could be put in the sessionbean too... with each SB keeping a value to know whether or not it has some permissions <2> It sounded good at first, but with sb's floating around even after the website has been closed etc, it's starting to sound less good all the time <2> jottinger: best to ditch the whole idea then I presume? <3> um, web sites don't close <3> and stateful session beans would be a bad gig <2> s/website/browser window/ <3> browser windows and sessions don't have analogues, either
<4> Can anyone tell me how can i use the command Runtime to open my C:/ folder? <4> talios Clackwell abend Alver Argenti ayb604 Blade^ Blutch cn28h darko`` kmh <5> [houston]: if you want to open a windows explorer window in that directory, maybe say so. <1> ? <5> you will have to find out which parameters to use for explorer.exe and figure out how to use runtime.exec. <5> the latter happens to be mentioned in our faq. <4> i've tried Runtime.exec("C:/"); but it's incorrecty <4> what's the correct sintax? <1> Runtime.getRuntime() gives you the current runtime instance <5> [houston]: "C:/" is not an executable. <5> [houston]: please read up on runtime.exec() at the faq and at google. <1> exec is not a static method <4> Clackwell: i'd like for example, to run a file into C:/ ... i'd like to run *.EXE C:/file.EXE, just this, to redirect. <1> get an instance first <6> Morning Clackwell <5> hi talios
Return to
#java or Go to some related
logs:
ajax mud client +stephenson +snowcrash +gargoyle 24online crack #teens video-paolo-montero #MissKitten #c++ javascript img destructor sk8ting + php + undernet #linux
|
|