passing parameters

2002-02-28 Thread Edward Q. Bridges
simple question, (i hope!) if i set a property for an action in struts-config.xml like this: action path=/view-channels type=contentdb.view.channels.ViewChannelsAction name=viewChannelsForm scope=request validate=true

Re: BEER = GOOD : EJB = bad = MS.net

2002-02-24 Thread Edward Q. Bridges
ok, i promise i will: 1. stop using obscure, hairy acronyms. 2. cease and desist from OT EJB references (oops! there i go, i broke #1. no more. i promise!). 3. drink at *least* one beer. :) i hope you all had a fine weekend! --e-- On Fri, 22 Feb 2002 13:09:58 -0800, Eugene Neymark

general Base Action class question

2002-02-24 Thread Edward Q. Bridges
i'm building a test application with struts in order to learn it better. out of curiosity, i was wondering what sort of useful functionality people are building into a Base Action class (i.e. a super class for all actions), and how (in general) they are using them to fulfill specific business

best practices for logging in

2002-02-24 Thread Edward Q. Bridges
what is the general accepted practice for handling logins and securing access with struts? from a review of the archive, it seems that way *not* to do it is to use a isLoggedIn flag that gets passed from page to page. and, that the canonical approach is to utilize Action.perform(...) to

Re: EJB = bad = MS.net

2002-02-22 Thread Edward Q. Bridges
location independence means independent of location, that is all. if you're implementing two interfaces to do (more or less) the exact same thing, and one is called local and one is called remote that is absolutely *not*, by any stretch of the imagination, location independent. _end of

Re: EJB = bad = MS.net

2002-02-21 Thread Edward Q. Bridges
i like EJBs (note that i said like and not love). i think they have some applicability. however, a peeve of mine about EJBs and the spec is this claim of location independence. furthermore, the claim to location independence is eroding: note that in the 1.1 spec it claims: The client

RE: EJB = bad = MS.net

2002-02-21 Thread Edward Q. Bridges
yes, i guess you're right. it never existed in the first place. On Thu, 21 Feb 2002 18:52:43 +0200, Maris Orbidans wrote: It's simply because EJB 2.0 has local interfaces (1.1 doesnt) , not that claim to location independence is eroding. -- To unsubscribe, e-mail: mailto:[EMAIL

Re: url to access a struts app

2002-02-20 Thread Edward Q. Bridges
nevermind. i've now had my coffee, and realized that i didn't put an entry in web.xml for the actionservlet. thanks anyway :) --e-- On Wed, 20 Feb 2002 12:58:01 +0100, Edward Q. Bridges wrote: i have a rather simple problem (i think!) . . . given an actionmapping like this: action

RE: EJB = bad = MS.net

2002-02-20 Thread Edward Q. Bridges
i believe that if you are using jboss as an app-server, you can shut off the ejb service and still have security and transaction management (not to mention, jndi, web application support, mail services, logging services, etc. etc.). my .2 added to your .2 --e-- On Wed, 20 Feb 2002 09:56:10

Re: 404 error when placing JSPs beneath WEB-INF

2001-12-18 Thread Edward Q. Bridges
note that it should be: WEB-INF not web-inf nota bene: even though windows* is not case sensitive in terms of paths, java *is* even when running on windows. --e-- On Tue, 18 Dec 2001 12:13:30 -0500, [EMAIL PROTECTED] wrote: 2) struts-config.xml ... action path=/startIt

Re: Struts Design question

2001-12-10 Thread Edward Q. Bridges
i believe that you could subclass ActionServlet and implement the processPreprocess method. this is called before processActionForm and processPopulate. On Fri, 7 Dec 2001 13:08:10 -0800 (PST), Jon Wall wrote: . . . having a problem with the Save action. The issue is that I need to retrieve

Re: Action an overkill ??

2001-12-07 Thread Edward Q. Bridges
i was a little confused about your original post on this subject, but then your followup seemed to confuse me more. your original post on this subject seems to imply there is an additional layer, distinct from the Action, where business logic should reside. then, your follow up seems to confirm

Re: Alternate Query String( no ? or )

2001-12-07 Thread Edward Q. Bridges
although i wasn't using struts, i've gotten this to work with no such effort at all (using servlets and jetty, not to mention perl/cgi etc.). basically, i defined a path for a servlet in web.xml, and anything after that path, the server placed in pathinfo. i can provide examples if anyone

RE: Action an overkill ??

2001-12-07 Thread Edward Q. Bridges
workload, so it's always going to be trade-off. Keith. --- Edward Q. Bridges [EMAIL PROTECTED] wrote: what if the client doesn't support javascript? what if the ordering is significant, and the client has javascript turned off? basically, it's a design question that gets

struts-config.xml question

2001-12-06 Thread Edward Q. Bridges
given the below struts config which is part of a war file named 'wizard.war', i am trying to have a url that appears in the client web-browser address bar of the sort: http://localhost:8080/wizard/logon but the only thing i can get to work is: http://localhost:8080/wizard/logon.jsp how can i

RE: struts-config.xml question

2001-12-06 Thread Edward Q. Bridges
application? (am using jetty/jboss as a servlet container) thanks --e-- On Thu, 6 Dec 2001 09:41:49 -, Jon.Ridgway wrote: Hi Edward You will need to add a mapping into your web.xml. Jon. -Original Message- From: Edward Q. Bridges [mailto:[EMAIL PROTECTED]] Sent: 06 December 2001 09:36