On Dec 3, 2003, at 21:05, [EMAIL PROTECTED]
wrote:
Rick,
You still having this problem?... can I see the tag markup that's
causing the
problems?...
I still am. I sent you the markup directly under separate cover.
If the root tag is picking up the name of a valid bean, and the
iterate tag
has
I have a situation where I can use nested:root name=ac,
nested:iterate id=foo, and then *must* use nested:write name=foo
property=bar, rather than omitting the name attribute. If I do, I
get an exception No getter method for property foo[0].bar of bean ac.
Now, this code was working fine, but
Using java 1.4.1 and Struts 1.1 release
I have JSP code like this (it's nested inside a nested:nest:
nested:root name=homePageForm
nested:nest property=customer
nested:iterate id=item property=recommendations
pnested:write property=id/ nested:write
property=headline//p
/nested:iterate
...
Turns out, I was wrong. Java is doing the right thing. Thanks!
--
We have a situation where we've created a custom foo:include tag that
reads text from a file and writes it to the pageContext.getOut() JspWriter.
The problem is that the file is ISO-8859-1 (Latin 1)
We have a situation where we've created a custom foo:include tag that
reads text from a file and writes it to the pageContext.getOut() JspWriter.
The problem is that the file is ISO-8859-1 (Latin 1) encoded. When it gets
brought into a String (via any method you care to suggest), it gets
I once requested that html:link et al. be modified to allow nested tags to
add parameters. I was told that the JSTL version of html:link allowed this.
I've been reluctant to try to use the JSTL version based on the assumption
that the JSTL verison would not know anything about Struts actions. It
I have a simple form bean with a few getter/setter methods. In order to
accommodate any input, the setters take string values. But some of the
properties are ints, so the getter actually parses the stored string if it
can or returns a suitable default (usually 0).
Well it turns out that Struts
I'm trying to use the bean:write tag to format a date:
bean:write name=bean property=dateProp format=MM dd rsquo;yy/
Unfortunately, the rsquo; gets escaped by the tag and I end up with the
literal rsquo; showing up in the browser. I've also tried embedding
unicode literal \u2019 to no avail.
Hi.
I've got a situation where I'm using nested:iterate to iterate over a List
of beans, and then using nested:write to render some property (a string).
We do this in multiple places in our app, but every now and again, in some
instance of the code, it doesn't want to work. In these cases, we
Also, if I explicitly refer to the data (say, using %= bean.getProperty()
%), then things work fine (after using bean:define to set up the
scripting variable). So, I know that the process of getting the list of
items and then grabbing each item in the list is working.
on 11/5/02 7:00 PM, Ditlinger, Steve at [EMAIL PROTECTED] wrote:
As for specifying a forward to be secure or non-secure: changing the
protocol requires a redirect, so every forward where the protocol changes
would require a redirect, which would be OK assuming the developer
recognizes that
Hi. I recently added the SSL Ext stuff to Struts 1.1b2, and it mostly works,
except for the SecureLinkTag.
I have a .jsp that is not required to be secure. The typical user, however,
will get to this page as a result of logging in (an HTTP post), and so the
page will be secure.
I have several
on 6/7/02 4:40 AM, Chandra Sekharan Bhaskaran at
[EMAIL PROTECTED] wrote:
How does the subscription details get populated when user travels the
hyperlinkl
http://localhost:8080/struts-example/editRegistration.do?action=Edit.
rgds
Such a URL is equivalent to an HTML form with
on 5/29/02 3:36 AM, Reinhard Nägele at [EMAIL PROTECTED] wrote:
session.setAttribute(REDIRECT_KEY, mapping);
return mapping.findForward(login);
In your login action, check if a mapping is in the session and go there:
ActionMapping redirectMapping =
(ActionMapping)
I've noticed a few people proposing solutions for various framework
limitations that use the param attribute of the action tag. Obviously,
only one parameter can reasonably be passed in this attribute.
Does it not make sense to add a nested tag for parameters? In the build of
Struts that I'm
on 5/29/02 3:36 AM, Reinhard Nägele at [EMAIL PROTECTED] wrote:
session.setAttribute(REDIRECT_KEY, mapping);
return mapping.findForward(login);
In your login action, check if a mapping is in the session and go there:
ActionMapping redirectMapping =
(ActionMapping)
on 5/28/02 11:59 PM, Adam Hardy at [EMAIL PROTECTED] wrote:
I wouild save the form bean and a mapping or action forward in the
session, and collect them when the in-between task is finished.
Yeah, I was thinking of that, too.
Okay, so here's the struts-specific problem: how do I get the name
It seems that nested:message / is left out. Is this the case? If so, why?
TIA,
--
Rick
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I've got a typical struts application up and running. Certain actions check
to see if the user is logged in, and if not, forward to a login JSP. That
JSP then posts to a LoginAction. The LoginAction then forwards back to the
originally requested action.
The problem I have is that currently, this
on 5/28/02 5:19 PM, Alex Paransky at [EMAIL PROTECTED] wrote:
Why not use J2EE/WEB standard container authentication? It will do what you
want. In fact, it was designed to do what you want, which is called Lazy,
or just in time, authentication. The user can surf your page, however, when
I've written a shopping cart/checkout app using Tomcat Struts. The very
last action (the place order action), if successful, forwards to a JSP
showing an order confirmation and a thank you message.
After that page is returned to the client, I'd like to reset the user's
session state, so that if
So, I happily thought the html:button tag would render a button input
field element, but instead it seems to render an input element. Is there a
way to get a button element? If not, is there a reason it can't be done
within the Struts tags framework?
A look in the archive turned up lots of
Hi.
I set up a little website as a way to teach myself Struts. It's a
user-maintained directory of electric vehicle charging locations. It's
hardly complete, but there was one thing I wanted to do and didn't see an
obvious way.
Each Location has a bunch of user-supplied comments associated with
on 5/1/02 9:09 PM, Arron Bates at [EMAIL PROTECTED] wrote:
As for displaying first N of the collection, you can set offset and
length attributes to the tag, and it will do just that. You can also
use any form of a Collection, including a primitive Object[]. It will
retrieve an Iterator from
Hi. I'm fairly new to Struts, but I've gone through the Struts documentation
and KeyboardMonkey's helpful tutorial. What I want to do is (almost) right
out of the tutorial, but it's not working the way I would expect.
The list archives show that other people have had this problem, and the few
25 matches
Mail list logo