Groovy Controller Bugfix

Groovy Controller Bugfix

Before I used to use groovy to take the place of java controller in spring MVC.
I develped a plugin named easygroovyplugin.jar base on some comments and discuss with a foreigner in disccuss group.

I tested them in tomcat/jboss in WINDOWS system.
But today I noticed that it does not work when I use tomcat6/tomcat7 on ubuntu system.
It is stange that when I use jboss5.1, it works fine.

Actually, I find this issue is caused in easygroovyplugin.jar:
cav.addIndexedArgumentValue(constructorArgNum++, "file://" + resource.getFile().getAbsolutePath());

So, I fixed it and rebuild the plugin.

你可能感兴趣的:(spring,tomcat,jboss,ubuntu,groovy)