[Jasper/Orion] compile JSP servlets

2005-07-21 Thread Romain Thouvenin
("hidden"); #__tag1.setValue(com.orionserver.util.ObjectUtils.toString( itlBean.getIdy() )); Great ! Orion recognized the problem and convert the Long to a String. And now my question : Is jasper able to do that ? How ? If not, does this way of proceeding conforms exactly to JSP spec. ? Can my

Force download through a jsp

2002-05-06 Thread RAYMOND Romain
Hello, I try to download a text file through a jsp mapped to the correct url. my problem is that the content file is shown and not downloaded. I use " <%@page contentType="text/plain"%> ". Thanks. -- To unsubscribe: For additional commands:

TC + JDO

2002-04-16 Thread RAYMOND Romain
Hello, is someone using JDO (Castor implementation) within Tomcat. I am looking a the Castor framework but i do not find examples about using it with TC ... Docs or links will be appreciated. Thanks. -- To unsubscribe: For additional commands:

Re: TC hidding console

2002-04-12 Thread RAYMOND Romain
the startup scripts to use this. I haven't > > tried this though. > > > > Andy > > > > > -Original Message- > > > From: RAYMOND Romain [mailto:[EMAIL PROTECTED]] > > > Sent: 12 April 2002 12:50 > > > To: Tomcat Users Li

Re: TC hidding console

2002-04-12 Thread RAYMOND Romain
Because it is to give a demo embended on a CD and I would not like to make all my debugs appear ... Barney Hamish a écrit : > > Why don't you just run Tomcat as a service. Then you'll never see the > console. > > -Original Message----- > From: RAYMOND Rom

TC hidding console

2002-04-12 Thread RAYMOND Romain
Hello, is there a way under Windows2000 to hide TC console when starting up ? thanks. -- To unsubscribe: For additional commands: Troubles with the list:

Re: war Deployement ?

2002-04-10 Thread RAYMOND Romain
I have seen it is possible with TC 4.1 (in JWDSP )to add a mywebapp.xml file in the webapp directory. This file is merged to the server configuration file ... so ti permits to do required initializations. But is there a way with TC 4.0.3 ? > > Hello, > > I package my web app as a war file. Pr

war Deployement ?

2002-04-10 Thread RAYMOND Romain
Hello, I package my web app as a war file. Probelm is that I'd like to do all initialization in my war file. But my server configuration file (server.xml) need to intialize the weapp RDBM driver : "

Re: Libraries problem

2002-04-02 Thread RAYMOND Romain
Yeah, thanks a lot Mr. Kjome. Jacob Kjome a écrit : > > Hi Raymond, > > Supposedly having the XML parser in the webapp itself is against the Sun > classloading spec. The spec was beginning to be implemented in 4.0.2 (in > fact, if you look at 4.0.2-b2, you still get the 4.0.1 behavior). 4.0.

Libraries problem

2002-04-01 Thread RAYMOND Romain
Hello, I use TC 4.0.3, my web app used XML parser and transformer (throught the XML Jakarta project FOP). Before I was using TC 4.0.1, with this version my application was working with all libraries (jar files) used to run it who were inside my WEB-INF/lib. I do not understand why now I am with

JSTL taglib forEach

2002-03-14 Thread RAYMOND Romain
hello, Sorry I know it isn't the exact mailing list for my question ... I am trying to use jakrata taglib JSTL, particulary forEach taglib. I look at the given examples and I don't understand how to initialize collection on which the forEach applies. Collection declared before in the JSP are not

Re: security

2002-03-12 Thread RAYMOND Romain
> > Oui, le francais etait bienvenu. > > Mais pour ma question de proteger l'url '/myservlet?action=1' > et pas l'url '/myservlet?action=2', est ce que tu as essaye en jouant sur le web.xml avec les tags et /myservlet?action=1 ? je sais pas si ca peut marcher mais cest ce qui decoule de l

Re: security

2002-03-12 Thread RAYMOND Romain
> > Hello, > > I would like to use tomcat security, but I don't understand what is the > j_security_check url called > when sending login/password form. Does someone knows about it ? > Furthermore, is it possible to protect the url '/myservlet?action=1' > and not the url '/myservlet?action=2'

Re: security

