RE: Linked Forwards?

2003-04-04 Thread Adam Sherman
, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Programmatically creating links to Struts forwards

2003-04-04 Thread Adam Sherman
I have the need to create a link to a Struts Forward in code, is there a Right Way to do this? Should I go dig into the Javadoc for the html taglib? Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

Debugging 'null' Forwards

2003-04-03 Thread Adam Sherman
. Is there any way to globally catch these? Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Linked Forwards?

2003-04-03 Thread Adam Sherman
as needed. Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Linked Forwards?

2003-04-03 Thread Adam Sherman
. I think I wasn't clear. What I want is: global-forwards forward name=mainMenu path=.../ /global-forwards With actions like: action name=doSomethingAction forward name=success path=mainMenu/ /action This way I can easily change where actions redirect to. Thanks, A. -- Adam

RE: Populating a Form

2003-03-30 Thread Adam Sherman
On 03/29/03 23:42:04 -0700 Sterin, Ilya wrote: In the reset method of the ActionForm. I am using DynaValidatorForms, guess I should have mentioned that. Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

RE: Populating a Form

2003-03-30 Thread Adam Sherman
, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Form Field Unset Condition

2003-03-29 Thread Adam Sherman
type? 2. What should be used as CONDITION so that CONDITION is true if the parameter id has been set? (I assume that my validation should make sure id is an integer if it is set.) Thank you very much for your assistance, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

RE: Form Field Unset Condition

2003-03-29 Thread Adam Sherman
)dynaForm.get(id); if (id != null) { } I think that something else is going on because that condition isn't met if I call the Action with no parameters. It seems to be . (Which doesn't sound right either.) Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

Re: Does a degree matter?

2003-03-29 Thread Adam Sherman
projects. Being able to search some mailing lists and find real day-to-day comments by the individual is fantastic and gives me lots of confidence. My two cents, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

Populating a Form

2003-03-29 Thread Adam Sherman
values. Using the html:text tags value attribute seems to have the effect of the empty values reappearing after validation fails. Maybe I'm approaching this completely wrong? Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

[OT] Mailing List Loop

2003-03-29 Thread Adam Sherman
I seem to be posting 2 copies of my messages to the list, one of them normal and the other wierd like the attached message. WTF? Notice the multiple received headers. Is anybody else having similar problems? Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

RE: c:out output problem

2003-03-25 Thread Adam Sherman
On 03/24/03 22:55:59 -0500 Adam Sherman wrote: And while you're discussing all this, would someone mind helping me out with my original problem? (-: Solved it! I received very quick help from the jsp-interest list suggested by Mark Galbreath, thanks Mark. Turns out the header is an implicit

DynaActionForm if not set condition

2003-03-25 Thread Adam Sherman
How do I check if a field hasn't been set at all? DynaActionForm.get(fieldName) == null, or DynaActionForm.get(fieldName) == doesn't seem to work. Any hints? A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

Re: DynaActionForm if not set condition

2003-03-25 Thread Adam Sherman
, thanks. If I have the field defined as a String in the form-bean and am validating using depends=integer, will the field be null if the action is called directly? Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

c:out output problem

2003-03-24 Thread Adam Sherman
it is being properly set. The above outputs: [EMAIL PROTECTED] [EMAIL PROTECTED] (There suppose to be two headers.) Any ideas? Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

RE: c:out output problem

2003-03-24 Thread Adam Sherman
makes use ot the struts-html form Tag. And while you're discussing all this, would someone mind helping me out with my original problem? (-: I'll go subscribe to jsp-interest meanwhile. Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

RE: Datasource

2003-03-24 Thread Adam Sherman
. The Right Way(TM) 3. The Wrong Way(TM) 4. Actually, you need to declare a reference to 2 here. Not the actual Datasource 5. See 4. That help at all? Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

Re: Generate select from Hashtable

2003-03-24 Thread Adam Sherman
Just a polite note to let you know that using the Reply function to ask a new question on a mailing list is bad netiquette. It screws up threading. A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

