It sounds like you don't have an entry for the j_security_check in your
uriworkermap.properties file. IIS doesn't know that it needs to forward the
request for that page to tomcat...
add something like this
/webapp/j_security_check=$(default.worker)
and restart the web publishing service.
Hamish
Is there are reason you can't just use:
session.setAttribute(tempName); and then later
session.getAttribute(tempName);???
Hamish
> -Original Message-
> From: Michael Ni [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2003 1:11 PM
> To: [EMAIL PROTECTED]
> Subject: Re: instance nam
May I suggest you have a look at the Java Reflection package...
java.lang.reflect
also the java.lang.Class class, class.forName() will be of interest to you.
> -Original Message-
> From: Michael Ni [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2003 12:24 PM
> To: [EMAIL PROTECTED]
Remember to set the appropriate mime type for javascript (text/javascript)
and css (text/css) files too.
> -Original Message-
> From: Turner, John [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 03, 2003 4:45 PM
> To: 'Tomcat Users List'
> Subject: RE: Mime-Type
>
>
>
> JSPs are never s
It's really a bad idea to do that kind of thing in a finalize method when
dealing with a valuable time-critical resource like a DB connection.
- You don't know when the object will be collected and the finalize method
will be run. You could find yourself running out of DB connections very
quickly.
If your JSPs are so complicated that you need a debugger then I would
seriously consider cutting out some of your java code and putting it into
java beans that you access from your JSPs.
It's much better practice to have JSPs that are only responsible for the
view.
Hamish
> -Original Message
Look at the link again! You're missing the part that was chopped off at the
end of the line...
> -Original Message-
> From: sunisson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 9:18 PM
> To: Tomcat Users List
> Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the
use the Session.invalidate() method
Try looking at the j2ee api.
Hamish
> -Original Message-
> From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 14, 2003 2:46 PM
> To: Tomcat Users List
> Subject: Re: Login problems (still)
>
>
> What is the best way to go about inva
You can't. You need to go and retrieve whatever other info from your
database yourself probably using the username as the primary key.
Hamish
> -Original Message-
> From: fangfang cai [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 13, 2003 6:01 PM
> To: Tomcat Users List
> Subject:
gt; though struts
> was just tag libs and an MVC for hitting business logic.
>
> Time for me to learn struts now I guess...
>
> --
> Sloan
>
> - Original Message -
> From: "Barney Hamish" <[EMAIL PROTECTED]>
> To: "'Tomcat Users Li
hat if they don't go to the index.jsp or
> > login.jsp it will redirect them to the login.jsp.
> > (is that the best way?)
> >
> > So basically they either go to the index.jsp or login.jsp
> page. How do I
> > list a page as secure?
> >
> > Do I h
I saw an interesting article about this recently about using javascript to
do RPC using an iframe. You could either use this as a pure HTML solution or
use it in conjunction with a java applet to solve your problem.
http://www.oreillynet.com/pub/a/javascript/2002/02/08/iframe.html
Hamish
> -Or
Are you going directly to the login page? If so then you need to go to a
page in that's listed as being secure. You will then be forwarded to the
login page. When you've logged in successfully then you will be forwarded to
the page you originally requested.
Hamish
> -Original Message-
> Fr
Unless tomcat is running on port 80 (the default port for HTTP) the URL
_must_ include the port number otherwise the browser assumes that the
webserver is running on Port 80 (which is apparently not the case).
Try configuring tomcat to run on port 80 instead of 8080 (or whatever you've
got it set
I assume you mean spreadsheet and not stylesheet...
Unless you really need something complicated from excel why don't you just
send a csv (comma seperated values) file. Excel can open CSV files like
normal excel format spreadsheets.
> -Original Message-
> From: Power-Netz (Schwarz) [mail
I did something like that using struts. I wrote a base action class which
all my other action classes extended. The base class performs any
initialization (initializing objects in the session etc) as required.
If you don't want to use struts you might consider using a filter.
Hamish
> -Origin
Have you considered using the struts logic tags
(http://jakarta.apache.org/struts/index.html) or the JSTL
(http://jakarta.apache.org/taglibs/index.html) rather than implementing this
stuff yourself? There are some useful custom tags (like the iterate tag
you're trying to implement).
Hamish
> -
Try running tomcat as a service rather than from the command line directly
that way all stdout should be redirected to your logs.
Hamish
> -Original Message-
> From: Geoff Peters [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 31, 2003 2:52 PM
> To: [EMAIL PROTECTED]
> Subject: debuggin
cat Users List'
> Subject: RE: Context problem, urgent!
>
>
> Hi,
>
> I am still struggling with ant. After puting the library
> files manually, I
> got this error message:
>
> BUILD FAILED
> file:C:/jakarta-tomcat-4.1.18-src/webapps/tomcat-docs/build.xml:82:
>
ception:
> http://jakarta.apache.org/builds/jakarta-commons/release/commo
> ns-beanutils/v
> 1.4.1/commons-beanutils-1.4.1.tar.gz
>
> Total time: 2 seconds
>
>
> I am using W2k, why it tried to download tar.gz?
>
>
>
> -Original Message-
> From: Ba
It sounds like you're running ant from the wrong directory...
Try running Ant from the directory where the Tomcat build.xml is.
Hamish
> -Original Message-
> From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 30, 2003 11:59 AM
> To: 'Tomcat Users List'
> Subje
Weblogic and Tomcat do the same thing! They are both java servlet
containers... It might make sense to integrate Tomcat with Apache or
Weblogic with Tomcat but _not_ weblogic and Tomcat.
-Original Message-
From: Ramkumar Krishnan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002
see the j2ee documentation on the request object...
There is the method getRemoteUser()
> -Original Message-
> From: Shah, Sanjay [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 24, 2003 6:28 PM
> To: 'Tomcat Users List'
> Subject: username as a variable?
>
>
>
>
> Is there a way t
I'd suggest looking at the comments in the examples for DBCP about how the
examples need to be run. The required JDBC driver needs to be pre-loaded for
it to work.
If you have any further questions you should probably send them to the
commons mailing list.
Hamish
> -Original Message-
> F
Try defining a finalize method in an object that resides in the user's
session. When the session is destroyed that object's finalize method will be
called.
Hamish
> -Original Message-
> From: Renato Romano [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 21, 2003 11:31 AM
> To: 'Tomcat
ion(
> PageContextImp
> l.java, Compiled Code)
> at
> org.apache.jsp.validate$jsp._jspService(validate$jsp.java, Compiled
> Code)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
> , Compiled
> Code)
> class="com..javaBeans
> Sent: Thursday, January 16, 2003 2:37 PM
> To: Tomcat Users List
> Subject: Re: JSP fine but no Java.
>
>
> The classfiles are in the right place. That tag is what's being used.
>
> Andoni.
> ----- Original Message -
> From: "Barney Hamish" <
Are the class files you're trying to use in your /WEB-INF/classes/ directory
or in a jar in your /WEB-INF/lib/ directory?
Have you tried using the tag?
> -Original Message-
> From: Andoni [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 16, 2003 2:12 PM
> To: Tomcat Users List
> Subje
Can't you use a session/request scope object? However it's not clear to me
why you need to share the variables between the servlets without having them
communicate directly.
Hamish
> -Original Message-
> From: Vijay Kandy [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 04, 2002 4:28 P
On our systems I use an error page which contains another login form as well
as an error message. Maybe you could try that.
Hamish
> -Original Message-
> From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 01, 2002 6:22 PM
> To: Tomcat Users List
> Subject: retry fo
Have a look at log4j
-Original Message-
From: Mohan,Gautam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 10:09 AM
To: [EMAIL PROTECTED]
Subject: Debugging servlets
Hi,
I want to know is debugging servlets possible in Tomcat(version 4) . If
yes then how to go about
In the web.xml you can define a url pattern for servlets, eg:
myServlet
/directory/*.xml
class.MyServlet
See the servlet spec from sun for more information about the settings in
your web.xml
> -Original Message-
> From: A
Have a look at the list archives _before_ posting a question. You would have
noticed that this question has been answered many times. The JDBC-ODBC
bridge from sun is not thread safe and is liable to crash like that
periodically. There's a free JDBC driver available from Microsoft or other
3rd Par
List
> Subject: RE: Tomcat Connection pooling
>
>
> If DBCP is a problem, then do you have a working example of
> how i can use it
> with PoolMan?
>
> Amitabh
>
> -Original Message-
> From: Barney Hamish [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 2
Be careful if you decide to use DBCP with SQL Server. I found SQL Server
drops open connections every 10 minutes or so, even while you're in the
middle of retrieving query results!!! (so the verify connection thing
doesn't work) DBCP needs some way of automatically dropping and recreating
connecti
Is your server on Windows or *nix?
Have you tried tail? That allows you to view the last X lines of the log in
real-time.
Hamish
> -Original Message-
> From: Nicholas Orr [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 20, 2002 10:48 AM
> To: Tomcat Mailing List
> Subject: Realtime L
ecompile all jsps?
>
> -Ursprüngliche Nachricht-
> Von: Barney Hamish [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 18. September 2002 14:34
> An: 'Tomcat Users List'
> Betreff: RE: Reloading .jsp-Pages
>
>
> Usually you need to touch the files upda
Usually you need to touch the files updated files somehow after copying them
otherwise tomcat doesn't know that it needs to recompile them. An
alternative is to delete everything in the work directory and restart tomcat
forcing it to recompile all jsps.
Hamsih
> -Original Message-
> From:
Are the stderr and stdout log files being created?
> -Original Message-
> From: Meagher, Joe [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 05, 2002 12:47 AM
> To: '[EMAIL PROTECTED]'
> Subject: jk_nt_service.exe
>
>
> I know this is probably an old and dead issue for most of yo
In xml you can't just write & because it has special meaning. It's used to
escape special characters. To get an & you'll have to write
&password=foo
Hamish
> -Original Message-
> From: Howard Miller [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 05, 2002 12:39 PM
> To: '[E
x27;m looking for! :)
>
> Cool...I'm going to read more about it. Do you know the
> syntax of the top
> of your head for specifying an onStartup servlet in the web.xml file?
>
> Thanks for your help.
>
> Neal
>
>
> -Original Message-
> From:
iables
> that you want
> placed into the application object ... but can you instantiate objects
> there? Can you specify scope of those objects or will it presume
> application scope?
>
> THanks.
> Neal
>
>
> -Original Message-
> From: Barney Hamish [mailto:[E
You can use the WEB-INF/web.xml to similar effect or you can also declare
objects to have application scope, then you have a global object that you
can access anywhere.
Hamish
> -Original Message-
> From: neal [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 10:15 AM
> To: T
If you put them somewhere in accessible to your class path you can load them
as resources.
ie /foo/my.xml
classpath= /foo/ etc
> -Original Message-
> From: Mubaraka Arif [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 30, 2002 12:23 PM
> To: [EMAIL PROTECTED]
> Subject: tomca
Hi,
Just started using DBCP(1.0) to do my DB connection pooling but have two
problems:
The connection keeps dropping out. I keep recieving SQL exceptions saying
the connection is closed, sometimes in the middle of retrieving my query
results.
eg.
java.sql.SQLException: Connection is closed.
I de
The server.xml that comes with Tomcat itself is pretty well documented. Why
don't you just step through that and read the comments?
Hamish
> -Original Message-
> From: Mitchell, Edmund [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 29, 2002 2:39 PM
> To: 'Tomcat Users List'
> Subje
Can you perhaps write a little servlet that forwards a request to a new
address (a string defined in the web.xml) and then map the servlet to the
url pattern you want.
i.e.
url pattern for servlet
/COLANgamma/*
then the servlet takes the request string (whatever is after the url pattern
for the
There are a couple of ways you can do this:
-Add a redirect header to your page 3XX (see rfc2616)
-Use jsp:forward tag
-Client side with javascript
But it really depends what you want to do exactly.
Hamish
-Original Message-
From: Alexander Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Thursd
The only way I thought of to get around this problem was to prefix usernames
with the other field. In your case login form has three fields, username,
password and office and you have a javascript that concatenates the office
number to the username when the user submits the login form...
we have
mcat Users List'
> Betreff: AW: forward to TOP-Frame
>
>
> This is a problem cause the forward should happen when the session is
> invalid.
> I check this in my controller.jsp
>
> > -Ursprüngliche Nachricht-
> > Von: Barney Hamish [mailto:[EMAIL PROT
You can't solve this with forward. You need to do this client side with
either javascript or by changing whatever link the user clicks on to to
include a target.
Hamish
-Original Message-
From: Harry Knörrer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 11:27 AM
To: Tomcat-L
olves this very problem (despite what our firewall people told me *grrr*).
http://httpd.apache.org/docs/mod/mod_proxy.html#proxypassreverse
ProxyPassReverse directive
This directive tells apache to modify redirects to point to the reverse
proxy instead.
Hamish
-Original Message-
From: B
"Tomcat Users
List"
Barney Hamish
<[EMAIL PROTECTED]>
cc:
09/08/2002 11.32 Subject: Login problem
with reverse proxy
The login page shouldn't be referred to directly. The standard states that
when a user first tries to access a resource secured by a security
constraint then they will be forwarded to the login page. Don't put the
login form in you index.jsp.. or have your index.jsp being secure so that
the user i
Hi,
I'm using tomcat 3.2 with form based login and an apache reverse proxy to
filter requests to the webserver. When tomcat issues the redirect to the
login page the users are sent directly to the webserver not the reverse
proxy. As the webserver is not directly accessable they are unable to
reque
<%@ page contentType="..." %>
Check the jsp syntax!
http://java.sun.com/products/jsp/
-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 10:51 AM
To: [EMAIL PROTECTED]
Subject: How to set the content type from JSP?
Hi,
how can I set the con
I don't think this is possible as the webserver doesn't care about which
browser frame responses are being sent to.
Is there are reason this can't be done client side by specifying a target
for the link the user is clicking on (or whatever triggers the response in
the first place)?
Hamish
-O
Forgot to mention if that still doesn't work then you can stop using the
custom tag for the loop and write java code to iterate over my_property.
-Original Message-
From: Jakarta Tomcat Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 11:10 AM
To: [EMAIL PROTECTED]
Subje
As the error message says it's illegal to perform a flush while you're in a
custom tag.
Try setting the flush attribute to false explicitly i.e.:
It could be that flush has different default values for the development
version and your production version...
Hamish
-Original Message-
Fr
JAVA_HOME should be set as c:\jdk1.3 not c:\jdk1.3\bin
Hamish
-Original Message-
From: siva murugan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 2:24 AM
To: [EMAIL PROTECTED]
Subject: help me
Sir/Madam,
Fine and expect the same from U and all.
Iam SivaMurugan from INDI
t;encrypted" right?
> Just that there's a high-tech version of a "checksum" in a sense? I guess
> maybe I don't understand signing. I thought that signed files were
> unencrypted, and that the process of "signing" generates a sort of
MD5-style
> one-wa
r is the public key.
Both can be used to encrypt the data in analogous ways.
-Original Message-
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 11:14 AM
To: Tomcat Users List
Subject: Re: Security problem?
> On 6/7/02 1:54 AM, "Barney Hamish&quo
This is one way, there are probably others. By using encryption you can make
such a transaction secure.
If site X is where they buy the thing and site Y is your site:
You could get site X to pass two things:
- the amount of money the user is to pay in clear text
- the amount of money the user is
Why don't you set the user roles table to be the same as the users table.
Have a user_role field in the users table with a default value "default
role" or something. That way when you create a new user a role is
automatically created for them with the role of "default role". Then you
don't have to
Just some ideas:
-Did you restart tomcat on your production machine after copying the files?
- Are you using the same browser to view both machines? Is there a reason
cookies wouldn't be accepted when you're browsing the production site?
Hamish
-Original Message-
From: [EMAIL PROTECTED]
I'm not exactly clear on what you're trying to do from your description.
>From what I understand from your question it should be possible to do what
you're attempting by using either a session bean. THis will allow you to
store the values in your field across multiple requests.
Alternitively if th
If I were you I'd check the error logs or the jvm.stdout or whatever. It
could be that there is a problem creating the connection to the database to
authenticate the user. If this is the case there should be error messages
indicating problems connecting to the database.
-Original Message-
What driver are you using for your database connections. The most common
cause of Tomcat crashes like you describe is the use of the JDBC-ODBC
bridge.
-Original Message-
From: Daniel Tamborelli Alvarenga [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 6:55 PM
To: Tomcat Users Lis
Why don't you just run Tomcat as a service. Then you'll never see the
console.
-Original Message-
From: RAYMOND Romain [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 1:45 PM
To: Tomcat Users List
Subject: TC hidding console
Hello,
is there a way under Windows2000 to hide TC c
Try touching the JSPs before you run them to make sure that the timestamp is
changed so tomcat knows to re-compile the JSP.
-Original Message-
From: Giorgio Ponza [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 5:37 PM
To: Tomcat Users List
Subject: Re: someoneneed help..
I had a similar problem. I kept the files out of the webapps folder. I wrote
a servlet that checks the username before serving up the file. If the user
has access to the file then it sends it otherwise it blocks access.
Hamish
-Original Message-
From: Surya Suravarapu [mailto:[EMAIL PROT
Although this doesn't address the problem you're having with your tag, you
should consider using the Struts tag library. The Iteration Tag in the logic
tags does exactly what you want and it's been tested extensively.
http://jakarta.apache.org/struts/doc-1.0.2/struts-logic.html#iterate
Hamish
---
The queries tomcat uses are hardcoded. Given the way JDBC Realms are
implemented on Tomcat you've only got two choices:
1. Modify the existing org.apache.tomcat.request.JDBCRealm to use the query
you want it to use.
2. Write your own request interceptor from scratch.
Have a look at the source f
Rather than writing your own, maybe you should think about using the Struts
framework (also part of the Jakarta project). This allows you to configure
page flow etc centrally.
Hamish
-Original Message-
From: Gurmeet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 3:32 PM
To: To
The Error message tells you what the proplem is:
"... Error creating server socket = (java.net.Bind Exception):
java.net.BindException: Address already in use:... "
Tomcat can't listen on the socket it wants to because some other application
is already using that socket.
Either find out which app
Have a look at the servlet specifications from sun that correspond to your
version of Tomcat. They tell you what you need to add to your web.xml to set
up user-defined mappings to servlets.
Hamish
-Original Message-
From: Uri Shohet [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28,
You can set up aliases for servlets in the web.xml but the servlets still
have to reside in the WEB-INF directory. Have a look at the documentation
for the web.xml file.
-Original Message-
From: Thomas Stiller [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 2:28 PM
To: [EMAIL
Sorry, my mistake. I misread your message thought you were using IIS
Hamish
-Original Message-
From: Eswar.K [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:40 AM
To: Tomcat Users List
Subject: Apache does not load images!!
Importance: High
hi guys,
My system setup
It's hard to diagnose your problem without more details.
Which pictures aren't loading when you go via port 80? Which ones are?
My first suggestion would be to check your uriworkermap.properties file.
-Original Message-
From: Eswar.K [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27
It's not clear what you want to know. Perhaps you should take another look
at the documentation.
You can authenticate people against a database, the XML file is just a
simple example.
>From a servlet you can find out what username they logged in as and which
realms they have access too.
What e
By installing Tomcat on the local machine exactly as you would on the remote
machine!
-Original Message-
From: Kevin Chen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 9:40 AM
To: [EMAIL PROTECTED]
Subject: Testing servlets
If it's possible, how can I use Tomcat to test
It sounds like your problem is that the redirect dll doesn't know about your
servlet.
If you don't refer to the servlet as
/myApp/servlet/myServlet
but rather as
/myApp/myServlet
then you must include a mapping to that servlet in your
uriworkermap.properties like:
/myApp/myServlet=$(default.worke
Check what account you're starting tomcat under or what account the Tomcat
service is being run under. Does that account have access to the drive
you're trying to access.
-Original Message-
From: Jack Li [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 4:45 PM
To: '[EMAIL PRO
And what do you have set in your wrapper.properties file?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 3:14 PM
To: Tomcat Users List
Subject: RE: Tomcat as a service...
What do you mean by my Network config?
I have tried it at
The instructions on how to build tomcat (provided with the tomcat source)
detail where to get the XML parser and all the other stuff you need.
-Original Message-
From: Jim Urban [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 5:28 PM
To: Tomcat Users List
Subject: RE: Tomcat vs.
Exactly the same thing!
-Original Message-
From: Kinander Jan [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 9:48 AM
To: '[EMAIL PROTECTED]'
Subject: Tomcat as a Windows Service on Windows 2000?
I have read an instruction by Gal Shachor on page
http://jakarta.apache.
-files are restricted, (well,
except from login.jsp and error.jsp) and html-files are public. What I would
like to achieve is, having a form on index.html where people type in their
usernames, clicks log in and then they are at one.jsp
- Peter
-Original Message-----
From: Barney Hamish [mailto:[EMAIL
ng from index.html > login.jsp > one.jsp via form-based login
- Pete
-Original Message-
From: Barney Hamish [mailto:[EMAIL PROTECTED]]
Sent: 15. januar 2002 12:13
To: 'Tomcat Users List'
Subject: RE: Form-based login from html-page
You can use realm based authentication t
You can use realm based authentication to acheive what you want to do. See
the Tomcat documentation
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html
and the Servlet specifications
http://java.sun.com/products/servlet/download.html
for more information
-Original Message-
F
As it says check what you have for the TOMCAT_HOME environment variable.
You should also try starting it from your TOMCAT_HOME directory instead
(i.e. so you write bin/startup).
Hamish
-Original Message-
From: Tomas Nilsson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 10:57
Why don't you put it in the web.xml
directory
[my directory]
Then you can grab it from your servlet with a get Context Parameter call.
-Original Message-
From: Stephan Wiesner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 3:36 PM
To: Tomcat Users List
Subje
he
WEB-INF folder or in the lib folder...
Could you help me out with a little more specifics towards the worker,
wrapper etc ...
-Original Message-
From: Barney Hamish [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 11:07 AM
To: 'Tomcat Users List'
Subject: RE: Wh
You need to make sure you put a reference to the driver location in your
class_path variable. Where you need to do this depends on how you're running
tomcat, modify the environment classpath variable or in the
worker.properties file, or in the wrapper.properties file etc
-Original Message
You can use whatever tools you want to create HTML pages and then rename
them to .jsp and add whatever dynamic JSP stuff you want. JSP files are just
HTML documents with a bit of scripting added to them.
-Original Message-
From: renyu teng [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, Novembe
Velocity is part of the Jakarta project of which Tomcat is one part. You can
use this syntax already by using Velocity with Tomcat.
http://jakarta.apache.org/velocity (I think, I can't get to the website to
check)
-Original Message-
From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED]]
Sent
There is also a simple xml file authentication method that Tomcat uses by
default. You just add log-ins to an xml file. I believe there is an example
included with the Tomcat download (examples/jsp/security I think)
Hamish
-Original Message-
From: Samuel Rochas [mailto:[EMAIL PROTECTED]]
There is documentation on setting up JDBC authentication/JDBC Realms:
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html
One thing I found that wasn't documented you need to add
//j_security_check=$(default.worker)
to your uriworkermap.properties file so that the request is redirected to
They have a database of JDBC drivers on the Java website
http://industry.java.sun.com/products/jdbc/drivers
You can search there for a JDBC driver that matches your requirements
-Original Message-
From: Law Kim Soon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 1:30 PM
To:
You'll notice in the realm file there is a line that gives the class of the
JDBC Realm interceptor you're using. You should replace this class name with
the name of whatever inteceptor you want to use.
ie, change the line:
className="org.apache.catalina.realm.JDBCRealm"
to
className="my.FooBarRea
You shouldn't actually need to do anything to get tomcat to recompile the
page (assuming you don't have automatic compilation turned off). Just
request the page and tomcat should recompile it for you. If that doesn't
work shutdown tomcat, delete all the files in the $tomcat_home/work
directory and
1 - 100 of 104 matches
Mail list logo