| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> schitzo .. which is the correct flow <0> that it comes back to the source file where the forward() was initiated? <1> what is the context ? <0> 3 line spam coming <0> [14:54] <0> question on two lines of code here.. im doing a view = request.getRequestDispatcher("userList.jsp"); <0> [14:54] <0> then i do view.forward(request, response); <-- shouldn't that end right there when the jsp outputs <0> [14:55] <0> my code returns to that point, and keeps executing the code after that point <0> i thought after a forward() p***ed off control to another page, it was gone and didn't come back <0> is that incorrect? <1> no idea I don't play jsp <2> heh <3> how can a turn a char array into a string? <1> yes <1> see String API docs <3> i've tried .toString but it returns a bunch of garbae <3> garbage
<1> actually read the api docs <1> for String <1> do you have the api docs or a link to them ? <3> yes <3> ahh, new String(char_array) <3> cool <1> RIF :) <3> thanks <1> np <4> can anyone please tell me what stream.nval*-1 means where stream is of StreamTokenizer type? <4> what particularly I do not understand is the *-1 part <5> times negative one? <4> yes <6> hi all <6> i need help <7> see a therapist <4> i know now, never mind <4> what are the delimiters for StreamTokenizer? <6> Lotos <6> u can help me <6> to compile this <4> just use javac <6> http://www.securiteam.com/securitynews/5VP0M2ACKQ.html <6> were i download compiler <4> for PC? <6> for mobile <6> this code is for mobile app <4> pda? <6> siemens s55 <6> not pda <6> gsm <4> that's a cellphone <6> yes <4> so you want to comiple and install some application to your cell that's written in Java? <6> yes <6> :) <4> :( never done it, although I can tell you that you need to download Java 1.5 from java.com and the package will include a compiler <4> the problem is that you will get a .cl*** file which I am not sure how you will run on your phone <1> you'll need J2ME NOT SE for mobile, pretty sure ME is not 1.5 version <1> ME = mobile edition <6> ahh <6> me is for mobile <6> i try <1> in general yes <6> in java.com i go to mobile section <6> ? <4> what are the default delimiters for StreamTokenizer? <6> were i download this compiler <1> javasoft,com <1> . <1> same as all java compilers and dev kits <1> do you know any java standard edition yet ? <6> i go to j2me <1> do you know j2se ? <1> if not you better learn it first <6> what are j2se <1> all the tutorials are set up for SE and ME has some big deviations from SE <6> see that http://java.sun.com/j2me/index.jsp <6> what i download now <1> Googleman you need to start by learning java SE, goto www.thejavatutorial.com and follow from 'my first cup of java' <1> download and learn SE first
<6> but i need just to compile sample code <1> ME will not work for you <6> i m programer too <6> VB and Delphi <1> lol, but not Java <1> you have my advice, take it or leave it but it is intended to help you <6> yes if i have free time i learn java <1> you will at minimum need to learn the java development cycle, especialy compilation and execution models <1> have fun with your short cut :) (ROFL) <6> ok dude drop <6> less drop <4> can anyone please tell me what are the default delimiters for StreamTokenizer since I do not see then in the API <6> i never do this <8> Lotos: doesn't the API tell you? <4> I looked, and do not see the delimiters defined <1> look in the constructor public StringTokenizer(String str) <1> see them ? <1> they are listed <4> that is String, not Stream <8> Lotos: it tells you the defaults in the deprecated constructor. <4> which one is that? <1> k <1> my bad <8> Lotos: on my copy of the api, it's the first one. <8> Lotos: I think StreamTokenizer isn't qhat you want if you just want to break something up into chunks by a delimiter, it's a lot more complex than that. <4> public StreamTokenizer(InputStream is) this one? <4> I am just interested in knowing how it recognized the tokens <4> for StringTokenizer, it usually uses blank space and newline, but here it seems it tokenizes everything byte by byte and numbers seperately even though the numbers are not seperated by a space <9> If you want to split a String into chars, then use String.getChars() <9> Or toCharArray(), whatever it's called. <4> thatnks for the advice, but I would like to know how StreamTokenizer recognizes tokens <9> Don't you have to set what tokens it looks for? <1> the 5 token groups are explaine at the start of the api <1> in that costructor is shows what the initial settings for those groups is <1> Stream tokenizer isn't very analogous to String tokenizer, which is much simpler <4> white space, alphabetic, numeric, string quote, and comment character - what it means by alphabetic? <1> ffs - rif <4> ? <1> All byte values 'A' through 'Z', 'a' through 'z', and '\u00A0' through '\u00FF' are considered to be alphabetic. <1> there <1> and you can change that <4> ok, so each character is a token? <1> this is detailed in the api <4> what if you have a string like "hello-there", what are the tokens? <1> not sure if it groups bytes or acts on single bytes, a simple test will show you <4> ordinaryChar() this method sets what you want to exclude <4> but not sure like calchas said if it groups bytes <1> then write a simple test case <1> doh <4> lol <1> there are some big hints that is groups bytes <10> what can I do to have only positive int, I don't want the int to be negative? <1> use an if <1> use Math.abs(... <1> etc, depends on your context a lot <10> thanks for your help <10> k <9> lyroy: Or just don't make it negative in the first place. <11> anyone here who knows a simple java game code? <9> System.out.println("LOL"); <11> ? <9> Your question is too general. <11> yeah.. coz i just need any game <9> There are online games on t'Internet. <11> i need codes <9> What for? <11> for someone.. i think its for school.. <9> That's absolutely ****ing moronic. <11> oh well.. thanks anyway <9> One of our graduates has been caught using rentacoder, and will have their degree removed. <11> whats that? <9> It's a website. <1> ShoNuff I think you should run along
Return to
#java or Go to some related
logs:
#c #linuxhelp #chatzone #javascript #AllNiteCafe #windows t0rque #linux #AllNiteCafe #linuxhelp
|
|