Re: off-theme question: about getServletConfig and getServeletContext

2004-03-21 Thread Craig R. McClanahan
Quoting Mu Mike <[EMAIL PROTECTED]>: > does the servlet container has only one servletcontext instance for all the > servlets it manages? and the same to servletconfig instance? > There is one ServletContext instance for each web application (which can encompass many servlets and JSP pages). T

Re: Webb access to mailing list

2004-03-21 Thread Craig R. McClanahan
Quoting tiredcasper <[EMAIL PROTECTED]>: > yes,if there is a newsgroup ,things will be better. Among other places, you can get a newsgroup mirror of STRUTS-USER (and lots of other interesting lists) at . Craig --

RE: security framework!!!

2004-03-21 Thread Craig R. McClanahan
(Jumping in late, and trying to catch up on several hundred email messages in my STRUTS-USER folder, but better late than never ...) Quoting David Friedman <[EMAIL PROTECTED]>: > Adam, > > With my structure, I might have to become a particular reseller, then flip > into a customer of his/hers, t

Re: [OT] 2 JSF questions

2004-03-21 Thread Craig R. McClanahan
(Better late than never ...) Quoting "Anderson, James H [IT]" <[EMAIL PROTECTED]>: > 1) Since JSF is written in Java, why does Sun have 3 different download > available, Windows, Solaris, Linux? > There are OS-specific downloads of the JDK itself, because the native code inside is different for

Re: WAS: problems with - Help Please - ActionServlet fails on startup

2004-03-21 Thread Craig R. McClanahan
Quoting Lukas Latz <[EMAIL PROTECTED]>: > Is there a problem with using Tomcat 3.23 and Struts 1.1 ? Yes, there is. Tomcat 3.2.x has many bugs with the way that class loading is handled that make it totally unsuitable for Struts 1.1 applications. You should upgrade to a more current Tomcat rele

Re: roles filtered list of actions

2004-03-08 Thread Craig R. McClanahan
Quoting Frank Seaton Taylor <[EMAIL PROTECTED]>: > Good day all, > > I'm a three month old web developer and have been trying to figure out > how to do something described below. I've read a bunch of documentation > and searched mailing lists and the web for answers, but fear that my > inexper

Re: [Suggestion] struts-user-newbie list

2004-03-08 Thread Craig R. McClanahan
Quoting Daniel Henrique Alves Lima <[EMAIL PROTECTED]>: > It sounds good to me ! > > Andrew Petro wrote: > > >Incidentally, have there been any thoughts on this list of differentiating > >out a struts-user-newbie list from the main struts-user list? > > > >I think it's wonderful to have a welc

Updated Struts-Faces Integration Library

2004-03-08 Thread Craig R. McClanahan
I'm happy to announce the availability of the first nightly build of the integration library supporting the use of JavaServer Faces and Struts that has been updated to support the final release of JavaServer Faces 1.0. This is not a formal Apache release; however, it is intended to support experim

Re: [RT Expr] for html:text property

2004-03-06 Thread Craig R. McClanahan
Quoting Craig Tataryn <[EMAIL PROTECTED]>: > Hi, this might be a "Tomcat vs. ServletExec" thing, but I was trying the > following under Tomcat and > got an error message to the effect of "Null property value for 'address()'": > > > > <%=region%> >proper

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Craig R. McClanahan
Quoting Geeta Ramani <[EMAIL PROTECTED]>: > Brad: > > I looked at the API and noticed the RequestProcessor is a 1.1 feature.. Your > solution seems nice and clear! I only have one question for you though: How > do you "connect" the subclass of RequestProcessor that you wrote with the > struts Ac

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Craig R. McClanahan
Quoting Brad Balmer <[EMAIL PROTECTED]>: > Well, I searched through the archives with no luck on > 'ParameterActionForward' or similar. I ended up trying to ovveride the > ActionForward class but couldn't get it to work well. Then I noticed in > the RequestProcessor there is a doForward() tha

RE: [OT] JSF RI Final is out!

2004-03-05 Thread Craig R. McClanahan
Quoting Hubert Rabago <[EMAIL PROTECTED]>: > Btw, Craig, thank you very much for removing those underscores. > Let's just say that you weren't the only person that didn't like them :-). > Hubert Craig - To unsubscribe, e-mai

RE: JSF RI Final is out!

2004-03-05 Thread Craig R. McClanahan
Quoting Janarthan Sathiamurthy <[EMAIL PROTECTED]>: > Hi, > > How do i get started wiith JSF ?. > Any books ? > Please advice > JavaServer Faces Home Page: http://java.sun.com/j2ee/javaserverfaces/ Download Page: http://java.sun.com/j2ee/javaserverfaces/download.html Support Forum

Re: struts-faces-integration-lib

