-Original Message-
From: Mindaugas Idzelis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 3:31 PM
To: [EMAIL PROTECTED]; struts
Subject: What is the current status of Components?
When will components be integrated with struts?
Does anyone have any examples using
Hello Vince,
I'm currently using Struts 1.0 with ServletExec 4.0 ISAPI for Microsoft IIS
on Win2000 and have not had any problems. It was pretty simple. If you use
.war file, you can do as you mentioned already and put it in the
[SEversion]/webapps/default directory. When SE starts up, then it
I apologize if this seems to be off topic, I'm designing a typical
e-commerce web application with Struts framework in the web layer but am not
using EJB for managing persistence in the business layer. I have reviewed
the J2EE blue prints and the DAO (Data Access Object) pattern and am curious
to
Hello
Zillle,
If I
understand you correctly, you have a bean that performs a simple query and you
want to incorporate some business logic. I would create a separate object/bean
for to perform the business logic and it can delegate the appropriate
responsibilities to the simple query bean
: Thursday, August 16, 2001 10:18
AMTo: [EMAIL PROTECTED]Subject: Re: struts
and castor
are you familiar with the struts and Castor
mapping tools
- Original Message -
From:
Robert
Taylor
To: [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 3
There have been several discussions on this list concerning how MVC is
implemented. There is some good documentation on the Struts web site
(http://jakarta.apache.org/struts/userGuide/index.html) and Ted Husted's
site (http://husted.com/about/struts/)
I would also check out the mailing list
the documentation but my problem is the use of castor
mapping tool as well.
Where does that fit in. Let me know.
- Original Message -
From: Robert Taylor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 3:40 PM
Subject: RE: struts and castor
There have been several discussions
We are using JTurbo's Sun Certified type 4 driver for MSSQLServer. You can
get a free eval at http://www.newatlanta.com . They (New Atlanta) also have
a pretty cool servlet engine (ServletExec4.0)
robert
-Original Message-
From: Mikkel Bruun [mailto:[EMAIL PROTECTED]]
Sent: Friday,
http://www.lifl.fr/~dumoulin/tiles/
HTH,
robert
-Original Message-
From: Trieu, Danny [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 1:45 PM
To: '[EMAIL PROTECTED]'
Subject: What is Titles? and what gonna happens to template tag in the
furture?
any link where I can read
?
danny
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 11:05 AM
To: [EMAIL PROTECTED]
Subject: RE: What is Titles? and what gonna happens to template tag in
the furture?
http://www.lifl.fr/~dumoulin/tiles/
HTH,
robert
-Original
Matt,
I'm not sure if your statement refers to iPlanet app server or web server,
but we have used the JTurbo SQL Server Type 4 JDBC driver on iPlanet web
server running on Win2k without any issues.
robert
-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]]
Sent: Monday,
Name each of your submit buttons action. Now unless you want the submit
button values to be
method1, method2, etc..., you would have to use LookUpDispatchAction. I
believe this allows you
to have user friendly submit button values and still invoke the appropriate
method. This is done
using a
problems, but want
to find out
the usefulness of Dispatch Action, thats why i want to know a neat way to
change the action attribute of the form in the JSP.
Deepank
- Original Message -
From: Robert Taylor [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent
If you do take this offline, please include me in the messages.
I find this topic very interesting and I like your solution for
minimizing endpoints.
[EMAIL PROTECTED]
Thanks,
robert
-Original Message-
From: [EMAIL PROTECTED] [mailto:Kevin.Bedell;sunlife.com]
Sent: Friday, October
You are not alone, my frustrated brotha'. I've done this before and I was
pulling my hair out trying to figure out just what the heck was going on.
Glad you resolved it :)
robert
-Original Message-
From: Mohan Radhakrishnan [mailto:MohanR;hclcomnet.co.in]
Sent: Saturday, October 19,
ummmvery small rocks?
robert
-Original Message-
From: ruben [mailto:ruben.carvalho;inesc.pt]
Sent: Thursday, October 24, 2002 8:11 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [OT] html:options /
But, what else floats in the water?
King Arthur's turn
Redirect instead of forward. You can do this in your struts-config.xml file
for your action by setting the redirect attribute of the forward element to
true; or, if you are manually creating the forward, the constructor takes a
boolean which indicates a redirect instead of a forward.
robert
Darren, you can create different action mappings which identify the correct
return to screen but map to the same action. If I'm on the list page and I
would invoke something like /do/list/delete and if I was on a view, then
invoke the delete action like /do/view/delete. The action mapping for
I would say you wouldn't necessarily violate MVC if you pass the
DynaActionForm as a DynaBean into your model. Your model doesn't need
an Form functionality, it only needs to access the data which is supported
by the DynaBean contract. DynaBean is not bound to any presentation layer
and
therefore
For anyone going to ApacheCon, this may be of interest.
robert
-Original Message-
From: Rodent of Unusual Size [mailto:Ken.Coar;Golux.Com]
Sent: Thursday, November 07, 2002 2:16 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: ApacheCon schedule change
Another change to the
Solution 1:
In your action class which is called before displaying the page with the
drop down box,
use a business delegate to access your data from the appropriate data source
into some
type of collection. Store the collection in the appropriate scope (session,
request).
Have the page render the
To add to my earlier response:
After you retrieve the data, convert it into a collection of LabelValue
beans. After that, you can use the following syntax to render the data;
assume the data is stored placed in the form under a property called
options.
html:select property=someValue
Try this:
html:select property=major_locations
html:options property =locationValues
labelProperty=locationLables/
/html:select/td
When you get some cycles read up on the JavaBean specification. Struts uses
reflection to access and mutate data in
How do you see FormBeans used in the problem domain?
If the problem domain is the business layer that contains
the logic to solve the problem, then I believe it is
best not to couple the business layer with any specific
presentation layer, such as Struts, which would occur if
you use FormBeans in
Fernando, I'm going through this exact scenario and I think it's great
your getting exposed to this as an intern. Your about to learn things
that cross way over the academic border.
I took a top down approach and executed the following steps:
1. Defined the overall objective of the application.
David, Struts is a server side framework, and therefore does not directly
control the behavior of the client.
Struts, JSTL, EL, etc..., facilitate rendering data in the client. So unless
HTML or Javascript has a standard way to disable MS IE's *autocomplete* for
input forms, you are at the mercy
Try this:
DynaBean newForm =
DynaActionFormClass.getDynaActionFormClass(myForm).newInstance();
String[] firstNames = new String[employee.numberOfPersons()];
for (int i= 0; i employee.numberofPersons() ; ++ i)
firstNames[i] = employee.firstName(); // do you mean
I'm not clear how this relates to Struts, but it looks like it is a problem
with your deployment descriptor as the error message indicates. Does your
deployment descriptor for your application define the tag library? Is the
uri attribute correct in your JSP scriplet?
robert
-Original
Rick, I usually define the setUpForm action URI as the input attribute
of the processForm action element. That way if a validation error occurs
the request is forwarded to the setUpForm action which repopulates the list
and forwards to the page where my list is displayed along with the error
Apologies in advance for the OT post.
I have some background processes that run as NT services. Each
process will run in its own VM. I would like each process to
use its own java.security file. I know there must be a way
to tell the VM to use a different java.security file other than
the default
If you use any flavor of DynaForms, you can pass the user input directly
to
the business domain as a DynaBean interface which is not directly
connected to Struts, but rather to org.apache.commons.beanutils package.
You will most likely still have to convert to some sort of
DataTransportObject
Joshua,
There are many ways to accomplish your goal. To answer your
question, the DAO is typically the object that encapsulates the
persistance and query logic and therefore would perform the
query using the key passed in from the domain object.
As far as returning results, you have a couple
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg58515.html
-Original Message-
From: otisg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 12:39 PM
To: [EMAIL PROTECTED]
Subject: handling form errors in Actions, returning to form,
prepopulating them
to
be re-sent to the original action that
retrieved the list, no?
E. The user is not prompted with 'Do you
want to re-POST' dialog
-- Does this happen automagically?
Thanks,
Otis
On Wed, 19 Feb 2003, Robert Taylor
([EMAIL PROTECTED]) wrote:
http://www.mail-archive.com
will automatically populate the form if
you are using the appropriate html:*/ tags.
robert
-Original Message-
From: otisg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 2:44 PM
To: Robert Taylor; Struts Users Mailing List
Subject: RE: RE: handling form errors
snip Does Struts do that somehow behind the scenes,snip
Struts does this for you. You should review the Struts documentation
and examples. It will clear up a lot of these questions.
robert
-Original Message-
From: otisg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003
BlankPlease refer to the mailing list archives. This question has been
answered many times.
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
A search on Cannot retrieve definition for form bean null returns 57 hits.
robert
-Original Message-
From: Chetan Sahasrabudhe
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
-Original Message-
From: Ray Madigan [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 21, 2003 12:31 PM
To: Struts Users Mailing List
Subject: RE: Why reset is called when a form is submitted?
I guess some people are
According to the test answers at
http://developer.java.sun.com/developer/Quizzes/misc/struts.html
Craig McClanahan wrote the initial version of Struts over the 2000 Memorial
Day weekend.
I missed that question. Doh!
robert
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Please stop sending emails with 'Return receipt requested'. Its rather
annoying.
robert
-Original Message-
From: w i l l i a m b o y d [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 23, 2003 2:36 AM
To: Struts Users Mailing List
Subject: Re: Help: ActionError - html:errors / does
Brandon,
I have a similar situation and I ended up extending ActionMapping
and using the set-property in the action-mapping in the struts-config file.
robert
-Original Message-
From: Brandon Goodin [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 12:35 PM
To: Struts User
I generally populate a collection of LabelValue beans and put them
in the form or some scope and use optionsCollection tag. For example
if I had a collection of LabelValue beans and named it categoryOptions
and my form property was category, then the following would be the
syntax to render the
If you are using DynaActionForms which implement the DynaBean interface,
you could pass the DynaBean interface to your Fascade without binding
to a particular presentation framework. You could then take advantage
of some of the copy properties utilities in the org.apache.commons.beanutils
package
Is being tied to the DynaBean API that bad. Seems like it, along with the
entire beanutils package, is a great tool. Why write custom DTO interfaces
when you could simply leverage DynaActionForm or DynaValidatorActionForm
which both implement the DynaBean interface. Then use the beanutils package
Do it in the query.
select ID, FIRSTNAME, LASTNAME from people order by LASTNAME, FIRSTNAME
robert
-Original Message-
From: Søren Blidorf [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 1:17 PM
To: [EMAIL PROTECTED]
Subject: Sort a collection in alphabetic order
Hi.
I
Good work Rick. I'm sure many users (new and not-so-new)
will greatly benefit from your efforts.
robert
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 2:37 AM
To: Struts Users Mailing List
Subject: [ANN] Struttin' With Struts beta
Jeff,
I haven't tried this before, but it seems like one solution would be
to generate your XML doc in the Action (or some delegate) and place
it in the appropriate scope and then use XTags
(http://jakarta.apache.org/taglibs/doc/xtags-doc/intro.html) to transform
the doc.
Another solution, would
http://www.mail-archive.com/[EMAIL PROTECTED]/msg14224.html
robert
-Original Message-
From: sifman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 4:04 PM
To: [EMAIL PROTECTED]
Subject: Action Forwarding Issue
How can I forward to another action class sending a
Have 2 actions:
-PopulateFormAction
-ProcessFormAction
When the user clicks to edit the Monitor, invoke, PopulateFormAction.
When the user submits invalid data (invoke ProcessFormAction),
the request should forward back to the input defined in the
struts-config file. All the form data still
One solution is to assign the URI of SetupMyFormAction as the
input instead of the .jsp page. By doing this, Struts will
forward the user to SetupMyFormAction if validation error occurs
which will prepopulate the form accordingly but will also retain
the users input.
robert
-Original
One solution would be to use a dynamic include instead of static.
jsp:include page=a.jsp
jsp:param name=formName value=MyForm/
/jsp:include
In a.jsp:
html:text property=start name=%=request.getParameter(formName)%/
robert
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Heather,
Let me first say that this is considered off-topic and
the subject of your email should indicate it as such if
you post to this mailing list. Rick Reumann has set up
a Yahoo Group http://groups.yahoo.com/group/model_struts/,
for this topic. You can post to [EMAIL PROTECTED]
That being
I think there is a disconnect caused by my course grained answer.
Let me explain in further detail.
OBJECTIVE:
The objective is to request a URL which returns a .jsp page
which is populated with information from the database.
The subsequent objective is to return the .jsp page with any
invalid
Prepare SQL queries in a DAO which can live in the session bean.
The Action class is in the web tier and should be void of any
query/persistence
logic.
robert
-Original Message-
From: santhosh [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 15, 2003 8:02 AM
To: 'Struts Users Mailing
I am forwarding this question to the Struts mailing list as I don't know
the answer, but I'm sure some one on Struts list does.
robert
-Original Message-
From: Claude Glauser [mailto:[EMAIL PROTECTED]
Sent: Monday, March 17, 2003 10:19 AM
To: [EMAIL PROTECTED]
Subject: [struts-atlanta]
I'm using JDK1.4 logging in parallel with Apache's Commons-Logging and it
works fine.
The Apache's Common-Logging should be using JDK1.4 logging as well for its
underlying
implementation since it (JDK1.4 logging) exists in my environment.
robert
-Original Message-
From: Navjot Singh
Vic and Navjot, sorry I didn't respond sooner, I can't interact with
the mailing list from work.
I didn't really do anything special to get JDK1.4 logging to work
with Struts. From what I understand, commons-logging will detect
JDK1.4 logging, and use the logging.properties file for
Use the nested taglib.
nested:write .../
robert
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 1:58 PM
To: [EMAIL PROTECTED]
Subject: [Q] why bean:write can't be used without NAME as html:text
can?
Hello,
from html:text
I recently decided to exercise my skills in using dynamic indexed properties
with my DynaValidatorActionForm. I quickly realized that I will need
to have some code in the DynaValidatorActionForm.reset() which must
re-populate my indexed collection so that the RequestUtils.populate()
can
Please search the archives. This has been discussed many times.
You might also try a google search. I also remember reading a
recent article in the Java Developer Journal on several strategies
for this.
robert
-Original Message-
From: mahesh kagitha [mailto:[EMAIL PROTECTED]
Sent:
Mick,
Populate a collection of LabelValue beans with your countries (assuming your
have something like countryId, countryName for each country) when your web
app initializes (ServletContextListener-if 2.3) and place it
in the ServletContext. Then on your .jsp page use the following syntax
. Designer - Project Trust
aUBS AG, Financial - Zürich
Office: +41 (0)1/234.42.75
Internal: 48194
Mobile: 079.726.14.26
_
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 2:52 PM
To: Struts Users Mailing List
Subject: RE
+1 ... and if the docs don't have the answer,
there is always the source code and DTDs.
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 3:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Fine Grained Access Control in Sturts
I don't have
Marco, you should be able to use the get().
String name = (String)form.get(name);
robert
-Original Message-
From: Marco Tedone [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 22, 2003 3:54 AM
To: Struts-user-list
Subject: Retrieving properties from a DynaValidatorForm
Hi, I'm
Couldn't you use this?
html:link action=/Delete paramId=id paramName=row
paramProperty=idDelete/html:link
robert
-Original Message-
From: Navjot Singh [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 9:45 AM
To: Struts Users List
Subject: One tag in other tag's attribute's
I've seen this when a property is defined under the same name twice within
a form-bean element.
Not sure that really offers any insight to the problem other
than I have seen it happen before.
robert
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Monday,
of code, but based on your idea, my app compiles and runs. Thanks for the
insight, d00d!!!
Mark
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 3:54 PM
To: Struts Users Mailing List
Subject: RE: Digester Error
I've seen this when
Sounds like the Struts Network Adapter isn't working...
Sorry, I couldn't resist. This sounds like a database driver issue.
How are you establishing your connections?
You could do some preliminary testing before posting to the list.
Create a small test application that simply tries to get a
on topics not directly related to Struts.
robert
--- Adam Hardy [EMAIL PROTECTED] wrote:
... (still being dim) ... but how do the DAOs see
the Transaction object?
Robert Taylor wrote:
The DAOs have a method called getConnection().
Inside getConnection() they
call
I'm using Struts 1.0, and have a process with a set of related event
handlers which I have grouped into a single DispatchAction class. Each
event has a set of assertions (some similar, some different) which must pass
before any (even form validation) processing occurs.
I have basically
-
From: Robert Taylor [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 7:12 AM
To: [EMAIL PROTECTED]
Subject: Assertions
1. Assertions that are common to all events.
2. Assertions that are common to a set of related events.
3. Assertions that are specific to an event
I want to be able to processes similar events with a single Action class. I
know the Struts framework provides both DispatchAction and
LookupDispatchAction. All my events where method=post are invoked with an
input element of type image. The request parameters for such an element are
name.x and
So if I had an Action that handled the following operations on an
account:
-createAccount
-retrieveAccount
-updateAccount
-deleteAccount
instead of having these 4 methods defined, in a single action class, you
would define a business bean in the action mapping and something similar to
the
Rick,
As for where to put them, I would place them in the ServletContext scope.
As for how to manage them, you might consider having some sort of cache
manager
which periodically refreshes the cache.
As for population, you could either use a lazy loading strategy or just
initialize
all static
Mark, we use www.cqhost.com. Packages start at @ $150.00/yr. We've had them
for about a year and I don't have any real complaints.
robert
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 10:26 AM
To: Struts (E-mail); Servlets (E-mail);
I downloaded and ran the struts-validator.war example that comes with
Struts1.1b1.
I had two issues:
I had to remove the extra password definition in the struts-html.tld
and I had to add the jakarta-regexp-1.2.jar to the WEB-INF/lib directory.
After that, it worked fine.
robert
If you mean a form that is used across requests (ie some wizard process),
then
the struts-validator.war web app contains an example of using a single form
and performing validation where user input is split across two screens.
It is contained in the Struts 1.1b1 binaries which I believe is a
.
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 8:07 AM
To: Struts Users Mailing List
Subject: RE: Assertions
Yep, that may be the approach I take although it circumvents the front
controller. Not necessarily a bad thing. It just
(Thread.java:479)
From: Robert Taylor [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Validating forms with the validator
Date: Fri, 7 Jun 2002 13:28:05 -0400
I downloaded and ran the struts-validator.war
I want to leverage the declarative validation functionality offered by the
Struts Validator package, but I have some reservations about how it works.
In my particular configuration, my application will use DispatchActions to
process common events.
In many cases I will use one ActionForm for all
formname=action2
fieldproperty=field1
/form
/formset
Your Form bean should extend ValidatorActionForm. The Validator will only
validate fields configured for the given action. Hope this helps.
P.
Robert Taylor [EMAIL PROTECTED] wrote: I want to leverage
I must agree. 2 years ago I designed a small web application where my SQL
statements resided in a properties file and I cached them and retrieved them
at run time from the cache. Although some SQL statements could be tweaked
and cache updated without touching any code, some modified SQL
It sounds like your DAO is really a business object and your db object
follows the DAO design pattern. I think you have the right concept though.
You may want to check out http://groups.yahoo.com/group/model_struts/. It
is dedicated to discussing the model layer using Struts.
robert
This is a subjective area. The Data Access Object is a design pattern which
really is
just a recommendation on how to implement access to the data store. There
are
several approaches, from home grown to commercial O/R products. Take a look
at Martin Fowlers site
I just found out that the DynaValidatorActionForm provides this
functionality (defined below).
robert
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 09, 2002 6:53 AM
To: Struts Users Mailing List
Subject: RE: Struts Validator
Thanks Peter
not sure if the resource location strategy is standard among servlet
containers,
but it seems to work for us.
We use #2.
robert
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 10:26 AM
To: [EMAIL PROTECTED]
Subject: Cannot reload web app
Rick, if you have multiple JSPs all using the same action and need to
determine where to send the user upon a validation error, why not just
have several action mappings and explicitely define the appropriate input
path for each one. That's what the action mappings are for. I don't think
it is
Georges,
It is not recommended that you place the Connection in the users session.
This is a potential hazard which can cause lots of open connections to the
database.
It is also not recommended that you have database interaction directly in
your Action classes. Its best to encapsulate database
I haven't to date, but definitely will in my next
project so I have done some research on it.
From what I can tell neither DispatchAction nor
LookupDispatchAction will support this out of the box,
but there is a pretty simple modification that can be
made to DispatchAction to make it work.
I
Chris,
wrap your SOAP reference in an object that implements
HttpSessionBindingListener and place it in the session. When the session
times out, the object will be notified and you can use an URL object to
connect to the SOAP host and send a messages to release the appropriate
resources. This is
I would say it depends.
How expensive is a database hit and how many times do you find the need to
hit the database to retrieve data?
Is all the data used all the time or is just some of the data used?
In your application is it acceptible to have a slight delay while loading
the users profile?
Nandkishore Rai
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 10:11 AM
To: Struts Users Mailing List
Subject: RE: How to implement sturts on Servlet Exec
Yep. I've used Struts in ServletExec4.0, 4.1, and 4.1.1.
I haven't had any issues
on jakarta but not on servlet exec
it is giving execpions
i will tell you one second
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 10:34 AM
To: Struts Users Mailing List
Subject: RE: How to implement sturts on Servlet Exec
Try this:
nested:define property=nodePix id=imgName/
% String imgSrc = images/ + imgName %
html:img src=%=imgSrc% width=10 height=10 alt=/
%=imgName%
html:img src=images/puce2.gif width=10 height=10 alt=/
The behavior you are seeing is the result of limitation in the
Download the Struts binary distribution and look at the examples that come
with it.
After you download it, point your servlet container to one of the example
web apps
(in .war format) and you have some pretty good examples.
robert
-Original Message-
From: Manish_Purang [mailto:[EMAIL
Look into using DispatchAction.
http://husted.com/struts/tips/002.htm.
HTH,
robert
-Original Message-
From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
Sent: Sunday, June 30, 2002 6:55 AM
To: [EMAIL PROTECTED]
Subject: more than one input to an struts action?
Subject: more
Define different action mappings that both map to the same DispatchAction.
Each mapping will have the appropriate input attribute which will return
the user to the correct JSP page from which the validation error occurred.
robert
-Original Message-
From: Michael [mailto:[EMAIL
Perfect timing Chuck. I just started to dig in on this particular issue.
Once again, great job. Below are my comments. Sections are demarcated using
'Section:' and quotes from the document are identified with double quotes
around them.
Section: Required Packages
All of the dependent
From what I understand, this is possible in 1.0x as well.
This example if from the Struts1.0 example app where the action mapping path
attribute
simply forwards to the tour.htm page which could just as easily be tour.jsp.
actionpath=/tour
forward=/tour.htm
/action
From
William, I would be interested in your solution as I am making extensive use
of DispatchAction and would like to use the Struts Validator with it and
extend ValidatorActionForm.
It seems that adding a 'parameter' attribute to the form element in the
validation.xml file could further qualify a
1 - 100 of 490 matches
Mail list logo