aspose 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
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 ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts - display data PROBLEM