Is it possible to have two JSPs with the same name, in two different directories on the server?

John Zukowski

Yes it is possible. The JSP engine names the actual servlet classes based upon the entire directory tree. Imagine something in being in a package of and something in in a package of The entire directory path determines the internal name of the JSP-generated servlet, not just the final filename.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact