Excellent idea. I should have a look at the document type definition for
the web.xml file to find out where exactly I should place the
context-param element and its contents, and then perhaps also
validate the resulting XML file with an XML validator with
the DTD also supplied as input.
The
do you have taglib define in the web.xml file? might be the ordering of
your other directives, try looking at the DTD.
nick
On Fri, 4 Jul 2003, Neil Zanella wrote:
Well, now I am not entirely sure that it is mandatory, because I have
a JSP page such that when I change the WEB-INF/web.xml
Well, now I am not entirely sure that it is mandatory, because I have
a JSP page such that when I change the WEB-INF/web.xml to include the
following lines (for connecting to a database which is not yet on the
network):
context-param
param-name
javax.servlet.jsp.jstl.sql.dataSource
I should point out, in the interest of intellectual
honesty, that I didn't lick this off the grass. I
learned it after reading a well-written explanation by
Shawn Bayern. Proper credit should be given where it
belongs. - MOD
--- guo yingshou [EMAIL PROTECTED] wrote:
Thanks for your info. I
On Mon, 30 Jun 2003, [gb2312] guo yingshou wrote:
If it is *mandatory*,why the web-app.dtd still specifiy an optional
taglib element?Just for backward compatibility?
That's part of it, and it's also necessary for cases where a tag library
doesn't package its JAR in the format necessary for it
Have you configured the taglib in your web.xml using
taglib element ?
--- Neil Zanella [EMAIL PROTECTED]
Hello,
I have installed Jakarta Tomcat 4.1.24 and Jakarta
Taglibs 1.0.3,
both of which support the JSP specification. I found
the README
file
On Sun, 29 Jun 2003, [gb2312] guo yingshou wrote:
Have you configured the taglib in your web.xml using
taglib element ?
No I have not because:
1. I have not seen anything about this in the documentation.
2. I have read that Tomcat 4.1.24 has an autodetection feature
which makes this
Have a look at servlet specification.
--- Neil Zanella [EMAIL PROTECTED]
On Sun, 29 Jun 2003, [gb2312] guo yingshou wrote:
Have you configured the taglib in your web.xml
using
taglib element ?
No I have not because:
1. I have not seen anything about this in the
documentation.
Well, I just had a look at the instructions at:
http://jakarta.apache.org/taglibs/doc/standard-doc/standard/GettingStarted.html
and they say to copy the contents of directory:
/usr/local/jakarta-taglibs/standard-1.0.3/lib
to the WEB-INF/lib directory. That worked, but
once again, it seems
Actually, step 3. is unnecessary. When you create the
JAR file for your handler, the TLD file goes inside
it. It's already got the URI string you should use in
your JSP. When the JSP compiler goes looking for your
TLD, it'll find it in the JAR because it's already in
the CLASSPATH.
That's
On Sun, 29 Jun 2003, Michael Duffy wrote:
Actually, step 3. is unnecessary. When you create the JAR file for
your handler, the TLD file goes inside it. It's already got the URI
string you should use in your JSP. When the JSP compiler goes looking
for your TLD, it'll find it in the JAR
Are you sure it works on all j2ee complaint servlet
engine?
thanks.
--- Michael Duffy [EMAIL PROTECTED]
Actually, step 3. is unnecessary. When you create
the
JAR file for your handler, the TLD file goes inside
it. It's already got the URI string you should use
in
your JSP. When the
On Mon, 30 Jun 2003, [gb2312] guo yingshou wrote:
Are you sure it works on all j2ee complaint servlet engine?
The behavior is mandated by sections 7.2.1 and 7.3.1 of the JSP 1.2
specification, so all compliant containers support it; if a product
claiming compliance doesn't support it, then it's
Thanks for your info. I never do that before.Maybe I
need to have a detailed look at the sections you
mentions if I have time later.After a glimpse of these
lines,a question pops up my mind:
If it is *mandatory*,why the web-app.dtd still
specifiy an optional taglib element?Just for backward
14 matches
Mail list logo