@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> this is why I'm lost in said sea ;)
<0> I would show you an example, but while it's single lines, they tend to fill screens ;)
<1> haha
<0> it's a bad sign when pl/sql developer no longer wants to beuutify your queries
<2> This reminds me of something.
<2> http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html
<3> and that's why LL parsers **** eggs :)
<2> I wonder how many recognisable smileys (emoticons) there are in that.
<2> I know, let's write a regex to find out!
<0> good grief
<4> Hi, does anybody know if you use can Ant to change permissions on a file?
<2> http://ant.apache.org/manual/CoreTasks/chmod.html



<4> Ahhh, great. Thanks!
<4> Yup, worked like a charm. Thanks ricky_clarks.
<4> Bye.
<5> http://www.useful-scripts.biz
<6> hmm
<2> Hang around in ##java on Freenode to get an idea.
<7> hi, does anyone know a way to write an Object's state into a file for future use???
<1> you mean, almost like serializing it?
<7> i guess...
<7> 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?
<1> perhaps you should look up what serialization is
<7> well, i will...but will it work if my cl*** uses object references from other cl***es??
<6> just started school?
<7> yes i am new in bussines...
<6> ok but not new to how school works?
<7> guess not...
<6> :-)
<6> Don't ask so many questions in programming languages.. TRY it before asking!
<6> 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
<6> kosder2: Get Thinking In Java Third Edition from http://www.mindview.net - It's a free downloadable book for learning Java.
<6> kosder2: Do the tutorial and not just read it -> http://TheJavaTutorial.com/
<6> kosder2: The Really Big Index -> http://java.sun.com/docs/books/tutorial/reallybigindex.html
<6> Have fun :-)
<7> ok man, i ll check out serialization thnx!
<6> Write those urls down and do NOT forget them. Go to see those urls before asking.
<7> ok,thnx a lot!
<6> Then you will learn yourself and remember instead of your "mom" will spoonfeed you and never learn anything by yourself
<6> :-)
<6> Just so you will understand to learn by yourself and think instead of being some annoying person at your future programming job.
<6> Understand where I'm going with this?
<7> ;)
<7> yes i do..
<6> Cool :-)
<7> g2g thnx again!
<8> heh
<9> Clackwell
<10> ii cineva din ro
<10> ?
<10> :P
<10> sal all
<10> re all
<9> english only
<10> ok
<10> :P
<11> How do you hand java.io.File a relative path under Windows?
<9> "..\bla.gif"



<11> same for a directory?
<9> try it?
<11> i did
<11> nothing found
<11> and a single \ throws an error
<9> you need to escape it
<11> so I did \\
<11> right
<11> did that
<9> just try System.out.println(new File("../../").toString());
<9> see what it prints
<11> i get ..\..
<11> this is on a .jsp page if that matters
<9> there are other ways for that
<11> hmm, any suggestions
<9> System.out.println(new File("..").getAbsolutePath());
<9> try that first
<11> cannot resolve symbol error
<9> what are you trying to accomplish anyway
<11> oh hang on
<11> sorry
<9> well you need to import java.io.*
<11> yeah
<11> just figured that out :)
<11> i get no output from that
<9> well it should be in the std output log
<11> k
<9> else print to browser
<11> that's what i'm trying to do, print to browser
<9> <% out.println( ... ) %>
<11> right
<9> or <%= new File("..").getAbsolutePath() %>
<11> oh crud, i was doing System.out.println()
<11> bad geek!
<11> i get C:\WINDOWS\system32\..
<9> not good?
<11> the directory I"m trying to get to is ... different :)
<11> it's in C:\www\Tomcat5 etc
<9> i think you can use the Servlet context to the the real path of your jsp
<11> ok i'll look at that, thanks
<9> ServletContext.getRealPath()
<9> there is also ServletRequest.getRealPath() relative to the current url
<9> ServletContext app = getServletContext();
<9> String path = app.getRealPath("/WEB-INF/mydata.csv");
<12> does anyone could help with java +ssl ?
<9> not I
<13> Hey LLyric :-D
<13> Long time no speak
<13> How are you doing?
<14> Same old, same old. Yourself?
<13> Working hard to get some things better with everything.. hoping it will work out the best way
<14> eh?
<13> but I'm ok :-D
<14> Good good
<13> hehe
<13> well.. I was interrupted sorry hehe


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






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



Home  |  disclaimer  |  contact  |  submit quotes