Re: Indexed properties

2001-07-25 Thread James Howe
At 02:23 PM 7/25/2001 -0400, you wrote: Nathan, Hi. Currently you have to use my changed tags...but it looks like they will be in the nightly build by the end of the week. You can get them at http://husted.com/about/struts/indexed-tags.htm, and I attached some example source code to a

Re: Indexed properties

2001-07-25 Thread James Howe
At 05:20 PM 7/25/2001 -0400, you wrote: Hi James, Thanks for your note - made me think a bit! Would be interested in knowing more about the other indexed tags that were posted and you are using. I know either Jeff Trent or Martin Cooper had produced some tags which had a different name ie

Running Tomcat+Struts w/o internet connection

2001-06-22 Thread James Howe
We are trying to run Tomcat + Struts to run our web application without an external internet connection. We are running into a problem because our struts-config.xml has an external reference to the struts-config DTD. What is the proper way to modify struts-config.xml to reference a locally

Accessing session attributes

2001-06-14 Thread James Howe
This is probably a stupid question, but here it goes. I have a handful of string values that I'm storing in the session object. These values aren't associated with any bean (actually, in a sense the session object is the bean). I have a couple of places where I need to display these values

Editing tabular data

2001-05-14 Thread James Howe
I'm currently in the process of coding a Struts-based JSP page which will let my user edit a table of values. I started out by creating a read-only display of values using the logic:iterate tag and bean:write tags. The object associated with the iterate tag answers a collection of beans and

Usage of include or forward in Action definition

2001-05-03 Thread James Howe
Could someone explain a little more about when you would want to use either the include or forward attributes of the action tag (used in struts-config.xml) instead of the type attribute? An example or two would go a long way to clarifying when and why someone might want to use either include

RE: Returning from a form page

