Precompile webapp

2003-12-16 Thread Felipe Ramos
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Felipe Ramos Tissat SA C/ Orense 34-9ª 28020 Madrid Tel: (+34) 91 4175913 Fax: (+34) 91 4172914 Mail: [EMAIL PROTECTED]

Re: Please sign emergency petition to the U.N.

2003-03-11 Thread Felipe Schnack
view. And I want to talk about tomcat here. Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Faculdade Ritter dos Reis www.ritterdosreis.br Fone/Fax.: (51)32303328 -- Original Message --- From: "James Chuang" <[EMAIL P

Re: locale

2003-02-27 Thread Felipe Schnack
So java _Duser.country=pt_BR? On Thu, 2003-02-27 at 15:23, Kris Schneider wrote: > You can try setting the user.language and user.region system properties at > startup. Where user.region can be country, country_variant, or _variant. > > Quoting Felipe Schnack <[

Re: locale

2003-02-27 Thread Felipe Schnack
be > Locale.setDefault(new Locale("br", "PT")); > > You may also want to set the TimeZone in a similar manner. > > Felipe Schnack wrote: > > > How can i set the default locale of my application? There is a system > >property t

locale

2003-02-27 Thread Felipe Schnack
How can i set the default locale of my application? There is a system property to do that? I can't find it anywhere, and need to set mine to pt-BR locale. -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos

RE: Loading Singleton Classes

2003-02-20 Thread Felipe Schnack
CTED] > > > -----Original Message- > > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, February 20, 2003 12:44 PM > > To: Tomcat Users List > > Subject: Re: Loading Singleton Classes > > > > > > Or even > > public sta

Re: Loading Singleton Classes

2003-02-20 Thread Felipe Schnack
> >>>>> > >>>>> > >>> > >>>- > >>> > >>>>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>>>For additional commands, e-mai

RE: instance of (ot)

2003-02-20 Thread Felipe Schnack
tely delete this e-mail from your computer >system and notify the sender. Thank you. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > F

RE: instance of (ot)

2003-02-20 Thread Felipe Schnack
of us can help. > > > > --mikej > > -=- > > mike jackson > > [EMAIL PROTECTED] > > > > > -Original Message- > > > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, February 20, 2003 11:01 AM > > > To:

instance of (ot)

2003-02-20 Thread Felipe Schnack
I would like to use instanceof's keyword funcionality. The problem is that I want to test if a class is subclass of a java.lang.Class object... There is a way? Instanceof keyword doesn't work, so I implemented the following, but I'm not very proud of myself: private boolean instanceOf(

Re: Re[2]: Best Logging practices

2003-02-19 Thread Felipe Schnack
--- > AM> To unsubscribe, e-mail: [EMAIL PROTECTED] > AM> For additional commands, e-mail: [EMAIL PROTECTED] > > > AM> - > AM> To unsubscribe, e-mail: [

RE: Best Logging practices

2003-02-19 Thread Felipe Schnack
) intended recipient, please immediately delete this e-mail from your computer >system and notify the sender. Thank you. > > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Felipe Schnack Analista de Sistemas

RE: [OT] free Database with Transaction (Sorry for the noise)

2003-02-19 Thread Felipe Schnack
inal Message----- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 18, 2003 1:47 PM > To: Tomcat Users List > Subject: Re: [OT] free Database with Transaction (Sorry for the noise) > > > Oracle is expensive to buy, expensive to hire a DBA... > and

RE: [OT] free Database with Transaction (Sorry for the noise)

2003-02-19 Thread Felipe Schnack
------ > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritter

Re: [OT] free Database with Transaction (Sorry for the noise)

2003-02-18 Thread Felipe Schnack
ers are like airconditioners: They stop working > properly if you open windows. > > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- F

Re: repost: jspc webinc.xml

2003-02-18 Thread Felipe Schnack
e="${war.expanded.dir}/web.xml"> > > > > > > > > > > in your web.xml, you must have a token @WEBINC@ that you will relpace with > the contents of weninc.xml. > > > > hope his helps, > > -robert >

Re: repost: jspc webinc.xml

2003-02-18 Thread Felipe Schnack
oblems with this on some app servers (I think TC was okay though). > You could also perform some sort of merge during your build process (probably > Ant based). > > Quoting Felipe Schnack <[EMAIL PROTECTED]>: > > > I'm unable to undertstand a JSPC concept...

repost: jspc webinc.xml

2003-02-18 Thread Felipe Schnack
I'm unable to undertstand a JSPC concept... If I generate my JSP's java sources and binaries, I can include the -webinc parameter to make jsp generate a file with servlet declarations for all my web pages... That's ok, but how I include this to my web.xml? -- Felipe Schn

file permissions (ot)

2003-02-18 Thread Felipe Schnack
Hey, there is a plataform-independent way to set file permissions in java? Or I have to call chmod/attrib? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone

quick jspc question

2003-02-17 Thread Felipe Schnack
ile but no luck... -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 --

RE: DEPLOY Command

2003-02-10 Thread Felipe
To use the deploy command you need to create a HTML page with a form with the path field and a field type FILE and "PUT" it. The following was copied from the manager how-to: Upload the web application archive (WAR) file that is specified as the request data in this HTTP PUT request, install it i

RE: IIS+Tomcat security constraint = Unauthorized: Logon Failed

2003-02-10 Thread Felipe
Yes. I can authenticate through the tomcat standalone port. I am using the BASIC with a MemoryRealm. Everything as simple as it can get! Do you know if it is possible to have IIS to leave the authentication to tomcat? Thanks, Felipe -Original Message- From: Sean Dockery [mailto

RE: IIS+Tomcat security constraint = Unauthorized: Logon Failed

2003-02-10 Thread Felipe
and alone" port. Have you seen this scenario working before? I found some posts with this issue but no reply to any of them. Thanks, Felipe -Original Message- From: Sean Dockery [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 8:05 AM To: Tomcat Users List Subject: Re:

RE: Strange error

2003-02-10 Thread Felipe Schnack
I was wrongly reusing the statement, and in a specific situation I was closing it too... thank you all for your tips :-) On Mon, 2003-02-10 at 12:57, Andy Eastham wrote: > Felipe, > > Just one additional idea: > > Are you executing another command on the same connection? Th

Strange error

2003-02-10 Thread Felipe Schnack
1ResultSet.java:63) at org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java) at com.w2.infra.db.DbVector.next(DbVector.java:141) -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritte

