I presume you are trying to run the code on the server?
If so, I did it (with winamp) by creating a play list then calling
this:
Runtime.getRuntime().exec(mp3PlayerPath + " " +
tmp.getAbsolutePath());
I suspect that the WiMP has a similar type of command line that would
do the same thing.
Why not put your source in the WEB-INF/classes directory of your context
or put them in any other directory, and use ant to build and have it
build the classes into that directory?
Larry
>>> [EMAIL PROTECTED] 05/07/02 10:12AM >>>
Does anyone have a solution other than having to make a new jar f
Do you have a CATALINA_HOME environment variable set? That might cause
this...
>>> [EMAIL PROTECTED] 05/07/02 09:21AM >>>
I am having problems reading a resource file I placed in
/var/tomcat4/common/lib. I also tried placing it in
/var/tomcat4/common/classes.
I wrote a small JSP which lists th
Nope, but you can in your web.xml. ;-)
Look at the default one, it has pretty decent comments on how to do
it.
Larry
>>> [EMAIL PROTECTED] 05/06/02 01:45PM >>>
is there a way in the server.xml file to turn off directory listing?
-dave
Thanks for the heads-up!
We have a similar environment (JDK 1.3.1, tomcat 4.0.1, SQL 7 / WinNT4,
JNetDirect driver) and I have asked the guy who takes care of it if he
is having similar problems.
I will follow up when I know more - maybe we can drive towards the
solution from different direct
Case sensitivity. Try this instead:
//_composer = new com.fis.Controller.Composer(..., ...); # ERROR
LINE
_composer = new com.fis.controller.Composer(..., ...); # ERROR
LINE
Larry
>>> [EMAIL PROTECTED] 05/03/02 03:52PM >>>
I've put a class struecture into
Tomcat4_home/webapps/jds/W
Use the reloadable attribute:
Larry
>>> [EMAIL PROTECTED] 05/03/02 02:44PM >>>
My problem is during development I don't want to stop and start Tomcat
each
time I change a class file.
Thanks!
>>> [EMAIL PROTECTED] 05/03/02 11:15AM >>>
On the Tomcat site:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/valve.html
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]]
Where might a guy find the meanings of those values and a
Search for "listings" in the default $CATALINA_HOME/conf/web.xml that
comes with tomcat.
The comments (line 35 in my version) are pretty clear on the options.
Larry
>>> [EMAIL PROTECTED] 05/03/02 10:59AM >>>
I was hoping that someone could tell me how to stop Directory Listings
with Tomcat 4
Where might a guy find the meanings of those values and any others that
are available?
I am guessing...
h = host
l = Hmm, no clue here.
u = user
t = time request was made
r = request
s = response (200=ok, 404=not found, etc)
b = size in bytes
Larry
>>> [EMAIL PROTECTED] 05/03/02 10:44AM
I do not think so. The JSPWriter is not able to send a byte array
(something I found while trying to output a pdf 2 weeks ago...the hard
way).
It converts byte values to char values which are double bytes in java.
Your byte array may look like this {01 02 03}, but the JSPWriter sends
out some
You can wrap almost any exception in a ServletException and rethrow it
that way.
The ServletException class allows you to call one of four constructors:
1) <>
2) String
3) String, Throwable
4) Throwable
===
try{
//some code here that may throw a SQLException...
}catch(SQLExcepti
Probably the wrong servlet.jar. I would look there first...
>>> [EMAIL PROTECTED] 02/18/02 01:07PM >>>
Running a web application on Tomcat 3.3 and trying to move to Tomcat
4.0.2 and now get these errors.
org.apache.jasper.JasperException: Unable to compile class for JSP
C:\ApacheTomcat\jakart
Javadoc is complaining because it cannot find the source referenced by
the @see tag (in this case the java.lang.Runtime class). It will still
create the javadocs, it just will not create the links to the classes
that it cannot find.
I dealt with this by unzipping the src.jar that comes with the
>>Can the class loader used to load the classes in the web app load
native libraries...
I think that classes in the web app can call native methods, but I am
by no stretch of the imagination an expert on this. When I ran the
Oracle OCI JDBC driver (which uses native code) it worked in the
WEB-INF/
OK, here is what I am seeing.
If I create a simple bean, like this:
---
public class Test implements java.io.Serializable {
protected String fullName;
public String getFullName(){
return fullName;
};
Is it possible to use something like javadt to debug running servlets on a remote
machine running tomcat?
If so, how?
Larry
I know, I know, I know! Please no flames!
This is the tomcat-user list, but I figured this would be a good place to start.
Are people using struts now? How stable is it? Is it nearly complete?
Within 3 months?
6 months?
12 months?
How does struts relate to Cocoon? Competing or complimentary
Where is the class relative to the jsp?
Recheck the docs. I'm not 100% sure, but I think it needs to be in the Web-inf\classes
directory under the web app's document root or in your system's classpath.
Larry
>>> [EMAIL PROTECTED] 04/07/01 10:45AM >>>
Hello,
I am using Tomcat 3.2 with Window
201 - 219 of 219 matches
Mail list logo