You can see a lot a references here. They are mostly string references. Just any typo and validation does not work properly. I wonder, how modern Java IDE (IDEA, JBuilder, Eclipse, NetBeans and so on) tries to help Struts developers to find and fix those kind of problems.
Does Struts Studio address these types of issues, Sergey?
I think we'd all agree that it would be excellent if an IDE, or a plugin for IDEs, understood the Struts-Config as well as, say, IDEA understands Java.
It would be cool if you entered a class name into the config and then were prompted if it weren't on the class path (like like in Java code). Or, if you were able to get a popup of all Action subclasses in the project. And so on.
To an extent, you might be able to specify many of these things as a DTD extension. I imagine there are many common patterns in configuration files, whether they are Struts configs, or the web.xml, or the Validator or Tiles configurations, or configurations used by other frameworks, like Maverick and WebWorks. The challenge is coming up with a notation to express the relationships, so that vendors (like James) could then build on top of that.
Of course, if you hardwire the Struts DTD into a package, some things become much easier. I'm sure we'll see plenty of these being tacked onto Java IDEs in the near future. But it would be neat to see a configurable XML/DTD plugin that could be used with a wide expanse of XML configuration files, even those that haven't been invented yet.
-Ted.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