Re: NPE accessing Resources

2003-03-22 Thread Adam Sherman
--On Friday, March 21, 2003 21:53:10 -0800 David M. Karr [EMAIL PROTECTED] wrote: What version of Struts are you using? If you're not using the nightly build, try that. There is a known bug with html-el:errors in RC1, that might cause this. Yeah, I noticed this in previous threads and tried a

Re: NPE accessing Resources

2003-03-22 Thread Adam Sherman
and getting of your name and property attributes. You are referring to the attributes of my resource? Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819 - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: NPE accessing Resources

2003-03-22 Thread Adam Sherman
no values, size == 0. That isn't normal, right? Thanks very much for your help! A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: NPE accessing Resources

2003-03-22 Thread Adam Sherman
, yes? Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

NPE accessing Resources

2003-03-21 Thread Adam Sherman
properly and I'm not getting any loading errors. So WTF? I tried using JSwat to look at stuff, thought maybe I would be able to examine the Application Context but I discovered that debugging is not for weenies. So, what can I do to further my cause? Thanks, A. -- Adam Sherman Tritus CG

Encapsulating complete form in Action definition

2002-11-12 Thread Adam Sherman
Would be possible to achieve this? I want the first hit on the do URI to generate the input JSP with no errors. This way I can encpsulate all the needed information in the Struts config file for handling user input. Does this make sense to anyone? Thanks, A. -- Adam Sherman Tritus CG Inc

Diiabling Validator XML Validation

2002-11-06 Thread Adam Sherman
My dev box is not connected to the net, and since a few nightlies ago I'm getting critical erros when Digester tries to validate Validatiors validation rules file. Can validation be turned off? Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819

Validator: using wrong anwser in error message?

2002-11-05 Thread Adam Sherman
Is it possible to setup validation so that {0} is replaced by the bad value? Example: adamtritus.ca is not a valid email address. Thanks, A. -- Adam Sherman Tritus CG Inc. http://www.tritus.ca/ +1 (613) 797-6819 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org

Strange Parsing Error

2002-10-25 Thread Adam Sherman
: Parsing error processing resource path /WEB-INF/struts-config.xml On startup of my struts app. Thing is I dont' have 490 lines in my struts config. Any ideas which file is causing the problem? Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe

Re: Strange Parsing Error

2002-10-25 Thread Adam Sherman
Vikas Malla wrote: I had this error. I just got rid of the nested comments. try this on your struts-config.xml. see if this works in your case. I removed *all* comments, still get the error. I think it's referring to a different file... Thanks, A. -- Adam Sherman Software Developer Teach

Re: Strange Parsing Error

2002-10-25 Thread Adam Sherman
,/WEB-INF/validation.xml/ /plug-in /struts-config -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: Strange Parsing Error

2002-10-25 Thread Adam Sherman
Craig R. McClanahan wrote: The message is telling you exactly what's wrong. One way to cause this is to try a comment like this: Still trying to track this down. Does anybody have some ideas? Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103

Re: Strange Parsing Error

2002-10-25 Thread Adam Sherman
Adam Sherman wrote: Oct 25, 2002 10:36:38 AM org.apache.struts.action.ActionServlet initApplicationConfig SEVERE: Parsing error processing resource path /WEB-INF/struts-config.xml I'm using a validating parser on my config files, and it is happy. Could this be an unrelated issue? Thanks

Re: Strange Parsing Error

2002-10-25 Thread Adam Sherman
I rebuilt my lib directory, and the problem went away. Weird. A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

FormBean property dynamic problems

2002-10-24 Thread Adam Sherman
hit without showing input. Without it, input is shown, but then no actual validation occurs and the action is hit regardless of user input. Is there anything that needs to be done *inside* the Action for enable validation? Didn't see anything in the docs. Thanks for your help, A. -- Adam

Re: Security Best-Practices?

