comp.lang.java.programmer http://groups-beta.google.com/group/comp.lang.java.programmer [EMAIL PROTECTED]
Today's topics: * store whole InputStream in a String - 20 messages, 6 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/d510835287103e9 * What's the additional value of 'EnumMap' ? - 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/731db423dd8a0ec2 * applet and native method - 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/2e332e887f6d6a04 * Thumbnail creation problem. really weird. - 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b8449e560e72a644 * Creating Logger in base class - 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/15a74f87c385ade * Native Console Output - 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/84ea4d37978c628f * Tomcat 5.5.1 vs. 5.0.19 + IntelliJ 4.5.1 -> web.xml not okay?! - 1 messages, 1 author http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/39c82f2d3738d53 ========================================================================== TOPIC: store whole InputStream in a String http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/d510835287103e9 ========================================================================== == 1 of 20 == Date: Sun, Sep 12 2004 4:32 am From: "ak" <[EMAIL PROTECTED]> > >> >> code you write are may be ok, but comments you write are not ok. > >> >> Explain me one thing please - if you writing so reliable code, > >> >> why your last arachnofillia after click on "Clear file list below" > >> >> clears complete File menu? > >> > > >> > File menu behavior it pretty strange: > >> > File ist is not not below, it is above. > >> > >> As I expected, you have mucked up your menus. Re-install Arachnophilia, > > and > >> use the customization features more carefully. > > > > consider to provide "Reset menus" button > > Already true! How long is this going to take, exactly? Please read the > documentation. no, [GetRescueMacroSet] is not the same thing as "Reset menus" button. This is the biggest problem of free software - programmers does not think about user. Users have to do this and other things instead of one simple click. Just because programmers does not become money for their products, they build a big wall between GREAT programmers and LAZY users. Stupid users have to read here and there and possibly don't ask any questions. -- Andrei Kouznetsov http://uio.dev.java.net Unified I/O for Java http://reader.imagero.com Java image reader == 2 of 20 == Date: Sun, Sep 12 2004 4:40 am From: "Tony Morris" <[EMAIL PROTECTED]> > This is the biggest problem of free software - programmers does not think > about user. Call me sick for my sense of humour, but naive statements like that tend to tickle me a tad. LOL! -- Tony Morris http://xdweb.net/~dibblego/ == 3 of 20 == Date: Sun, Sep 12 2004 5:04 am From: "ak" <[EMAIL PROTECTED]> > > This is the biggest problem of free software - programmers does not think > > about user. > > Call me sick for my sense of humour, but naive statements like that tend to > tickle me a tad. yup, go to doctor, may be he can help you However most people use Windows, just because it is more comfortable. -- Andrei Kouznetsov http://uio.dev.java.net Unified I/O for Java http://reader.imagero.com Java image reader == 4 of 20 == Date: Sun, Sep 12 2004 8:59 am From: Jacob <[EMAIL PROTECTED]> Paul Lutus wrote: > int len; > > while((len = inputStream.read(buffer)) > 0) { > bout.write(buffer, 0, len); > } This approach fails seriously on readability. The while(true) construct for reading streams is the natural choice and it is so common I'd classify it as a pattern. A "stream" is, conceptually speaking, endless! Reading it using an endless loop is quite natural. If the stream for some reason stops, then break the endless processing. == 5 of 20 == Date: Sun, Sep 12 2004 8:51 am From: Tor Iver Wilhelmsen <[EMAIL PROTECTED]> Jacob <[EMAIL PROTECTED]> writes: > The while(true) construct for reading streams is > the natural choice and it is so common I'd classify > it as a pattern. We canb call it the "Goto Pattern", then, because that's what "while(true)... break" really is. == 6 of 20 == Date: Sun, Sep 12 2004 9:02 am From: Sudsy <[EMAIL PROTECTED]> Jacob wrote: > Paul Lutus wrote: > >> int len; >> >> while((len = inputStream.read(buffer)) > 0) { >> bout.write(buffer, 0, len); >> } > > > This approach fails seriously on readability. I can't let this comment pass. The construct above is rife in professionally written code. In point of fact, the braces are frequently omitted as well. Take a look at some kernel code and you'll see what I mean. It's emminently readable if you've spent any time looking at the code of others. == 7 of 20 == Date: Sun, Sep 12 2004 9:20 am From: Paul Lutus <[EMAIL PROTECTED]> ak wrote: >> >> >> code you write are may be ok, but comments you write are not ok. >> >> >> Explain me one thing please - if you writing so reliable code, >> >> >> why your last arachnofillia after click on "Clear file list below" >> >> >> clears complete File menu? >> >> > >> >> > File menu behavior it pretty strange: >> >> > File ist is not not below, it is above. >> >> >> >> As I expected, you have mucked up your menus. Re-install >> >> Arachnophilia, >> > and >> >> use the customization features more carefully. >> > >> > consider to provide "Reset menus" button >> >> Already true! How long is this going to take, exactly? Please read the >> documentation. > > no, [GetRescueMacroSet] is not the same thing as "Reset menus" button. Try following the instructions I provided. I posted a link to the correct Web page, paragraph and section. > > This is the biggest problem of free software - programmers does not think > about user. This is the funniest line I have ever read on this topic. Programmers of free software do not think of anything else but the user. Were this not true, they would charge for their programs. > Users have to do this and other things instead of one simple click. Yes, and if "one simple click" is your goal, you should definitely avoid sitting at a computer. > Just because programmers does not become money for their products, > they build a big wall between GREAT programmers and LAZY users. That wall is built by users, not programmers. You just complained about a problem you yourself created, trying to assert that it was a flaw in my program. Then, after I posted the solution, you complained about that. Next you will demand your money back. > Stupid users have to read here and there and possibly don't ask any > questions. Yes, I know. Meanwhile, intelligent users can read the instructions, available on their machines and online at http://www.arachnoid.com/arachnophilia Now that you are done complaining about my free program, read this: http://arachnoid.com/freeware/index.html -- Paul Lutus http://www.arachnoid.com == 8 of 20 == Date: Sun, Sep 12 2004 9:21 am From: Paul Lutus <[EMAIL PROTECTED]> ak wrote: >> > This is the biggest problem of free software - programmers does not > think >> > about user. >> >> Call me sick for my sense of humour, but naive statements like that tend > to >> tickle me a tad. > > yup, go to doctor, may be he can help you > > However most people use Windows, just because it is more comfortable. And even more people avoid the disorienting experience of even sitting at a computer. Among operating systems, Windows is closest to not having a computer at all. -- Paul Lutus http://www.arachnoid.com == 9 of 20 == Date: Sun, Sep 12 2004 9:39 am From: Paul Lutus <[EMAIL PROTECTED]> Jacob wrote: > Paul Lutus wrote: > >> int len; >> >> while((len = inputStream.read(buffer)) > 0) { >> bout.write(buffer, 0, len); >> } > > This approach fails seriously on readability. As I have already said, once you have seen this pattern ten thousand times, it begins to seem familiar and readable. There is a reason one sees this pattern so often. > The while(true) construct for reading streams is > the natural choice and it is so common I'd classify > it as a pattern. No, it is a misuse of "while". It is an effort on the part of inexperienced programmers to create an unconditional block in a language that doesn't offer one. Inexperienced programmers will often create something like this: while(true) { int c = source.read(); if(c < 0) { break; } else { // use the character continue; } } This sort of code is regularly created by those with prior experience with languages that do not have any structure, or by those who simply are not getting the structured prorgamming paradigm. > > A "stream" is, conceptually speaking, endless! Conceptually speaking, nonsense. All streams end, which is why a value is reserved to signify their end, and why programmers must test for the end of the stream. > Reading it using an endless loop is quite natural. No, that is a sign of inexperience. It is a sign of ad hoc programming -- "What? This stream might end? Okay then, I'll just put a break right here, that should repair my ill-conceived code." Except it doesn't, and such devices are never seen in properly managed, maintainable software projects. > If the stream for some reason stops, then break > the endless processing. This same thing could be said of any structured programming method -- if you don't understand why it's there, defeat it. Then, after some real-life tests fail, apply a fix that is equally unsuitable to the task. -- Paul Lutus http://www.arachnoid.com == 10 of 20 == Date: Sun, Sep 12 2004 9:41 am From: Paul Lutus <[EMAIL PROTECTED]> Tor Iver Wilhelmsen wrote: > Jacob <[EMAIL PROTECTED]> writes: > >> The while(true) construct for reading streams is >> the natural choice and it is so common I'd classify >> it as a pattern. > > We canb call it the "Goto Pattern", then, because that's what > "while(true)... break" really is. I had the same thought, but I didn't want to introduce that notion to this audience. Wrong experience level. I thought it better to criticize "while(true)" on its immediate deficiencies, e.g. what it isn't rather than what it is. -- Paul Lutus http://www.arachnoid.com == 11 of 20 == Date: Sun, Sep 12 2004 11:08 am From: "ak" <[EMAIL PROTECTED]> > >> > consider to provide "Reset menus" button > >> > >> Already true! How long is this going to take, exactly? Please read the > >> documentation. > > > > no, [GetRescueMacroSet] is not the same thing as "Reset menus" button. > > Try following the instructions I provided. I posted a link to the correct > Web page, paragraph and section. Here is the first paragraph of your link: "I tried everything, and I still can't get Arachnophilia to run (or Arachnophilia ran once, but won't any more). Although most likely a resource issue (see below in this answer), this may be caused by a bad installation of Arachnophilia's user directory. Take these steps: 1. Delete the directory (user home directory)/.Arachnophilia 2. Try to run Arachnophilia again. If this fails, go to step 3. 3. Download the current Arachnophilia build from the Arachnophilia Home Page www.arachnoid.com/arachnophilia. 4. Reinstall. 5. If this fails, look for an error log file at (user home directory)/.Arachnophilia/ArachErrorLog.txt. If it exists, this file may offer some clues. If you submit a bug report, be sure to include the contents of this file. Finally, chronic unsolved problems of this class are almost invariably caused by not having enough system RAM and/or hard drive space. To solve this problem, purchase more RAM and/or free up hard drive space." Sorry, may be my english not good anough, but I don't see any solution which could be realized from within arachophillia. -- Andrei Kouznetsov http://uio.dev.java.net Unified I/O for Java http://reader.imagero.com Java image reader == 12 of 20 == Date: Sun, Sep 12 2004 11:14 am From: Paul Lutus <[EMAIL PROTECTED]> ak wrote: / ... snip full text of my FAQ on this issue > Sorry, may be my english not good anough, but I don't see any solution > which could be realized from within arachophillia. You need to stop placing conditions on a situation that you do not understand. Your post is like saying "I need to change a tire, but why can't I do this while driving the car?" The solution is listed in your post, just before your claim that it is not there: 1. Delete the directory (user home directory)/.Arachnophilia 2. Try to run Arachnophilia again. This *will* solve the problem you have created for yourself. -- Paul Lutus http://www.arachnoid.com == 13 of 20 == Date: Sun, Sep 12 2004 11:16 am From: "ak" <[EMAIL PROTECTED]> > > However most people use Windows, just because it is more comfortable. > > And even more people avoid the disorienting experience of even sitting at a > computer. Among operating systems, Windows is closest to not having a > computer at all. > I agree, most people have not anough money to buy a computer, however some people have so much money, that they don't need computer anymore. -- Andrei Kouznetsov http://uio.dev.java.net Unified I/O for Java http://reader.imagero.com Java image reader == 14 of 20 == Date: Sun, Sep 12 2004 11:23 am From: "ak" <[EMAIL PROTECTED]> > > Sorry, may be my english not good anough, but I don't see any solution > > which could be realized from within arachophillia. > > You need to stop placing conditions on a situation that you do not > understand. Your post is like saying "I need to change a tire, but why > can't I do this while driving the car?" > > The solution is listed in your post, just before your claim that it is not > there: > > 1. Delete the directory (user home directory)/.Arachnophilia > 2. Try to run Arachnophilia again. > > This *will* solve the problem you have created for yourself. You speak about solution, I speak about _user_friendly_solution_. It seems that you don't want to understand me. So long than... -- Andrei Kouznetsov http://uio.dev.java.net Unified I/O for Java http://reader.imagero.com Java image reader == 15 of 20 == Date: Sun, Sep 12 2004 11:40 am From: "ak" <[EMAIL PROTECTED]> > This *will* solve the problem you have created for yourself. tztztz, I didn't created this problem. That was some buggy software. However I used now the "only one" remedy that you recommended and it worked very well. -- Andrei Kouznetsov http://uio.dev.java.net Unified I/O for Java http://reader.imagero.com Java image reader == 16 of 20 == Date: Sun, Sep 12 2004 11:48 am From: "ak" <[EMAIL PROTECTED]> > > This is the biggest problem of free software - programmers does not think > > about user. > > This is the funniest line I have ever read on this topic. Programmers of > free software do not think of anything else but the user. Were this not > true, they would charge for their programs. Please read your own website. It looks like fortress - your leading message is "DON'T CONTACT ME!!!" > > Users have to do this and other things instead of one simple click. > > Yes, and if "one simple click" is your goal, you should definitely avoid > sitting at a computer. there much users which _must_ have computer - it is their job. And yes "simple click" could make their life easier. -- Andrei Kouznetsov http://uio.dev.java.net Unified I/O for Java http://reader.imagero.com Java image reader == 17 of 20 == Date: Sun, Sep 12 2004 11:49 am From: Paul Lutus <[EMAIL PROTECTED]> ak wrote: >> This *will* solve the problem you have created for yourself. > > tztztz, I didn't created this problem. As a mater of fact, you created this problem. > That was some buggy software. False. The program worked perfectly as it carried out your explicit instructions. Garbabge in, garbage out. > However I used now the "only one" remedy that you recommended and it > worked very well. There are several remedies, this was just one, and I practically had to force-feed it to you. -- Paul Lutus http://www.arachnoid.com == 18 of 20 == Date: Sun, Sep 12 2004 11:51 am From: Paul Lutus <[EMAIL PROTECTED]> ak wrote: >> > Sorry, may be my english not good anough, but I don't see any >> > solution >> > which could be realized from within arachophillia. >> >> You need to stop placing conditions on a situation that you do not >> understand. Your post is like saying "I need to change a tire, but why >> can't I do this while driving the car?" >> >> The solution is listed in your post, just before your claim that it is >> not there: >> >> 1. Delete the directory (user home directory)/.Arachnophilia >> 2. Try to run Arachnophilia again. >> >> This *will* solve the problem you have created for yourself. > > You speak about solution, I speak about _user_friendly_solution_. You need to ask yourself how this free program has taken advantage of you. Please, do it in public, so everyone can have a good laugh. > It seems that you don't want to understand me. It seems that I don't need ot understand you. Instead, you need to understand instructions. -- Paul Lutus http://www.arachnoid.com == 19 of 20 == Date: Sun, Sep 12 2004 11:52 am From: Paul Lutus <[EMAIL PROTECTED]> ak wrote: >> > However most people use Windows, just because it is more comfortable. >> >> And even more people avoid the disorienting experience of even sitting at > a >> computer. Among operating systems, Windows is closest to not having a >> computer at all. >> > I agree, most people have not anough money to buy a computer, > however some people have so much money, that they don't need > computer anymore. Among those people, some of them anyway, having a computer is an enjoyable intellectual diversion. -- Paul Lutus http://www.arachnoid.com == 20 of 20 == Date: Sun, Sep 12 2004 11:55 am From: Paul Lutus <[EMAIL PROTECTED]> ak wrote: >> > This is the biggest problem of free software - programmers does not > think >> > about user. >> >> This is the funniest line I have ever read on this topic. Programmers of >> free software do not think of anything else but the user. Were this not >> true, they would charge for their programs. > > Please read your own website. > It looks like fortress - your leading message is "DON'T CONTACT ME!!!" And? Too many people contact me instead of reading the instructions. Sound familiar? > >> > Users have to do this and other things instead of one simple click. >> >> Yes, and if "one simple click" is your goal, you should definitely avoid >> sitting at a computer. > > there much users which _must_ have computer - it is their job. > And yes "simple click" could make their life easier. As would a toaster control ("lighter ... darker") instead of a mouse. It all depends on what you are trying to accomplish. Your thesis seems to be "I want to press one button and let the computer figure out what I mean." -- Paul Lutus http://www.arachnoid.com ========================================================================== TOPIC: What's the additional value of 'EnumMap' ? http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/731db423dd8a0ec2 ========================================================================== == 1 of 3 == Date: Sun, Sep 12 2004 8:07 am From: Michael Borgwardt <[EMAIL PROTECTED]> Lasse Reichstein Nielsen wrote: > As enum values can be mapped to small integers, an EnumMap might be > implemented using an array. (Hmm, that's easy to check, the source > code for EnumMap is available. And yes, it uses an array :). You mean, exactly like HashMap does? == 2 of 3 == Date: Sun, Sep 12 2004 8:19 am From: noname <[EMAIL PROTECTED]> Michael Borgwardt wrote: > Lasse Reichstein Nielsen wrote: > >> As enum values can be mapped to small integers, an EnumMap might be >> implemented using an array. (Hmm, that's easy to check, the source >> code for EnumMap is available. And yes, it uses an array :). > > > You mean, exactly like HashMap does? He probably means the algorithm is optimized for never having a hash collision, so it never has to check the list of values at each bucket. Or maybe not...I haven't looked at the source code. == 3 of 3 == Date: Sun, Sep 12 2004 10:54 am From: Michael Borgwardt <[EMAIL PROTECTED]> noname wrote: >>> As enum values can be mapped to small integers, an EnumMap might be >>> implemented using an array. (Hmm, that's easy to check, the source >>> code for EnumMap is available. And yes, it uses an array :). >> >> You mean, exactly like HashMap does? > > He probably means the algorithm is optimized for never having a hash > collision, so it never has to check the list of values at each bucket. > Or maybe not...I haven't looked at the source code. It probably does work like that, but in any case it's certainly not the use of an array to which the keys are mapped that makes EnumMap more efficient, but merely the *way* the mapping is done. ========================================================================== TOPIC: applet and native method http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/2e332e887f6d6a04 ========================================================================== == 1 of 2 == Date: Sun, Sep 12 2004 9:04 am From: "kaul" <[EMAIL PROTECTED]> i have read that applet cannot call a native method due to security reasons.But start() in thread class is a native method.Then how is it that we can create thead in applets? == 2 of 2 == Date: Sun, Sep 12 2004 9:49 am From: "Boudewijn Dijkstra" <[EMAIL PROTECTED]> "kaul" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > i have read that applet cannot call a native method due to security > reasons.But start() in thread class is a native method.Then how is it that > we can create thead in applets? You mean you haven't tried to just *do* it? ========================================================================== TOPIC: Thumbnail creation problem. really weird. http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b8449e560e72a644 ========================================================================== == 1 of 3 == Date: Sun, Sep 12 2004 9:12 am From: "ak" <[EMAIL PROTECTED]> > After doing a search on how to create thumbnails from jpg's, i found the > code below. > If i run this code from a standalone java program, it works fine and it > creates the thumbnail, > but if i run it from inside a jsp page, it creates a black thumbnail with > nothing in it!!!! > does anyone know what could be the problem? it is driving me crazy. try image.getScaledInstance() -- Andrei Kouznetsov http://uio.dev.java.net Unified I/O for Java http://reader.imagero.com Java image reader == 2 of 3 == Date: Sun, Sep 12 2004 11:20 am From: "hilz" <[EMAIL PROTECTED]> > try image.getScaledInstance() this gives me a java.awt.Image object then how do i write it to a JPG file? thanks hilz == 3 of 3 == Date: Sun, Sep 12 2004 11:33 am From: "ak" <[EMAIL PROTECTED]> > > try image.getScaledInstance() > > this gives me a java.awt.Image object > then how do i write it to a JPG file? use PixelGrabber to get pixel array create appropriate DataBuffer and SampleModel, than create Raster which you can pass to PEGImageEncoder. -- Andrei Kouznetsov http://uio.dev.java.net Unified I/O for Java http://reader.imagero.com Java image reader ========================================================================== TOPIC: Creating Logger in base class http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/15a74f87c385ade ========================================================================== == 1 of 3 == Date: Sun, Sep 12 2004 9:34 am From: "WJ" <[EMAIL PROTECTED]> I'm creating a new project and want to create some base classes to provide common functions to all classes extending it. One thing I'd like to do it have the LogFactory available in every class. So I'd want something like this: public abstract class BaseClass { protected static final Log log = LogFactory.getLog(this.class); } public class Class1 extends BaseClass { //I have reference to the logger from the super class log.debug("some statement); } But, as you know, I can't use this.class in the .getLog function in the Base class. Is there a way to do this? I want the debug statement to show that the debug came from Class1, not the BaseClass. Thanks! == 2 of 3 == Date: Sun, Sep 12 2004 10:03 am From: Paul Lutus <[EMAIL PROTECTED]> WJ wrote: > I'm creating a new project and want to create some base classes to provide > common functions to all classes extending it. One thing I'd like to do it > have the LogFactory available in every class. > > So I'd want something like this: > > public abstract class BaseClass { > protected static final Log log = LogFactory.getLog(this.class); > } > > public class Class1 extends BaseClass { > > //I have reference to the logger from the super class > log.debug("some statement); > } > > But, as you know, I can't use this.class in the .getLog function in the > Base > class. Is there a way to do this? I want the debug statement to show > that the debug came from Class1, not the BaseClass. log.debug(this, "debug message"); In other words, pass a reference to the originating class instance. -- Paul Lutus http://www.arachnoid.com == 3 of 3 == Date: Sun, Sep 12 2004 12:03 pm From: "WJ" <[EMAIL PROTECTED]> "Paul Lutus" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > WJ wrote: > > > I'm creating a new project and want to create some base classes to provide > > common functions to all classes extending it. One thing I'd like to do it > > have the LogFactory available in every class. > > > > So I'd want something like this: > > > > public abstract class BaseClass { > > protected static final Log log = LogFactory.getLog(this.class); > > } > > > > public class Class1 extends BaseClass { > > > > //I have reference to the logger from the super class > > log.debug("some statement); > > } > > > > But, as you know, I can't use this.class in the .getLog function in the > > Base > > class. Is there a way to do this? I want the debug statement to show > > that the debug came from Class1, not the BaseClass. > > log.debug(this, "debug message"); > > In other words, pass a reference to the originating class instance. > > -- > Paul Lutus > http://www.arachnoid.com > The debug method does not seem to take params Object, String. It does take Object, Throwable or just Object. So I can do this: log.debug(this, new Exception("debug message")); But I can't do this: log.debug(this, "debug message"); I'm using JDK 1.4.2 ========================================================================== TOPIC: Native Console Output http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/84ea4d37978c628f ========================================================================== == 1 of 3 == Date: Sun, Sep 12 2004 9:34 am From: "Arcor" <[EMAIL PROTECTED]> Hi, if I start an application in Eclipse (under Windows XP), the output (to standard out) goes in the console view. What can I do that this output goes to a native windows console? Cord == 2 of 3 == Date: Sun, Sep 12 2004 9:51 am From: "Boudewijn Dijkstra" <[EMAIL PROTECTED]> "Arcor" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > Hi, > > if I start an application in Eclipse (under Windows XP), the output (to > standard out) goes in the console view. > What can I do that this output goes to a native windows console? java.lang.System.setOut(java.lang.PrintStream) == 3 of 3 == Date: Sun, Sep 12 2004 10:03 am From: "Arcor" <[EMAIL PROTECTED]> Thank You. But - what PrintStream to choose? Cord "Boudewijn Dijkstra" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > "Arcor" <[EMAIL PROTECTED]> schreef in bericht > news:[EMAIL PROTECTED] > > Hi, > > > > if I start an application in Eclipse (under Windows XP), the output (to > > standard out) goes in the console view. > > What can I do that this output goes to a native windows console? > > java.lang.System.setOut(java.lang.PrintStream) > > ========================================================================== TOPIC: Tomcat 5.5.1 vs. 5.0.19 + IntelliJ 4.5.1 -> web.xml not okay?! http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/39c82f2d3738d53 ========================================================================== == 1 of 1 == Date: Sun, Sep 12 2004 9:53 am From: [EMAIL PROTECTED] (Frank Ratzlow) Hi folks, I really wonder what's the difference between these both tomcat versions from the point of configuration. I created a webapp und tried to start the weppapp using the tomcat plugin of IntelliJ. Doing this with Tomcat 5.0.19 works without any hassle but firing up the application with Tomcat 5.5.1 (and some versions below) always results in the error message: ========================== "Error running Tomcat 5.5.1: Cannot find configuration of 'jsp' built-in servlet in: D:\IntelliJ-IDEA-4.5\system\tomcat_Tomcat 5.5.1_56587ce6\web.xml". ========================== The configuration (of course copied from the installation dir of tomcat) looks absolutely fine. I'm convinced that I missed something to adjust. Has anyone an idea (nice pun) what to do? TIA Frank frank_ratzlow AT hotmail DOT com ======================================================================= You received this message because you are subscribed to the Google Groups "comp.lang.java.programmer". comp.lang.java.programmer [EMAIL PROTECTED] Change your subscription type & other preferences: * click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe Report abuse: * send email explaining the problem to [EMAIL PROTECTED] Unsubscribe: * click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe ======================================================================= Google Groups: http://groups-beta.google.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/BCfwlB/TM --------------------------------------------------------------------~-> <a href=http://English-12948197573.SpamPoison.com>Fight Spam! Click Here!</a> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/kumpulan/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
