| |
| |
| |
|
Page: 1 2
Comments:
<wlfshmn> this is why I'm lost in said sea ;) <wlfshmn> I would show you an example, but while it's single lines, they tend to fill screens ;) <jottinger> haha <wlfshmn> it's a bad sign when pl/sql developer no longer wants to beuutify your queries <ricky_clarks> This reminds me of something. <ricky_clarks> http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html <dmlloyd|work> and that's why LL parsers **** eggs :) <ricky_clarks> I wonder how many recognisable smileys (emoticons) there are in that. <ricky_clarks> I know, let's write a regex to find out! <wlfshmn> good grief <b-Saif> Hi, does anybody know if you use can Ant to change permissions on a file? <ricky_clarks> http://ant.apache.org/manual/CoreTasks/chmod.html <b-Saif> Ahhh, great. Thanks! <b-Saif> Yup, worked like a charm. Thanks ricky_clarks. <b-Saif> Bye. <luciano2> http://www.useful-scripts.biz <Thunder^^> hmm <ricky_clarks> Hang around in ##java on Freenode to get an idea. <kosder2> hi, does anyone know a way to write an Object's state into a file for future use??? <jottinger> you mean, almost like serializing it? <kosder2> i guess... <kosder2> i mean...imagine a cl*** "Car" wich uses objects of other cl***es...how can i save a car object into a file??would serialization help? <jottinger> perhaps you should look up what serialization is <kosder2> well, i will...but will it work if my cl*** uses object references from other cl***es?? <Thunder^^> just started school? <kosder2> yes i am new in bussines... <Thunder^^> ok but not new to how school works? <kosder2> guess not... <Thunder^^> :-) <Thunder^^> Don't ask so many questions in programming languages.. TRY it before asking! <Thunder^^> kosder2: APIDOCS = The API documentation for the Java standard libraries are available for download at http://java.sun.com/docs/ and for online reading at http://java.sun.com/j2se/1.5.0/docs/api/index.html <Thunder^^> kosder2: Get Thinking In Java Third Edition from http://www.mindview.net - It's a free downloadable book for learning Java. <Thunder^^> kosder2: Do the tutorial and not just read it -> http://TheJavaTutorial.com/ <Thunder^^> kosder2: The Really Big Index -> http://java.sun.com/docs/books/tutorial/reallybigindex.html <Thunder^^> Have fun :-) <kosder2> ok man, i ll check out serialization thnx! <Thunder^^> Write those urls down and do NOT forget them. Go to see those urls before asking. <kosder2> ok,thnx a lot! <Thunder^^> Then you will learn yourself and remember instead of your "mom" will spoonfeed you and never learn anything by yourself <Thunder^^> :-) <Thunder^^> Just so you will understand to learn by yourself and think instead of being some annoying person at your future programming job. <Thunder^^> Understand where I'm going with this? <kosder2> ;) <kosder2> yes i do.. <Thunder^^> Cool :-) <kosder2> g2g thnx again! <tmbg> heh <Rob_uknow> Clackwell <MotZunak2> ii cineva din ro <MotZunak2> ? <MotZunak2> :P <MotZunak2> sal all <MotZunak2> re all <Rob_uknow> english only <MotZunak2> ok <MotZunak2> :P <Evil_GLappy> How do you hand java.io.File a relative path under Windows? <Rob_uknow> "..\bla.gif" <Evil_GLappy> same for a directory? <Rob_uknow> try it? <Evil_GLappy> i did <Evil_GLappy> nothing found <Evil_GLappy> and a single \ throws an error <Rob_uknow> you need to escape it <Evil_GLappy> so I did \\ <Evil_GLappy> right <Evil_GLappy> did that <Rob_uknow> just try System.out.println(new File("../../").toString()); <Rob_uknow> see what it prints <Evil_GLappy> i get ..\.. <Evil_GLappy> this is on a .jsp page if that matters <Rob_uknow> there are other ways for that <Evil_GLappy> hmm, any suggestions <Rob_uknow> System.out.println(new File("..").getAbsolutePath()); <Rob_uknow> try that first <Evil_GLappy> cannot resolve symbol error <Rob_uknow> what are you trying to accomplish anyway <Evil_GLappy> oh hang on <Evil_GLappy> sorry <Rob_uknow> well you need to import java.io.* <Evil_GLappy> yeah <Evil_GLappy> just figured that out :) <Evil_GLappy> i get no output from that <Rob_uknow> well it should be in the std output log <Evil_GLappy> k <Rob_uknow> else print to browser <Evil_GLappy> that's what i'm trying to do, print to browser <Rob_uknow> <% out.println( ... ) %> <Evil_GLappy> right <Rob_uknow> or <%= new File("..").getAbsolutePath() %> <Evil_GLappy> oh crud, i was doing System.out.println() <Evil_GLappy> bad geek! <Evil_GLappy> i get C:\WINDOWS\system32\.. <Rob_uknow> not good? <Evil_GLappy> the directory I"m trying to get to is ... different :) <Evil_GLappy> it's in C:\www\Tomcat5 etc <Rob_uknow> i think you can use the Servlet context to the the real path of your jsp <Evil_GLappy> ok i'll look at that, thanks <Rob_uknow> ServletContext.getRealPath() <Rob_uknow> there is also ServletRequest.getRealPath() relative to the current url <Rob_uknow> ServletContext app = getServletContext(); <Rob_uknow> String path = app.getRealPath("/WEB-INF/mydata.csv"); <darkfurry> does anyone could help with java +ssl ? <Rob_uknow> not I <ThunderDK> Hey LLyric :-D <ThunderDK> Long time no speak <ThunderDK> How are you doing? <LLyric> Same old, same old. Yourself? <ThunderDK> Working hard to get some things better with everything.. hoping it will work out the best way <LLyric> eh? <ThunderDK> but I'm ok :-D <LLyric> Good good <ThunderDK> hehe <ThunderDK> well.. I was interrupted sorry hehe
Return to
#java or Go to some related
logs:
boremerigid erotic4u pass forum gentoo xorg-X11-deprecated-libs
#AllNiteCafe #linux #linux #linux #chatzone #skype #php
|
|