2004-03-04 Thread Craig R. McClanahan
Quoting Matthias Wessendorf <[EMAIL PROTECTED]>: > Hi, > > i noticed, that JSF became final. > Now i asked myself, when the struts-faces-lib will be shipped? that one, > that works with 1.0_final... ;-) > Well, it has to work first :-). I'm finishing up the debugging before I commit a version

RE: JSF RI Final is out!

2004-03-04 Thread Craig R. McClanahan
Quoting "Hookom, Jacob" <[EMAIL PROTECTED]>: > It just uses an interface called "VariableRegistry". So it's not JSP > dependent (doesn't need any J2EE API's). It's not exactly EL, it's EL, but > instead of JSP 2.0 function invocation, you can call any method on an object > through ":" like "Ther

Re: [OT] RE: web.xml DTD for Servlet 2.3 & Struts 1.1

2004-03-04 Thread Craig R. McClanahan
Quoting Wendy Smoak <[EMAIL PROTECTED]>: > A long time ago, Craig McClanahan wrote: > > It is a common misconception that the public identifiers of a DTD like > > this *must* actually be working URLs [...]. > > They are just unique strings of characters that > > (often) happen to look like URLs.

RE: JSF RI Final is out!

2004-03-04 Thread Craig R. McClanahan
Quoting Jitender Kumar C <[EMAIL PROTECTED]>: > Just a small doubt... > Is this a new release? > sorry if I put a wrong query... > The main JavaServer Faces page on the web site is still not updated (talking to our web admins about it now), but the download page does indeed point at the 1.0 *fin

Re: ConcurrentModificationException

2004-03-04 Thread Craig R. McClanahan
his.list =list;// new > } > } > > It looks that with this code I rid off all my troubles now - no > ConcurrentModificationException, no doubling of list size. I made a dozen of > tests - no exceptions and the results were correct. > > Mr. Cr

Re: Getting the real request url

2004-03-04 Thread Craig R. McClanahan
Quoting yoge <[EMAIL PROTECTED]>: > Dear Hen, > > Write a servletFilter and include the below code snippet in your > doFilter method > > *String uri=(String)((HttpServletRequest)request).getAttribute("uri"); > if(uri==null) > { > System.ou

Re: ConcurrentModificationException

2004-03-03 Thread Craig R. McClanahan
Quoting "Sergei P. Volin" <[EMAIL PROTECTED]>: > > I know this and I do not add/remove elements to/from list at all. Just as I > said - only reading elements from list. > Are jsps (Tomcat) thread safe? I'm really worry about that. > Using instance variables to store request-specific state infor

Re: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available)

2004-02-27 Thread Craig R. McClanahan
Quoting Joe Germuska <[EMAIL PROTECTED]>: > Oh yeah, also I can't go back from having versioned JAR in my lib > directories. I suspect that's a matter of taste too, but I'll take > the overhead of pruning old JARs when new versions are deployed over > the mystery of knowing which versions your

RE: [OT] RE: Memory usage

2004-02-27 Thread Craig R. McClanahan
Quoting "Dhaliwal, Pritpal (HQP)" <[EMAIL PROTECTED]>: > +1 > > I agree with everyone who has responded. We should not clutter this very > friendly mailing list with things that don't belong here, that includes "not > so nice" responses. I haven't been on many, but this is by far my favorite > li

Re: need help converting from session to request scope

2004-02-26 Thread Craig R. McClanahan
Quoting Mark Lowe <[EMAIL PROTECTED]>: > sure i agree .. but I've been wanting to dick around with alternatives > to storing in the session for a while (since the request vs session > debate). and just wondered if anyone had tried read/writing to a flat > file as an alternative. > Just rememb

Re: multi application config

2004-02-25 Thread Craig R. McClanahan
Quoting David Evans <[EMAIL PROTECTED]>: > Hello, > > I am getting ready to create our companies intranet, which will contain > many different applications: a time tracker, a task manager, a > directory, etc. I will be using struts for the applications. There will > be a filter for authentication

RE: data transfer from Action class to jsp page

2004-02-25 Thread Craig R. McClanahan
Quoting "Pradeep, PK" <[EMAIL PROTECTED]>: > Sending the same question again.. > > > I have this basic question. > > Suppose action class calls some business object and fetches some data > (say employee detail). How to transfer this data to jsp page which is > reached through ActionForward?

RE: More then one servlet mapping

2004-02-25 Thread Craig R. McClanahan
Quoting "Kale, Nilesh" <[EMAIL PROTECTED]>: > Thanks for the reply Mark. > The next question is does Struts support more than one mapping: http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_mapping Craig -

RE: [OT] - Request against Session

