Are you trying to save on disk space?
Disk space is pretty cheap and usually not worth the expense you'll put into managing this.
If it's just for code re-use, most people, these days manage this with build tools like ANT or MAVEN.
With tools like these, you can pull resources from where ever you like at build time.
John Eric Hamacher wrote:Hello all:
I have been thinking about how I can reuse the same JSPs in different applications . . . if there could be some sort of abstraction or project that my applications could inherit from. Any thoughts on this are welcome.
To be sure: are you writing raw Java code in JSP files instead of in Java classes? That would explain this odd question a bit more. If this is indeed the case, then the solution is simple: you should be writing Java code in Java classes, you should never be using scriptlets. This isn´t 1998 anymore.
I have scriptless JSP fragments I want to maintain centrally and use in multiple applications. I didn't literally mean the JSP would be inheriting other JSPs, more like the application projects would be inheriting other projects which have the JSPs to be reused.