2002-10-23 Thread Adam Sherman
I will have given you some helpful information. You make a lot of sense, I think I'll stick to using a plain Tomcat Realm that points to a user database, and have the rest of the info in separate table keyed on the username. Thanks for the advice, A. -- Adam Sherman Software Developer Teach

Re: Mapping Clarification

2002-10-23 Thread Adam Sherman
Adam Sherman wrote: In a mapping: - input is the form - name matches the name of the Form Bean Is this correct? When does 'input' get called? If I hit the action with no arguments? On a validation error? I have an action with an input, and a form bean, but the action still gets called when

Best Practices Example App?

2002-10-23 Thread Adam Sherman
Is there a good example application that uses DynValidator, Tiles, etc? A few of my issues have simply been misunderstanding of the docs, and an example would help a lot! Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail

Re: Validation Philosophy

2002-10-23 Thread Adam Sherman
is dumb, like syntax. You know, is that a phone number, is that an email... For example, checking an email for valid syntax is one thing, and looking up the domain to make sure it exists is another. Do I make any sense at all? Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc

Re: Validation Philosophy

2002-10-23 Thread Adam Sherman
. (-: A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: ActionForm vs. Value Bean

2002-10-22 Thread Adam Sherman
=ActionForm ? Well, deffinitly not in a Form bean. The way I do it is to put the value bean in the request scope, and then use it from the view. ie. request.setAttribute(nameConstant,valueBean); Then the value bean is available to all the JSP tags. Does this help? A. -- Adam Sherman Software

Re: FW: {Validator] Required Fields

2002-10-22 Thread Adam Sherman
for him/her Maybe someone assumed that you would never want a field to be (blank or valid). Some fields need to be validated only if they contain a value. Can one of the developers comment on this? Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103

Re: Single sign on?

2002-10-22 Thread Adam Sherman
more secure and can't be faked. How do you prevent replay attacks? Where someone simply steals the cookie and uses it another time. A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org

Security Best-Practices?

2002-10-22 Thread Adam Sherman
. Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: Security Best-Practices?

2002-10-22 Thread Adam Sherman
Adam Sherman wrote: Can anybody point me to a best practices guide for security in webapps? I'm building it from scratch. Struts 1.1 has integrated support for JAAS, hows does affect Servlet Realm security? I'm completly new at this, so just some suggestions would be helpfull. Not detailed

Re: Security Best-Practices?

2002-10-22 Thread Adam Sherman
an application-specific user database, and create a new entry in it for every new authenticated user that comes down from the container. Kinda hackish, but I don't see another way. That, or use SecurityFilter (http://securityfilter.sourceforge.net/), then move to CMA if I have to. Thanks, A. -- Adam

Re: Form submission

2002-10-22 Thread Adam Sherman
Kyrre Lugg wrote: James Mitchell wrote: This means you are in a status of SOL. SOL? Sh*t Out of Luck. A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e

Re: logic:iterate How to determine the last row in a collection

2002-10-21 Thread Adam Sherman
whether it's a last record in a collection // if so, display the outline with border at the bottom /logic:iterate Insert border here. /logic:present A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:struts-user

Re: nested:iterate building columns

2002-10-21 Thread Adam Sherman
for all your help, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: logic:iterate How to determine the last row in a collection

2002-10-21 Thread Adam Sherman
Tuan H. Le wrote: if it's the last row dispay td align=center style=border-right bean:write ./td else display td align=centerbean:write .../td Do you have some HTML to illustrate this? Might be possible to work around the issue. A. -- Adam Sherman Software Developer Teach

Re: nested:iterate building columns

2002-10-21 Thread Adam Sherman
. Thanksa a bundle, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: nested:iterate building columns

2002-10-21 Thread Adam Sherman
. Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: nested:iterate building columns

2002-10-21 Thread Adam Sherman
for Collections that are Sets? A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: nested:iterate building columns

2002-10-21 Thread Adam Sherman
. * An implementation of java.util.Map, including HashMap, Hashtable, and TreeMap. NOTE - See below for additional information about accessing Maps. And Set extends Collection. Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:struts-user

Re: nested:iterate building columns

2002-10-21 Thread Adam Sherman
that's all BeanUtils could handle as indexed properties. It's fixed in 1.1betas so any List or Map interface can be used also. What about a Set? Thanks to both of you for the great help, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail

[OT] JNDI under Tomcat

2002-10-18 Thread Adam Sherman
I need to have a plugin insert an entry into the context. However, it seems that Tomcat only provides a read-only JNDI context. Any ideas on the easiest way to provide my app with an in-memory JNDI context? Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103

Nested Iterate Tags Help Needed

2002-10-18 Thread Adam Sherman
Montreal Ottawa St. Catharines Toronto Vancouver Winnipeg Tuesday, October 22nd, 2002 Calgary Edmonton Etobicoke Kamloops London Montreal Oakville Note the three columns... I'm looking for the cleanest, tag-only, implementation. Thanks, A. -- Adam Sherman Software Developer Teach

nested:iterate building columns

2002-10-18 Thread Adam Sherman
. I'm very confused as to how to make this work, furthermore I need to replicate the three-column layout of the above page. (I hope to find an elengant solution for that.) Please lend a hand if you understand the iterate tags! Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc

Re: tiles definitions including other definitions

2002-10-18 Thread Adam Sherman
it would be extremely nice to do this, but When I try to forward (via a forward Action) to tiles.members.layout1, I get the .basicLayout but there is nothing in the body area. It Just Works for me. I'm not using the type attribute at all. A. -- Adam Sherman Software Developer Teach and Travel Inc

Re: Which O/R layout most used with Struts

2002-10-18 Thread Adam Sherman
anything data related interacting with Struts. I hide all persistence from the Struts Actions to make my business layer independant of web-based apps. Oh, and I'm using Hibernate with good results. P.S. The above is not my idea, it's a standard pattern. A. -- Adam Sherman Software Developer

[OT] Re: Determining

2002-10-18 Thread Adam Sherman
Wendy Smoak wrote: https://www.auth.server/page.html?callapp=http://www.xxx.com/dev/editContac t.do?key=4100action=edit FYI, using www.xxx.com in examples is a very bad habit... (-: A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail

Re: nested:iterate building columns

2002-10-18 Thread Adam Sherman
a persistence engine, I'm not sure if my structure actually works the way I think it does. Anyway to get a more descriptive error? Thanks, A. P.S. Your earlier post pointed me to nested tags, I just can't figure out how to use em! -- Adam Sherman Software Developer Teach and Travel Inc

Re: nested:iterate building columns

2002-10-18 Thread Adam Sherman
() returns a Set. (Is this OK?) So, I verified that the data is there. But I still get a NullPointerException, therefore I must be trying to pull data from the wrong spot in the structure. )-: Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e

