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: 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: 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: 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: 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: [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: [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: 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: 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-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: 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: [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 "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: 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-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: [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: 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: 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: [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: [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

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

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: 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: [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: 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: 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: 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: 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: 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: [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: 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: [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: 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: [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

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: 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

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: 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: 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: 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: 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 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-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: 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 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: 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: [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: [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:

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: 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

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: 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: .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: 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 "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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: XForms Engines (was RE: Is it possible to remove *.do or /do/* from the URL)

2003-09-19 Thread Craig R. McClanahan
On Fri, 19 Sep 2003, Joe Germuska wrote: > > I guess we'll see what happens; I'd been thinking about JSF and > XForms as complementary, but then, my thinking was at a pretty > superficial level. > They certainly can be -- writing a RenderKit for JavaServer Faces that emitted the appropriate marku

RE: Is it possible to remove *.do or /do/* from the URL [solved]

2003-09-19 Thread Craig R. McClanahan
On Fri, 19 Sep 2003, Matt Raible wrote: > Date: Fri, 19 Sep 2003 14:00:46 -0500 > From: Matt Raible <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Is it possible to remove *.do or /do/* from the URL

Re: JSF and rich clients (non-HTML)

2003-09-19 Thread Craig R. McClanahan
On Fri, 19 Sep 2003, Martin Naskovski wrote: > Date: Fri, 19 Sep 2003 15:38:24 -0700 > From: Martin Naskovski <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > Martin Naskovski <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: JS

Re: Servlet Path & Path Info on Weblogic 8.1 vs. Struts

2003-09-20 Thread Craig R. McClanahan
On Sat, 20 Sep 2003, Jing Zhou wrote: > Date: Sat, 20 Sep 2003 13:01:08 -0500 > From: Jing Zhou <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > Jing Zhou <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Servlet Path & Path Inf

Re: Servlet Path & Path Info on Weblogic 8.1 vs. Struts

2003-09-20 Thread Craig R. McClanahan
On Sat, 20 Sep 2003, Jing Zhou wrote: > Date: Sat, 20 Sep 2003 19:17:24 -0500 > From: Jing Zhou <[EMAIL PROTECTED]> > To: Craig R. McClanahan <[EMAIL PROTECTED]>, > Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: Servlet Path & Path Info

Re: [OT] STL startup times - is caching going on?

2003-09-21 Thread Craig R. McClanahan
On Sat, 20 Sep 2003, Richard Mixon (qwest) wrote: > Date: Sat, 20 Sep 2003 21:34:45 -0700 > From: "Richard Mixon (qwest)" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: [OT] STL startup times - is caching

Re: Page Title

2003-09-22 Thread Craig R. McClanahan
Bryce Fischer wrote: How do i assign different title for each page using tiles. Following is my tile layout which has title "My Site Name". And it has Header, Side Menu, BODY, Footer. Should i have in each BODY jsp ? Is there any short cut to get the page name and over ride the main layout title

Re: Connection Pooling + User Authentication

2003-09-23 Thread Craig R. McClanahan
Kapadia Mitesh-C23457 wrote: Hello. I would like to explore Connection Pooling as opposed to direct JDBC calls to an Oracle V8.1.6 database in a STRUTS application. The queries that are being executed have some kind of security built into them such that they only return results based on the User I

Re: Servlet Path & Path Info on Weblogic 8.1 vs. Struts

2003-09-23 Thread Craig R. McClanahan
Jing Zhou wrote: Craig, Thanks for your confirmation. It does appear to be a bug in WebLogic 8.1. I programmed a filter to work around this problem and some other issues in Oracle OC4J 9.0.3. It works fine. But I discovered the following behavioral differences between different vendors: The filte

Re: Servlet Path & Path Info on Weblogic 8.1 vs. Struts

2003-09-23 Thread Craig R. McClanahan
Jing Zhou wrote: - Original Message - From: "Karr, David" <[EMAIL PROTECTED]> Did you find a bug report describing this in the BEA Support database? No. But I left a short description of the problem regarding to the confused servlet path and path info in a mailing list. Jing I

Re: Is there a nice ExceptionHandler mechanism in struts for Throwable?

2003-09-23 Thread Craig R. McClanahan
Alex Shneyderman wrote: I have looked at ExceptionHnadlers and find them pretty nifty. Is there a way to do similar thingy with Throwables? I tried to set ExceptionHandler to catch (type attribute) Java.lang.Throwable but it does not work and I get the ugly ServletException as my page to the user

Re: Servlet Path & Path Info on Weblogic 8.1 vs. Struts

2003-09-24 Thread Craig R. McClanahan
Jing Zhou wrote: From Servlet 2.3, there is another thing not clear to me: Could a servlet container execute the filters in a chain in different threads for one incoming http request? No. All the processing for a single request has to be done in a single thread. Craig ---

Re: Can I have 1 struts jar file for multiple servers/applications

2003-09-24 Thread Craig R. McClanahan
David Thielen wrote: Hi; I thought I read something somewhere that said I need to have a seperate set of struts jar files for each application or server. But I can't find it now. I am using JRun and under a given server it has multiple applications with each application having it's own web.xml a

Re: Adding supported types to DynaForms

2003-09-24 Thread Craig R. McClanahan
Nick Heudecker wrote: Hi, I've read in the docs that DynaForms only support the folloing types: # java.lang.BigDecimal # java.lang.BigInteger # boolean and java.lang.Boolean # byte and java.lang.Byte # char and java.lang.Character # java.lang.Class # double and java.lang.Double # float and java.

Re: [OT] Application Config Mgmt

2003-09-25 Thread Craig R. McClanahan
Kevin Tung wrote: How does everyone manage different deployment configurations? Let's say your webapp needs to run in various environments.. for example dev, staging and production. Each environment has its own database connection info and third party SOAP endpoints.. etc. What is a good way to

Re: Urgent: Changing URLs for existing struts project

2003-09-25 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: Hi All I am currently running tomcat4.1.27 and apache1.3.x. I am using struts. I used call my webapplication "xyz" using www.abc.org/xyz. Now company has decided that pople should be able to access this webapplication through the URL www.abc/javapps/xyz. Do i need to chang

Re: BeanMapping WAS: [Poll] action mappings

2003-09-25 Thread Craig R. McClanahan
Mainguy, Mike wrote: I think your way is perfectly acceptable. I like to try and use the supplied interfaces (i.e. DynaBean) if they suit my needs and, to date, DynaBean has served me well. You can use BeanUtils to map DynaBeans to POJO's and visa versa (as a matter of fact you can to it to/from

Re: Going from https on /member.do, back to http on index.jsp?

2003-09-25 Thread Craig R. McClanahan
Max Cooper wrote: Creating an index.do is one option. If it is not marked as secure, sslext will write an absolute URL back to http:// for it. Many Struts users advocate that all requests should be served by Actions, even if the action merely forwards to a JSP. I actually have a more important

  1   2   3   4   5   6   7   8   9   10   >