i should never get it back...
vVolf
there you go, it's taken from O'Reilly website.
vVolf
> -Oryginalna wiadomooeæ-
> Od: Mick Sullivan [mailto:[EMAIL PROTECTED]]
> Wys³ano: 23 marca 2001 21:12
> Do: [EMAIL PROTECTED]
> Temat: Login Servlet?
>
>
> Does anyone know where I could find code for a login servlet
> using JDB
> I know Ive been at this for bout 6 months now, but what do
> you mean when you
> say "'servlet.jar' should be located in the classpath"?
that means that you should compile it with
javac -classpath .;PATH_TO_SERVLET_API YourClass.java
regards,
vVolf
i think you compiled Counter as a part of homepages.jack package. there the
correct dir structure is:
web/WEB-INF/classes/homepages/jack/Counter.class
should work.
vVolf
> -Oryginalna wiadomooeæ-
> Od: Jack Li [mailto:[EMAIL PROTECTED]]
> Wys³ano: 22 marca 2001 17:09
> Do: [EMAIL PROTE
the package is not in your classpath
vVolf
> -Oryginalna wiadomooeæ-
> Od: Mick Sullivan [mailto:[EMAIL PROTECTED]]
> Wys³ano: 22 marca 2001 22:37
> Do: [EMAIL PROTECTED]
> Temat: Question on import javax.servlet.*;???
>
>
> Hi
> Does anyone know why I get the following error when I t
what do you mean by an empty constructor?
something like:
public MyBean() {}
?
my bean do have non empty constructors and all works fine.
vVolf
> -Oryginalna wiadomooeæ-
> Od: Huiyuan Ma [mailto:[EMAIL PROTECTED]]
> Wys³ano: 21 marca 2001 18:03
> Do: [EMAIL PROTECTED]
> Temat: Construct
i have exactly the same symptoms - posted it here and never solved it...
anybody?
vVolf
-Oryginalna wiadomosc-
Od: Valeriy Molyakov [mailto:[EMAIL PROTECTED]]
Wyslano: 21 marca 2001 13:54
Do: [EMAIL PROTECTED]
Temat: Help: form-based auth in Tomcat 3.2.1
i think applets are only allowed to connect back to the server they
originate from. this might be the problem, or better, consult JDBC faq from
www.jguru.com
vVolf
> -Oryginalna wiadomooeæ-
> Od: Sunny SJ [mailto:[EMAIL PROTECTED]]
> Wys³ano: 21 marca 2001 04:19
> Do: [EMAIL PROTECTED]
i had a similar problem and solved it by changing connectionURL to:
connectionURL="jdbc:mysql://localhost/dbase?user=somebody&password=secre
t"
and commenting connectionName and Password.
vVolf
> -Oryginalna wiadomooeæ-
> Od: Vladimir Grishchenko [mailto:[EMAIL PROTECTED]]
> Wys³ano: 16
please refer to a http://localhost:8080/examples/jsp/security
and examples context's web.xml file.
vVolf
> -Oryginalna wiadomooeæ-
> Od: Heijns, P.J.B. [mailto:[EMAIL PROTECTED]]
> Wys³ano: 16 marca 2001 09:43
> Do: [EMAIL PROTECTED]
> Temat: security
>
>
> Hi,
>
> Can anyone tell me
> you don't need the .newInstance() on the end of your driver...
on the other hand it doesn't harm you at all. i read somewhere that i'd be
better off with .newInstance(), due to some bug in browser's (either IE or
Netscape) jvm. or i might be just wrong. anybody can back me up on this?
vVolf
>
Hi all! i've got the following problem.
tomcat was running, and i meant to shut it down, but instead i exceuted
"tomcat start".
then i shut it down, and tried to restart again. alas, it does not start
HttpConnectionHandler on 8080 nor Ajp12ConnectionHandler on 8007.
why is that? how can i solve
i had the same problem - all i did was i fed FileOutputStream with a real
path, where i wanted files to be stored. ie.
FileOutputStream output = new
FileOutputStream("/and/directories/follow/file.name");
if anybody has more elegant solution, i'll be grateful.
regards,
vVolf
> -Oryginalna
from server.xml:
"
Timestamps:
By default, logs print a timestamp in the form "-MM-dd
hh:mm:ss" in front of each message. To disable timestamps
completely, set 'timestamp="no"'. To use the raw
msec-since-epoch, which is more efficient, set
... but only
> words can not help anybody
>
> TIA
>
> Saludos ,
> Ignacio J. Ortega
>
>
> > -Mensaje original-
> > De: Herchel Wojciech [mailto:[EMAIL PROTECTED]]
> > Enviado el: lunes 12 de marzo de 2001 10:00
> > Para: '[EMAI
and does not work for bunch of others...
vVolf
> -Oryginalna wiadomooeæ-
> Od: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
> Wys³ano: 12 marca 2001 09:53
> Do: '[EMAIL PROTECTED]'
> Temat: RE: JDBC Realm Problems; Probably server.xml related...
>
>
> > looks like jdbcrealm is not tip
> -Oryginalna wiadomooeæ-
> Od: Thomas Riemer [mailto:[EMAIL PROTECTED]]
> Most likely you are missing a JkMount statement.
> You need to tell your web server that /j_security_check exists.
>
> JkMount /j_security_check ajp12
where do i put that? mod_jk.conf? do i have to restart apache?
looks like jdbcrealm is not tip-top finished - it's malfunctioning all the
time.
my idea is that tomcat tries to tell you that a connetionName is missing -
on the other hand docs say it's optional... anybody any ideas?
vVolf
> -Oryginalna wiadomooeæ-
> Od: eric chacon [mailto:[EMAIL PR
althought your classpath points to servet package, apparently it is not
found by javac. try this
javac -cp .;PATH_TO_SERVLET_API HelloWorldExample.java
vVolf
> -Oryginalna wiadomooeæ-
> Od: Becky Wang [mailto:[EMAIL PROTECTED]]
> Wys³ano: 9 marca 2001 06:12
> Do: [EMAIL PROTECTED]
> Tem
Hi all!
I've encountered following problem. i have a protected area defined in my
web.xml file:
Protected Area
/protected/*
DELETE
GET
POST
PUT
test
develope
agent
under /protected I have serveral jsp files and they
> A wild thought, try with uppercase for methods GET,POST and so on, i
> think code is doing equals not equalsignorecase.
might be the case - my code worked under win95 but results in 404 error
under linux
regards,
vVolf
-
To u
see http://localhost/examples/jsp/security for guidelines and examine
examples web.xml file
vVolf
> -Oryginalna wiadomooeæ-
> Od: Cory Hubert [mailto:[EMAIL PROTECTED]]
> Wys³ano: 5 marca 2001 16:43
> Do: [EMAIL PROTECTED]
> Temat: Basic Authentication
>
>
> Can someone point me
> JDBRealm has *nothing* to do with FORM or BASIC or web.xml
> settings..,
> it's ONLY a way to store user details inside a DB, .
very much so. but the problem is with the form, not with jdbc or anything
else. tomcat cannot exceute action j_security_check, thus throwing a 404
error. i did
ation.. it
> redirect the form the login page to the original protected resource ..
> does not have sense to try to access directly the login form..
>
>
> Saludos ,
> Ignacio J. Ortega
>
>
> > -Mensaje original-
> > De: Herchel Wojciech [mailto:[EMAIL PRO
> JDBC Realm has a couple of problems, for those of you using it.
>
> 1) It has to change pretty radically between 3.2.1 and 3.3.1.
> It looks
> like some of the
> code in 3.2.1 is never called.
^^
most likely. i'm using tomcat 3.2.1 and after mySQL close
basically it is used to authenticate users against data-base, it;s more
flexible that simplerealm, based on a file (tomcat-users.xml) stored in
memory.
vVolf
> -Oryginalna wiadomooeæ-
> Od: mikhail malamud [mailto:[EMAIL PROTECTED]]
> Wys³ano: 5 marca 2001 05:22
> Do: [EMAIL PROTECTED]
hey!
i did exactly as described and got 404 error. i know j_security_check is not
a class that i should provide. and i'm using tomcat 3.2.1. any ideas?
vVolf
> -Oryginalna wiadomooeæ-
> Od: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Wys³ano: 2 marca 2001 20:32
> Do: [EMAIL PROTEC
same problem here - still don't know how to solve it :(
vVolf
> -Oryginalna wiadomooeæ-
> Od: Mike Slinn [mailto:[EMAIL PROTECTED]]
> Wys³ano: 2 marca 2001 18:59
> Do: [EMAIL PROTECTED]
> Temat: JDBC Realm not triggering
>
>
> I feel like I sailed off the edge of the known universe,
gt; I am new tomcat user. Would you mind taking some time and write some
> quiedlines how to setup JDBCReal?
>
> Thanks
>
> Chris
>
>
> -Original Message-
> From: Herchel Wojciech [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 02, 2001 1:29 AM
> To: '
add servlet classes to your classpath
vVolf
-Oryginalna wiadomosc-
Od: RaviShankar K [mailto:[EMAIL PROTECTED]]
Wyslano: 2 marca 2001 14:02
Do: [EMAIL PROTECTED]
Temat: Newbie-Error in compiling servlets
-
To u
I managed to force tomcat to reopen connection to auth data base and
authorization works fine, there's only one "but" - it cannot read roles
therefore denies accessed to resource... here's tomcat log:
log--
2001-03-02 08:04:53 - ContextManager: JDBCRealm: The database connection is
nu
see tomcat sources, org.apache.tomcat.util.SessionIdGenerator namely
vVolf
> -Oryginalna wiadomooeæ-
> Od: Cato, Christopher [mailto:[EMAIL PROTECTED]]
> Wys³ano: 1 marca 2001 15:05
> Do: '[EMAIL PROTECTED]'
> Temat: Generating a random alphanumeric string
>
>
> Hello, can anyone show
Hi!
My connectionURL in server.xml now looks like this:
"jdbc:mysql://localhost/auth?user=root&password=somepassword"
and tomcat doesn't start up (although there is no error msg or anything) and
when i execute tomcat stop i get the following exception:
org.xml.sax.SAXParseException: Next characte
vVolf
> -Oryginalna wiadomość-
> Od: Cato, Christopher [mailto:[EMAIL PROTECTED]]
> Wysłano: 28 lutego 2001 17:56
> Do: '[EMAIL PROTECTED]'
> Temat: RE: Tomcat and mySQL
>
>
> Add ;autoreconnect=true to the db connect string.
>
> > -Original Messag
nd mySQL
>
>
> Add ;autoreconnect=true to the db connect string.
>
> > -Original Message-
> > From: Herchel Wojciech [mailto:[EMAIL PROTECTED]]
> > Sent: den 28 februari 2001 17:32
> > To: 'Tomcat'
> > Subject: Tomcat and mySQL
> >
&g
> found. I specify which servlet the form is submitted to
> in the html file with this line:
>
>
you should send an action to "servlet/ExtranetServlet.class"
> The html file is in the jakarta-tomcat\webapps\extranet
> directory, and the ExtranetServlet.class file is in the
> jakarta-tomcat\we
Hi!
I'm using JDBCRealm authorisation.
How can I force mySQL not to close the connection Tomcat opened upon startup
(to database where users, roles, user_roles tables are stored)?
i assume mySQL's variable wait_timeout is responsible for closing inactive
connections. the default is 28800 secs, wi
Hi!
Can anybody tell me where can i find more info on that tag, except for an
example that came along with tomcat distribution?
vVolf
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
same problem here, but since it doesn't do any harm, i just ignore it :)
vVolf
> -Oryginalna wiadomooeæ-
> Od: Bartsch Axel [mailto:[EMAIL PROTECTED]]
> Wys³ano: 28 lutego 2001 12:01
> Do: [EMAIL PROTECTED]
> Temat: TOMCAT: IOException
>
>
> Hi,
>
> Does anybody know the following pr
declare private ServletContext sc, make your init(ServletConfig config)
method look like this:
public void init(ServletConfig config) throws ServletException {
this.config=config;
sc = config.getServletContext();
}
then sc.log("blalblalbla"); would do the trick
vVolf
> --
most likely the mm driver is not in your classpath
vVolf
> -Oryginalna wiadomooeæ-
> Od: Wong, Connie [mailto:[EMAIL PROTECTED]]
> Wys³ano: 27 lutego 2001 20:56
> Do: [EMAIL PROTECTED]
> Temat: MySQL question - No suitable driver
>
>
> Hi,
>
> I try to connect a servlet talk to the M
oops, i don't really have j_security_check class, i thought it is taken care
of by tomcat...
vVolf
> -Oryginalna wiadomość-
> Od: uthay [mailto:[EMAIL PROTECTED]]
> Wysłano: 27 lutego 2001 17:48
> Do: [EMAIL PROTECTED]
> Temat: Re: Form based auth
>
>
> If you are using servlet then y
context
> path.
>
>
>
>
>
> - Original Message -
> From: "Herchel Wojciech" <[EMAIL PROTECTED]>
> To: "'Tomcat'" <[EMAIL PROTECTED]>
> Sent: Tuesday, February 27, 2001 3:14 PM
> Subject: Form based auth
>
>
Hi all!
How come would Tomcat (Apache?) return 404 Error while trying to
authenticate via form? apparently it does not recognise "j_security_check".
anybody has got any idea?
here's my code (login.jsp):
Please log in
Username:
Password:
Hello!
I hava JDBCRealm auth, and want to store user's last_accessed time. i
thought cookies would be good for that. my code is as follows:
Locale l = new Locale("pl","PL","UNIX");
String user = request.getRemoteUser();
String data="";
boolean found = false;
Hi!
I've got the following problem - I want to dynamically display certain
information to a user, depending upon a role they've been granted (via JDBC
authorisation). how do i do that? getParameter("role") returns null.
vVolf
-
46 matches
Mail list logo