If I understand your problem correctly, then I don't think you have missed
anything. I would be interested to know how you would solve the problem in a
non-struts environment. Unless your item details object is in session scope,
then it will not survive across two requests, which is the root of
Hi Hal, thanks for your mail
Yep that would be one solution if the population if the bean required on the
form page was 'static', but in the case I was referring too it needed the
item id to look up. I would imagine that it might be done by sending
actionforms with the id in backwards and
Hi Maya,
Yep I believe that struts has a great future. I do believe that it is the
model we should be working with. I am just worried that because of the
current limitations that we will not use it. There are whole swathes of
stuff that needs to be done, especially when it comes to
Hi Mark, thanks for the reply
If I understand your problem correctly, then I don't think you have missed
anything. I would be interested to know how you would solve the problem in
a
non-struts environment. Unless your item details object is in session
scope,
then it will not survive across
Thanks for your help. I used the struts-example application to display the
table.
-Original Message-
From: Maya Muchnik [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 6:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Display Table using Iterate Tag
Install struts-example.war file
At 08:27 PM 2/20/2001 -0500, you wrote:
during this process. First off, the web pages we will be creating will
have a common navigation bar used across the whole web site. It would be
great if we can create one HTML file called navigation.jsp which
all pages use.
If that's the only
I am using the components add-on and I like it but it shouldn't go into the
1.0 release. It's too much code and has too much functionality to be merged
without some more review which will take time. One problem I have noticed is
that when a component is included the exceptions are caught which
Hi,
In other mail list it was a lot of discussion about a user login /
logon through multiple web pages or different browser. They have
discussed how to prevent the multiple login. My question is this: does
struts provide an easy way (or some way) to handle this situation or
not?
Maya
Allan Schweitz wrote:
Can
anyone tell me if the forms struts supports dynamic properties? If so is
there an example available on how this works?I
have a html form that builds up dynamically creating a table with checkboxes,
text input and selectboxes. But since this form is dynamically
When you have a lot of nested Components, and one is faulty, it is very hard
to discovered which one. It is why the actual implementation of insert catch the
exception, and show it in browser. We definitely need to find a better solution.
Cedric
"Deadman, Hal" wrote:
I am not sure what
Hi, we like to use Struts with Bea WLS 6.0 for a B2B application. Currently
I am developing a prototype and the first tests under Tomcat worked fine. I
used the Struts template tags for a page design with header, navigation menu
and content. An example:
%@ taglib
Hal,
Please give a code example with a component, when you cannot get an exception.
And how it can be fix now.
Maya
"Deadman, Hal" wrote:
I am using the components add-on and I like it but it shouldn't go into the
1.0 release. It's too much code and has too much functionality to be merged
Maya Muchnik wrote:
Hello, Torsen,
It is not an answer to your question. But I would like to use this email and
ask the struts development team about compatibility template library and
components library (http://www.lifl.fr/~dumoulin/components/). Components allow
to define "instances" to
My hasBody() method is like the following so it shouldn't have a null
pointer exception. Are you using a recent nightly build? I think I had this
problem a couple months ago but I think it has been fixed for awhile.
private boolean hasBody() {
if (bodyContent == null)
return
I don't think it's really about indexed property. I cahnged scope in
struts-config for this for to session, and it works fine. - but this is not
desirable cause i am using one form bean for multiple forms and maintaining
session bean will be a nightmare..
I understand struts creating a new
Well I'm sure this should work under Tomcat 3.2.1 (unless something in the Feb 20
build broke things). I've had this issue under other servlet engines, and a slight
enhancement was made to Struts last week as a workaround. In the web.xml, add a
parameter to the Action servlet with the name
Hi all,
I created a sample application of my own. I am getting a taglib error
when trying to access a jsp page ? Any suggestions will be appreciated.
The steps i went though are..
. I created a jar file and re-named it as a war file . I followed the same
structure as the example application
Ned Seagoon wrote:
I reckon the way to approach this is to modify ActionForm handling. I
would
add a field to this which holds the HttpServletRequest which gets set
when
the form is created/retrieved in ActionServlet.processActionForm.
From: "Craig R. McClanahan" [EMAIL PROTECTED]
Are
"Nanduri, Amarnath" wrote:
Hi,
I am getting this error at the html:html locale="true" tag. Any
suggestions ? Thanks.
It's another place where WebLogic is not compliant to the JSP 1.1 specs, and
should be reported to them if it has not been yet.
The "locale" attribute of the html:html tag
You are trying to use nested double quotes, which is probably confusing the
parser somewhat. Try this instead:
hi:hello foo='%= request.getParameter("users") %' /
Hope this helps.
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Justin Kennedy" [EMAIL PROTECTED]
I am not sure what you are looking for. The component library comes with
examples including a struts-template example that uses the component
library.
The issue with components I was complaining about, albeit not clearly, was
that if a jsp that is part of a component instance and the jsp throws
What I did is to write a login singleton that
maintains a table of login users and their session. If
the same user login again with a new session, the
previous session is invalidated.
It would be nice if Struts can handle this too.
--- Maya Muchnik [EMAIL PROTECTED] wrote:
Hi,
In other
Ned Seagoon wrote:
Hi Maya,
Yep I believe that struts has a great future. I do believe that it is the
model we should be working with. I am just worried that because of the
current limitations that we will not use it. There are whole swathes of
stuff that needs to be done, especially when
Hello, Torsen,
It is not an answer to your question. But I would like to use this email and
ask the struts development team about compatibility template library and
components library (http://www.lifl.fr/~dumoulin/components/). Components allow
to define "instances" to reuse them with different
What if you changed the outter quotes to single quotes?
hi:hello foo='%= request.getParameter("users") %' /
I don't know if that makes a difference, but worth a try anyway.
tataryn:craig/
Justin Kennedy wrote:
HI all,
I'm trying to use a dynamic value for an attribute of my tag. but I'm
"Deadman, Hal" wrote:
I
have a form where I call the following (where UserForm.MIN_PASSWORD_LENGTH
is an int):errors.add("password",
new ActionError("error.user.passwordinvalid", String.valueOf(UserForm.MIN_PASSWORD_LENGTH)));which
references this in the ApplicationResource.properties
Hi, all.
This email about David Winterfeldt's validator. What are rules to make a
mask? As I understood a default validator.xml was created for an
example. If I need to create my own validator.xml what are the rules?
Thanks in advance,
Maya
Thanks for all you helps.
Just for your information. My version of that sample will not work because there
is a duplicated tag in struts-html.tld,
=
attribute
nameimageName/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
Thanks Donnie, that worked just fine.
But once past struts_config.xml, and the ActionServlet attempts to parse the web app
deployment descriptor (i.e. WEB-INF/web.xml) I get the following. And hints here? I
looked for but could not find a similar place to turn off validating as with
Hi, guys, I am going to lunch. I think it's wise to use this time to just ask
before I doing a test, can anyone tell me that:
is these data, include file data, still avaiable in HttpServletRequst object?
Why, because out old EJB object extract these data from HttpServletRequst.
Thanks,
Jirong
Thanks all for you comments on Components library.
Unfortunately, I have less and less time for Components. So, if there is some
volunteers to improve them, let me know. I will soon put Components project on
a CVS server. This will allows others people to participate ...
Cedric
Hi Harish,
I do have the struts.jar file in the web-inf/lib directory.
cheers,
Amar..
-Original Message-
From: Dorai, Harish (c) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 11:08 AM
To: '[EMAIL PROTECTED]'
Subject: RE: taglib error when running struts1.0 on
The "value" attribute only allows for boolean related
values which currently only recongnise "true", "on"
and "yes".
--- Choon Yin Teo [EMAIL PROTECTED] wrote:
Hi ,
Have anyone encountered any problem using the
following strut checkbox?
form:checkbox property="command" value="search"
I am trying to submit an ActionForm instance upon submission of a form. But
I think it's sending each properties as request parameter and not the whole
object. The object that subsequent Action receives is a newly constructed
(the one created by ActionForm form = new ActionForm()) one. Following
Hi all,
I have a property file like this:
common.copyright={0} Copyright
I used the following tag to retrieve the message:
bean:message key="common.copyright" arg0="2001"/
The displayed message becomes:
[Ljava.lang.Object;@47393f Copyright
Any clue?
--
Kan LEUNG, M K
email: [EMAIL
Christian Billen wrote:
Hi list,
Is there a way to prevent the reset() method from being called on the
ActionForm when the validate option in struts-config for that mapping is set
to false?
Doing this would break the recommended approach for dealing with checkboxes,
which rely on reset()
And all the necessary *.tlds are in .../WEB-INF right? If you continue to
have problems you may want to try leaving the archive expanded, and adding
two entries to the WL classpath: struts.jar and the path to the .../classes
directory. You also need to update WL.properties to point to the
"Kan Leung, MK" wrote:
Hi,
Extracted from struts-example's walking tours:
"You can even reload the configuration and message resources without
restarting the container. See the end of the web.xml file for details."
* My 1st question is: how to achieve auto reload of message resources?
Hi ,
Have anyone encountered any problem using the following strut checkbox?
form:checkbox property="command" value="search" /
I encountered a problem trying to retrieve the value. When I view the static
html source, I can't see the value set.
input type="checkbox" name="command"
Regards,
The transaction enforcement support in class Action assumes that the key
will be returned in the request attributes. This is not the case with pages
that require multipart support (for file uploads, for example). A direct
work-around exists -- just use the generateToken() and saveToken()
Hi Ned !
I'm using VAJ 3.5.2 with Tomcat 3.2.1 with your setup.
The displayed message becomes:
--
2001-02-22 08:01:46 - ContextManager: Adding context Ctx( /examples )
2001-02-22 08:01:46 - ContextManager: Adding context Ctx( /admin )
Starting tomcat.
"Craig R. McClanahan" wrote:
Maya Muchnik wrote:
Hello, Torsen,
It is not an answer to your question. But I would like to use this email and
ask the struts development team about compatibility template library and
components library (http://www.lifl.fr/~dumoulin/components/).
The validator uses the Jakarta Regexp regular expression package. You can
find more about it here:
http://jakarta.apache.org/regexp/
If you follow the link to the JavaDoc, and look at the documentation for the
RE class, you'll find the specification of the syntax it works with.
Hope this
Here's the link directly to the javadoc online.
http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html
There are a lot of good tutorials on regular
expressions. This package follows Perl regular
expression syntax so you can read any Perl regexp
tutorial you find.
David
--- Martin
Ji Rong Hu,
The file upload example you are using is old and uses the deprecated (or at
least not recommended to use) getFileData() method. The recomended method
is to use the getInputStream() method to obtain an input stream to the form
file and read it that way. I attached the newer
45 matches
Mail list logo