I have the following scenario:
I have a servlet whose response returns HTML containing a FRAME whose URL SRC is
a jsp page. The jsp page uses the IO tag library http tag with action = GET to
return embedded content from a URL that is dynamically built by the servlet and
passed as an argument to
I'm trying to use tag libraries for the first time in Tomcat 4.0.1. I thought
I'd try the io taglib first. I followed the instructions, and added the taglib
element to the examples/WEB-INF/web.xml file as described in the documentation,
but I'm getting a SAX parse error that I don't understand
must be first if it is
present, then display-name, and so on).
You didn't show your entire web.xml, but you definitely cannot put
taglib directives ahead of things like servlet or servlet-mapping.
Craig
On Mon, 22 Oct 2001, Jonathan Pierce wrote:
Date: Mon, 22 Oct 2001 12:55:35 -0400
From
You need to specify the -Xrs option to the jdk1.3.1 VM.
Jonathan
Reply Separator
Subject:Re[2]: Toncat as service on Win2K
Author: [EMAIL PROTECTED]
Date: 10/3/2001 6:05 AM
Hello,
I'am sory to disepoint you but this solution didn't work
You should use the Cocoon rc1a release. It works out of the box with Tomcat 4.0
Jonathan
Reply Separator
Subject:Tomcat 4.0 and Cocoon on NT4.0 Sp6
Author: [EMAIL PROTECTED]
Date: 10/1/2001 4:05 PM
Hi All
I've downloaded Cocoon 2.0b2, followed
4.0b7 works fine for me. You might want to try it with the example jsps. Try
this,
1. Add the following lines to the top of one of the examples (i.e. Snoop)
response.setHeader(Pragma, No-cache);
response.setDateHeader(Expires, 0);
response.setHeader(Cache-Control, no-cache);
2. Clear your
/2001 5:48 AM
Pleae let me know how it goes for you as that is my goal for tomcat. However,
currently I am struggling with mod_jk
Pete
[EMAIL PROTECTED]
[EMAIL PROTECTED] (Jonathan Pierce) wrote:
I must still be missing something here. Please help. I'm still not able to get
an Oracle datasource
You can force the response to not be cached by the browser and proxy servers by
setting headers in your jsp response before writing your html response header.
Make sure to explicitly clear your browser cache once after doing this to get
rid of any latent cached pages.
response.setHeader(Pragma,
It sounds like a problem in your jsp or servlet.
It looks like your response is not being truncated, since you get your /html
tag. Make sure to flush the output stream before closing it in servlets. Also,
you might want to check whether you are using page.forward since this will
replace the
I'm trying to lookup a jndi datasource in Tomcat 4.0b7 but I must be missing
something.
I'm able to view the bindings but I get an error trying to instantiate the
datasource. How do I specify the factory and what value should I use to
instantiate the Oracle DataSource class?
I am able to view
I must still be missing something here. Please help. I'm still not able to get
an Oracle datasource using JNDI lookup to work.
The lookup is returning null. Has anyone been successful looking up an Oracle
datasource resource using Tomcat 4.0b7?
I've placed the following jars in /common/lib
The problem is probably something you are doing in your servlet.
Try hitting the /examples/servlet/SnoopServlet in your action instead of your
/jd/Calendar call and see if it is fast.
If you want, send me the source to your servlet and I'll take a look at what
you are doing that Netscape is
are the servlet and object files
i'm new to Java, so my design may be poor. Let me
know if you have any questions.
Thanks,
-Amos
--- Jonathan Pierce [EMAIL PROTECTED]
wrote:
The problem is probably something you are doing in
your servlet.
Try hitting the /examples/servlet/SnoopServlet
Use %CATALINA_HOME%\common\lib if you want a JAR
file visible to both applications *and* Catalina internal classes (which
is rarely necessary).
What about servlets that load at startup? Which directory does Catalina search?
For servlets that load at startup, will Catalina find servlet classes
: [EMAIL PROTECTED]
Date: 8/14/2001 9:53 AM
On Tue, 14 Aug 2001, Jonathan Pierce wrote:
Use %CATALINA_HOME%\common\lib if you want a JAR
file visible to both applications *and* Catalina internal classes (which
is rarely necessary).
What about servlets that load at startup? Which
Separator
Subject:Re: Tomcat 4.0b7 Load on Startup
Author: [EMAIL PROTECTED]
Date: 8/14/2001 7:05 PM
On Tue, 14 Aug 2001, Jonathan Pierce wrote:
Craig wrote:
Servlets that load at startup are loaded from the webapp class loader
(along with all other servlets, filters
You should use the 100% java thin-client oracle drivers. You can download it
from the following url:
http://download.oracle.com/otn/utilities_drivers/jdbc/901/classes12.zip
Reply Separator
Subject:Re: tomcat and oracle 8.1.6 for linux
Author: [EMAIL
Bryan,
This sounds like an error specific to your servlet since it indicates one of
your packages. It looks like Tomcat is successfully calling your servlet.
JServ supports an older version of the servlet api 2.1, while tomcat 3.2.2
supports servlet api 2.2 which may cause some problems for
This is done using the Java Web Start technology.
http://www.javasoft.com/products/javawebstart/index.html
If you have more questions you should discuss them further on the java web start
forum since this list is for tomcat user issues.
http://forum.java.sun.com/forum.jsp?forum=38
Jonathan
This is a bug in jdk1.3 or newer that happens when you use the tomcat NT
service. Use JavaService.exe instead to install Tomcat as a service. It is easy
to configure, and was designed to address this problem. I'm using it with
jdk1.3.1 on NT successfully.
The real question is are you just wanting jdbc datasources
or are you wanting a JDBC user authentication modality? Because
that's what JDBCRealm is for, not for general JDBC connections.
Once, again I've got to say I think you are misunderstanding Realms.
You do not need to directly access JDBC
I already sent this to tomcat-dev but got no response. I'm sending it here as
well since this list may be more appropriate.
This may be a stupid question but I've found hundreds of messages from confused
users on the subject of JDBC Realms and Tomcat and no good explanation or
example. There is
Someone please respond to these questions so I know whether JDBC Realms are a
supported feature of Tomcat3.2.2. I posted the question a few days ago and have
gotten no responses.
Has anyone been successful in referencing a jdbc datasource configured in the
server.xml of Tomcat 3.2.2? If so,
23 matches
Mail list logo