2001-05-01 Thread James Howe
-Original Message- From: James Howe [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 11:44 AM To: [EMAIL PROTECTED] Subject: Returning from a form apge In our web application, we have two pages from which a user can access a third page. From the third page (which is form to fill

Returning from a form apge

2001-04-30 Thread James Howe
In our web application, we have two pages from which a user can access a third page. From the third page (which is form to fill out and save), the user either saves or cancels their action, and the user is returned to the page from which they originally started. However, the third page has

Re: Required vs. optional name attribute

2001-04-23 Thread James Howe
At 10:00 PM 4/22/2001 -0700, you wrote: On Wed, 18 Apr 2001, James Howe wrote: I apologize in advance if this topic has come up before, but ... I'm building a Struts JSP page containing a form. I've noticed that the HTML tags typically do not require the specification of a name

Required vs. optional name attribute

2001-04-18 Thread James Howe
I apologize in advance if this topic has come up before, but ... I'm building a Struts JSP page containing a form. I've noticed that the HTML tags typically do not require the specification of a "name" attribute in order to retrieve property values from a bean. If the name isn't specified,

Feature request

2001-04-18 Thread James Howe
I'm using the bean:write tag to add parameters to a dynamically generated URL used by some javascript on my JSP page. The problem with bean:write is that it doesn't URL encode the result. In general, this is probably a good thing. However, there are times when it would be nice to have the

Where are Struts messages found?

2001-04-11 Thread James Howe
I'm working with Struts and I'm trying to build an error page for my JSP application. In looking at the Struts tag code I see statements which look like this: throw new JspException(messages.getMessage("getter.bean", beanName))); which looks like it should be populating the exception with

Re: Where are Struts messages found?

2001-04-11 Thread James Howe
Nevermind. I found them in places like org/apache/struts/util/LocalStrings.properties. I'm running Tomcat/Struts from within VisualAge and I hadn't properly imported the Struts resources and I was missing these properties files. At 11:33 AM 4/11/2001 -0400, you wrote: I'm working with

Re: Performance of struts

2001-03-19 Thread James Howe
If Tomcat's performance is pretty awful, what are some JSP implementations (commercial or otherwise) that are particularly good? At 12:10 PM 3/19/2001 -0800, you wrote: Struts based apps (or any app that uses custom tags heavily) are going to be significantly impacted by the quality of the JSP

Tips needed

2001-02-28 Thread James Howe
The company I work for wants to create a web version of an existing application. We have created a static web site which we are using as the prototype for the real thing. We now need to make the site active. Can anyone offer any tips on good ways to convert a static web site into a Struts

Re: Base tag question

2001-02-27 Thread James Howe
At 05:35 PM 2/26/2001 -0800, you wrote: James Howe wrote: Is there some reason why the base tag defined in the HTML tag library doesn't let you specify the optional target attribute? I'm working with a frames based web application and I need to use both the href and target attributes

Base tag question

2001-02-26 Thread James Howe
Is there some reason why the base tag defined in the HTML tag library doesn't let you specify the optional target attribute? I'm working with a frames based web application and I need to use both the href and target attributes. I know I could subclass the custom base tag, but before I do, I

Struts and Frames

2001-02-14 Thread James Howe
I'm working to build a web based application using Struts. Currently we have a mocked-up prototype which uses frames (iframes in particular) to control what gets displayed on the screen. In general the format of our or pages consists of three frames: Top (header/navigation stuff) Main (the

A couple more frames (and non-frames) questions

2001-02-14 Thread James Howe
I have a couple more questions regarding Struts and frames as well as a question concerning web site organization. I was able to get my frames-based Struts application to sort of work after adding the "target" property to my logon form. This leads to my next question. My current page has

Re: which development tool to use?

2001-02-06 Thread James Howe
We also use VAJ 3.5 with Tomcat and Struts. It's nice to be able to develop, run, and debug within the same environment. Since the generated JSP code is part of the IDE, it's a simple matter to put breakpoints in the generated JSP if necessary. At 11:24 PM 2/5/2001 +0100, you wrote: I use

Is request shared across a redirect?

2001-01-31 Thread James Howe
I have two JSP pages which I want to have share a bean. In the first JSP page I do something like this: [...] jsp:useBean id="bean" scope="request" class="package.BeanClass"/ jsp:setProperty name="bean" property="prop" value='Some Value'/ logic:redirect href="foo.jsp"/ [...] In "foo.jsp", I

Re: Is request shared across a redirect?

2001-01-31 Thread James Howe
by requesting the URL provided in the redirect response. Request and response objects are preserved over forward because this is internal to the webserver. -- Jason James Howe wrote: I have two JSP pages which I want to have share a bean. In the first JSP page I do something like

Initializing a Struts application

2001-01-08 Thread James Howe
I'm a little confused about how to best initialize some application scope information in a Struts application. For example, I need to configure a handful of IP addresses which my beans need to talk to. I might do something like this in a configuration file: marketData=127.0.0.1 My question

Possibly Stupid Question

2001-01-05 Thread James Howe
I want to generate a link tag for a page which takes three parameters. The values of the parameter come from a bean which is available to the page. The end result should look something like this: a href="foo.do?parm1=val1parm2=val2parm3=val3"Link/a The values for val1, val2 and val3 come

Possibly Stupid Question

2001-01-05 Thread James Howe
I want to generate a link tag for a page which takes three parameters. The values of the parameter come from a bean which is available to the page. The end result should look something like this: a href="foo.do?parm1=val1parm2=val2parm3=val3"Link/a The values for val1, val2 and val3 come

New version confusion

2001-01-04 Thread James Howe
I downloaded the nightly build of 01/03/2001 and I'm now having a problem with some of my JSP pages. Previously I was using a nightly build from 12/15/2000. For example, I'm now getting the message: Since tag handler class org.apache.struts.taglib.form.LinkTag does not implement BodyTag, it

Re: New version confusion

2001-01-04 Thread James Howe
At 05:34 PM 1/4/2001 +0100, you wrote: Since tag handler class org.apache.struts.taglib.form.LinkTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG I'm assuming that I've either not updated all the various bits correctly, or there has been a change in one or more of

Page Forwarding Question

2000-12-20 Thread James Howe
In my action classes I have code which checks to see if a user has logged on. If not, the code forwards to the logon page (e.g. servlet.findForward("logon")). However this doesn't fully accomplish what I would like. If a user attempts to reference a page which requires a login, I would