Has extension mapping changed in 3.2?

2001-01-14 Thread Barry Fritchman

I had been using an extension mapping to serve XML
files in Tomcat 3.1 via my own servlet.  I just
downloaded 3.2, and it no longer seems to work (Tomcat
returns the file, but it doesn't go through my
servlet).  I have the following stuff in Tomcat's
conf\web.xml file at the appropriate places, the same
as I had it in the 3.1 web.xml:

servlet
servlet-name
XMLFileServlet
/servlet-name
servlet-class
com.mycompany.XMLFileServlet
/servlet-class
/servlet

servlet-mapping
servlet-name
XMLFileServlet
/servlet-name
url-pattern
*.xml
/url-pattern
/servlet-mapping

mime-mapping
extension
xml
/extension
mime-type
text/xml
/mime-type
/mime-mapping

This did the trick in 3.1, but I seem to be out of
luck now.  Has anything changed in 3.2 that requires
something different or additional to get an extension
mapping to work?

Thanks,
Barry


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: RE: Install the Binary Version of Tomcat

2001-01-14 Thread Shicheng TIAN(CMS)

Dear Craig,
Thanks for your reply; I checked that there isn't a semicolon at the end of
my classpath and the problem remains; I am installing tomcat on Windows 2000
Professional
Workstation, this may be a bit different to your setting?!

Shicheng

[EMAIL PROTECTED] writes:
I had a similar problem and found it to be a semicolon at the end of my
classpath.  Look at your classpath very closely.  I am running tomcat 3.2.1
on Windows 2000 server with no problems.

I start tomcat by simply double-clicking on the startup.batch file in the
tomcat\bin directory.  This opens its own dos window. Shut it down by
double-clicking on the shutdown.batch file which closes the dos window.  You
can make a shortcut on your desktop.

Hope this helps.

Craig



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Install the Binary Version of Tomcat

2001-01-14 Thread Beava201371567

Shicheng,

I had a similar problem or the same problem (I almost went crazy) installing 
tomcat 3.2.1 a win98 machine.  Before going to 
http://www.webappcabaret.com/javachina/tomcathowto.htm , try typing tomcat 
start after going to the your tomcat\bin directory.  If this works, it will 
start tomcat in a new window.  Whether this works or not, go to the javachina 
website.

You can e-mail me personally @ [EMAIL PROTECTED]

Good luck,
Calvin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat 4.0-b1, mod_webapp documentation

2001-01-14 Thread Matthias Brantner

-BEGIN PGP SIGNED MESSAGE-

Hi,

  does anybody no about a good documentation of Jakarta-Tomcat 4.0-b1
  together with Apache 1.3. I'am looking for all kinds of documentation,
  like installing, configuring,... .
  Thanx in advance for your help.

 The only real "docs" for this at the moment are some comments in the
 "conf/server.xml" file that tell you what needs to be done.  This
 information will be supplemented shortly.

 For general Tomcat 4.0 configuration information, I've recently done a
 major update to the existing docs, as well as made them available on the
 Tomcat web site at:

is their any chance to build mod_webapp without use of DSO in apache?

- -- 

mfg/best regards
Matthias Brantner

- --
Tel.:   0621-4055337
Mobil.: 0179-1006325
PGP:http://www.m-brantner.de/MatthiasBrantner.asc
- -
-BEGIN PGP SIGNATURE-
Comment: URL: http://www.m-brantner.de

iQEVAwUBOmGFIIwOhqJXuTDPAQF1xQgAhAPpUTIa8V7KnzRj/aFylj1+QYUeOKh9
nJ0QwEV9epEUjy9gCtNOolDmS+bMhPTPoNlfm2EP5iwLSyHWMxtV8uKZinLTYraV
wHvrU0rhSG5GE8EYPhd0ZE58zCL62CTC8zBou8iKINP6Wdd6I7Srgup55qW/NpDT
/v/5hitgQ+lfnQB5Y7Y2768HPUdbUY0f8Ma8MOGXdl/Gazo3Su0KNWHgAHo1tjQc
JeBdAa4OURgLQmdA9bqlUPRNRTPy54TO2DqgPSJzpmNX2nJedIdLh10J84QOpDTg
LSTaToMBhlHx/rE7djRuCPmfc0OF1gyuBofGS2lla8azmNE2Fwd8xg==
=Wsmf
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE Problems with Tomcat/Jserv on Solaris

