Duplicate Requests

2003-04-04 Thread Aidan Monroe
For some reason I am getting duplicate requests whenever I click a certain button on one of my web pages. Can someone help me figure out why? This only happens when I click this one image button. It does not happen when I click or hyperlinks that sumbit forms (via javascript). I've been looking i

RE: Including A JSP Containing Struts

2003-03-18 Thread Aidan Monroe
no, because I want to pass parameters to the included page. --- Edgar Dollin <[EMAIL PROTECTED]> wrote: > Have you tried the straight text include: > > <%@ include file="yourPage" %> > > Edgar > > > -----Original Message- > > Fr

Re: [OT] Using the NDC while logging

2003-03-17 Thread Aidan Monroe
This is a very good question. I have just started looking at this as well and would welcome any information anyone has on it. --- Sri Sankaran <[EMAIL PROTECTED]> wrote: > I would welcome your opinion on the proper use of > the Nested Diagnostic Context (NDC) when logging > using log4j. > > As y

Re: Losing the page context

2003-03-17 Thread Aidan Monroe
>From what I know (which is not that much), all items that will be written to the page need to appear within a tag. I've had the exact same error and resolved it by simply moving the "useBean" to be with a valid tag. --- Karl Stenerud <[EMAIL PROTECTED]> wrote: > > is this: > > > > > class="vie

Re: Losing the page context

2003-03-17 Thread Aidan Monroe
is this: contained within a tag? --- Karl Stenerud <[EMAIL PROTECTED]> wrote: > My struts application keeps losing the page context, > so I can't get anything > that was saved into the request scope. > > My action does this: > > request.setAttribute("contractListForm", outFo

Including A JSP Containing Struts

2003-03-17 Thread Aidan Monroe
I'd like to create a JSP file that can be included in many of my other JSPs. That included JSP will need to have Struts tags in it and will receive 2 parameters. I've tried using like so: But the Struts tags inside the included JSP did not get resolved. Here is the included JSP:

Re: Weird Intermittent Behavior

2003-03-12 Thread Aidan Monroe
be a browser problem > with not submitting the > coordinates. > > David > > > > >From: Aidan Monroe <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" > <[EMAIL PROTECTED]> > >To: list <[EMAIL PROTECTED]> > >Sub

Re: Accessing bean in JSP but w/in java

2003-03-12 Thread Aidan Monroe
You can place your Form (or just the one necessary value) into the request object, then create a taglib that reads that value (taglib has access to the request object) and does what you need. --- Scott Seong <[EMAIL PROTECTED]> wrote: > Hello, > > I have a little problem that I need help from > e

Weird Intermittent Behavior

2003-03-12 Thread Aidan Monroe
I have a JSP with 4 's and am using ImageButtonBeans on my form. I've recently noticed that sometimes, even though I have clicked 1 of these 4 images, that none of the buttons is considered to be selected. I am following the instructions in Ted's tip #1 and everything usually works fine. But about

RE: [newbie] Where Is This Happening?

2003-03-07 Thread Aidan Monroe
The reason I say that there are no parameter is because, there are no parameters. If I use my debugger, the value of the queryParameters attribute in my request object is null. It isn't until I call the getParameterNames that they show up. I see what you are saying about the s being set as paramet

[newbie] Is This A Bad Approach?

2003-03-07 Thread Aidan Monroe
Hello Everyone, I am very new to Struts and wanted to get some understanding of the tag in my struts-config file. Does anyone see any problem setting up my action forwards like so: as opposed to: Notice that the only difference is the value of the path attribute in the forward

[newbie] Where Is This Happening?

2003-03-07 Thread Aidan Monroe
Hello Everyone, I am very new to Struts and have a question that is most likely very simple, but I am having trouble finding the answer. Here is my scenario: I submit a web page containing a form, thereby creating a POST request. This POST request contains no query parameters. Subsequently later