IIS+Tomcat security constraint = Unauthorized: Logon Failed

2003-02-09 Thread Felipe Crochik
validation dialog box and after I try to login with a valid user and password I get HTTP 401.1 - Unauthorized: Logon Failed. TIA, Felipe

Re: servlet URL

2003-02-07 Thread Felipe Schnack
could only determine after my servlet is first called, right? Anyway, how I would do that? Getting all bytes from the string from the beginning 'till the end or '?' character? On Fri, 2003-02-07 at 17:20, Erik Price wrote: > > > Felipe Schnack wrote: > > I'm writ

RE: servlet URL

2003-02-07 Thread Felipe Schnack
vy request load while still serializing >requests to a single instance." > > so by default the servlet is a singleton. > > and for the other objects, give them the url through a config file > > Filip > > -Original Message- > From: Felipe Schnack [ma

RE: servlet URL

2003-02-07 Thread Felipe Schnack
at is in web.xml for your particular >servlet, > give us the scenario where you would like this info and how? > > Filip > > > -Original Message- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 10:58 AM > To: Tomcat Users List

servlet URL

2003-02-07 Thread Felipe Schnack
How I retrieve the URL an HttpServlet instance is mapped to? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341

bug in java api? (ot)

2003-02-06 Thread Felipe Schnack
Take a look at the following code GregorianCalendar cal = (GregorianCalendar)Calendar.getInstance(); cal.set(2000, Calendar.FEBRUARY, 1); System.out.println(cal.isLeapYear(2000)); Shouldn't "false" be printed on the screen? I see "true" here in my machine :-) -- F

Re: singleton creation (ot)

2003-02-05 Thread Felipe Schnack
Man... you're actually completely right! I CAN instantiate all of them at startup! :- (these classes must be referenced in an config file, so it's ok) Thanks! On Wed, 2003-02-05 at 16:58, Will Hartung wrote: > > From: "Felipe Schnack" <[EMAIL PROTECTED]>

Re: Re[2]: singleton creation (ot)

2003-02-05 Thread Felipe Schnack
t; Hello Felipe, > > just use > > MyClass.class in static contexts. The only issue is that if you > change the class name, you will also have to change any case where you > did MyClass.class to match the new name of the class. > > Jake > > Wednesday, February 05,

