File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts - display data PROBLEM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts - display data PROBLEM" Watch "Struts - display data PROBLEM" New topic
Author

Struts - display data PROBLEM

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi , wondering why tomcat console will display data twice? anyone have idea ?

one method of NavBarCreator class file and is called by action ;


this file is actually action


do anyone know why when i call the headerPageGen() method , will caused the system.out.println() display double output ?

how to solve it ? thank you !!

[ October 11, 2004: Message edited by: Alvin chew ]

[ October 11, 2004: Message edited by: Alvin chew ]

[ October 11, 2004: Message edited by: Alvin chew ]
[ October 11, 2004: Message edited by: Alvin chew ]
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
navBarTest()




[ October 11, 2004: Message edited by: Alvin chew ]
[ October 11, 2004: Message edited by: Alvin chew ]
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
this result the printWriter write double data into file , why is it so ? anyone can help ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts - display data PROBLEM
 
Similar Threads
howto set DIV and make display
problem of display image in tiles
session problem with Action
java coding problem ~ system.out.println
howto continue write file