Saturday, April 11, 2009

Bug when Tomcat 6(installed in directory with spaces) and Xwork

When tomcat is installed in a directory with spaces , and used for struts application you may get a

NullPOinterException

com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileManager.java:209)

This will be fixed in the future versions of the xwork jar , else you need to download the latest code from their branch and build the jar.

There is alternative to this , this error can be avoided by setting

struts.devMode=false

No comments:

 
Free Domain Names @ .co.nr!