ActionServlet.initApplicationConfig() protected; why?

2002-03-19 Thread Torgeir Veimo
I want to automatically detect and install subapplications, instead of hand editing the web.xml file. (It's hard to "patch" with ant). So I wrote a plugin, that looks up instances with getResourcePaths() and installs them with initApplicationConfig(). But this method is protected. I can probab

Re: Nightly log4j configuration

2002-03-18 Thread Torgeir Veimo
Alejandro Velasco wrote: > Hi all. > I've been reading with attention the user group for a while and learned > so much from all of you... ;-) Now I dare to put a question. > > I'm testing now the new features in nigthly builds and face this problem. > > In latest nigthly build, I try to run an

multi-app interapp visibility ?

2002-03-08 Thread Torgeir Veimo
Could the visibility of forwards between sub application in the new multi-app support be clarified a bit? Especially how and others behave when using sub application. Wouldn't it be appropriate that a gets the subapplication's name prefixed, but a would not? I need to specify a page="" re

multi-app support and page="" & forward="" across sub applications

2002-03-07 Thread Torgeir Veimo
We use with page & forward attributes primarily to avoid coding the context path. Now we are splitting up our application into separate sub-applications, but there is one catch; How do we link between actions in different sub-applications, while still using page="" or forward=""? All the acti

form/multipart

2002-03-07 Thread Torgeir Veimo
I am having trouble with a form that contains both a file upload button and some other button. There is one input field which is used to create a new file, and a submit button for that. There is also a file upload button, and a submit button for that. <%-- create a new file --%>

Re: logic tag: checking presense of key or value in a map?

2002-02-26 Thread Torgeir Veimo
Torgeir Veimo wrote: > Is there a simple way of checking wether a map contains a given key or > value? > > I tried something like > > > I guess I have to do this myself. I need a and . -- -Torgeir -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>

logic tag: checking presense of key or value in a map?

2002-02-25 Thread Torgeir Veimo
Is there a simple way of checking wether a map contains a given key or value? I tried something like but I'm not shure if what I'm trying to do is supported. (The "child" bean has a method Map getProperties().) -- -Torgeir -- To unsubscribe, e-mail: For addi

Re: best practices for logging in

2002-02-24 Thread Torgeir Veimo
> has anyone encountered special cases where they've had to come up with some > unique way of handling logins? Why not use container managed authentication? You don't need to protect your pages statically using statements in web.xml. If you need to protect specific pages, then redirect

configuring an action for url pattern

2002-02-22 Thread Torgeir Veimo
I would like to redirect all url's of the form /pages/whatever/comes/here to a single action. How do I do that? I tried setting up a forwarding of the /pages/* url to the action servlet in web.xml, but I don't know how to use patterns in the strust-config.xml. -- -Torgeir -- To unsubscrib

Re: Personalisation Best Practice

2001-09-07 Thread Torgeir Veimo
Peter Pilgrim wrote: > > How do I get a "*.css" file recognised as valid Java Server Page? Have you tried; and in the jsp; <%@page contentType="text/css"%> -- - Torgeir

Re: Struts - acronym or not? - pls respond

2001-09-05 Thread Torgeir Veimo
Jose Correia wrote: > > Thanks! > > Ted Husted wrote: > > > Jose Correia wrote: > > > I thought this would be an easy question for those involved in the > > > project. > > > > Not. It's a reference to struts in the architectural sense. Struts means ostrich (the bird) in norwegian. The funny t