2004-02-14 Thread Craig R. McClanahan
Quoting Michael McGrady <[EMAIL PROTECTED]>: > > >Now let us assume that the ActionForm for the record editing form needs to > >go in session scope (nb: in request scope there is not a problem so if the > >design can be done practically with request scope that is much better). > > > Hi, Andrew,

Re: global data objects -- best practices?

2004-02-05 Thread Craig R. McClanahan
Ooofff ... off-by-one error warning ... :-) Quoting "Craig R. McClanahan" <[EMAIL PROTECTED]>: > > If you are in a Servlet 2.4 environment, use a ServletContextListener -- this > is > exactly what they are defined to do. Your contextInitialized() method is > c

Re: global data objects -- best practices?

2004-02-04 Thread Craig R. McClanahan
Quoting [EMAIL PROTECTED]: > hi, > > I have a question regarding data objects that should be accessible from > the entire application and which must be created at container startup time. > > I need to either create and load an existing index or load a serialized > index if one exists. This can

Re: action global forward extension

2004-02-03 Thread Craig R. McClanahan
Quoting Bradley Beddoes <[EMAIL PROTECTED]>: > Hi All. > > I wish to have some global forwards invoked as .do others as .do2 (so as > to differentiate what filters get hit with the differing requests), Is > this possible within struts? (Please see struts.conf below) > Struts supports only one

RE: What does "do" stand for in .do files

2004-01-31 Thread Craig R. McClanahan
Quoting "Gopalakrishnan, Jayesh" <[EMAIL PROTECTED]>: > The "do" is insignificant, its just what all the sample applications use and > has somehow stayed on. In the technical sense ("could I use "foo" instead of "do") you are absolutely right ... there is no intrinsic meaning to "do". However, f

Re: struts-user being spammed

2004-01-29 Thread Craig R. McClanahan
Quoting Martin Cooper <[EMAIL PROTECTED]>: > The struts-user list is being spammed with dozens of bogus messages. The > titles vary slightly, including the subjects of prior messages to the > list. Here's what we're seeing: > > http://marc.theaimsgroup.com/?l=struts-user&w=2&r=1&s=%3CAUTO%3E&q=t

RE: constant url

2004-01-27 Thread Craig R. McClanahan
Quoting shankarr <[EMAIL PROTECTED]>: > Hi! > > Thanks for the response. > http://localhost:8081/log4jdemo/loginScreen.do is what I see in my url. > I would like to keep this a constant at http://localhost:8081/log4jdemo > only. > I am using both a href and html:link. > > But, even in cases wher

Re: ServletContext/Cluster

2004-01-24 Thread Craig R. McClanahan
Quoting Mohan Radhakrishnan <[EMAIL PROTECTED]>: > Hi >I read the following spec. This means that in a clustered environment the > application scope > is useless. Not true at all. . I can't really believe this. Why do we have this scope then ? > A primary purpose for appication scope varia

Re: Conventions for indexed properties

2004-01-22 Thread Craig R. McClanahan
Quoting "John D. Hume" <[EMAIL PROTECTED]>: > I don't have a definitive guide, but here are some examples that could > be helpful. > The definitive guide starts with the JavaBeans Specification: http://java.sun.com/products/javabeans/reference/api/index.html you'll see that there are two va

RE: Struts + Filter Chain = broken?

2004-01-22 Thread Craig R. McClanahan
Quoting "Richard Mixon (qwest)" <[EMAIL PROTECTED]>: > I just came across this thread and was hoping for a little more information > :) > > I understand what Craig is saying, then given the following situation: > - a servlet 2.3 container (e.g. Tomcat 4.1.x); > - a Struts app that returns Actio

RE: Session Problem