RE: singleton creation (ot)

2003-02-05 Thread Felipe Schnack
On the locking front, I can't find anything that suggests that the semantics > of volatile have been changed to make double-checked locking work. > > I'd love to hear different, or if anyone is aware of anything upcoming to > make the issue more obvious/go away... >

RE: singleton creation (ot)

2003-02-05 Thread Felipe Schnack
s/collect > ions/FastTreeMap.html > > (apologies for the wrap). > > Dan. > > > -Original Message- > > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > > Sent: 05 February 2003 11:21 > > To: Tomcat Users List > > Subject: singleton creation (ot) > >

singleton creation (ot)

2003-02-05 Thread Felipe Schnack
== null) { INSTANCE = this.getClass().newInstance(); } } } return INSTANCE; } -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax

RE: more about custam tag life cycle

2003-02-04 Thread Felipe Schnack
because sometimes we have a tag attribute that isn't actually an getter/setter attribute for declaring in TLD file... is just a instance variable that you need, like a counter, or something like it. On Tue, 2003-02-04 at 13:44, Tim Moore wrote: > > -Original Message- >

RE: Object pooling (was: more about custam tag life cycle)

2003-02-04 Thread Felipe Schnack
I'm not sure. -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 -

Re: more about custam tag life cycle

2003-02-04 Thread Felipe Schnack
the pool. > > > > > > > The page will call release() before it is put back in the pool. > > Totally and completely false. Please go back and read the JSP Spec. The > page will call release() before the tag is released to GC, and for no other > reason. Now I'm

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
;re not mistaken -- I was confusing the two scenarios. > > It's legal for the container to reuse in the case above, because it's the > same set of attribute *names*, not necessarily the same set of attribute > *names+values*". Obviously, it will have to generate a call

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
ialize tag attributes with null, and > > reset them in doFinally()... > You should reset them to null in release, and not change them at all > anywhere else (except for the setters, of course). Hm... so this is standard behavior? release() is called after doEndTag() in all con

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
t; Well I guess that's the conclusion they came to by JSP 2.0, and the > rationale behind the SimpleTag interface. Yes, but I guess it must be hard to know when is good to pool a tag, isn't it? :-) My conclusion about my experience and all this debate is that I should always ini

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
ag reusing is so rare to be useful at all? Why? > -- > Tim Moore / Blackboard Inc. / Software Engineer > 1899 L Street, NW / 5th Floor / Washington, DC 20036 > Phone 202-463-4860 ext. 258 / Fax 202-463-4863 > > -----

Re: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
created it was intended for cleaning resources like database connections, etc but I don't see any reason to create yet another method just for tag reuse On Mon, 2003-02-03 at 17:00, Will Hartung wrote: > > From: "Felipe Schnack" <[EMAIL PROTECTED]> > > Sent: Monday,

RE: more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
Moore / Blackboard Inc. / Software Engineer > 1899 L Street, NW / 5th Floor / Washington, DC 20036 > Phone 202-463-4860 ext. 258 / Fax 202-463-4863 > > > > -Original Message- > > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > > Sent: Monday, February 03, 20

more about custam tag life cycle

2003-02-03 Thread Felipe Schnack
I was thinking... Gary McGath, if I understood well what you said it's possible that a container will call the same tag instance concurrently??? This would be a real problem, as if this happens, you couldn't believe even in your pageContext, etc variables! -- Felipe Schnack A

RE: Custom tag life cycle

2003-02-03 Thread Felipe Schnack
null) { > mode = DEFAULT_MODE; > } > > ...and repeat for length. Never modify the instance variables or call > their setters yourself -- let the container manage them. > > -- > Tim Moore / Blackboard Inc. / Software Engineer > 1899 L Street, NW / 5th Floor / Wa

instantiating thru reflection (ot)

