hengha | Hi, in my servlet I want to output different content based on the post variable, say, if action='fetch' got post, it will use PrintWriter out.println("a"); if there is NO action post var but var='list' it should out.println('upload'); I put this if else in my doPost method : String action=request.getParameter('action'); String upload=request.getParameter('var'); if ( "fetch" == action ) { out.println("do Fetch"); } else { doSomethingMethod(var);}; HOW | 01:28 |
---|---|---|
hengha | fetch', doSomethingMethod(var) still got executed ( since var is not defined, so I got ExceptionError ), any idea ? | 01:28 |
dholbach | good morning | 07:58 |
robilad | moin dholbach | 08:07 |
dholbach | heya robilad - how are you doing? :) | 08:08 |
robilad | lots of tunnels on the way up to hamburg :/ | 08:21 |
robilad | so my connection is spotty | 08:21 |
dholbach | I hope other than that you're fine :) | 08:22 |
robilad1 | oh yeah, all's well, i am thinking about jumping over to berlin for fri/sat linux tag | 08:27 |
robilad1 | there is apparently a cheap bus service between berlin & hamburg, so I figure I should check that one out | 08:28 |
dholbach | nice | 08:28 |
* dholbach is going to be around too | 08:28 | |
robilad1 | dholbach: do you know mjung, by chance? | 08:33 |
dholbach | robilad1: Marko? | 08:33 |
robilad1 | yeah, you do ;) | 08:34 |
dholbach | :-) | 08:34 |
dholbach | robilad1: what about Marko? | 08:45 |
robilad1 | dholbach: he worked at the same place i did for a while, and studied at the same uni, so we've known each other for a while. | 08:48 |
robilad1 | and since he's now one of the linuxtag guys, i figured you'd know him ;) | 08:48 |
dholbach | ah great :) | 08:48 |
WaxyFresh | Can anyone please help me with setting up java in opera,i have suns java and the java plugin installed and my path set up ?correctly? but still no luck | 17:04 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!