2004-01-21 Thread Craig R. McClanahan
Better late than never (hot cpu chip literally fried a motherboard) ... Quoting Andrew Hill <[EMAIL PROTECTED]>: > > How do I make sure the session on both the browsers will be different other > than URL Rewriting. > > For Netscape (and I presume Mozilla but haven't checked), I don't believe

Re: redirecting to fully qualified hostname

2004-01-13 Thread Craig R. McClanahan
Quoting "Fullam, Jonathan" <[EMAIL PROTECTED]>: > All, > > The application I am working on is secured with a login that required a > username and password. Once a user is logged in, all pages can be accessed > as long as there is a Subject object in the Session. My problem is that > part of the

Re: handling form based authentication w/ remember-me cookie

2004-01-13 Thread Craig R. McClanahan
Quoting [EMAIL PROTECTED]: > > Are Servlet filters supposed to be called for both GET and POST > methods? They seem to be getting called for GETs only on Tomcat 5. > -Chris For filters mapped to ordinary application URLs, the filter should indeed get mapped on both GET and POST methods. For fil

Re: handling form based authentication w/ remember-me cookie

2004-01-13 Thread Craig R. McClanahan
Quoting Matt Raible <[EMAIL PROTECTED]>: > Remember Me functionality with j_security_check has worked fine for me. > I just go to a LoginServlet from my loginForm, which sets cookies and > redirects to j_security_check. Then I map a Filter to check for those > cookies and logs the user in ap

Re: Included port numbers in web links e.g. 8080

2004-01-09 Thread Craig R. McClanahan
Quoting "Gabriel W." <[EMAIL PROTECTED]>: > Hi, > > I am relatively new to this list so I do not know if this topic was discussed > before (I checked the archive and it does not appear that way). > > It seems that Struts includes the ServerPort in web links if not of the > values 80 or 443 (e.g.

Re: Action to JSP

2004-01-09 Thread Craig R. McClanahan
Quoting Geeta Ramani <[EMAIL PROTECTED]>: > The easiest way is perhaps to simply add a "redirect=true" in your action > mapping. However, be aware that this will kill your request attributes > (since your request > object is no longer forwarded..) > Geeta's warning about one consequence is quit

Re: Tiles with XML and XSL

2004-01-09 Thread Craig R. McClanahan
Quoting Tin Pham <[EMAIL PROTECTED]>: > Wow that great Craig. Thanks for taking the time to give me some hints. > > I did not know that the servlets 2.4 would let me do that. I really like > that one. I can then have pockets of xml on my page. I will check this > option out first. > Filters on

RE: configuration is frozen

2004-01-08 Thread Craig R. McClanahan
Quoting Lucas Halim <[EMAIL PROTECTED]>: > Thanks Hubert. > > Anybody knows why is it frozen at the first place? Is that just another mod > in Struts 1.1? > Without freezing the configuration, two bad things would happen: * We'd have to synchronize around all accesses to the HashMap instance

Re: Configuring Struts NOT to create (unauthentified) sessions

2004-01-08 Thread Craig R. McClanahan
Quoting Nicolas De Loof <[EMAIL PROTECTED]>: > I've made a grep on Struts 1.1 sources. I noticed some case where a session > is created that seems to me 'uncontroled' : > > > RequestProcessor uses request.getSession() : > - in processLocale if controller is configured to use Locale (default = >

RE: BeanUtils use in struts

2004-01-08 Thread Craig R. McClanahan
Quoting Marco Mistroni <[EMAIL PROTECTED]>: > Hi Craig, > Thanx for your comments. > > >It uses reflection on POJOs (plain old Java objects) but not on > DynaBeans ->- the > > implementation inside DynaActionForm is a HashMap with typesafe > getters >and > >setters. > > In my case I have a

Re: server hangs after finite number of requests

2004-01-07 Thread Craig R. McClanahan
Quoting Heather Marie Buch <[EMAIL PROTECTED]>: > On Wed, 7 Jan 2004, Manfred Wolff wrote: > > > Heather. > > > > I user dbcp since one year in a productive system with mysql and have no > > problems yet. The best documentation in my mind is the original from > > tomcat. There are all paramete

Re: JavaServer Faces 1.0 -- Proposed Final Draft Spec and Beta Reference Implementation

2004-01-07 Thread Craig R. McClanahan
ist > Subject: Re: JavaServer Faces 1.0 -- Proposed Final Draft Spec and Beta > Reference Implementation > > > Hi Craig, > > i just want to try the struts-faces examples. > but i got compilation-error. is there something i > need...? > jwsdp-1.3 is on my box. > >

Re: BeanUtils use in struts

2004-01-07 Thread Craig R. McClanahan
Quoting Marco Mistroni <[EMAIL PROTECTED]>: > Hi all, > I have a question about using BeanUtils in Struts. > For saving me from writing lot of code, I am using DynaActionForms in my > pages. > In the backend, I have some DTOs, so I decided in order to make > My app more 'extensible' without

Re: Tiles with XML and XSL

2004-01-07 Thread Craig R. McClanahan
Quoting Tin Pham <[EMAIL PROTECTED]>: > Hi, > > I am wondering if anybody here has mulled over the idea of using XML and XSL > with Tiles. > > Right now I have a great application that makes use of Struts 1.1 with a > role based layout using Tiles. It uses the common layout we see everywhere, >

RE: JavaServer Faces 1.0 -- Proposed Final Draft Spec and Beta Reference Implementation

2004-01-06 Thread Craig R. McClanahan
Quoting Jan Dirksen <[EMAIL PROTECTED]>: > oh good morning... > thank you! :-) > > okay i can deploy it via tomcat-manager > > but when i start the jsf-cardemo > i got this error: > > org.apache.jasper.JasperException: This absolute uri > (http://java.sun.com/jstl/core) cannot be resolved in >

Re: JavaServer Faces 1.0 -- Proposed Final Draft Spec and Beta Reference Implementation

2004-01-06 Thread Craig R. McClanahan
Quoting Jan Dirksen <[EMAIL PROTECTED]>: > Hi Craig, > > i just want to try the struts-faces examples. > but i got compilation-error. is there something i > need...? > jwsdp-1.3 is on my box. > Without knowing the details of your error messages, it's pretty difficult to tell exactly what is goi

Re: Doubts about FacesRequestProcessor on struts-faces

2004-01-05 Thread Craig R. McClanahan
Quoting Diego Louzán Martínez <[EMAIL PROTECTED]>: > Ok, I suppose this is a direct question to Craig as the maintainer > ofstruts-faces:I'm studying JSF and I need to integrate a Struts > application with it,so I am studying struts-faces too. My problem is > that this applicationuses a custom Req

Re: Problem with BeanUtils.copyProperties()

2004-01-02 Thread Craig R. McClanahan
Quoting Patrick Scheuerer <[EMAIL PROTECTED]>: > If there are multiple methods with the same name, shouldn't copyProperties() > pick the one with the same method signature as in the source bean??? In my > opinion this would at least be a desirable default behavior No, it shouldn't. BeanUtil

RE: .NET: We are just like Struts... only better.

2003-12-30 Thread Craig R. McClanahan
Quoting "Hookom, Jacob" <[EMAIL PROTECTED]>: > As a follow up to your "by hand" comment, isn't Sun developing a new GUI > development tool to wizard-ize JSF? > Yes: http://wwws.sun.com/software/products/jscreator/index.html Even if it weren't a product coming from the company I work for :-), t

Re: Still having problems with File upload (multipart-formdata)

2003-12-30 Thread Craig R. McClanahan
Quoting Patrick Scheuerer <[EMAIL PROTECTED]>: > Matthias Wessendorf wrote: > > > Hi Patrick, > > > > you want to get the path of /myapp > > like C:\Tomcat\webapps\myapp > > or? > > That's exactly what i was trying to do! > > > in an actionClass > > you now want to store > > in placeString\up

Re: .NET: We are just like Struts... only better.

2003-12-30 Thread Craig R. McClanahan
Quoting Paul Thomas <[EMAIL PROTECTED]>: > > On 29/12/2003 03:40 Curtis Taylor wrote: > > This brings up an interesting point (for me, at least): Is anyone on > > this list developing under Linux w/XEmacs or Emacs? I'm curious as to > > whether I'm living in the past or not...;-) > > You're in g

