This is odd. I've got a controller built around filters that forwards the
request to the appropriate resource (servlet, JSP page, or whatever). It
works under Catalina. I'm not sure if what I'm doing differs from what
you're saying the Servlet 2.3 spec cannot do, but it sounds to me that they
a
> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, June 11, 2001 7:35 PM
> To: [EMAIL PROTECTED]
> Subject: cvs commit:
> jakarta-struts/src/share/org/apache/struts/taglib/logic PresentTag.java
>
> craigmcc01/06/11 10:34:41
>
> Modified
No Craig. If his session times out, it will loose the token in the session.
Thus the page will not submit because the token in the session will not
match the one in the hidden field.
- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Jonathan
If you checked out your tree using:
cvs co jakarta-struts
then you checked out the main trunk, which is currently Struts 1.1 (or at
least post-1.0). When you do a checkin in that tree, it will go back into
the main trunk.
You can check out a branch using:
cvs co -rSTRUTS_1_0_BRANCH jakarta-str
On Mon, 11 Jun 2001, SCHACHTER,MICHAEL (HP-NewJersey,ex2) wrote:
> Hi,
>
> Could someone clear this up for me? I'm not totally sure exactly what
> I'm doing at this point when I do a cvs commit. I'll assume that when I
> just do a normal commit to the jakarta-struts repository, that's the ma
craigmcc01/06/11 20:19:07
Modified:doc/stylesheets struts.xsl userGuide.xsl
Log:
Port stylesheet fixes.
Revision ChangesPath
1.3 +7 -2 jakarta-struts/doc/stylesheets/struts.xsl
Index: struts.xsl
==
craigmcc01/06/11 20:18:10
Modified:doc/stylesheets Tag: STRUTS_1_0_BRANCH struts.xsl
userGuide.xsl
Log:
Clean up two problems in the stylesheets used for creating documentation:
* Generated dummy tags from the project.xml file.
* Generated incorrect colo
On Mon, 11 Jun 2001, Jonathan Asbell wrote:
> Craig, I thoght the token mechanism could have helped here. Am I wrong?
Tokens will definitely help avoid the problem of pressing Reload, or
pressing Back Arrow and then submitting again, but they don't do anything
particularly useful in regards t
One thing this approach would seem to need is a way to specify that you're
forwarding to a path that is relative to , rather than
, right?
Craig McClanahan
On Mon, 11 Jun 2001, Jeff Trent wrote:
> I haven't heard much in the way of a reponse on this proposal so I guess I'll be on
>my own
On Mon, 11 Jun 2001, Taylor Cowan wrote:
> I think this is a very good proposal. I would not use the action
> identifiers. They should just be methods of the listener interface:
>
> public void beforePagerRendered(...)
> public void afterPageRendered(...)
>
How is Struts supposed to know
On Wed, 6 Jun 2001, Dan - Blue Lotus Software wrote:
>
> Of course, the Servlet 2.3 spec hasn't been finalized yet. But Tomcat
> Catalina (in it's 5th beta release) implements Filters. They're really
> cool, and they might make the ActionServlet concept a bit redundant. That
> is, the contr
Craig, I thoght the token mechanism could have helped here. Am I wrong?
- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 11, 2001 10:30 PM
Subject: Re: Handling session timeouts
> On Wed, 6 Jun 2001, Andreas Prohaska wrote:
Hi,
Could someone clear this up for me? I'm not totally sure exactly what
I'm doing at this point when I do a cvs commit. I'll assume that when I
just do a normal commit to the jakarta-struts repository, that's the main
branch. How do I send commits to and checkout the 1.0 branch? How do I
kn
On Wed, 6 Jun 2001, Andreas Prohaska wrote:
>
> This was originally posted to the struts-user list, but Ted Husted pointed
> out that I should better discuss this on the development list.
>
> For the guys that are not listening to the user list, the background: We
> have written a wizard for a
On Wed, 6 Jun 2001, Craig Tataryn wrote:
> Ted, as for "enforcing" the workflow, I hadn't even considered it. The goal of
> the TODO is just to make a graphical tool that allows you to define a workflow
> and automate the process of setting up your config files to support the
> workflow. Atle
On Wed, 6 Jun 2001, Incze Lajos wrote:
> On Tue, Jun 05, 2001 at 11:46:58AM -0700, Frye, Dave wrote:
> > Keep in mind that Microsoft uses there own version of DTDs and XML Schemas
> > that are not W3C conformant. You would then have to use their XSL tools,
> > which, of course, would be Wintel
On Tue, 5 Jun 2001, William Jaynes wrote:
> Remember... separation of view from model. The act of displaying an
> amount in a particular currency format is separate from determining what
> that amount is. So the code used to implement the display of the amount
> should not be mixed up with the
Inside of the logic:iterate tag, I am passing a string to an xsl
tranformer, using pageContext.out as the writer the tranformer will
write its results to. When I do so, there is a complaint that says:
"Illegal to flush within a custom tag"
I tried to do the same thing (use an xsl tranformer) i
On Tue, 5 Jun 2001, Michael Westbay wrote:
>
> But what kind of compexity are you looking at? Let's take a small example of
> languages and countries to cover:
>
> Languages: English, Spainish, Japanese
> Locales: U.S., England, Spain, Japan
>
> Now you need resources:
>
> en, en_US,
I know this API isn't currently available, but
if the struts extension also registered to get notified of those events
it was interested in (event/listener model in 1.1 Todo), such as
pre-perform and post-perform events, it could do whatever additional
behavior it needed to do.
I don't know if tha
It's a matter of granularity. My struts apps
only have one servlet. I think the idea is to have these events at the
action level, per ActionForm. A filter is at the servlet
level. As I understand it, I can have a filter associated with a
servlet or a group of servlets. So in my struts a
Really? Why
not write a filter that invokes "beforePagerRendered()" before invoking
"chain.doFilter()", then invoking "afterPageRendered()" after invoking
"chain.doFilter()"?
It seems to me
that filters do *exactly* then thing that you claim they do not. Could you
please elaborate why y
On Tue, 5 Jun 2001, Brook, Andy wrote:
> Hi all,
> Im using JDataConnect with struts, all working fine except there are some
> 'custom' properties that the driver supports that I want to set. In this
> instance Unicode support, but it could be anything.
>
> Ive mod'd the necessary code for 'd
Hello Martin,
But how about such situation as follows. I can store bean-factory
object in application scope. I can use it in any action to perform
bean producing. But main idea of bean-factory is to perform
_automatic_ bean generation by name of the action. For example - in
struts-config or in ex
On Thu, 31 May 2001, Nick Afshartous wrote:
>
> Adding a call to String.trim below in the Digester.endElement
> method below makes surrounding white space in text elements
> insignificant and consistent with the Digester documentation.
>
> Any chance this change could get into the final 1.0 r
craigmcc01/06/11 12:55:44
Modified:src/share/org/apache/struts/digester Digester.java
Log:
Trim leading and trailing whitespace from the value that is passed to
Rule.body().
Revision ChangesPath
1.20 +5 -5
jakarta-struts/src/share/org/apache/struts/digester/
craigmcc01/06/11 12:54:51
Modified:src/share/org/apache/struts/digester Tag: STRUTS_1_0_BRANCH
Digester.java
Log:
Trim leading and trailing whitespace from the values passed to
Rule.body().
Submitted by: Nick Afshartous <[EMAIL PROTECTED]>
Revisio
You can also create and return Action Forwards on the fly
return (new ActionForward( "uri" ));
if that helps.
Jeff Trent wrote:
>
> Ok. I guess I'm not familiar enough with struts yet to see how to apply
> this type of logic dynamically to the action mapping. I certainly *don't*
> want to
I think this is a very good proposal. I would
not use the action identifiers. They should just be methods of the
listener interface:
public void beforePagerRendered(...)
public void afterPageRendered(...)
This seems to be similar to filters, but 2.3
filters don't solve this problem for
Ok. I guess I'm not familiar enough with struts yet to see how to apply
this type of logic dynamically to the action mapping. I certainly *don't*
want to assign these mappings in the .XML file if that is what you are
suggesting. I do see some sense in extending the ActionMapping class to do
thi
In the environment you mentioned, each client could have it's own set of
action mappings (that might all use the same servlets), with their own
set of input properties and local forwardings. The way to tell an Action
Servlet which JSP to use is with the local forwards. The way to get the
same serv
Hi Rajasekhar,
What "key" are you storing the errors under?
--Abraham
> -Original Message-
> From: Rajasekhar Bodduluri [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 11, 2001 11:32 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: erros not displaying
>
>
>
> Hi
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
Make sure to include this in your JSP
- Original Message -
From: "Ravindran Ramaiah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, June 11, 2001 11:38 AM
Subject: RE: erros not displaying
>
>
Please make sure that you have initialized ActionErrors with approtiate
error key defined in Application Properties file. Only error messages from
properties file will be displayed throught this tag.
Following is the code snippet
---
ActionErrors act = new ActionErro
Hi all,
I am not getting erros when i am usingtag, is any body knows
what would be the reason?
thanks & regards
raj
I haven't heard much in the way of a reponse on
this proposal so I guess I'll be on my own In either case, I would
like to make one more addendum to what I'm proposing in case anyone is
interested.
There are times I've found when the presentation
(input mapping) is not cut and dry. F
craigmcc01/06/11 11:17:14
Modified:web/example/WEB-INF app.tld
Log:
Port the changes to to accept runtime expressions.
Revision ChangesPath
1.6 +2 -2 jakarta-struts/web/example/WEB-INF/app.tld
Index: app.tld
craigmcc01/06/11 11:16:25
Modified:web/example/WEB-INF Tag: STRUTS_1_0_BRANCH app.tld
Log:
Make the "name" and "page" attributes of able to accept
runtime expressions.
Revision ChangesPath
No revision
No revision
1.5
craigmcc01/06/11 10:40:33
Modified:src/share/org/apache/struts/taglib/html LinkTag.java
Log:
Remove old commented-out code.
Revision ChangesPath
1.16 +4 -131
jakarta-struts/src/share/org/apache/struts/taglib/html/LinkTag.java
Index: LinkTag.java
=
craigmcc01/06/11 10:39:53
Modified:src/share/org/apache/struts/taglib/html Tag:
STRUTS_1_0_BRANCH LinkTag.java
Log:
Cosmetic fix - remove a bunch of old refactored code that was commented
out.
Revision ChangesPath
No revision
craigmcc01/06/11 10:35:52
Modified:src/share/org/apache/struts/taglib/logic PresentTag.java
Log:
Port fix for Bugzilla #2109.
Revision ChangesPath
1.8 +11 -6
jakarta-struts/src/share/org/apache/struts/taglib/logic/PresentTag.java
Index: PresentTag.java
craigmcc01/06/11 10:34:41
Modified:src/share/org/apache/struts/taglib/logic Tag:
STRUTS_1_0_BRANCH PresentTag.java
Log:
Update processing of the and tags to
reflect the fact that the four-argument version of RequestUtils.lookup()
will now throw an excep
craigmcc01/06/11 10:06:12
Modified:src/share/org/apache/struts/taglib/html LinkTag.java
Log:
Port the fix for Bugzilla #2109.
Revision ChangesPath
1.15 +5 -4
jakarta-struts/src/share/org/apache/struts/taglib/html/LinkTag.java
Index: LinkTag.java
===
craigmcc01/06/11 10:05:04
Modified:src/share/org/apache/struts/taglib/html Tag:
STRUTS_1_0_BRANCH LinkTag.java
Log:
Correctly render an element when you use
.
PR: Bugzilla #2109
Submitted by: Howard Moore <[EMAIL PROTECTED]>
Revision Changes
Definitely +1.
Craig
On Mon, 4 Jun 2001, Ted Husted wrote:
> Martin Cooper has submitted several useful patches to Struts, has been
> very active on the Mailing List for as long as many of us can remember,
> and has shown a deep understanding of using Struts in a production
> environment. Mart
craigmcc01/06/11 09:02:52
Modified:src/share/org/apache/struts/taglib/html package.html
Log:
Port fix to internal hyperlink from 1.0.
Revision ChangesPath
1.6 +1 -1
jakarta-struts/src/share/org/apache/struts/taglib/html/package.html
Index: package.html
craigmcc01/06/11 09:01:57
Modified:src/share/org/apache/struts/taglib/html Tag:
STRUTS_1_0_BRANCH package.html
Log:
Correct an internal hyperlink.
Submitted by: Lance Lavandowska <[EMAIL PROTECTED]>
Revision ChangesPath
No r
Hi,
I wanted to fill in a Select with Options that are filled out of a Collection.
where i could specify a value and label property of the objects that are in that
connection.
Then i saw that this was already implemented bug only for Collection that are in the
request.
But that was not the cas
This change presents a bug!
if i do this:
then logic calls: RequestUtils.lookup(xxx)
And it doesn't find that bean. So RequestUtils suddenly throws a Exception which
it didn't before. So now the present tag isn't working anymore.
Johan
- Original Message -
From: <[EMAIL PROTECTED]>
On Sun, Jun 10, 2001 at 07:09:06PM -0700, Martin Cooper wrote:
> Incze,
>
> The fix for this - unwrapping the request - has been made on the main trunk
> (Struts 1.1) in CVS, but has not been applied to the Struts 1.0 branch. If
> you can, you might want to try using the latest nightly build unti
Please [EMAIL PROTECTED]
AS SEEN ON NATIONAL TV:Making over Half Million Dollars
every 4 to 5 Months from your Home for an investment of only$25 U.S. Dollars
expense one timeTHANK'S TO THE COMPUTER AGE AND THE
INTERNET!==BE A
MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!!Be
52 matches
Mail list logo