The / impact or how to lose one day.

I was developing a master-detail administration module for an ERP at the company I am working now.

So, I finish my task, hand it over to the administration team and start working on the next one.

The next day I have received a bug report that was saying my module did not worked at all. I tested it myself on the deployment server and it was true. I was seeing only a blank page.

I am relatively new to the j2ee / struts development so I did not know what was happening. On my jboss local server everything was working OK, on the Oracle Application Server - blank page.

The worst part for this it was that I did not have rights to make debug on the Oracle. After a day of struggle one colleague enlighten me: it was a “/” missing from the struts-config action’s forward definition.

I had written:

<forward name=”default” path=”template.jsp?page=erp/…

and it should have been:


<forward name=”default” path=”/template.jsp?page=erp/…

Not very smart of me… :(