Re: nested:iterate building columns

2002-10-18 Thread Adam Sherman
: nested:iterate id=location property=informationsessions nested:write property=location.city/br /nested:iterate The Objects returned by date.getInformationSessions() have getLocation() methos that return a single Object with a getCity() method. Am I clear? Thanks, A. -- Adam Sherman Software

Structure Advice for logic:iterate

2002-10-15 Thread Adam Sherman
, A. -- Adam Sherman President Chief Technologist Tritus CG Inc. +1 (613) 797-6819 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Structure Advice for logic:iterate

2002-10-15 Thread Adam Sherman
! A. -- Adam Sherman President Chief Technologist Tritus CG Inc. +1 (613) 797-6819 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Structure Advice for logic:iterate

2002-10-15 Thread Adam Sherman
On 10/15/02 15:46:06 -0400, Adam Sherman wrote: Adam wrote: I need to present data like this Heading One One Two Three FourFiveSix Heading Two Seven Eight Heaging Three NineTen Eleven I think maybe I'm trying to do the structuring in the presentation

RE: Request v Page scope?

2002-10-15 Thread Adam Sherman
with them! ;-) Yanks, eh? I don't think so. Not my fault if you Brits forget the funny part of a joke. (-: A. -- Adam Sherman President Chief Technologist Tritus CG Inc. +1 (613) 797-6819 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: Structure Advice for logic:iterate

