The results will be from database with read only.
How to forward from the button to next .do action?
I have jsp1 with button. Jsp2 has Action and Form class with a 2.do
defined with tiles to the jsp2 file.
What should I say in my jsp1? Or struts config?
-Original Message-
From: Wendy
Message
- Original Message -
From: Suresh, Mani (M.)
To: Solaimalai, Srinivasan (S.) ; Krishnaraj, KarthikSelvara (K.) ; Muthu,
Vinayagam (V.) ; Nair, Nitin (N.) ; Phanikumar, S (S.) ; Prabhu, Ramakrishnan
(R.) ; Senthil kumar, C (C.) ; [EMAIL PROTECTED] ; Bznharish, Swaminathan ;
Thank you Senthil but please read:
http://www.symantec.com/avcenter/venc/data/life.is.beautiful.hoax.html
Original Message Follows
From: senthil Kumar [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
To: Struts Users Mailing List user@struts.apache.org
Subject:
Please quit forwarding virus warnings (or in this case, hoaxes); we're all big
enough and ugly enough to maintain our own AV. ;)
http://hoaxinfo.com/lifeisbeautiful.htm
This one is over two yrs old; I thought it rang a bell.
James.
-Original Message-
From: senthil Kumar
James et al
I and my colleagues have been subjected to numerous viruses with real damage
sustained over the last month or so.
Most of the commercial email servers do a fairly throrough job scanning for
viruses.
But looking at more proactive and preventive measures to stop the virus at
the
hello out there,
i want to submit a list as a parameter specified in a tile definition,
but not with simpleMenuItem element like when i would do if i used the
add or item elements. i read the tiles.dtd and i found a bean
element can be put into the putList element. so i wrote a new
beanClass
I upgraded to Struts 1.2 and that fixed the problem, thanks.
... I'm now gettting a new problem though - the Struts Validator does
not appear to be called anymore, and it also has problems finding the
properties file:
ApplicationDispatcher[/Web_Module]: Servlet.service() for servlet
debugjsp
dear martin,
sorry for the tag. this was a quick and dirty copy paste action!
thanks for quick answer.after two days now of continously permutating
over different version i just found out (five minutes ago) that the
problem was here :
tiles-el:importAttribute / !-- now the list should be in
Hmm... I doubt if the xml is not well-formed or invalid. However, I
got the point. Looks like I will have to give better fodder (than what
I did) to this list. Let me try to get this or other apps working or
get better error descriptions.
And no, I do not believe that Struts will lie - i.e. if
I imagine it'll take some refactoring to get what you want. Assuming that
/EventsAction.do?dispatch=display and /RelocationAction.do?dispatch=display
eventually forward to JSPs that generate HTML fragments, you'll probably want
your main page to end up like:
tabletrtd
%@ include
Hi all,
Im just trying to get my head around this. Struts is meant to work with
actions. You create the mappings of the actions in the struts-config.xml and
define things like action handlers, forwards, etc.
Suppose I use Velocity to render the view.
Is there a standar place in struts or
Hi.
Why does the ActionServlet has a RequestProcessor
instance member that never gets assigned?
The point is that the ActionServlet uses the
RequestProcessor created by RequestUtils and never
assigns it to it's instance member.
I check this out in 1.1 and 1.2.4 source.
Any comments?
You can use a timestamp rather than a count... more meaningful.
In the current application I'm developing, the user is informed of the
interim update along with the new data.
HTH,
Glenn
Lee Harrington [EMAIL PROTECTED]
07/02/2005 11:08 AM
Please respond to Struts Users Mailing List
Hi all!
I have a very big problem with using Tiles with modules.
I have the following project-Structure:
/WebContent
/WebContent/Images
/WebContent/Layout
/WebContent/MyModule
with some parts with modules and some without.
I am using a central layout.jsp out of the /WebContent/Layout-Directory
Have you checked out http://jakarta.apache.org/velocity/tools/struts/
The community of Struts/Velocity users is quite healthy. I'm not
actually one of them, but I bet you'll find that they've got you
covered if you check out that URL.
Joe
At 5:48 PM +0200 2/7/05, Markos Charatzas wrote:
Hi
I'm using Struts 1.2.4.
If in my struts-config I have something like this:
form-bean name=LazyBean
type=org.apache.commons.beanutils.LazyDynaBean/
How can I get to the resulting form object to setPathValidation(true)?
Is there a way I can tell Struts what particular BeanValidatorFom subclass
I'm using Struts 1.2.4.
If in my struts-config I have something like this:
form-bean name=LazyBean
type=org.apache.commons.beanutils.LazyDynaBean/
How can I get to the resulting form object to setPathValidation(true)?
Is there a way I can tell Struts what particular BeanValidatorFom subclass
If you wanted to have Struts use different flavours of BeanValidatorForm to
wrap objects then you would have to create your own custom FormBeanConfig
implementation and override the createActionForm() method. Then you need to
configure struts to use the custom FormBeanConfig and put in place a
All sorted, thanks!
Just a quick question with regards to the upgrade though:
* Is there any reason why the upgrade notes suggest to access tag
libraries using %@ taglib uri=http://struts.apache.org/tags-html
prefix=html %, instead of [EMAIL PROTECTED] uri=/tags/struts-html
prefix=html% as done
Yep. I was afraid you'd say something like that. I'll see what I can do
about moving to 1.2.6.
On the subject:
Is there a LazyDynaBean implementation that keeps the standard dynabean
behavior on the get() methods? I don't want to touch any of the
createProperty() methods because I want that
I have a lazy validator form that I need to default the value to
be one of 2 values, based upon information about the user.
Normally I would just default the value in the form declaration.
Is this something I can do on the actualy JSP page by using a
logic tag and setting the value if it's
From: Norris Shelton [EMAIL PROTECTED]
I have a lazy validator form that I need to default the value to
be one of 2 values, based upon information about the user.
Is this something I can do on the actualy JSP page by using a
logic tag and setting the value if it's unset?
You probably could
I've written a couple of Struts web apps where the only online help was a
help icon next to some strategically chosen fields which when hovered over,
produced some rollover help text. One problem I found with this approach was
that if I wanted to provide help on a bunch of controls, the page got
Regardless of whether this is a good idea or not, I'd like to know if what I
am asking is possible.
Besides, making the original form map to a .do doesn't really solve the
problem. If the validate() returns a non-empty ActionErrors collection,
Struts will still forward to the page and the URL in
Chaikin, Yaakov Y. wrote:
Is there a way to tell Struts to actually redirect to the input instead of
forward to it? Basically, what I am trying to achieve here is this. When the
user first comes to the form, it's a regular JSP looking URL, i.e., directly
accessible to the user through
Hi All,
I'm looking for an ISP that supports Hibernate, Tomcat, MySQL, and struts on
Linux, and to cap it all off, I'm aiming for the cheap until I find more
money to swing the higher-end Hosting Companies.
... Does anyone have recommendations?
Thanks,
Andrew
Try kgbinternet.com
DW
- Original Message -
From: Sheehan, Andrew [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, February 07, 2005 1:00 PM
Subject: Suggestings for ISP Hosting that has Hibernate included in a Plan?
Hi All,
I'm looking for an ISP
I am currently storing all of my action forms in session scope. My
application has many forms, but only about 6 users total. Will I run into
memory problems as long as the number of users remains small?
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal
Sent:
Jeff,
Partially, this is my fault... I should have stated this to begin with. Yes,
I am very aware of the problems with doing this and that this has to be kept
in session scope in order for this to work.
My only question was if there is a way to specify this in the
struts-config.xml, using
Jason,
Can you please start this as under a different subject line?
Thanks,
Yaakov.
-Original Message-
From: Jason Long [mailto:[EMAIL PROTECTED]
Sent: Monday, February 07, 2005 3:08 PM
To: 'Struts Users Mailing List'
Subject: RE: Redirecting back to input
I am currently storing all
Hello All,
I keep getting a BLANK PAGE, with NO ERRORS. Any recommendations are
appreciated...
I am interested in building an Action that allows me to add a database
record and edit existing records. Since both actions deal with the same
table I want to use the DispatchAction and keep the
So, let me reiterate: if we are using session scope, is it possible to tell
Struts to redirect to the input and not forward.
(Let's skip the it's not a good idea discussion. Whatever it is, I just
want to know if it's possible or not.)
Thanks,
Yaakov.
-Original Message-
From: news
I am currently storing all of my action forms in session scope. My
application has many forms, but only about 6 users total. Will I run into
memory problems as long as the number of users remains small?
Thank you for your time,
Jason Long
CEO and Chief Software Engineer Supernova
I am currently storing all of my action forms in session scope. My
application has many forms, but only about 6 users total. Will I run into
memory problems as long as the number of users remains small?
Thank you for your time,
Jason Long
CEO and Chief Software Engineer Supernova
This is just a glimmer, but over the weekend, as part of pushing the
Struts 1.3.0-dev code around a bit, I implemented something like
this. In a nutshell, here's what I did. I'm hoping that our
direction in the core Struts architecture would make it pretty easy
for people to put together a
by adding 'validate=false' to my action mapping the page now loads. Is
there some undocumented incompatibility when using DispatchAction and
ValidatorActionForm together?
DW
- Original Message -
From: Daniel Watrous [EMAIL PROTECTED]
To: Struts Users Mailing List
At 3:32 PM -0500 2/7/05, Jeff Beal wrote:
I looked at the source of the RequestProcessor.processValidate()
method, and it certainly doesn't look like there's any way to
redirect on validation error without modifying the behavior there.
I think that if in your controller element in Struts config,
Looks to me like your missing a / off your input parameter
--- input=manage_stake.jsp
Niall
P.S. don't forget to set validate back to true.
- Original Message -
From: Daniel Watrous [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, February
Has anyone used STRUTS modules to segment the International versions of a
web site were each site is managed in a separate file structure? This feels
like the right approach. How can we hide the various contexts from the user
(i.e. want www.mysite.com/productpage
Thanks James, now all the other stuff that I read about reset makes
sense. I had been assuming that since I don't have a reset function
for my form that I didn't need it.
Now I'm having issues with my nested forms. Does anyone have a
recommendation on how to deal with them?
This is what I've
Actually, I traced this in code also and I think it already does
mapping.findForward(input) inside
In either case, how could you specify to Struts to construct a ForwardConfig
object with redirect=true??
Thanks,
Yaakov.
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
That will work. I was going to have to perform some
preprocessing for the form anyway.
Thx.
--- Wendy Smoak [EMAIL PROTECTED] wrote:
From: Norris Shelton [EMAIL PROTECTED]
I have a lazy validator form that I need to default the
value to
be one of 2 values, based upon information about
At 4:34 PM -0500 2/7/05, Chaikin, Yaakov Y. wrote:
Actually, I traced this in code also and I think it already does
mapping.findForward(input) inside
In either case, how could you specify to Struts to construct a ForwardConfig
object with redirect=true??
Either nested within an action element,
Thank you for the suggestion. I tried this and am still getting only a
BLANK page with validate=true. Are there any other ideas?
DW
- Original Message -
From: Niall Pemberton [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, February 07, 2005 2:19 PM
You need to know what struts is trying to do. I suggest configuring the
logging to debug - then you should find out where its trying to go to and
what the problem is.
If validation is being performed but failing then you should see something
like...
DEBUG Validating input form properties
Did anybody actually got it ? If so can I have a copy please ?
Jan
On Mon, 07 Feb 2005 11:36:44 +
Mark Benussi [EMAIL PROTECTED] wrote:
Thank you Senthil but please read:
http://www.symantec.com/avcenter/venc/data/life.is.beautiful.hoax.html
Original Message Follows
From: senthil
className=ui.action.TestAction
should be:
type=ui.action.TestAction
-Max
On Mon, 2005-02-07 at 14:21 -0500, Soaring Eagle wrote:
Hello,
I have a simple struts-config.xml like below. This keeps throwing
wierd class not found exceptions. Here is the struts-config and the
exception. I
Hello all,
We have been using Struts as the framework for the
development of all our Websites and Web Applications. We are in the midst
of searching for a Content Management System for our Website development
projects. Some of our requirements are that the solution is simple for
the end
Example Struts 1.3/Chain web-app example using Commons-Chain CoR
pattern, using Struts 1.3 dev!
Newest good practices implementation of a basic Java/Web-based
portal/CMS application. Includes configure use of Eclipse 3.1(M4),
Tomcat 5.5, PostgreSQL 8, Struts 1.3dev, JSTL, iBATIS 2, DisplayTag,
Hi,
I've recently discovered that it is not possible to map an action to
j_security_check. Given this situation how is it possible to populate
a form bean with user data, or create a log of any failed login
attempts (bad username / password) if the container takes control of
the entire login
___
This is a private email address and is explicitly and expressly not
intended for addition to or use in any mass distribution list without the
author's prior and express written consent. Absent the specified consent,
please remove this email address from any such list.
Copyright (C) 2004
Tim,
The first problem of populating a form bean with user data can be
handled by populating/creating a UserBean using techniques such as a
servlet filter. Alternatively, you can extend the RequestProcessor.
Other techniques that work, but are not as global in nature, are using a
base action.
The forms for container managed security don't have to be plain html - you
can configure in the web.xml custom Logon and Logon Error pages which
can be jsps, not just plain html. I have a custom tag on each of these pages
which writes the fact that a user has arrived at that page to log4j along
Hello:
I am trying to learn to use tiles but cant figure out how
to invoke my tiles definition.
I have this tiles-defs.xml:
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE tiles-definitions PUBLIC
-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN
A shot in the dark here: Are the request params in SecurityFilter still
around if you forward to a Struts action.
Say like this? (I do this, but I don't try to access the params).
login-config
auth-methodFORM/auth-method
form-login-config
A shot in the dark here: Are the request params in SecurityFilter still
around if you forward to a Struts action.
Say like this? (I do this, but I don't try to access the params).
login-config
auth-methodFORM/auth-method
form-login-config
Neil,
Your error messages suggest Struts failed to load. You should check the
Tomcat log files in $CATALINA_HOME/logs to determine what caused Struts not
to load.
Regards,
David
-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
Sent: Monday, February 07, 2005 11:05 PM
David:
Hmmm. I was playing around with my struts-config and got it
working somehow. It looks the same to me, but I cant argue
with results. It must have been that I had a wrong version
on my dev server.
Sorry for any inconvenience to the list members.
Thanks,
Neil
--
Neil Aggarwal,
58 matches
Mail list logo