Struts (can’t find validator-rules.xml after editing)

Recently I wrote some classes to extend the Struts validation framework(Struts 1.3.8). I edited the validator-rules.xml file and, as I’m used to do, I pressed ctrl+shift+f in Eclipse. Which means format the document.

The next logical step was. Run and test. Oh noooooooo’s !!!!! What happened? No validation happening at all.

Unbelievable or not but Struts could not find any validator-rules.xml . Maybe a little error in the validator-rules file? ( The first logic reaction). Validate & Check conclusion nothing wrong. Recheck the classes for errors: conclusion, nothing wrong. ( I knew that before I checked it! But…. good practice to check again). Removed anything I wrote into the validator-rules to restore it in original state -> no result.

Next step: search the internet for similar errors:
Nice results! Forums and mailing archives telling me a lot of stuff I could do. Continue reading “Struts (can’t find validator-rules.xml after editing)”

Microsoft and EcmaScript 4 / Javascript 2

Since the Proposed EcmaScript 4 document came out, Microsoft and others are trying to push trough their standards.

If you are interested in this. Read this open letter from the CTO of Mozilla to the Lead Architect for Internet Explorer.

I find it all somehow a little amusing. War over code !

How long will it take before some frustrated developer picks up a stick and beats an Ms employee to death?

Continue reading “Microsoft and EcmaScript 4 / Javascript 2”

Eclipse Fall Edition – PermGen Space Error

In the latest J2EE version of the eclipse IDE crawled a bug. If you keep getting an error named as PermGen space error (look in your .log to check for the error after an eclipse crash), there is a simple fix for it.

Continue reading “Eclipse Fall Edition – PermGen Space Error”

%d bloggers like this: