@# Quotes DB     useful, funny, interesting





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



Comments:

<0> np
<1> one more question... how i can (or can i) transfer my settings between linux and windows version?
<1> windows --> linux
<0> hmm i never did it, contact their support i am sure they will be happy to help you
<1> ok, ill try
<1> thank you whatever
<2> where can I find a good tutorial for java ?
<3> The Sun Java tutorial can be found on: http://java.sun.com/books/tutorial/
<3> or better yet, hmm, lessee



<3> Two very good books on Java: The Sun Java tutorial (http://java.sun.com/books/tutorial/) and Bruce Eckel's "Thinking in Java" (http://www.mindview.net/Books/TIJ/). Both are free and available for download.
<3> Thats it ;-) IMO those are absolutely the best out there.
<2> thanks a lot :)
<0> evening Lion-O
<4> Hello
<3> MbGone: yo
<5> yo
<3> Hi Rob
<0> hey rob
<5> hi Lion-O
<0> well, i am off , later all
<6> hi
<7> hi
<6> can you help on jsp pages ?
<6> i need some help
<6> well? do i get help here ?
<7> ask and if someone knows the answer well see :)
<6> ok thanks
<6> <sql:query var="rsn" dataSource="jdbc/TestDB">
<6> select count(*) prj_number
<6> from gp_proiecte_angajat
<6> where id_angajat_prj_ang =${session_id}
<6> </sql:query>
<6> i got problet to show the vari prj_number
<6> ${rsn.row[0].prj_number} is allways nul the same query from mysql client give a good result
<6> and some debug i did if i show $(rsn.row[0]) the hole string row it return "{=4}"
<8> kley: you need a group by
<6> thats mean the parameter name is not set to prj_number ? how to corectthat
<8> select count(*) prj_number from table where something group by prj_number
<6> heh no i dont that query works just fine
<6> in mysql client
<8> ah, fair enough
<8> ignore me then :)
<6> thanks anyway
<6> who can help ?



<6> sorry
<6> i did it from the console with metadata get column name and the column name is threaly null ??
<6> pls peaple say somthing
<3> hmm.. I'd try a scriptlet to see whats up. All those tags are nice but in the end...
<3> wouldn't surprise me if your problem is caused by scope.
<6> hmm ..thats ugly
<5> better don't do sql stuff in jsp's
<3> kley: not really.
<3> Rob_uknow: indeed, best practice would be to dump that in a bean.
<3> or any other component for that manner.
<6> hmm i have other tags sql but they works just fine
<6> ?
<5> its still not smart to do
<3> I also don't agree that scriptlets are ugly. In the end its still Java and thats what Java looks like.
<6> you wanna say that that you dont belive in "that <sql:querry>" dont you?
<3> Last time I did sql stuff in a jsp it looks like "ArrayList names = null; try { dbm = new DBManager(); names = dbm.listNames(false); }. simple, good control, and no tag libraries. IMVHO tag libraries can bring in a lot of overhead.
<6> hmm ....my thematics is to use jsp and jstl to solve the problem
<5> only use jsp for presentation
<5> don't mix presentation, logic and data
<6> thats's strange in oracle that works fine
<6> stupid mysql ...
<5> maybe its a problem of the mysql connector
<5> which could give you incorrect meta data
<5> try another version
<6> mysql conector 5.0 and the server the same version
<6> strabge but it is a little stupid
<5> our sqlserver driver doesn't give correct meta data aswell
<5> so its not that unlikely
<6> and in the end i need to use the stupid mysql ? what to change the server or the driver ?
<6> or both ? any recomendation ?
<5> make a testcase
<6> you mean to try all hte stuff to instal to test and so on .. ?
<5> to make a small application that uses the connector to only query that select statement
<5> and see if the result is as expected
<6> well i have one and the rusult is not as i aspected
<5> so what does that tell you?
<5> there are only a few variables
<6> the column_name==null true :)
<6> what about easyphp it has mysql server? its not a dedicated server but ? anyone used it ?
<6> hello


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#AllNiteCafe
#AllNiteCafe
#php
e___w___s
john wesley remix lover why -harding
#java
#networking
causes bakers itch
#linux
michele34



Home  |  disclaimer  |  contact  |  submit quotes