Re: JSF managed beans

2003-12-30 Thread Craig R. McClanahan
Quoting Nadeem Bitar <[EMAIL PROTECTED]>: > > Where and how do Managed Beans and JSF's navigation rules fit in a > struts/jsf application? > It depends on whether you want all (or part) of your application to migrate to a JSF for the "controller" type features or not. In a pure-Struts app that

RE: Boolean checkbox in session form

2003-12-29 Thread Craig R. McClanahan
Quoting Tim Lucia <[EMAIL PROTECTED]>: > Care to share? This would be a very, very useful extension. > > Is there any plan(s) for future Struts release(s) to support some > attribute of this sort? Something like "forceFalse='true'" or > "forceValue='true'". > > Tim > Guillermo is trying work

Re: Struts + Filter Chain = broken?

2003-12-28 Thread Craig R. McClanahan
Quoting Oscar Picasso <[EMAIL PROTECTED]>: > I have a problem using filter chain with Struts > > I have wrote a simple filter to use in a servlet > filter chain for postprocessing JSP output. > > It works like this: > > 1. Receive request, wrap response with its own > response wrapper, and then

Nighty Builds of Struts-Faces Integration Library

2003-12-24 Thread Craig R. McClanahan
Nightly binary builds of the Struts-Faces Integration Library, updated to work with the new beta release of JavaServer Faces, are now available: http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/ As always, the source code for this library is in the "contrib/struts-faces" direc

RE: [OT] Synchronized access to application-scoped object