2003-01-31 Thread Felipe Schnack
= null; static { try { INSTANCE = (Singleton)this.getClass().newInstance(); <--- ??? } catch (Exception e) {} } private Singleton() {} public Singleton getInstance() { return INSTANCE; } } -- Felipe Schnack Analista de Sistemas [EMAIL PROTEC

Re: Possible too switch off tcp/ip server shutdown?

2003-01-30 Thread Felipe Schnack
There must be an easier way.. seems like a greate security breach... Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Faculdade Ritter dos Reis www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303328 -- Original Message

RE: pass complex object to custom tag

2003-01-30 Thread Felipe Schnack
have a method like > setSrc(UserBean src) and that should work fine. > > -- > Tim Moore / Blackboard Inc. / Software Engineer > 1899 L Street, NW / 5th Floor / Washington, DC 20036 > Phone 202-463-4860 ext. 258 / Fax 202-463-4863 > >

Re: about singletons (ot)

2003-01-29 Thread Felipe Schnack
access to some resource, the intent is that you use the > singleton > > > and some > > > synchronized calls (note I don't mean synchronized methods, but > synchronized > > > code > > > blocks) to control threads using that resource. > > &g

RE: servlets

2003-01-28 Thread Felipe Schnack
dModel, it appears you *can* assume that > there will be only one instance of your Servlet. > > -- > Wendy Smoak > Applications Systems Analyst, Sr. > Arizona State University PA Information Resources Management > -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTE

about singletons (ot)

2003-01-28 Thread Felipe Schnack
same kind of behavior if we simply declare all class methods/fields as static? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 -- To unsu

Re: servlets

2003-01-28 Thread Felipe Schnack
age > queue, whatever) > 3) webapp goes away (dies, gets shutdown, whatever) > 4) webapp restored > 5) Client deserialized. > > Which version of the singleton does the Client then use? ;) > > Felipe Schnack wrote: > >>> If I write an servlet and DO NOT implemen

Re: servlets

2003-01-28 Thread Felipe Schnack
t a lot of throughput to multiple clients. > > Of course, the real question is not whether it's possible, but why is it > necessary? > > Regards, > > Will Hartung > ([EMAIL PROTECTED]) > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL P

RE: servlets

2003-01-28 Thread Felipe Schnack
lyst, Sr. > Arizona State University PA Information Resources Management -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 -- To unsubscribe, e-ma

RE: servlets

2003-01-28 Thread Felipe Schnack
ll getInstance() at the same time, you will only have one instance >of your singleton. > > Yoav Shapira > Millennium ChemInformatics > > > >-Original Message- > >From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > >Sent: Tuesday, January 28, 2003 4:19

RE: servlets

2003-01-28 Thread Felipe Schnack
t; See Section SRV.2.2 of the Servlet 2.3 spec for the formal details. > > Craig > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Felipe Schnack Analista de Sistemas [EMAIL

RE: servlets

2003-01-28 Thread Felipe Schnack
h for "the singleton > design pattern java" will yield many explanations and examples. > > Yoav Shapira > Millennium ChemInformatics > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> >

servlets

2003-01-28 Thread Felipe Schnack
If I write an servlet and DO NOT implement the SingleThreadModel, I have a guarantee that I'll have only one instance of it? If not, here is a way to do this? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritte

RE: requestdispatcher

2003-01-24 Thread Felipe Schnack
I'm sure an expert can help... > > --mikej > -=- > mike jackson > [EMAIL PROTECTED] > > > -Original Message- > > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > > Sent: Friday, January 24, 2003 6:43 AM > > To: Tomcat Users List > >

RE: Single Servlet vs Multiple Servlet

2003-01-24 Thread Felipe Schnack
> Tim Moore / Blackboard Inc. / Software Engineer > 1899 L Street, NW / 5th Floor / Washington, DC 20036 > Phone 202-463-4860 ext. 258 / Fax 202-463-4863 > > > > > > > -- Robert > > > > > > - Original Message - > > From: "Feli

RE: Single Servlet vs Multiple Servlet

2003-01-24 Thread Felipe Schnack
fic volume as well as you'd like... > > Yoav Shapira > Millennium ChemInformatics > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Felipe Schnack Analista de Sistemas [EMAIL PRO

requestdispatcher

2003-01-24 Thread Felipe Schnack
Hey guys... i'm doing something wrong or if when you set an request attribute and then do a RequestDispatcher.forward() you lost your new attribute? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis

RE: how do I detect alive sessions at this moment?

2003-01-24 Thread Felipe Schnack
4 AM > To: Tomcat Users List > Subject: how do I detect alive sessions at this moment? > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Felipe Schnack Analista de Sistem

web-inf directory

2003-01-23 Thread Felipe Schnack
Hey guys... I was wondering, how can make my servlet, for instance, list all files in its application WEB-INF directory? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL

MBeanServer

2003-01-23 Thread Felipe Schnack
Anyone could explain me what's the purpose of the MBeanServer in Tomcat 4.1.x? I'm just starting to study JMX and I'm very curious :-) -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritte

Re: Tag object reuse (pooling) in jsp 2.0?

2003-01-23 Thread Felipe Schnack
etters and setters) is good for me. Receiving lots of attributes in a Map don't look clean for me... much like get an array of objects, who will know what he/she will find in each index? Your idea is to have field name as the keys in the map? -- Felipe Schnack Analista de Sistemas [EMAIL

