You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Doyle, Aidan" <Ai...@KPNQwest.com> on 2000/07/18 12:28:48 UTC
mod_jserv.so for Solaris 7
Hi all,
I'm having trouble building mod_jserv.so for Solaris 7. Is there a
precompiled version available.
Thanks,
Aidan Doyle
Original URL in errorpage
Posted by Volker Turau <tu...@informatik.fh-wiesbaden.de>.
Hi,
In my errorpage I would like to include the URL of the JSP-page that
caused the exception. Is this information available in the errorpage?
Maybe as an attribute (similar to javax.servlet.jsp.jspException)?
volker turau
FH Wiesbaden Fachbereich Informatik
Tel.: +49-611-9495-205 FAX +49-611-9495-210
http://www.informatik.fh-wiesbaden.de/~turau/jsp/index.html
Re: context-param vs. env-entry
Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Volker Turau wrote:
> Hi,
>
> why does the deployment descriptor for web applications contain the
> element context-param AND env-entry. Both can be used for external
> parameters.
>
> What is the idea of having both?
> When do I use which one?
>
> I guess env-entry is used to be compatible with J2EE, because all other
> modules include it (e.g. enterprise beans).
>
The <env-entry>, <resource-ref>, and <ejb-ref> entries in the web.xml file
are indeed compatible with J2EE. They require your servlet container to
make the corresponding data available through a JNDI naming context --
which Tomcat currently does not do.
Thus, the best way to provide application-wide initialization parameters to
your Tomcat servlets is to use context initialization parameters
(<context-param>) and read them with the ServletContext.getInitParameter
family of methods.
>
> volker turau
Craig McClanahan
context-param vs. env-entry
Posted by Volker Turau <tu...@informatik.fh-wiesbaden.de>.
Hi,
why does the deployment descriptor for web applications contain the
element context-param AND env-entry. Both can be used for external
parameters.
What is the idea of having both?
When do I use which one?
I guess env-entry is used to be compatible with J2EE, because all other
modules include it (e.g. enterprise beans).
volker turau
FH Wiesbaden Fachbereich Informatik
Tel.: +49-611-9495-205 FAX +49-611-9495-210
http://www.informatik.fh-wiesbaden.de/~turau