Security

2002-04-21 Thread Vladimir Vanyukov
I have seen this question here many times and have seen many answers but most of them never really ANSWERED the question. So I figured I'd ask one more time. Is there anyway to programmatically authenticate users? Example: If I have s simple username/password form somewhere on an unprotected page

custom class

2002-03-31 Thread Vladimir Vanyukov
Does anyone know where I can get some decent info on writing my own class to use in the element in server.xml. What I want to be able to do is have tomcat obtain all of its static resources (i.e. .class files, JSP pages, HTML, .properties, etc) from a database using JDBC. ANY help you be greatl

Kinda not topical

2002-03-31 Thread Vladimir Vanyukov
I just have a general question that has nothing to do with tomcat (sorry to clog up your mailbox) What programs do all of you use to do your coding? I ask because I want something more feature filled then a text editor, but something less monolithic then an IDE -- To unsubscribe:

RE: HttpServletRequest.getParameterMap question

2002-03-27 Thread Vladimir Vanyukov
g.ClassCastException: [Ljava.lang.String;) -will Vladimir Vanyukov writes: > I have the following code in a servlet I'm writing: > > String bob = (String)(req.getParameterMap().get("fname")); > > This however throws a java.lang.ClassCastException exception >

HttpServletRequest.getParameterMap question

2002-03-27 Thread Vladimir Vanyukov
I have the following code in a servlet I'm writing: String bob = (String)(req.getParameterMap().get("fname")); This however throws a java.lang.ClassCastException exception Does anyone know what I am doing wrong? Here is the StackTrace: java.lang.ClassCastException: [Ljava.lang.String;