RE: Using SingleThreadModel under tomcat

2003-01-23 Thread Felipe Schnack
ve > > terms) the magnitude of this impact versus the potential impact of using > > synchronisation blocks to ensure thread safe code ? > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]

commons-pool (ot)

2003-01-20 Thread Felipe Schnack
Anyone have a quick-and-dirty how-to create a keyed object pool using commons-pool JAR? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341

sevlet comm using singletons

2003-01-16 Thread Felipe Schnack
Hey all do you believe is safe to use singletons to share data between servlets? Using servletcontext seems just too ugly for me :-) -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http

Re: file name

2003-01-14 Thread Felipe Schnack
t;+nameOfTheFile); > > I got this tip few days ago on this list. > > Regards, > >Cédric > > - Original Message - > From: "Felipe Schnack" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Tuesda

file name

2003-01-14 Thread Felipe Schnack
I have a servlet that generates pdf files on the fly but when the browser opens the "save as..." dialog, the suggested default filename is my servlet's URL... I would like it to suggest another file name, how can i do that? -- Felipe Schnack Analista de Sistemas [EMAIL PROTE

Re: [OT] Charting Libraries

2003-01-10 Thread Felipe Schnack
s for any info. > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter

Re: Can I handle exceptions declaratively when using filters?

2003-01-10 Thread Felipe Schnack
t;mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.:

Error redirecting

2003-01-09 Thread Felipe Schnack
... This was working with version 4.1.12... -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 -- To unsubscribe, e-mail: <mailto:[EM

someone ever used it?

2003-01-08 Thread Felipe Schnack
Please, someone ever used jasperreports with tomcat? I need urgent help, I would like to discuss about it off the list (it's too much off-topic, I guess) -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos

little off-topic: tomcat and jasperreports

2003-01-07 Thread Felipe Schnack
can't move it from there to common/lib or my Tomcat stops working. What can I do?? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)3

Re: How to manage Sessions?

2003-01-06 Thread Felipe Schnack
to extend the default session manager to allow access? > > Thanks, > > Rick > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Felipe Schnack Analista de Sistemas [EMAIL PROT

OFF-TOPIC: input/outputstreams

2003-01-05 Thread Felipe Schnack
); .(new ByteArrayInputStream(baos.toString().getBytes())); Please, there is another way, isn't it? :-)) Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Faculdade Ritter dos Reis www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)3

RE: Object Pooling

2002-12-23 Thread Felipe Schnack
ould use a pool, shouldn't I? Or maybe the effort doesn't pay? On Mon, 2002-12-23 at 18:52, Tim Moore wrote: > > > -----Original Message- > > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > > Sent: Monday, December 23, 2002 2:52 PM > > To: Tomcat Users List

Re: Object Pooling

2002-12-23 Thread Felipe Schnack
tty good about tossing away temporary objects. > >Now, if you're perhaps doing some things in a tight loop, then maybe simply >a judicious use of the objects would be better. Say, rather than using a >generic object pool, simply creating the few necessary instances for your >lo

off-topic: reports

2002-12-23 Thread Felipe Schnack
Anyone know a good and easy to use framework to generate pdf reports? I just need simple formatting (fonts, tables, etc) and some simple charts (pie and bar reports) -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter

Re: object pooling

2002-12-21 Thread Felipe Schnack
s in a tight loop, then maybe simply >a judicious use of the objects would be better. Say, rather than using a >generic object pool, simply creating the few necessary instances for your >loop before hand and reusing them explicity within the loop rather than >constantly creating ne

object pooling

2002-12-20 Thread Felipe Schnack
s aren't enough :-) -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>

RE: in search of more efficient design

2002-12-20 Thread Felipe Schnack
sign is flawed, or a bad idea altogether.. > > > > any help or guidance would be greatly appreciated. > > > > jesse > > -- > > i am deprogrammed > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For addi

Re: HttpSession issues

2002-12-18 Thread Felipe Schnack
looks ugly, but it seems it works :-) Thank you all! On Wed, 2002-12-18 at 15:49, Craig R. McClanahan wrote: > > > On 18 Dec 2002, Felipe Schnack wrote: > > > Date: 18 Dec 2002 09:12:20 -0200 > > From: Felipe Schnack <[EMAIL PROTECTED]> > > Reply-To: Tomcat

Re: HttpSession issues

2002-12-18 Thread Felipe Schnack
Ok, thanks a lot! On Wed, 2002-12-18 at 09:29, Mike W-M wrote: > Yep, that's the problem! > Try keeping a list of the names that you want to remove until you've > finished iterating the loop, then remove them all at once? > > Mike > - Original Message - >

Re: HttpSession issues

2002-12-18 Thread Felipe Schnack
and all other blocks that modify the session attributes, on the session > object. It's generally good practice to minimise the amount of code that > needs to be synchronised (and the time it takes) for performance reasons. > > Mike. > > > - Original Message - > Fr

HttpSession issues

2002-12-17 Thread Felipe Schnack
en looping them... The strangest thing is that a developer here get this error when he reloads a page, but it doesn't happen when he press enter in the URL bar... and this JSP file isn't the target of an HTML form... but receives parameters from the query string I'm using JDK 1.4.1

Re: ContainerServlet interface

2002-12-16 Thread Felipe Schnack
ribute set) I suggest being very careful since this can open > massive security holes (on your server) depending on your intentions. > > -Tim > > > Felipe Schnack wrote: > > Nice to know... > > thanks a lot, but I should set which tag in server.xml? Context? >