2001-01-14 Thread Peter Hallberg

Hi Ed,

We have experienced the exact same problem on solaris 2.8.

 I did notice that the last line lacks a linker or anthing

When the final command fails, just add "ld -G" at the beginning of the
line. This will call the linker in the proper manner.


--
Regards

Peter Hallberg, Sysadm
[EMAIL PROTECTED]

Rune Fog Hansen, Systems Programmer
[EMAIL PROTECTED]

--- You wrote ---

I've been trying to install Tomcat+Apache on a Sun
Solaris 7 system today.  Here's what I've gotten:

Using Tomcat 3.1-Stable:
 * Tomcat compiles without error
 * Jserv module fails to build.  I've performed:
  apxs -o mod_jserv.so -c *.c

and it returns with an error:
apxs:Break: Command failed with rc=-256

I did notice that the last line lacks a linker or
anthing. Here's the output of the last few lines:
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include  -c
jserv_wrapper_win.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED  -I/usr/local/apache/include  -c
mod_jserv.c
  -o mod_jserv.so mod_jserv.o jserv_wrapper_win.o
jserv_wrapper_unix.o jserv_wrapper.o jserv_watchdog.o
jserv_utils.o jserv_status.o jserv_protocols.o
jserv_mmap.o jserv_image.o jserv_balance.o
jserv_ajpv12.o jserv_ajpv11.o autochange.o

As you can see, after mod_jserv.c compiles, and it
goes to compile it all into a library, it doesn't list
a linker.  On an x86 Linux machine, the exact same
thing works find with a 'gcc -shared ' before the -o.
I tried building it by hand by putting 'gcc ' before
the -o, but it complains about symbol errors, and
looks like it's trying to link to some apache library
which doesn't exist (or I don't know where the library
is).

I REALLY need help on this guys.  I know it's not the
latest and greatest build, but it's for a production
environment.  Here's the description of the installed
software on this system:

Solaris 7 Server
gcc 2.7.2.3
libstdc++
bison 1.2.8
Sun JDK 1.3

Thanks


