Example form-based authentication

2003-11-08 Thread cyril vidal
Hi, I'm under Tomcat/4.1.18-LE-jdk14 and just have tested form based example. Unfortunately, when I access http://localhost:8080/examples/jsp/security/protected/index.jsp i'm well redirected to login.jsp as mentionned in web.xml /jsp/security/protected/login.jsp /jsp/security

Number of instances with SingleThreadModel

2003-11-14 Thread cyril vidal
Hi, I would like to know if it is possible in Tomcat's configuration to specify the number of servlet instances created when this servlet implements the javax.servlet.SingleThreadModel interface. Thanks in advance for your response, Regards, Cyril. -

Re: Number of instances with SingleThreadModel

2003-11-14 Thread cyril vidal
Hi, These infos are useful but have nothing to deal with my initial question;-)) So, I ask it again, if some people know about THIS subject: is it possible in Tomcat's configuration to specify the number of servlet instances created when this servlet implements the javax.servlet.SingleThreadModel

Re: Number of instances with SingleThreadModel

2003-11-14 Thread cyril vidal
thanks all for your responses. Regards, Cyril. - Original Message - From: "Remy Maucherat" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, November 14, 2003 2:57 PM Subject: Re: Number of instances with SingleThreadModel

getContext returns null!

2003-11-21 Thread cyril vidal
Hi, I just would like to get a reference to the ServletContext of another web application as the current one, to get a RequestDispatcher object. I know that the path should begin with / and that it is interpreted relative to the server's document root . So i'm in a web application context and

Re: getContext returns null!

2003-11-21 Thread cyril vidal
k you may need to set your Context to be crossContext. > > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html > > HTH, > > Jon > > > cyril vidal wrote: > > Hi, > > > > I just would like to get a reference to the ServletContext of another web a

form authentication doesnt't work well

2003-11-24 Thread cyril vidal
Hi, Perhaps the problem is well known. I'm under Tomcat/4.1.18-LE-jdk14 When I use form authentication, with the following code snippet included in web.xml: ... declarativetest /servlet/chapter9.DeclarativeSecureServlet POST ... FORM /formlogin.html /formerror.html ...

don't found packages...

2002-03-05 Thread cyril vidal
Hello! I'm a new french user of Apache Tomcat/4.0.3. The installation was successfull! But not the compilation of my first "HelloWorld" servlet. The compilator does not found the right classes like javax.servlet, javax.servlet.http and so although I'well configurated my classpath like SET CLA

Re: don't found packages...

2002-03-05 Thread cyril vidal
to add the jars to the classpath, not the directory. SET CLASSPATH=c:\tomcat\common\lib\a.jar;c:\tomcat\common\lib\b.jar > -----Ursprüngliche Nachricht- > Von: cyril vidal [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 5. März 2002 11:36 > An: [EMAIL PROTECTED] > Betreff: don&

java.net.BindException

2002-03-19 Thread cyril vidal
Hi, When I start Tomcat 4.0.1 by commandline, I always obtain the same message: Server. run /init:java.net.BindExecption:Adress in use:bind java.net.BindException:Adress in use:bind at java.net.PlainSocketImpl.socketBind(nativMethod) ... Sitemap location = sitemap.xmap Checking sitemap r

Re: java.net.BindException

2002-03-19 Thread cyril vidal
Does anybody have the solution for this problem? When I start Tomcat 4.0.1 by commandline, I always obtain the same message: Server. run /init:java.net.BindExecption:Adress in use:bind java.net.BindException:Adress in use:bind at java.net.PlainSocketImpl.socketBind(nativMethod) ... Sitem

Re: java.net.BindException

2002-03-19 Thread cyril vidal
> > Does anybody have the solution for this problem? > When I start Tomcat 4.0.1 by commandline, I always obtain the same message: > Server. run /init:java.net.BindExecption:Adress in use:bind > java.net.BindException:Adress in use:bind > at java.net.PlainSocketImpl.socketBind(nativMethod)

problems with XSLT transformations

2002-04-21 Thread cyril vidal
Hy, I'm under Tomcat 4.0.1 and I would like this server to execute some xslt transformations. My class begin with the following import: Unfortunelately, I get the following exception: type Exception report message Internal Server Error description The server encountered an internal error (In

Tomcat and XSLT transformations

2002-04-21 Thread cyril vidal
Hy, Does Tomcat 4.0.1 assume some xslt transformations by default? I've put the following .jar files (xalanservlet.jar, xalan.jar,xercesImpl.jar, xml-apis.jar, xsltc.jar) in C:\tomcat\lib, as written in thedoc of tomcat, so that these files may be shared by all the applications.But it doesn't

Tomcat and XSLT transformations

2002-04-22 Thread cyril vidal
Nobody has the solution for my problem, please? > > Does Tomcat 4.0.1 assume some xslt transformations by default? > I've put the following .jar files (xalanservlet.jar, > xalan.jar,xercesImpl.jar, xml-apis.jar, xsltc.jar) in C:\tomcat\lib, as > written in thedoc of tomcat, so that these fil

tomcat + svg + context

2002-12-16 Thread cyril vidal
getServletContext() of ServletConfig. But I don't know exactly how it works. I would be very grateful for any assistance. Th anks in advance, CYril. ___ Cyril Vidal Email: [EMAIL PROTECTED] Web: http://www.planetexml.com

Tomcat 4.0.1 and JDOM beta 8

2002-10-07 Thread Cyril Vidal
http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247 Waht's this class? I can't find it into xercesImpl.jar in the lib directory of Tomcat, so why this method is called and by which component? Thanks a lot for your response, Best, Cyril.

Incompatible object argument for function call

2002-10-07 Thread Cyril Vidal
esponses, Cyril. _______ Cyril Vidal Email: [EMAIL PROTECTED] Web: http://www.planetexml.com

TOmcat 4.0.1 and JDOM b8

2002-10-07 Thread cyril vidal
Hi, I'm using Tomcat 4.0.1 and I have such a code snippet, using JDOM beta 8: import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import org.jdom.Element; import org.jdom.Document; import org.jdom.output.XMLOutputter; import org.jdom.input.SAXBuilder; import org.jdom.JDOMExcept

Re: TOmcat 4.0.1 and JDOM b8

2002-10-07 Thread Cyril Vidal
y with TOmcat? Thanks for your responses, Cyril. _______ Cyril Vidal Email: [EMAIL PROTECTED] Web: http://www.planetexml.com - Original Message - From: "Malachi de AElfweald" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>;

Re: TOmcat 4.0.1 and JDOM b8

2002-10-08 Thread Cyril Vidal
Hi Malachi, Thanks for your responses. I've uncompressed the two jar files (xercesImpl.jar that I use before and xerces.jar from JDOM). But there are so many classes... Which of them should I remplace from a version to another? Regards, Cyril. ___ Cyril Vidal

Re: TOmcat 4.0.1 and JDOM b8

2002-10-08 Thread Cyril Vidal
ds, Cyril. _______ Cyril Vidal Email: [EMAIL PROTECTED] Web: http://www.planetexml.com - Original Message - From: "Malachi de AElfweald" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 08, 2002 6:25 PM S