Re: ContainerServlet interface

2002-12-16 Thread Felipe Schnack
in a webapp and loop through > everyone else's session. > > If you *really* want to do this: > 1 - Look at the manager app because it does access the Sessions (at > least the count of them) > 2 - Your webapp will need to have [privileged="true"] in server.xml for

ContainerServlet interface

2002-12-16 Thread Felipe Schnack
ption, telling me that ContainerServlet interface was not found! Why this happens? This jar is in standard Tomcat distribution... BTW, I'm using Tomcat 4.1.12 on RedHat Linux 7.3 -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Faculdade

Re: Q: SingleThreadModel and Tomcat

2002-12-11 Thread Felipe Schnack
place. It's not that hard -- the principal thing to avoid is using > instance variables (in your servlets) to represent state information for a > particular request. > > Craig > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For addit

Re: Off Topic: SAP DB

2002-12-11 Thread Felipe Schnack
b.org) ? > > > > I am willing to try it, but the setup is a little complicated. > > > > Thanks, > > > > Fabio. > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:

RE: The future of Tomcat and java.nio

2002-12-11 Thread Felipe Schnack
Centre. > > For general enquires: ++61 7 3833 8000 > Support Centre e-mail:[EMAIL PROTECTED] > Support Centre phone: Australia 1800500646 > International ++61 7 38338042 > ****** >

RE: I don´t understand the objective of thisopen list !

2002-12-10 Thread Felipe Schnack
ike DiChiappari? That > > is how things > > >get done: someone DOES them. > > > > > >If you don't know enough, you could skim the mailing list looking for > > >questions, finding out when they were answered to the questioner's > > >satisfaction, an

Re: RE: I don´t understand the objective of thisopen list !

2002-12-09 Thread Felipe Schnack
ubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > >

Re: OFF-TOPIC: weak references

2002-12-06 Thread Felipe Schnack
ERENCE in the WeakHashMap object, but not necessarily the object, > >correct? > > > >-- > > > >Felipe Schnack > >Analista de Sistemas > >[EMAIL PROTECTED] > >Cel.: (51)91287530 > >Linux Counter #281893 > > > >Faculdade Ritter dos Reis > >www.ritt

OFF-TOPIC: weak references

2002-12-06 Thread Felipe Schnack
rbage collector will remove its REFERENCE in the WeakHashMap object, but not necessarily the object, correct? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Faculdade Ritter dos Reis www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303328

  1   2   3   >