=
Ed Stafford
[EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




WHICH DATABASE FOR TOMCAT??222

2001-01-14 Thread Mary McCarthy

Hi
Im trying to do a project using JSP and Java Beans using tomcat as a web 
server. The project is a fake online car park reservation system.
Can someone tell which is the easiest database and database server to 
implement? Can it be downloaded free from the net? Is there documentation on 
how to configure it to work with tomcat?
Thanks in advance, Mary
_
Get your FREE download of MSN Explorer at http://explorer.msn.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: WHICH DATABASE FOR TOMCAT??222

2001-01-14 Thread Guilherme Zambon

Use mysql at http://www.mysql.com.
To use it with tomcat, you must download the JDBC driver and use normally!

[ ]'s

Guilherme Zambon

- Original Message -
From: "Mary McCarthy" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 14, 2001 2:29 PM
Subject: WHICH DATABASE FOR TOMCAT??222


 Hi
 Im trying to do a project using JSP and Java Beans using tomcat as a web
 server. The project is a fake online car park reservation system.
 Can someone tell which is the easiest database and database server to
 implement? Can it be downloaded free from the net? Is there documentation
on
 how to configure it to work with tomcat?
 Thanks in advance, Mary
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Enabling each user to serve from his home space

2001-01-14 Thread Venkatesh Prasad Ranganath

Hi,

I would like to configure tomcat such that it handles servlets/jsps if
the users place their servlets and jsp in a particular directory, say
servlet-jsp, in their web home directory (public_html on apache/linux).

I know I can use Context to achieve this but then there will have to
be a context for each user.  I was wondering if there was some way to
use wildcards like we do in apache when setting properties of
public_html.  How can we indicate that what ever occurs in place of * in
docBase should be the same as that which occurred for * in path?

Context path="/*/servlet-bin" 
 docBase="/home/*/public_html/servlet-bin" 
 crossContext="false"
 debug="9" 
 reloadable="true"  
/Context

Thanx in advance,

 - Venkatesh

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Has extension mapping changed in 3.2?

2001-01-14 Thread CPC Livelink Admin


Tomcat 3.2 does not read the conf/web.xml file.  You must put your changes
in your webapps WEB-INF/web.xml file.

-Original Message-
From: Barry Fritchman [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 14, 2001 3:56 AM
To: [EMAIL PROTECTED]
Subject: Has extension mapping changed in 3.2?


I had been using an extension mapping to serve XML
files in Tomcat 3.1 via my own servlet.  I just
downloaded 3.2, and it no longer seems to work (Tomcat
returns the file, but it doesn't go through my
servlet).  I have the following stuff in Tomcat's
conf\web.xml file at the appropriate places, the same
as I had it in the 3.1 web.xml:

servlet
servlet-name
XMLFileServlet
/servlet-name
servlet-class
com.mycompany.XMLFileServlet
/servlet-class
/servlet

servlet-mapping
servlet-name
XMLFileServlet
/servlet-name
url-pattern
*.xml
/url-pattern
/servlet-mapping

mime-mapping
extension
xml
/extension
mime-type
text/xml
/mime-type
/mime-mapping

This did the trick in 3.1, but I seem to be out of
luck now.  Has anything changed in 3.2 that requires
something different or additional to get an extension
mapping to work?

Thanks,
Barry


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: WHICH DATABASE FOR TOMCAT??222

2001-01-14 Thread William Brogden



Mary McCarthy wrote:
 
 Hi
 Im trying to do a project using JSP and Java Beans using tomcat as a web
 server. The project is a fake online car park reservation system.
 Can someone tell which is the easiest database and database server to
 implement? Can it be downloaded free from the net? Is there documentation on
 how to configure it to work with tomcat?
 Thanks in advance, Mary

The HypersonicSql db is compact (100kb), fast, and 100% Java.
It works easily with Tomcat and uses standard SQL.

http://www.hypersonicsql.com/

-- 
WBB - [EMAIL PROTECTED]
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Error compiling JServ for Tomcat

2001-01-14 Thread Gianfranco Cecconi

Hello,

I'm trying to follow Jakarta Group's instructions to use Tomcat within
Apache. The document I use as a reference is the latest - but incomplete -
Tomcat user guide you can find at
http://jakarta.apache.org/cvsweb/index.cgi/jakarta-tomcat/src/doc/uguide/Att
ic/tomcat_ug.html .

I'm using the binaries for Tomcat 3.2.1. I compiled Apache 1.3.14 with DSO
support, as requested. My server is a Solaris 8 for Intel. Gcc version is
2.95.2 .

I downloaded the Tomcat source tarball to compile the Tomcat-modified JServ.
I followed the instructions but got this error:

root@solaris1:/usr/local/tomcat/src/src/native/apache/jserv#
/usr/local/apache/bin/apxs -c -o mod_jserv.so *.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c autochange.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c jserv_ajpv11.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c jserv_ajpv12.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c jserv_balance.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c jserv_image.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c jserv_mmap.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c jserv_protocols.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c jserv_status.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c jserv_utils.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c jserv_watchdog.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c jserv_wrapper.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c jserv_wrapper_unix.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c jserv_wrapper_win.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
cal/apache/include  -c mod_jserv.c
  -o mod_jserv.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o
jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o
jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o jserv_ajpv12.o
jserv_ajpv11.o autochange.o
apxs:Break: Command failed with rc=255
root@solaris1:/usr/local/tomcat/src/src/native/apache/jserv#

Any help? :-(

Gianfranco



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Changing root directory

2001-01-14 Thread kt

Hi, I'm using Tomcat by itself, and I need to change the server root
directory to maybe "D:\abc" instead of the default
"C:\jakarta-tomcat\".
This sounds simple but I just couldn't find info how this is done
anywhere.
Could anyone be kind enuf to enlighten me?
Thanx.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Changing root directory

2001-01-14 Thread CPC Livelink Admin


If you just want to change where the root of your webapps will be, then just
change/add the conf/server.xml file for the COntext Path whose docbase="/"

-Original Message-
From: Jose Ferrer [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 14, 2001 5:33 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Changing root directory


Should not be a problem. just make sure that any path settings and
classpath settings reflect your change. In particular Startup.bat and
tomcat.bat



-Original Message-
From:   kt [SMTP:[EMAIL PROTECTED]]
Sent:   Sunday, January 14, 2001 11:13 AM
To: [EMAIL PROTECTED]
Subject:Changing root directory

Hi, I'm using Tomcat by itself, and I need to change the server root
directory to maybe "D:\abc" instead of the default
"C:\jakarta-tomcat\".
This sounds simple but I just couldn't find info how this is done
anywhere.
Could anyone be kind enuf to enlighten me?
Thanx.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Tomcat aliases

2001-01-14 Thread Theodore Zirogiannis

Hi,

I am running tomcat with apache.. and am having some problems with servlet
aliases

I want to run my servlet from

http://localhost:80/servlet/WelcomeServlet

and then POST to

http://localhost:80/welcome

can somebody help me achieve this

Theodore Zirogiannis
Information Services Trainee Programmer
Oasis Asset Management Ltd


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Has extension mapping changed in 3.2?

2001-01-14 Thread Craig R. McClanahan

Barry Fritchman wrote:

 I had been using an extension mapping to serve XML
 files in Tomcat 3.1 via my own servlet.  I just
 downloaded 3.2, and it no longer seems to work (Tomcat
 returns the file, but it doesn't go through my
 servlet).  I have the following stuff in Tomcat's
 conf\web.xml file at the appropriate places, the same
 as I had it in the 3.1 web.xml:


Tomcat 3.2 does *not* read the conf/web.xml file -- you will need to install
this servlet definition (and the corresponding mapping) into each web
application's web.xml file.

Tomcat 4.0 returns to the mechanism that 3.1 used (reading the conf/web.xml
file) for setting global defaults.

Craig McClanahan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




What is your performance like?

2001-01-14 Thread Jürgen Sommer

Hi all,

at our company we tried to code some small servlets that
work with a small database. For example:
- connect to a DB2 database
- get about 100 db-entries (select from table)
- show them in a grid
We work with Visual-Age for Java 3.5.
The problems we discovered where:
- unstable workspace (VA for Java)
- unbearable slow database-queries (DB2 on a big AS400)
- most components are to simple to be really usable

What experiences do you have with java code-developement?
Are db-queries so slow as we have seen it?
Are other tools more stable or is VA more stable at your computer?
Are there any components that are better to use for a good
GUI?

I was just curious if there are people having the same problems as we have.

thanx to you
sincerely
Nostromo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Enabling each user to serve from his home space

2001-01-14 Thread Craig R. McClanahan

Venkatesh Prasad Ranganath wrote:

 Hi,

 I would like to configure tomcat such that it handles servlets/jsps if
 the users place their servlets and jsp in a particular directory, say
 servlet-jsp, in their web home directory (public_html on apache/linux).

 I know I can use Context to achieve this but then there will have to
 be a context for each user.  I was wondering if there was some way to
 use wildcards like we do in apache when setting properties of
 public_html.  How can we indicate that what ever occurs in place of * in
 docBase should be the same as that which occurred for * in path?

 Context path="/*/servlet-bin"
  docBase="/home/*/public_html/servlet-bin"
  crossContext="false"
  debug="9"
  reloadable="true" 
 /Context

 Thanx in advance,


Tomcat does not support any mechanisms for wild card entries like this.
However, Tomcat 4.0 does have a facility similar to this (and similar to the way
Apache does things).  You can configure Tomcat 4.0 so that a URL like this:

http://localhost:8080/~craigmcc

selects the web application installed in the "public_html" directory underneath
the operating system home directory for user "craigmcc".  This is done by adding
a configuration entry nested inside the Host directive:

Host name="localhost" ... 
...
Listener className="org.apache.catalina.startup.UserConfig"
directory="public_html"
userClass="org.apache.catalina.startup.PasswdUserDatabase"/
...
/Host

Note that the operating system username Tomcat is running under *must* have read
access to each user's public_html directory and its contents for this to work.


  - Venkatesh


Craig McClanahan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Query regarding applet calling

2001-01-14 Thread Craig R. McClanahan



Ayyappa wrote:

i
am calling a applet from a .jsp page in the following manner
applet code="crossword.Test"
height="200" width="200">
/applet>i am having the .class
file of the applet in a package inside the classes folder in WEB-INF. It
says that class Test not foundI even tried using the jsp:plugin> tag
but it asks me to install the java plugin. can i call the applet using
the applet tag above or is it important to use the jsp:plugin> tag.
Ayyappa email
-id [EMAIL PROTECTED]
Applet classes are located relative to the directory that the requesting
page is in. So, if the page above is in directory "$PAGE", the class
file would be loaded from "$PAGE/crossword/Test.class". You can change
the base directory for where applets are located by using the "codebase"
attribute on the applet> tag.
Craig McClanahan





Howto : Extension file mapping ?

2001-01-14 Thread Shahed Ali

Hi,

Can someone please give me a quick overview on how 
extension file mapping works ?

What I really want to know what info does the servlet get when
it is invoked by a file mapping ?

Thanks
Shahed



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: What is your performance like?

2001-01-14 Thread cga

Well, lets see if I can help.
I dont find the 3.5 version particularly unstable (I hated the version 2.0)
but what I can recomen you is to start the test enviroment for Websphere
directly running the class SERunner. (I think this is the name, if is isn't
just search SER ...)
I don't know why but I had problems if I didn't started like I told you. Do
not start it from the menu!!!
Slow database query? . 
I can hardly believe you. I mean DB2 is a good product. If the query is slow
it may be because of another problem.
There are lots of ways of optimizing queries. So I have two questions to ask
you. First, does the query by itself runs fast? Second, are you using the
Beans from IBM? On anwer I may be able to guide you.
most components are to simple to be really usable 
What do you mean. Are you using the wizards?

Bye,

Gaston

ps: isn't it a tomcat-jakarta newsgroup? (dont worry).


- Original Message -
From: Jrgen Sommer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 14, 2001 7:52 PM
Subject: What is your performance like?


 Hi all,

 at our company we tried to code some small servlets that
 work with a small database. For example:
 - connect to a DB2 database
 - get about 100 db-entries (select from table)
 - show them in a grid
 We work with Visual-Age for Java 3.5.
 The problems we discovered where:
 - unstable workspace (VA for Java)
 - unbearable slow database-queries (DB2 on a big AS400)
 - most components are to simple to be really usable

 What experiences do you have with java code-developement?
 Are db-queries so slow as we have seen it?
 Are other tools more stable or is VA more stable at your computer?
 Are there any components that are better to use for a good
 GUI?

 I was just curious if there are people having the same problems as we
have.

 thanx to you
 sincerely
 Nostromo


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




jsp to email problem on Tomcat

2001-01-14 Thread Ian Corner



Hi
I am not sure 
where the problem lies but I just want to see ifthe error I am 
gettingcould be anything to do with Tomcat.

Here is the 
error report. Any help appreciated:


Error: 500
Location: 
/examples/jsp/formsMail/mailsend.jspInternal 
Servlet Error:javax.servlet.ServletException
	at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java)
	at jsp.f_00025rmsMail._0002fjsp_0002fformsMail_0002fmailsend_0002ejspmailsend_jsp_9._jspService(_0002fjsp_0002fformsMail_0002fmailsend_0002ejspmailsend_jsp_9.java:107)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java)
	at org.apache.tomcat.core.Handler.service(Handler.java)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java)
	at java.lang.Thread.run(Thread.java:484)
Root cause: java.lang.NullPointerException
	at javax.mail.internet.MimeUtility.checkAscii(MimeUtility.java:877)
	at javax.mail.internet.MimeUtility.encodeWord(MimeUtility.java:503)
	at javax.mail.internet.MimeUtility.encodeText(MimeUtility.java:337)
	at javax.mail.internet.MimeMessage.setSubject(MimeMessage.java:541)
	at javax.mail.internet.MimeMessage.setSubject(MimeMessage.java:507)
	at jsp.f_00025rmsMail._0002fjsp_0002fformsMail_0002fmailsend_0002ejspmailsend_jsp_9._jspService(_0002fjsp_0002fformsMail_0002fmailsend_0002ejspmailsend_jsp_9.java:81)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java)
	at org.apache.tomcat.core.Handler.service(Handler.java)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java)
	at java.lang.Thread.run(Thread.java:484)
