View Review Details


Book:   Programming Jakarta Struts
Subject:   Programming Jakarta Struts Review
Date:   2003-07-21 17:02:42
From:   Arin
Rating:  StarStarStarStarStar

Hi ...


Your book is awesome ... but I have one question that I didn't find an answer to in the book.


I need to be able to do click through analysis of the web application I'm working on (its Struts 1.1) and the Tomcat logs aren't enough. The Tomcat logs give you the URL of the action that the user requested, however this action could have any number of <forwards> ... so I really don't know what "happened" in the logs (I need to know what JSP was served up) ...


Is there any way to be able to get the servlet container to log all the standard stuff ( IP, session, timeStamp etc) but log the path info from the struts-config.xml's <action><forward path="theJSPToLog.jsp"></action>instead of logging the action's URL.


Or ... is there a quick mod to the struts source that can do this for me?


I appreciate the help.


Arin Sarkissian


Spoke Software



See larger cover