@# Quotes DB     useful, funny, interesting





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



Comments:

<0> ilsn write test cases to learn each new technique, and integrate them to your main prog as you go
<0> ensure yiou test as you add
<0> that way you will not accumulate complex errors
<0> you'll also learn faster too
<0> just a suggestion
<0> I usually build projects with a test space to accumulate these, I only get rid of them at the end of the project
<1> test space?
<0> a set of cl***es in a definable test sub package
<0> so they are easy to find and delete later
<2> something like unit tests i guess
<1> I just create a new source directory
<0> not at all like unit test
<1> the test cl***es go in the same package as the cl*** that's being tested
<3> calchas: thx, but anyhow, does anyone see the reason why it might not show up?
<0> the main prog/app tests are like unit tests
<0> not test



<0> FFS read what I type
<0> test cases
<1> and take out the customrenderer
<1> see what it does
<0> little code snippets to nail a technique before adding that functionality to the main app
<2> oh that u mean
<0> rob_uknow good advice
<2> i'll take a scappage in eclipse
<2> test things and remove it
<3> nope, the listmodel is the problem, it doesnt show it
<3> hmmm, might it be that the addElements are placed AFTER the private JList = new JList(listModel);???
<0> the tutorial shows an example of adding and removing elements from a list dynamically, have you seen it?
<4> hello
<4> can u help me?
<0> not until you ask a sensible question
<0> please read the topic
<4> i need do do a programe.....it has to contain certin things......
<4> such as....saving the dates in a folder
<4> to contain a derivate cl***.....and to be included in an applet
<4> and to read from the keyboard
<4> please...
<3> calchas: no, cant say I have
<4> i have an exam today...and i need this program
<4> ...
<4> pls help me...
<0> Lucian21 how far have you got so far?
<0> Lucian21 we will not do this work for you, if you are expecting that cut your losses and leave, I'll try and guide you a bit though
<0> ilsn thejavatutorial.com
<0> swing trail
<0> using JList
<3> where do I put that code for GUI?
<3> because the way itis shown there
<3> it gives an error
<5> hi
<2> hi
<5> how are you?
<2> sleepy =) good night
<5> ok, no problem
<6> hi
<1> chem
<7> rob :)
<8> rob_uknow hi
<8> http://rafb.net/paste/results/Frk5cW66.html any advice why i get these error?
<9> jak2000, no DB cl*** available, is it on the cl***path?
<8> talios, i use netbeans...
<8> wich cl***path need add to netbeans? note if i compile in Cmd widnow no error...
<6> hi rob_uknow
<3> with what do I set the color of the JList font?
<10> hmmm
<7> ?
<11> Chemunga !!
<7> ello
<11> :)
<7> playing with java ?
<11> learning with java ;-P
<7> ohh nice
<7> its a nice language
<11> I see..
<7> happy birthday Ioad :)
<11> Thanks chem;)
<12> how do I run a cl*** file that it within a package? I tried "java mypackage.Cl***Name" and it said "NoCl***DefFoundError" but I do have a static void main function within that cl***... anyone?



<13> nadss: your cl***path is probably wrong
<13> is Cl***Name.cl*** in ./mypackage ?
<14> ARKADASLAR JAVA DOSYAS OLAN WARSA ACL ATSN
<10> i was thinking that too
<15> hello
<15> can anyone help me with a problem i'm having trying to set up a JNDI datasource..
<15> anyone here?
<13> blinks
<13> That's a question about your container, not java
<15> I guess but surley people here would be familiar with it
<13> The answer to your question depends on which container you're using!
<15> tomcat
<13> http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html
<13> slacker
<15> did it
<15> twice
<15> \join #jsp
<15> i'm having a strange problem with tomcat..
<15> It doesn't seem to serv even plain html content unless a web.xml files exists in the WEB-INF directory..?
<15> is tomcat meant to serve content without having to specify details in a web.xml and all that jazz?
<2> no. you have to do the web.xml stuff
<15> i.e. if i place a plain html file in a directory below webapps, should i be able to view that content without having to do anything else?
<9> it should do
<15> its driving me mad
<2> the web.xml stuff is for the dynamic content (servlets)
<15> i reverted to tomcat4 and still no joy?
<15> ok but for static content
<15> i get a 404
<2> check the logs
<2> is your web app loaded right
<2> =?
<2> ?
<15> i'm not sure what you mean...its not a web app...its justa html file
<15> nothing in log about the request
<15> if i place the file in a directory e.g. jsp-examples it works
<15> i don't understand
<2> can u go to your manager app (f.e. localhost:<yourport>/manager/html)
<9> so it does work?
<9> Smithers, if jsp-examples works, whats your problem?
<15> my problem is that it doesn't work if its not in a directory with the web.xml stuff defined
<2> you got your own directory under webapps?
<15> yes
<2> put there the html file
<15> its in
<15> no go
<15> 404
<2> which version of tomcat are u using?
<15> i can access all the usual stuff i.e. the examples etc.
<15> i reverted to 4 becuase i thought it might fix this issue
<15> 4.1 even
<2> no. that is no "tomcat issue". i would stick with 5.5
<15> anyway..what else can i try?
<2> u have to tell tomcat that there is a "web application" in your webapps folder. in 4.x this is definied in the server.xml. from 5.x this is defined in the conf/Catalina/localhost/<yourwebapp>.xml file.
<2> read the docs of tomcat.
<15> the issue i'm having is:
<2> if you just need static content then why using tomcat at all?
<15> static content should be accessible without having to define a web.xml file
<15> and for some reason ..its not
<2> u made the entries in the server.xml?
<15> no
<2> then do it. look at the <tomcatroot>/conf/server.xml file.
<15> as in I have had dynamic content running no problem
<15> if i define a web.xml i know it will work
<15> but the issue is that I should be able to access static content without defining all that web.xml etc.
<2> then i don't know what your problem is.
<2> make a feature request at the tomcat site
<15> Do you know if you can serve static content using tomcat
<9> yes
<15> i.e. if you create a dir under webapps and place a html file in there can you access that file?
<2> no
<15> ?
<2> not with these steps only


Name:

Comments:

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






Return to #java
or
Go to some related logs:

hippophobe
nforce 430 forcedeth
#php
fifa2003
#AllNiteCafe
pikanyah
#chatzone
#skype
#AllNiteCafe
nvrm xid 6



Home  |  disclaimer  |  contact  |  submit quotes