2002-03-12 Thread RAYMOND Romain
j_security_check est un mecanisme natif de l'API servlet. il suffit donc de de creer un formulaire HTML ou l'action = j_security_check par exemple suivant les specs : "  Identifiant   Mot de passe  " ce formulaire est automatiquement "mappé" avec les directives fournies a Tomcat (cf Tomcat

Re: How to set Entry Point

2002-03-11 Thread RAYMOND Romain
> > On 3/12/2002 1:17 AM, Gurmeet wrote: > > Thanks for response but this does not help me. > > > > What I want to do is that all requests to my application be routed through a > > particular JSP wherein I will exercise access control mechanism. > You could look to " filters " which are only av

Re: RealmJDBC question

2002-03-08 Thread RAYMOND Romain
yeah thanks it is a good idea which is an ideal solution for my application Christian Froehler a écrit : > > RAYMOND Romain wrote: > > Hello, > > > > I would like to implement RealmJDBC to get userrole from my DB, > > but I have to find the role (and so th

Re: RealmJDBC question

2002-03-08 Thread RAYMOND Romain
t to use. > > 2. Write your own request interceptor from scratch. > > Have a look at the source for org.apache.tomcat.request.JDBCRealm it > shouldn't be hard to get it do what you want. > Good luck > Hamish > > -Original Message- > From: RAYMOND Romain [

RealmJDBC question

2002-03-08 Thread RAYMOND Romain
Hello, I would like to implement RealmJDBC to get userrole from my DB, but I have to find the role (and so the associated table's row) from foreign keys depending on others parameters than user login row ... is it clear, and anybody has links or docs about this ? thanks -- To unsubscribe:

Re: Moving to windows from linux ? bug ? -> DEMO

2002-03-07 Thread Romain Slootmaekers
ageContext(pageContext); } } } end of code--- I hope this clearly demonstrates the problem, and I think it really is a bug. the problem is : is it a compiler of tomcat bug ? and more important how do I work around this problem... have fun, Sloot.

RE: Moving to windows from linux ? bug ?

