It's not a secret anymore!
The moose likes Java in General and the fly likes display problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "display problem" Watch "display problem" New topic
Author

display problem

Amal Mathlouthi
Greenhorn

Joined: May 15, 2012
Posts: 13
Hi
I m working on a project in which I put to test displays and now when I want to change these messages or add others there is no change on console knowing that I run as java application
Can someone help me please
Thanks
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 9946
    
    6

I'm not sure I understand the question.

Can you clarify or give a simple example of what you want to do?


Never ascribe to malice that which can be adequately explained by stupidity.
Amal Mathlouthi
Greenhorn

Joined: May 15, 2012
Posts: 13
I had a problem at the display and it was just a problem of eclipse I use the "Project -> clean" and it works !!! thank you
but do you know how can I redirect the contents of the console to an external file
thank you
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 12911
    
    3

If you're running your Java program from the command line, you can send the console output (what gets printed with System.out.println) to a file like this:

java com.mycompany.MyProgram > output.txt

See Using command redirection operators (Microsoft's documentation).


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Amal Mathlouthi
Greenhorn

Joined: May 15, 2012
Posts: 13
I m runnig my code from the Eclipse tool (run as application)..... and I need a part of the console in which I receive in a soap envelope ( xml format) from a web service ... is that it is feasible..
thanks
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 12911
    
    3

So, your program prints a SOAP message (in XML format) to the console? Can't you just select the text in the console and copy and paste it? Or modify your program so that it writes the SOAP message to a file instead of to the console?
Amal Mathlouthi
Greenhorn

Joined: May 15, 2012
Posts: 13
Jesper de Jong wrote:So, your program prints a SOAP message (in XML format) to the console? Can't you just select the text in the console and copy and paste it? Or modify your program so that it writes the SOAP message to a file instead of to the console?


I m doing now a copyy and paste but i m trying to find other solution better than doing copy past !!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: display problem
 
Similar Threads
Weird problem with Servlets 4A...
Latest changes in SCJP
Screen changing
Cup Symbol.
Java 1.5 on mac