ThanksIan





ajp13

2001-01-14 Thread sun

hi, there,
I am using Solaris 7, tomcat 3.2, apache 1.3.14,
I have added
Connector className="org.apache.tomcat.service.PoolTcpConnector"
Parameter name="handler"
value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/
Parameter name="port" value="8009"/
  /Connector
in server.xml,
but in mod_jk.conf-auto, I still see
JkMount /admin/servlet/* ajp12
JkMount /admin/*.jsp ajp12

how can I congiure apache to use ajp13?

thanks.


rgds
sun


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Procedure entry point_jvm_FindClassFromClass@16 could not be located in the dynamic link library jvm.dll

2001-01-14 Thread Karri . Mikola

I get a 

"Procedure entry point_jvm_FindClassFromClass@16 could not be located in the
dynamic link library jvm.dll"  

error every time I try to start tomcat. Running the shutdown bat gives the
same expression.

Any good Ideas

-Karri 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Procedure entry point_jvm_FindClassFromClass@16 could not be located in the dynamic link library jvm.dll

2001-01-14 Thread Filip Hanik

could you tell us a little bit more about your environment

OS:
JDK Version:
Tomcat Version:

it looks like a JVM problem as opposed to a Tomcat problem


~
Namaste - I bow to the divine in you.
~
Filip Hanik
Technical Architect
[EMAIL PROTECTED]

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 14, 2001 6:31 PM
Subject: "Procedure entry point_jvm_FindClassFromClass@16 could not be
located in the dynamic link library jvm.dll"


I get a

"Procedure entry point_jvm_FindClassFromClass@16 could not be located in the
dynamic link library jvm.dll"

error every time I try to start tomcat. Running the shutdown bat gives the
same expression.

Any good Ideas

-Karri

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Procedure entry point_jvm_FindClassFromClass@16 could not be located in the dynamic link library jvm.dll

2001-01-14 Thread Karri . Mikola

Sorry, Forgot to include it:

 OS: NT4
 JDK Version: 1.2.2
 Tomcat Version:3.1.1

I have apache 1.3.14, ApacheJserv 1.1.2-2 installed.

I also have a problem with jserver. When I try to test it I can get to the
first dynamic page and I can follow the link to the configured hosts. When I
try to follow the link to mapped servlet engines, I get the response: Error
404 location /jserv/engine/0/ file not found.

Thanks in advance

-Karri

 -Original Message-
 From: ext Filip Hanik [mailto:[EMAIL PROTECTED]]
 Sent: 15 January, 2001 4:39
 To: [EMAIL PROTECTED]
 Subject: Re: "Procedure entry point_jvm_FindClassFromClass@16 
 could not
 be located in the dynamic link library jvm.dll" 
 
 
 could you tell us a little bit more about your environment
 
 OS:
 JDK Version:
 Tomcat Version:
 
 it looks like a JVM problem as opposed to a Tomcat problem
 
 
 ~
 Namaste - I bow to the divine in you.
 ~
 Filip Hanik
 Technical Architect
 [EMAIL PROTECTED]
 
 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, January 14, 2001 6:31 PM
 Subject: "Procedure entry point_jvm_FindClassFromClass@16 could not be
 located in the dynamic link library jvm.dll"
 
 
 I get a
 
 "Procedure entry point_jvm_FindClassFromClass@16 could not be 
 located in the
 dynamic link library jvm.dll"
 
 error every time I try to start tomcat. Running the shutdown 
 bat gives the
 same expression.
 
 Any good Ideas
 
 -Karri
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




upgrade from 3.1.1 to 3.2.1 not working

2001-01-14 Thread Kevin Badinger

I setup Tomcat 3.1.1 to run with Windows 2000 Server  IIS.  I am running
JDK 1.3.  All worked fine with IIS and tomcat with 3.1.1.  I have attempted
to upgrade to Tomcat 3.2.1.  Now, I get 404's when i try to display the
http://localhost/examples/jsp/index.html page.  When I run it directly to
port 8080, it works just fine.  Any ideas would be greatly appreciated.
Attached are the IIS, isapi, and tomcat logs.

Thanks,
Kevin Badinger


IIS logs 
---
#Software: Microsoft Internet Information Services 5.0
#Version: 1.0
#Date: 2001-01-14 22:30:00
#Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem
cs-uri-query sc-status cs(User-Agent) 
2001-01-14 22:30:00 10.30.1.207 - 10.30.30.40 80 GET
/jakarta/isapi_redirect.dll - 200
Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+4.0)

---
isapi.log
---

[jk_uri_worker_map.c (155)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (195)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (210)]: jk_uri_worker_map_t::uri_worker_map_open, rule
map size is 2
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /servlet/=ajp12 was added
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /examples/=ajp12 was added
[jk_uri_worker_map.c (295)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 2 rules
[jk_uri_worker_map.c (316)]: jk_uri_worker_map_t::uri_worker_map_open, done
[jk_worker.c (82)]: Into wc_open
[jk_worker.c (207)]: Into build_worker_map, creating 1 workers
[jk_worker.c (213)]: build_worker_map, creating worker ajp12
[jk_worker.c (138)]: Into wc_create_worker
[jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of
ajp12
[jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
[jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12
[jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
[jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact
is localhost:8007
[jk_worker.c (177)]: wc_create_worker, done
[jk_worker.c (223)]: build_worker_map, removing old ajp12 worker 
[jk_worker.c (235)]: build_worker_map, done
[jk_worker.c (102)]: wc_open, done
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp/index.html
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
match ajp12
[jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html] is a
servlet url - should redirect to ajp12
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/examples/jsp/index.html] is points to the web-inf directory
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/jakarta/isapi_redirect.dll
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/jakarta/isapi_redirect.dll] is
not a servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/jakarta/isapi_redirect.dll] is points to the web-inf directory
[jk_isapi_plugin.c (517)]: HttpExtensionProc started
[jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
[jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
[jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12
[jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
[jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
[jk_connect.c (108)]: Into jk_open_socket
[jk_connect.c (115)]: jk_open_socket, try to connect socket = 3096
[jk_connect.c (124)]: jk_open_socket, after connect ret = 0
[jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
[jk_connect.c (140)]: jk_open_socket, return, sd = 3096
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 3096
[jk_ajp12_worker.c (357)]: Into ajpv12_handle_request
[jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 start
sequence
[jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers
[jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating
mark
[jk_ajp12_worker.c (472)]: ajpv12_handle_request done
[jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
[jk_ajp12_worker.c (488)]: Into ajpv12_handle_response
[jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Status: 404 Not
Found
[jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Status=404 Not Found
[jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Content-Type:
text/html
[jk_ajp12_worker.c (530)]: ajpv12_handle_response, read
Content-Type=text/html
[jk_ajp12_worker.c (542)]: ajpv12_handle_response, allocating header arrays
[jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Content-Length: 201
[jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Content-Length=201
[jk_ajp12_worker.c (502)]: 

Re: Error compiling JServ for Tomcat

2001-01-14 Thread Ralph Jensen

1. Check if the TOMCAT_HOME variable is set correctly.
2. Better use mod_jk. It's newer and the documentation is better.

Ralph Jensen

- Original Message -
From: Gianfranco Cecconi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 15, 2001 1:38 AM
Subject: Error compiling JServ for Tomcat


 Hello,

 I'm trying to follow Jakarta Group's instructions to use Tomcat within
 Apache. The document I use as a reference is the latest - but
incomplete -
 Tomcat user guide you can find at

http://jakarta.apache.org/cvsweb/index.cgi/jakarta-tomcat/src/doc/uguide/At
t
 ic/tomcat_ug.html .

 I'm using the binaries for Tomcat 3.2.1. I compiled Apache 1.3.14 with
DSO
 support, as requested. My server is a Solaris 8 for Intel. Gcc version is
 2.95.2 .

 I downloaded the Tomcat source tarball to compile the Tomcat-modified
JServ.
 I followed the instructions but got this error:

 root@solaris1:/usr/local/tomcat/src/src/native/apache/jserv#
 /usr/local/apache/bin/apxs -c -o mod_jserv.so *.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c autochange.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c jserv_ajpv11.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c jserv_ajpv12.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c jserv_balance.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c jserv_image.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c jserv_mmap.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c jserv_protocols.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c jserv_status.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c jserv_utils.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c jserv_watchdog.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c jserv_wrapper.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c jserv_wrapper_unix.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c jserv_wrapper_win.c

cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/lo
 cal/apache/include  -c mod_jserv.c
   -o mod_jserv.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o
 jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o
 jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o
jserv_ajpv12.o
 jserv_ajpv11.o autochange.o
 apxs:Break: Command failed with rc=255
 root@solaris1:/usr/local/tomcat/src/src/native/apache/jserv#

 Any help? :-(

 Gianfranco



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: ajp13

2001-01-14 Thread Hoff Ray-o10037

I'm not sure how to get the mod_jk.conf-auto file to be generated with the
ajp13 tags, but all you have to do is what I did, i.e., include the
directives of the mod_jk.conf-auto in your apache httpd.conf and change the
ajp12 tags to ajp13.

Ray

-Original Message-
From: sun [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 9:22 AM
To: [EMAIL PROTECTED]
Subject: ajp13


hi, there,
I am using Solaris 7, tomcat 3.2, apache 1.3.14,
I have added
Connector className="org.apache.tomcat.service.PoolTcpConnector"
Parameter name="handler"
value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/
Parameter name="port" value="8009"/
  /Connector
in server.xml,
but in mod_jk.conf-auto, I still see
JkMount /admin/servlet/* ajp12
JkMount /admin/*.jsp ajp12

how can I congiure apache to use ajp13?

thanks.


rgds
sun


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




SSL examples?

2001-01-14 Thread Darrel Drake


I just downloaded the 3.2.1 version, which supports SSL, and was able to
connect to my server successfully. I had some problems running my own SSL
client from java, and I wonder if there are any pre-existing samples of
SSL-specific clients that access Tomcat's SSL information? (This same
client has worked with WebSphere.)

Darrell Drake*
IBM Japan, TRL
+81-46-215-4175
[EMAIL PROTECTED]
* - Notes ID has a misspelling of my name



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Tomcat 3.2 Hardware Requirements, OS

2001-01-14 Thread Alwyn M. Balingit

Hello! We are studying Tomcat 3.2 has a web app solution. I'm have searched
the archives and have read the documentation, but I can't find the Hardware
Requirements. May I know the Hardware Requirements? Also, what are the exact
Windows and Unix platforms that it support (and other OS' too)?

Thanks is advance!!

Regards,
Alwyn


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat 3.2 Hardware Requirements, OS

2001-01-14 Thread Narayanan


  This information is available in the tomcat-aache.org ..when u visit this
site they would have given the platforms in which they have sucessfully
tested
  tomcat ..Win 98 , NT ,Unix,Solaris. Linux ...supports 

  Narayanan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Starting TOMCAT on Windows 95

2001-01-14 Thread Joby





Dear Sir,

Can u pls tell me whether Tomcat Server can be 
started on Windows 95 platform.
I am not able to start the server on Windows 95 PC, 
but working fine on Windows NT PC.
Expecting a feedback soon.

Regards,
Joby




AW: Starting TOMCAT on Windows 95

2001-01-14 Thread Wenz Christian

yes it can - maybe you could provide us a detailled error message!

Regards
Chistian


-Ursprngliche Nachricht-
Can u pls tell me whether Tomcat Server can be started on Windows 95
platform.
I am not able to start the server on Windows 95 PC, but working fine on
Windows NT PC.
Expecting a feedback soon.

Regards,
Joby

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Starting TOMCAT on Windows 95

2001-01-14 Thread Jim Rudnicki

Can u pls tell me whether Tomcat Server can be started on Windows 95
platform.
I am not able to start the server on Windows 95 PC, but working fine on
Windows NT PC.
Expecting a feedback soon.

Try this Tomcat loader.  Works 99.44% of the time on 95,98,NT,2000.  Take a
look:
http://www.geocities.com/jdrudnicki/

Jim



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Howto : Extension file mapping ?

2001-01-14 Thread Barry Fritchman

The servlet gets the usual references to a
HttpServletRequest and HttpServletResponse, but it can
get the full path of the file it is being asked to
serve using the expression
getServletContext().getRealPath(request.getServletPath()),
where 'request' is the HttpServletRequest passed to
doGet() or doPost().

Barry

--- Shahed Ali [EMAIL PROTECTED] wrote:
 Hi,
 
 Can someone please give me a quick overview on how 
 extension file mapping works ?
 
 What I really want to know what info does the
 servlet get when
 it is invoked by a file mapping ?
 
 Thanks
 Shahed
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, email:
 [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Where is the bin dir??

2001-01-14 Thread Sujoy

Hi All ,
I have downloaded jakarta-tomcat . But I have not found any bin dir
in that dir structure.
When I run build bat file it gives me error telling Java-home path is not
set.
But I can run java files and path and classpath is already set in my comp.

Thanks in advance ..
Sujoy


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




binary file upload

2001-01-14 Thread Eric di Domenico

Hello,

I was unable to upload binary files using tomcat 3.2 on linux with apache...

I looked thru the archives of the mailing list, and all over the web. Many
pple posted things like "It works for me using XYZ lib"...

well, after downloading and testing the servlets.com lib ans jspsmart lib I
still had the same bug...

I even started recoding parts of the oreilly lib thinking the bug was in the
input stream(PartInputStream)... I was getting an unexpected end of part
error

until I came across a post on the list that sayed the bug came from apj13...
I switched to apj12 and everything worked great!

Anyway... just thought having an extra post in the archives wouldnt do any
harm ;)

Ciao

Eric



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




XSLT Filter implementation hints?

2001-01-14 Thread Leong Mun Wai

Hi,

I'm trying to implement an XSLT filter in Tomcat 4.0 for a JSP with XML
content. Any hints on how this can be done?

thanks
Mun Wai


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]