QM wrote:
: - Finally, is it the best practice to hard-code the 'context' prefix in
: your application?
JSTL. I forget the exact tag names, but any JSTL reference will have
them listed. There's a tag for creating context-relative links, and (I
believe) one for creating context-relative image
://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: William Claxton [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 6:52 AM
To: [EMAIL PROTECTED]
Subject: directory structure and porting issues
Folks
QM -
Thanks very much for your detailed reply. I have Shawn Bayern's JSTL in
Action, and you're right - the URL issue is covered. I have also reviewed
relevant portions of the Servlet Spec 2.4, which sets out the general
approach to directory structure in applications. It seems safest to
Folks, hi -
I keep stumbling into porting issues when moving older servlet applications
from Jrun or Servlet Exec to Tomcat. A couple issues related to directory
structure always seem to arise.
One issue is that an application expecting all servlets to be loaded from a
single classpath may
: - Is there an online guide that helps app developers select a directory
: structure that is portable across servlet containers?
The servlet spec.
Do a search at java.sun.com for it. You'll want 2.3 if you're running
Tomcat 4, or 2.4 if you're running Tomcat 5. Either way, it's available
]
Subject: Re: directory structure and porting issues
Message-ID: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: [EMAIL PROTECTED]
User-Agent: Mutt/1.3.28i
X-Spam-Rating: daedalus.apache.org 1.6.2 0