2003-12-24 Thread Craig R. McClanahan
s own. > Thanks! > > Jerry Jalenak > Development Manager, Web Publishing > LabOne, Inc. > 10101 Renner Blvd. > Lenexa, KS 66219 > (913) 577-1496 > Craig > [EMAIL PROTECTED] > > > > -Original Message- > > From: Craig R. McClanahan [mailto:

Re: [OT] Synchronized access to application-scoped object

2003-12-24 Thread Craig R. McClanahan
Quoting Jerry Jalenak <[EMAIL PROTECTED]>: > Holiday Greetings to All! > > Quick design question - Is it possible to synchronize an application-scoped > object between two servlets within the same web application? I have a > servlet that I have written that maintains a List object that is stored

Re: about log4j - RE: Example of a non-threadsafe Action?

2003-12-23 Thread Craig R. McClanahan
Quoting Warren Chen <[EMAIL PROTECTED]>: > Hi Craig, > > Continue with the thread safe issue: > > how about Log class? I understand that log4j itself is > thread safe (unlike DateFormat) - but I see a lot > examples that log4j logs are used as instance varibale > > public final class MyAction >

Re: Example of a non-threadsafe Action?

2003-12-23 Thread Craig R. McClanahan
Quoting Sgarlata Matt <[EMAIL PROTECTED]>: > What if the SimpleDateFormat variable is declared as final and/or static? > How it's declared makes no difference at all. Whether you attempt to use the same instance simultaneously from more than one thread makes all the difference. Craig ---

RE: Example of a non-threadsafe Action?

2003-12-23 Thread Craig R. McClanahan
Quoting Nifty Music <[EMAIL PROTECTED]>: > Thanks Craig! You certainly confirmed my suspicions, although I would have > guessed that I could've gotten away with sharing the SimpleDateFormat > variable since it wouldn't depend on any values coming in from request > objects. Could you perhaps shed

RE: Example of a non-threadsafe Action?

2003-12-23 Thread Craig R. McClanahan
Quoting Nifty Music <[EMAIL PROTECTED]>: > Howdy all! > > I was considering employing a "Master Action Class" from which I could > inherit smaller action classes in order to make effective use of shared code. > However, I want to ensure that the code remains thread-safe. Here's an > example of

Re: R: JavaServer Faces 1.0 -- Proposed Final Draft Spec and Beta Reference Implementation

2003-12-22 Thread Craig R. McClanahan
Quoting snpe <[EMAIL PROTECTED]>: > On Monday 22 December 2003 07:04 pm, Craig R. McClanahan wrote: > > Quoting snpe <[EMAIL PROTECTED]>: > > > On Monday 22 December 2003 05:56 pm, Craig R. McClanahan wrote: > > > > Quoting Grassi Fabio <[EMAIL PROTEC

Re: Example of a non-threadsafe Action?

2003-12-22 Thread Craig R. McClanahan
Quoting David Erickson <[EMAIL PROTECTED]>: > Hey I have been reading a lot about threading lately from the JLS and > otherwise.. but my question is what would be an example of a non-threadsafe > action? Struts manual said that only one instance of an action exists in > the JVM.. and when I run a

Re: R: JavaServer Faces 1.0 -- Proposed Final Draft Spec and Beta Reference Implementation

2003-12-22 Thread Craig R. McClanahan
Quoting snpe <[EMAIL PROTECTED]>: > On Monday 22 December 2003 05:56 pm, Craig R. McClanahan wrote: > > Quoting Grassi Fabio <[EMAIL PROTECTED]>: > > > Will Javaserver Faces and in particular Struts-Faces have a "editable > > > data grid" componen

Re: How find DataSource?

2003-12-22 Thread Craig R. McClanahan
Quoting e-denton Java Programmer <[EMAIL PROTECTED]>: > I neglected to mention that my servlet container can be passivated on my > virtual host. So, all objects must be serializable and I can't use static > variables. > Yet another reason to look it up every time rather than caching it. Craig

Re: How find DataSource?

2003-12-22 Thread Craig R. McClanahan
Quoting e-denton Java Programmer <[EMAIL PROTECTED]>: > Merry Christmas, > > Wow, I finally connected to my data source! Now, I want to put the code > somewhere it will be executed only once, and save the DataSource object > where Actions, beans, etc. can get at it. That way, I don't have to perf

Re: R: JavaServer Faces 1.0 -- Proposed Final Draft Spec and Beta Reference Implementation

2003-12-22 Thread Craig R. McClanahan
es, it's there ... see the UIData component and the tag. The revised version of the Struts Example app included in the struts-faces bundle will use this tag instead of constructing its table with an interation tag. Craig > Thanks in advance, Fabio. > > > > > -Mess

Re: JavaServer Faces 1.0 -- Proposed Final Draft Spec and Beta Reference Implementation

2003-12-20 Thread Craig R. McClanahan
Quoting Nadeem Bitar <[EMAIL PROTECTED]>: > Graig, > regarding the struts-faces integration library, would it support tiles? > That's the part I'm not quite done wth, but it's definitely the intent. Craig > On 金, 2003-12-19 at 20:16, Craig R. McClanahan w

JavaServer Faces 1.0 -- Proposed Final Draft Spec and Beta Reference Implementation

2003-12-19 Thread Craig R. McClanahan
I'm pleased to announce that the Proposed Final Draft version of the JavaServer Faces 1.0 Specification, and a corresponding Beta release of the Reference Implementation, is now available at: http://java.sun.com/j2ee/javaserverfaces/download.html Please send any feedback and comments strictly

Re: [OT] HTML Select box

2003-12-19 Thread Craig R. McClanahan
Quoting Brice Ruth <[EMAIL PROTECTED]>: > From a GUI perspective, how would you select multiple things in a > drop-down? I can't actually recall ever seeing this type of widget > anywhere (irrespective of HTML). > In HTML, this is triggered by the "multiple" attribute on the element. If you

Re: How multiple servlet-mappings affect computed action path?

2003-12-19 Thread Craig R. McClanahan
Quoting Daniel Rabe <[EMAIL PROTECTED]>: > I started out with a simple struts webapp, so my web.xml maps *.do to > myServlet. Then I recognized a need to have a set of requests dispatched to > my servlet based on the first part of path_info, so I added a new mapping > from /special/* to myServlet.

RE: [SPAM] Your Support Question

2003-12-19 Thread Craig R. McClanahan
Quoting Joe Hertz <[EMAIL PROTECTED]>: > Yeah, I get it too. > > Silly me, I just assumed that it was a legitimate company, and some > (probably their only one, IMHO) employee sub'd to the struts list and > this was some sort of auto-responder for him. I mainly thought this > because it didn't l

Re: Sharing struts taglibs in Tomcat

2003-12-15 Thread Craig R. McClanahan
Quoting Ed Dowgiallo <[EMAIL PROTECTED]>: > I am doing a lot of struts development and would like to place the struts jar > files in the $TOMCAT_HOME/shared/lib directory instead of WEB-INF/lib for > each individual war file. > > What values for in web.xml are likely to make this work? Is there

Re: [OT] Mailing large number of recipients

2003-12-06 Thread Craig R. McClanahan
Quoting Shyam A <[EMAIL PROTECTED]>: > Kirk, > > Thanks a lot for your suggestions. I will look into > JMS. > In my current approach, the process of sending the > mail is time consuming.I'm concerned that sending an > email to 1000's of recipients from my application > (using JMS, Thread etc) wou

Re: struts-faces Roadmap

2003-11-25 Thread Craig R. McClanahan
Quoting Nadeem Bitar <[EMAIL PROTECTED]>: > Is there a roadmap for the struts and jsf integration library? I am > particularly interested in an update that would support tiles. I already > tried the modifications suggested in the developerworks article > (http://www-106.ibm.com/developerworks/libr

Re: problem - urgent..help!!

2003-11-25 Thread Craig R. McClanahan
Quoting "Daniel A. Torrey" <[EMAIL PROTECTED]>: > I don't think that java.net.URL is capable of setting up an SSL connection. > > -daniel > Actually, it is possible if you have JSSE available (or you're running JDK 1.4 or later, which includes JSSE). http://java.sun.com/products/jsse/ > D

RE: Server manged vs. struts managed db pools

2003-11-24 Thread Craig R. McClanahan
Quoting Edgar P Dollin <[EMAIL PROTECTED]>: > I like struts managed db pools, however, the struts developers aren't too > happy about the quality and the dependency on the commons-pooling library > and are attempting to phase it out. > The existing connection pool in struts-legacy.jar (and the o

Re: struts and PHP

2003-11-24 Thread Craig R. McClanahan
Quoting Christian Bollmeyer <[EMAIL PROTECTED]>: > Am Montag, 17. November 2003 22:48 schrieb Daniel Blumenthal: > > Hi, > > > i've been looking into adding blogging functionality to my website > > (which uses struts), and one which was suggested was pmachine > > (http://www.pmachine.com/index.p

Re: PDF File Display in JSP-Struts

2003-11-12 Thread Craig R. McClanahan
Quoting Christian Bollmeyer <[EMAIL PROTECTED]>: > Am Mittwoch, 12. November 2003 21:31 schrieb Craig R. McClanahan: > > Quoting Larry Meadors <[EMAIL PROTECTED]>: > > > Why would you ever do this? This looks like a complete and total > > > kludge. > >

RE: PDF File Display in JSP-Struts

2003-11-12 Thread Craig R. McClanahan
Quoting Larry Meadors <[EMAIL PROTECTED]>: > Why would you ever do this? This looks like a complete and total kludge. > > If you are sending back binary data (application/pdf), just do it from the > action class using the response.getOutputStream() and return null from the > execute method. > >

Re: tiles and getRequestURI

2003-11-11 Thread Craig R. McClanahan
Quoting James Norman <[EMAIL PROTECTED]>: > I'm in the process of porting a web application from the > Jetspeed/Turbine framework over to struts and I ran into a problem > someone may be able to help me with. > > When I have a Jsp that is included by a tile, the > httpServletRequest.getRequestURI

Re: ResultSetDynaClass etc...

2003-11-11 Thread Craig R. McClanahan
Quoting "Sumit S." <[EMAIL PROTECTED]>: > The ResultSetDynaClass & ResultSetDynaBeans are a powerful way of > encapsulating ResultSets in DynaClasses. However, when we need to transfer > the data from such a DynaClass to a ValueObject (say a structs ActionForm), > the PropertyUtils.copyProperties

Re: Struts across WARs

2003-11-10 Thread Craig R. McClanahan
Quoting Brice Ruth <[EMAIL PROTECTED]>: > I don't believe sharing Tiles across WARs is possible, since the Tiles > plug-in needs the Tiles 'context' which would be specific to the Tiles > plug-in that is processing a particular request, if I'm not mistaken ... > since each WAR runs its own Tile

Re: Struts-chain

2003-11-08 Thread Craig R. McClanahan
half of many developers, me included, thanks for your great effort. :-) > You're welcome ... its going to be fun to see the various ways commons-chain gets employed. > BaTien > DBGROUPS > Craig > Craig R. McClanahan wrote: > > >Quoting BaTien Duong <[EMAIL PROTE

Re: Struts-chain

2003-11-08 Thread Craig R. McClanahan
Quoting Vic Cekvenich <[EMAIL PROTECTED]>: > > > BaTien Duong wrote: > > > i am able to have struts-chain example (the old > > struts-example with struts-chain built from cvs) up and running using > > j2sdk1.4.2_02 and tomcat 5.0.14. > > > Where did you find an example of using a Struts

Re: Re[4]: EL Expression in html:hidden tag

2003-11-08 Thread Craig R. McClanahan
Quoting Arne Brutschy <[EMAIL PROTECTED]>: > Hello, > > Monday, November 3, 2003, 7:20:31 PM, you wrote: > KS> I'm jumping in late on this thread, but why bother using Struts-EL at all > under > KS> JSP 2.0? The original (RT) tags should be magically EL-aware as long as > the app > KS> uses a Ser

Re:Struts-chain

2003-11-08 Thread Craig R. McClanahan
Quoting BaTien Duong <[EMAIL PROTECTED]>: > Howdy: > > I am trying to get Struts-chain up and running. I follow the instruction > of struts-chain in the cvs to build from the source: > > export ANT_HOME=.../ant-1.6beta2 > export JAVA_HOME=.../j2sdk1.4.2_02 > export TOMCAT_HOME=.../tomcat-5.0.14

Re: Which version of Commons Digester released with Struts 1.1

2003-11-08 Thread Craig R. McClanahan
Quoting Philip Mark Donaghy <[EMAIL PROTECTED]>: > I would like to debug a problem that I have with > Digester. The error is : > > java.lang.NoSuchMethodException: No such accessible > method: addFormBeanConfig() on object: > java.lang.String > Well, the error message says that there's no addFo

Re: attribut vs name in action definition

2003-10-30 Thread Craig R. McClanahan
Steven Woody wrote: Hi, In the MailReader examples's struts-config.xml, I noticed there are two different config mthod to associate a ActionForm to a Action. One use attribute, others use 'name', What is the difference? And, Struts-1.1 come with a JavaDoc for classes, but I did not f

Re: Design decision for Globals class

2003-10-30 Thread Craig R. McClanahan
Justin Mahoney wrote: Hi guys, Thanks for your replies. Can you give examples of usage patterns that would dictate that it is ok to move constants away from their owning classes? I also think the type safe enum pattern is a great idea, but I do not see this being used a lot in practice (though I t

Re: declaring action mappings at runtime

2003-10-30 Thread Craig R. McClanahan
Ahmet ISIK wrote: I'm doing it in a plugin. My purpose is to develop generic CRUD operations, views and forms for any model object that is persisted using Hibernate. For this, I introspect Hibernate config and provide form fields according to underlying object's properties. I'm declaring action

Re: specifying image source as jpg stream

2003-10-27 Thread Craig R. McClanahan
Max Cooper wrote: You may want to write a separate servlet to serve the image data. That allows you to implement getLastModified() and allow proper browser-caching support, which can significantly increase the speed of your pages if the user is likely to view the images more than once. We did this

Re: More than one condition using struts logic tags???

2003-10-27 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: Hello, I have a little query -> How can I check for more that one condition using struts logic tags? like if (A & B & C) { do something. } how do I achieve the same using struts logic tags? You can do an "and" test by nesting tags inside each other. There

Re: Session-scoped form and synchronization...

2003-10-27 Thread Craig R. McClanahan
Peter Abbot wrote: Generally if you are using a browser based interface to execute a servlet requests (except if using frames) the user can only send one request at a time. So if you are using a action with a session form and another action wants to use that form means that the user doesn't want t

  1   2   3   4   5   6   7   8   9   10   >