1 Feb 2004 01:36
Re: importing groovy scripts?
James, Does this mean that importing groovy scripts works from within groovlets? If so, how do I go about importing other scripts from groovlets? Can I just use: import myGroovyScript Assuming that myGroovyScript lives at the root level of my web app. Or do I need to create a class within the myGroovyScript file and import it that way: import myGroovyScript.myGroovyClass This is great if it is already working in groovlets. I was resigned to having to write monolithic servlets for the time being. And slowly refactoring them and compiling separate classes so that I could use some nicer design patterns like the Command Design Pattern, etc. Thanks, Carl ps. I've been using Jython to script Java for a while and I've been using Groovy for about a week now and I really enjoy it. Great work! -----Original Message----- >From: James Strachan <james_strachan@...> >Subject: Re: [groovy-user] importing groovy scripts? >Date: Sat, 31 Jan 2004 08:30:54 +0000 >To: groovy-user@...(Continue reading)
RSS Feed