@# Quotes DB     useful, funny, interesting





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



Comments:

<0> when you write your own bytecode, you can write funny jokes to make the VM laugh
<1> hi
<2> welcome >> rain_drop
<2> :-)
<3> god, i'm so confused
<2> for the first time i hear the sincere confession of evulish ..
<2> :-D
<3> ?
<4> Server exception: java.lang.Cl***CastException: $Proxy0 cannot be cast to NC
<4> does anyone know what this error means? i tried google cant find an explaniation
<3> what are you trying to do
<4> create an RMI server
<4> java nc localhost
<4> http://pastebin.co.uk/9432
<4> this is my RMI
<5> anyone good at answering obscure issues :)



<6> yes!
<5> well i appear to have this memory issue
<5> on my j2me app
<5> but it reports the memory as being fine
<5> 258524 / 819200 that is free mem / total mem avail
<5> i guess thats what 25.8 meg / 81.9 meg? thats my first confusion
<5> i doubt the phone has 90 meg
<5> or is it /1024..
<5> makes even less sense
<5> logging the system outs i see
<5> Uncaught exception: java.lang.OutOfMemoryError - com.symbian.util.NativeError.checkExplicitOnly(), bci=44 - com.symbian.util.NativeError.check(), bci=5 - javax.microedition.lcdui.ImageLoader.append(), bci=17
<5> - javax.microedition.lcdui.Image.createImageFromStream(), bci=28 - javax.microedition.lcdui.Image.create
<6> probably 258k/819k?
<5> its almost like the image is corrupt somehow but ive optipnged them
<3> or 8mb
<5> well thats what i thought but how can that be, the phone has 30 meg free which is for use by the heap
<6> evulish_: so it's reported in tens of bytes?
<5> api doesnt say
<5> rodociulously
<3> i've seen stranger things :P
<5> whoops
<5> oh wait
<5> it does
<5> :-|
<5> bytes
<5> so that means 258k/819k right?
<5> which is impossible
<5> and also if 258 is free
<5> why does it suddenly die
<6> how big is the uncompressed image?
<5> not thaaat big
<5> there is a couple of full screen
<5> and icons
<5> but ive loaded more than this on lesser phones
<6> so it's less than 300x200
<5> 320*240
<5> 240*320
<5> i suppose that is quite big
<6> that's bigger than 258k uncompressed, isn't it?
<6> if a pixel is 32bit in any case
<6> does it work on smaller images?
<5> yes
<5> thats quite large
<5> well it works some of the time
<5> but recently started to die on bootup
<5> but yes it did big/small/medium
<5> but occasionally crashed
<5> now its doing it all the time
<6> stupid little devices
<5> yes
<5> its more like a toy than a computer
<5> maybe in c++ i could do some decent stuff
<5> but j2me is a bit of a mare
<5> it basically cant be an out of memory error as far as i can see
<5> i should make a test app to load everything really should i
<7> Hi
<6> hey
<7> i have two questions related to servlets
<7> how r u doing?
<6> pretty good
<7> so r u ready for my questions



<6> I don't know servlets
<7> ok my first question is that i have downloaded jsdk2.1 for the development of servlets..how to run the server
<7> oh ok np
<3> i use tomcat
<7> but i think procedure should be the same
<6> there is an application server that comes with the j2ee sdk last I tried, the docs should mention it
<7> there is..i have followed the instrustins from the the Read me file
<7> but no luck yet
<6> do you get an error message?
<7> hi global
<7> nothing
<2> hi L4J
<2> :-)
<6> lookingforjavaexpert: what happens when you try to start the server?
<7> ie is saying..not ofund
<7> not found
<7> in fact it swiches to the defualt search page..
<6> you have to start the server before you try to access it
<3> and you edited the files in webpages/WEB-INF, right?
<7> nothing
<7> just downloaded j2sdk and tyring my hands on it
<6> lookingforjavaexpert: what command did you use to start it?
<7> even now when i try to run servlets ex from there...no response
<3> you should start the server
<8> someone knows jsp
<8> ?
<7> the response is: make sure the path and internet address is correst
<7> i did
<3> then go to http://localhost:8080/ in your browser
<7> i ran the batch file
<7> then from command prompt i wrote startserver
<7> i even tried on 9090
<3> it works fine for me
<3> i did this:
<3> doubleclicked startserver.bat .. it opened cmd.exe and took 10 seconds to get going
<3> then went to http://localhost.8080 and it worked
<9> i wanna know how to display a messagebox in jsp
<10> ello dudes :)
<3> http://localhost:8080 that is
<7> i did that let me do it once more
<9> i wanna know how to display a messagebox in jsp
<3> i don't know what a messagebox is
<9> i wanna know how to display a messagebox in jsp
<3> sousou___: yes, we hear you.
<9> it's a message which is displayed
<9> like error message
<9> for windows
<2> try this ... >> sousou
<3> <%= blah %>
<9> nooo
<7> i tried but it did not work
<2> Response.Out.Write("alert('Hello World')") >> sousou
<9> like MessageBox in c#
<9> ok
<9> i'll try
<3> lookingforjavaexpert: when you doubleclick startserver.bat.. what does the last line say after it's tarted?
<3> *started
<10> hey evulish_ :)
<7> say where..i double clicked..cmd blinked and thats it
<9> Response.Out cannot be resolved to a type
<3> nothing happened?
<3> it just sat there blank?
<7> and when i type localhost thing..it gives error
<7> yes
<2> how about ..out.println("alert('Hello JSP')"); ? >> sousou
<9> it works
<9> but doesnt work
<3> lookingforjavaexpert: does it disappear or stay open?
<9> i have a mistake in my query
<9> ..
<9> :(
<7> disappear in 2 ms
<3> lookingforjavaexpert: what url are you going to exactly in your browser?
<7> http://localhost:8080


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#allnitecafe
#india
#allnitecafe
#worldchat
#india
#unixer
#allnitecafe
#india
Chatinn
#chat-world



Home  |  disclaimer  |  contact  |  submit quotes