2002-10-15 Thread Adam Sherman
On 10/15/02 16:25:32 -0400, Sri Sankaran wrote: (FYI: With the version in Struts 1.1 and indexed properties, you may be able to avoid the % % ugliness) This all makes quite a lot of sense. Could you elaborate on indexed properties? Thanks, A. -- Adam Sherman President Chief Technologist

Persistence Framework Comparison?

2002-10-04 Thread Adam Sherman
Does anybody know a of a decent comparison of Open Source persistence frameworks? I'm embarking on a big project without time to properly evaluate them. So I need some help deciding. Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e

Re: Business Logic Bean Question

2002-10-04 Thread Adam Sherman
into a class that does business logic. Actions call Business Objects which pass back Value Objects. Value Objects are created with Manager Objects. My two cents, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:[EMAIL

Re: Persistence Framework Comparison?

2002-10-04 Thread Adam Sherman
Galbreath, Mark wrote: Isn't that always the case? :-( No kidding, putting a ton of work into something only to realize that that other tool could have done most of it for you is *very* unpleasant. A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103

Basic Templating Recommendations?

2002-10-03 Thread Adam Sherman
people must be doing something for the many generic html pages on their dynamic sites, ideas? Thank you, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Basic Templating Recommendations?

2002-10-03 Thread Adam Sherman
generic html pages on their dynamic sites, ideas? -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Throwing a 404?

2002-10-02 Thread Adam Sherman
I'm building an Action to handle generic requests for pages that are defined as tiles. Basically, I want all requests for *.html to hit this action, which will figure out the definition name and call it. If the page doesn't exists, how can I throw a 404? Thanks, A. -- Adam Sherman

Re: Throwing a 404?

2002-10-02 Thread Adam Sherman
component? I'm also looking for some Best Practices advice. Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Throwing a 404?

2002-10-02 Thread Adam Sherman
doing sendError(404), where would I forward to? Or will the request now contain a 404, but I still need to show a page? Thanks for your help, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Throwing a 404?

2002-10-02 Thread Adam Sherman
this cause the browser to not recognize the 404? This would undoubtedly be a Bad Thing for spiders, etc. Can I forward to a custom error page, and have the page set the appropriate header? Thanks, A. P.S. Please excuse my newbieness. (-: -- Adam Sherman Software Developer Teach and Travel Inc

Re: Throwing a 404?

2002-10-02 Thread Adam Sherman
Adam Sherman wrote: Wouldn't this cause the browser to not recognize the 404? This would undoubtedly be a Bad Thing for spiders, etc. And Peter Hamlen brings up a good point, what about the logs? A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103

Mapping Problems

2002-10-02 Thread Adam Sherman
to implement above. A better solution would be appreciated! -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

tiles.DefinitionDispatcherAction Extension Idea

2002-09-24 Thread Adam Sherman
to tell it which definition to use, switching this to guess from the path shouldn't be too complicated? Anybody? Thanks, A. -- Adam Sherman President Chief Technologist Tritus CG Inc. +1 (613) 797-6819 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

Re: Logout in a container-managed security environment

2002-09-24 Thread Adam Sherman
FORM authentication over BASIC, is that you can forcefully logout a user. With BASIC, you can't. Period. A. -- Adam Sherman President Chief Technologist Tritus CG Inc. +1 (613) 797-6819 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Tiles/Template Automation

2002-09-17 Thread Adam Sherman
themselves. This means that I can add a page, simply by creating it in the right location. Any ideas? Thanks, A. -- Adam Sherman President Chief Technologist Tritus CG Inc. +1 (613) 797-6819 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto