In an action that uses the form bean you want to replace, you can do
something like this:
if (request.equals(mapping.getScope()))
request.setAttribute(mapping.getAttribute(), form);
else
request.getSession().setAttribute(mapping.getAttribute(), form);
This assumes that the new form bean
Renaud,
I appreciate your response, but unfortunately when the JSP is regenerated and
displayed, Struts places the toString() value of the String array into the
html:text property=propertyName size=20/ tags, such as:
[Ljava.lang.String;@262bf4
I have also tried a twist on this strategy,
Hi,
I've just started using struts and ran into the following problem:
I've created a table layout for my pages; at the moment this is my template.
All my real jsps now look like this:
%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %
template:insert template='/template.jsp'
Andreas,
If the taglib for the struts-html.tld is not defined, the html: tags
cannot be rendered, thus remain within your end HTML document. Check to
ensure you have the following defined within your JSPs:
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
-Original Message-
here is a link to something that suggests it is
possible -- may have to play around a bit.
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg16127.html
- sandeep
--- iT meDic [EMAIL PROTECTED] wrote:
Hi,
I was wondering if it would be possible to overwrite
the values(2 or 3
this seems quite strange to me, unless you are doing
something with the cache?
normally when I hit the back button, the page is not
refreshed and just shows as it previously showed the
last time I was at the page.
According to what you are saying, you are getting the
old ActionErrors()
Mike Bridge wrote:
Is it possible to embed a bean:message inside an html:link tag?
No. Check http://www.mail-archive.com/struts-user@jakarta.apache.org/msg12720.html
--Vincent.
and that's bad because users shouldn't be able to get to WEB-INF directly
should they?
It's not that they shouldn't, it's that the servlet container won't directlty serve
pages that are
under web-inf.
Ted recommended to put your jsp under web-inf only if they are diplayed through an
Action.
That isn't possible with the default mask validator.
I've recently added a min and max length validation to
nightly builds though. Or you could either write your
own mask validation method that accepts multiple
inputs or you can define the mask validator again
under a different name like mask2.
Thank you, should have got the nightly build.
From: Sandeep Takhar [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Dynamic XML extended defintions
Date: Sun, 21 Oct 2001 08:36:16 -0700 (PDT)
here is a link to something that suggests it is
possible -- may have
Steven,
here's my code snippets where I had defined my title field
property as an array of strings so that I can have a variable number of
text input fields that all have the same name.
Getting the content displayed is not a problem but I have a
problem in updating information
I am using the upload feature of struts (struts-upload.war) and I find it
uploads very slowly.
Why is this so slow?
Is there a way to improve this?
Thanks,
Michelle
_
Get your FREE download of MSN Explorer at
I want to install Struts on WAS 3.5.4, should I do
the steps
required for 3.5.2 explained on the Struts
site?
Thank you
Nicolas Parise
Hi AllHope i can get help here...this could be a struts or java
or even tomcat question.. i'm not sureI'm using apache jakarta Structs
with my EJB..I have trouble forward to some of my Action
classes.tomcat log down a classNotFoundException for these
classesand i finally found the
14 matches
Mail list logo