2002-03-07 Thread Romain Slootmaekers
of the files are the same under linux and Windows Anyone else wanna hava a go at this ? > > > -Original Message- > > From: Romain Slootmaekers [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, March 07, 2002 1:35 PM > > To: [EMAIL PROTECTED] > > Subje

Moving to windows from linux ? bug ?

2002-03-07 Thread Romain Slootmaekers
Yo, I'm moving from linux to windows (yeah, yeah I know :( ) On the linux platform, our web application runs PERFECTLY but on windows we have problems when the jsp pages are compiled. appearantly, tomcat doesn't like the following situation. file : /PROBLEM/abc.jsp <%@ page language

About mod_webapp and php

2002-01-28 Thread Romain Bertucelli
Dear all, I have just read the explanation of Craig R. McClanahan about the way mod_warp works. (mod_webapp and php) The following part of the README seems to indicate that the mod_webapp will change * Currently, mod_webapp forwards *all* requests under the specified context path to Tomcat

About mod_webapp and php...

2002-01-28 Thread Romain Bertucelli
Dear all, I have just read the explanation of Craig R. McClanahan about the way mod_warp works. (mod_webapp and php) The following part of the README seems to indicate that the mod_webapp will change * Currently, mod_webapp forwards *all* requests under the specified context path to Tomcat

Re: TOMCAT and ORACLE

2001-05-02 Thread Romain BERTUCELLI
Hi, What about USER and PASSWORD ? > Connection connection = DriverManager.getConnection("jdbc:oracle:thin:@myhost:1521:orcl"); This is the url I use to connect to Oracle : jdbc:oracle:thin:user/passwd@myhost:1521:orcl Rom1.

Properties + jdbc

2001-04-19 Thread Romain Bertucelli
Hi all, I'm begining working with Tomcat and servlets and I've heard that jdbc parameters (jdbc url, login, passwd) should be set in a .properties file. My question : How do I get these parameters in my DataBaseAccess Class (I mean, with which method) ? Thanks in advance, Romain.

Re: Encrypting password

2001-03-13 Thread romain
On Tue, 13 Mar 2001, Shailendra wrote: > hi > > can u please put some more light on your line > > you could however use aba.* or the baltimore packages. > and one more thing is it we dont have any plug in type of thing for this > kind of job(security api support) > some companies copied the

Re: Encrypting password

2001-03-13 Thread romain
On Tue, 13 Mar 2001, Sam Newman wrote: > do you mean that its the wrong version of java? Without the plugin the > browsers should support 1.1.6 java, which I understoof was enough for the > java crypto stuff. Is it simply that the relevent jars aren't being > downloaded by the applet? > > sam

RE: Encrypting password

2001-03-12 Thread romain
On Mon, 12 Mar 2001, Samson, Lyndon [IT] wrote: > You could write a custom applet, which could use any encryption algorithm > you prefer. > > -Original Message- > From: Sam Newman [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 12, 2001 2:35 PM > To: [EMAIL PROTECTED] > Subject: Encry

Tomcat project ala Zope ??

2001-03-05 Thread romain
Yo, I the whole .jsp approach struck me as somewhat primitive, especially if you have fi a website with lots of content management and authorization/authentication, I know it's a step away from the .asp and .php stuff, and a step in the right direction, but still very low level. Cocoon gives

?

2001-02-20 Thread romain
Yo, a quick and simple question: is there a configuration option that adds a base tag to the jsp pages ? if there is, where is it ? TIA, Sloot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAI

Re: Keep Servlet Alive Indefinitely?

2001-02-09 Thread romain
On Thu, 8 Feb 2001, schalk wrote: > Greetings: > >How can I keep my JDBC pool servlet alive, even if it hasn't been > used all day. It keeps being destroyed, and I suspect Tomcat 3.2.1 is > "garbage collecting" it. If so, how can I stop Tomcat from destroying > my servlet. > Just cre

[EXTRA INFO] jasper having troubles with case insensitivity on win32

2001-02-05 Thread romain
On Mon, 5 Feb 2001 [EMAIL PROTECTED] wrote: > Yo, > I have developed a web-app on a linux machine, and because of a problem > with IE, I had to deploy that app on a win32 machine. > So I installed tomcat-3.2.1 on a win98 SE machine. > > after fixing the 'out of environment stuff' and a server.

jasper having troubles with case insensitivity on win32

2001-02-05 Thread romain
Yo, I have developed a web-app on a linux machine, and because of a problem with IE, I had to deploy that app on a win32 machine. So I installed tomcat-3.2.1 on a win98 SE machine. after fixing the 'out of environment stuff' and a server.xml edit, I got it running. The problem is that I keep ge

java.lang.IllegalStateException: Can't happen - classname is null,who added this ?

2001-01-11 Thread romain
Yo dudes, that's what I get. I think it's because of an inconsistent compilation state of my class files. Anyway, it really can happen, despite of the message ;) Sloot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

where to find mod_jk.so binary for Linux?

2001-01-10 Thread romain
Yo, I'm trying to get Tomcat behind apache, so I follow the mod_jk HOWTO ... it states 'Binaries are available for Linux and Win32 under the bin directory where you obtained the Tomcat distribution file. For Linux, mod_jk is available as mod_jk.so. ' I looked in: http://jakarta.apache.org/builds

Re: Sorry--Out of topic question For Html Gurus

2001-01-10 Thread romain
you could try this package. free and easy. http://developer.netscape.com/viewsource/smith_menu2/smith_menu2.html On Wed, 10 Jan 2001, RK wrote: > Deepak: > > There are several otions for doing this. If you use products such as > Dreamweaver, investigate behaviors -- as they write nice little co

Re: Password encryption in Java

2001-01-08 Thread romain
On Mon, 8 Jan 2001, Deepak C S wrote: > > Hi, > > Can anybody tell about" How we can encrypt Passwords in Java??"say > like Perl's or Unix Crypt function?? > > i mean, > > Is there any Java equivalent of unix crypt() func?? > > thanx in advance, > Deeps take a look at the java.secu

RE: my jsp updates with null values: SECURITY ???

2000-12-21 Thread romain
On Thu, 21 Dec 2000, Dave Newton wrote: > I remember you~it looks better with the variables not in the quotes. > > > <%@page import="java.sql.*,javax.servlet.http.HttpServletRequest" %> > > <%! > > //Declare your variables; > > String DRIVER = "org.gjt.mm.mysql.Driver"; > > String CONNECT = "

RE: creation of application wide objects

2000-12-19 Thread romain
On Tue, 19 Dec 2000, Alistair Hopkins wrote: > I also have lots of this sort of nonsense. > > My planned solution is to have only one servlet. This will act as a broker > to load 'logic modules', which are invoked thru' the url with xtra path > info: > > http://myServer/myServlet/myModule?ya

Re: creation of application wide objects

2000-12-19 Thread romain
On Tue, 19 Dec 2000, Guillaume Barreau wrote: > Dear Tomcat users, > > What is the best way to create some objects which are going to be available > application-wide to a bunch of servlets from the same web-app? Or in other > words, is there an equivalent of an init() method but for the applic

declaring a class in JSP

2000-12-13 Thread romain
Yo dudes, I have this JSP: <% private class Something{} %> this get's rejected by Jasper. Is there any reason why? Sloot.

servlet delegation problem.(stupid me can't get 15 lines of coderight)

2000-12-02 Thread romain
Yo dudes, it's late, and I have been looking at this for too long now: The idea was simple: store all JSP pages that need authentication in a NEEDSAUTHENTICATION subdirectory and put a servlet in front of it that checks wether the session was authenticated, and delegate to a logon page if not, a

Re: Session Close

2000-11-08 Thread romain
On Wed, 8 Nov 2000, William Brogden wrote: > > > Pablo Trujillo wrote: > > > > I need to execute a procedure when a session closes. Is this possible? How > > it is made? > > Make a class that is a HttpSessionBindingListener - attach an > object of this class to the session. When the session

modifying response headers

2000-11-07 Thread romain
Yo, is there a clean way (without modifying source code) to modify the response headers from tomcat? right now, they give away to much information methinks: Servlet-Engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet 2.2; Java 1.2.2; Linux 2.2.15-4mdksmp i386; java.vendor=Sun Microsystems Inc.) (thi

Re: using postgres jdbc driver in tomcat

2000-11-02 Thread romain
On Thu, 2 Nov 2000, Joakim Verona wrote: > hello, > > im using the postgress jdbc driver in tomcat, with the poolman > connection pooling package. > > it works well, but there is a strange limit on the lengths of texts > that are possible to insert, i can only insert about 8k long texts using