You are much better off doing JSP tags for something like this. I don't
understand why people are so afraid of doing custom tags?
-Original Message-
From: ruben [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 10:54 AM
To: Struts Users Mailing List
Subject: Re: html inside an
Leave action forwards alone and instead, create a supporting method that can
be called from your actions that looks at your session and returns the
appropriate actionforward. So there's your complex logic, I wouldn't
re-write the struts forwarding framework.
String stepName =
Look at Javaworld.com for an article on struts and tokens
-Original Message-
From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 3:36 PM
To: '[EMAIL PROTECTED]'
Subject: Disabling BACK buton
We have a Struts application that allows users to create/update
Yes, that is good.
-Original Message-
From: Joao Batistella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 1:32 PM
To: 'Struts Users Mailing List'
Subject: The browser cache JS resources?
Hello.
I have a doubt. I'm thinking about including in all my pages the same
javascrip
http://www-106.ibm.com/developerworks/web/library/wa-resc/
-Original Message-
From: mike barretta [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 1:35 PM
To: [EMAIL PROTECTED]
Subject: dynamic javascript forms
thanks in advance for any help...
i have a form where i let the user
It's always on a case by case basis. When and how much do you need at a
given time? Hibernate/JDO/OJB/etc can handle these things for you via a
config to specify lazy relationships.
When you are talking about web application with read data (data purely
pushed to the view like a list of persons
We take care of it in the Action where all of our Actions for the
application are children of a ApplicationAction that extends
DispatchAction. So in the execute() of ApplicationAction before dispatching
to the implemented business action, it runs through a series of validations
and request
Check your server logs for exceptions that say the response has already been
committed. We had a programmer try to create a compression filter based on
the source from one of those articles and it did not work on our production
servers. Worth a look...
-Original Message-
From: [EMAIL
?
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 4:04 PM
To: Struts Users Mailing List
Subject: RE: Compression Filter
Check your server logs for exceptions that say the response has already been
committed. We had a programmer try to create
I bought that book, it's a good one, I read it over a weekend, but when you
go to download the examples, the way you handle commands has since changed.
Probably 80%+ of the book is still correct but the sample CarStore app from
Sun is your best model for development. It does a good job of
I've come to the conclusion that I'm disappointed with JSF. Yes, I see what
it's trying to accomplish, but it puts too much overhead in the JSP
designer, you can't easily create dependencies in the controller, no
exception handling, etc.
? I'm
using Tomcat 5.0.18 Stable with J2SDK 1.4.1_02
Thanks!
Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS 66219
(913) 577-1496
[EMAIL PROTECTED]
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March
: JSF RI Final is out!
Will it be OpenSource? (Banten)
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Friday, 5 March 2004 00:18
To: Struts Users Mailing List
Subject: RE: JSF RI Final is out!
I've come to the conclusion that I'm disappointed with JSF. Yes, I see
release it :-)
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Friday, 5 March 2004 00:36
To: Struts Users Mailing List
Subject: RE: JSF RI Final is out!
Yeah, package is org.apache.banten.*
I just ran some benchmarks for bean properties and method invocation through
, Inc.
10101 Renner Blvd.
Lenexa, KS 66219
(913) 577-1496
[EMAIL PROTECTED]
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 1:39 PM
To: Struts Users Mailing List
Subject: RE: Best way to handle big search results
PROTECTED]
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 11:03 AM
To: Struts Users Mailing List
Subject: RE: Best way to handle big search results..
Jerry,
We ran into the same problems you are having, and then there
reaches a point
We have to work with search results that are sometimes 1000+ items in size.
In addition, much of the information we have is not keyed so we cannot say
give results between id 2000 and id 20020.
Some things I found to help with search results where we did do in memory
sorting/paging were:
1.
I think especially in large corporate environments, it can be very difficult
to boil to the surface without stepping on toes. People have different
ideas on what it means to work and what is acceptable code ;-)
I have managers who only know the way things were done 5-10 years ago, but
I'm very
We had to do this for our last project; I had an ActionForm for each page
with validator bindings to validate input on each page. In the Actions, I
used the page's form to update a transaction bean in the session which I
in turn called a commit method on it to execute business logic (validate
Go to java.sun.com and search for JSTL pdf
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: None
To: Struts Users Mailing List
Subject: RE: [OT] JSP or Velocity
JSTL in Action
http://www.manning.com/bayern/
Rick DeBay
On Fri, 27 Feb 2004 13:45 , A.White
No matter what, I would recommend turning off caching on the struts
controller, otherwise you will get anomalies with the back button and
workflows. Do this early in your development and testing with QA.
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Thursday,
We overrode the execute method on our BaseAction to call a protected
executeSessionAuthorization which by default just checks for user to be
logged in. Results of the executeSessionAuthorization are thrown as
exceptions (if okay, no exception).
To determine if the executeSessionValidation gets
What we had done to handle this case is create a bean, but then have all of
our constants available in a static map available via getter.
static
{
CONSTANT_MAP = new HashMap();
CONSTANT_MAP.put(beanPropSystem, BEAN_PROP_SYSTEM);
}
public Map getConstants()
{
return
I wrote a CryptoFactory to take care of this. We use it for cross domain
session validation.
// example code:
CryptoFactory cf = CryptoFactory.create(aPassword,PBEWithMD5AndDES);
Date goodUntil = new Date(System.currentTimeMillis()+somePeriodMs);
String token =
I've been looking a lot at JSF, and the way you can handle scoping issues is
to actually store your controller in the session as a bean. Memory is only
an issue if you cache data beyond the method scope:
An Action updates OrderController in the session with parameters from the
request. The view
Please stop discussing this on the STRUTS-USER mailing list.
Thanks
-Original Message-
From: Peter Abbot [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16, 2004 1:34 PM
To: Struts Users Mailing List
Subject: [OT] RE: Java / J2EE Developer
Maybe you should have taken your own advice
Why don't you always just do string.toUpperCase() on get's and put's
One liner
-Original Message-
From: Guillermo Meyer [mailto:[EMAIL PROTECTED]
Sent: Friday, February 13, 2004 12:48 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Case insensitive Map keys
The problem is
Sorry for the OT, but I need recommendations from a very intelligent group
;-)
I picked up the new Core J2EE Patterns Book [2nd Ed] and it proposes
Business Objects that act much like POJO Session Beans.
But in the scope of a layered architecture, some say we should enforce that
our [Domain,
You might want to look at putting a compression filter on your app, simplest
way to solve this problem and compress any other formatting you might have
in your resulting html.
I believe tomcat comes with an example compression filter, and Javaworld has
an article from Jason Hunter with
Usually I setup an XApplicationListener in the web.xml that will
initialize things for our app.
Objects/Services can get initialized in multiple ways:
1. Grabbing an instance of a singleton ServiceManager.getInstance();
2. Creating an instance and put it in the ServletContext
If it's
Why don't you simplify the problem and have it go to an html page. We had a
problem where a forwarding jsp page had errors, resulting in a blank page.
-Original Message-
From: Song Qiu [mailto:[EMAIL PROTECTED]
Sent: Friday, January 30, 2004 3:43 PM
To: 'Struts Users Mailing List'
What you are describing almost sounds like a good use of JSF--
If you have 5 forms on a page, separate, do you want to save the state of
the other 4 forms if submit is sent for one of them?
-Original Message-
From: Mathew, Manoj [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29,
Create a bean with a list of tasks to complete and have a thread execute
them and then have a getter that will respond with the total tasks over
tasks completed.
-Original Message-
From: Martin Gross [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 11:20 AM
To: Struts Users
like i am just half way through my project.So waht is
th best way to handle this situation?
Thank-you,
Manoj Mathew
GIS 515-362-0539
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 10:10 AM
To: Struts Users Mailing List
Subject: RE: multiple
The only way to force a client to update is to do a meta-refresh in the
html. The other thing you can do is setup a callback handler, so you can
have Bean A, listen for events from you task thread, telling you when things
are completed. You in turn, ask Bean A for information that it receives as
I've been looking at using JSF for our next large project. A lot of what we
want to do for managing state would be in the session scope, treated like
controllers.
My question is: how can I know when these beans are initialized and is there
any way for me to manage their lifecycle through
I'm wondering if anyone has gotten log4j to be deployed within separate
apps? We are having issues with log4j jars and their properties files being
deployed on each application under Weblogic. Most of what I've read
recommends putting log4j at the container level along with a single
properties
) 935-4526
Wisdom is not the prerogative of the academics. - Peter Chappell
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 11:08 AM
To: Struts Users Mailing List
Subject: [OT] RE: log4j integration
I'm wondering if anyone has gotten log4j
With jstl, unless you are using JSP 2.0 spec with functions, there really
aren't any types... it automatically coaxes the variables to values to match
the appropriate setter.
c:set value=${currentPath.entity['A'].key} var=someValue scope=page
/
-Original Message-
From: Balakrishnan,
someLongvalue.
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 2:01 PM
To: Struts Users Mailing List
Subject: RE: convert String to Long
With jstl, unless you are using JSP 2.0 spec with functions, there really
aren't any types
You are making the assumption that transactions are dictated by request
type. There are many other ways to dictate transaction state within the
context of web browser usage.
-Original Message-
From: Student T [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 1:58 PM
To: [EMAIL
You can disable the select tag as a whole, but I've never heard of disabling
an option tag. You might just want to not list them.
-Original Message-
From: Dirk Manske [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 17, 2004 5:21 PM
To: 'Struts Users Mailing List'
Subject: AW: how to
It depends on your web container if that's actually allowed. You should
check your container spec before moving all of your JSP's into the WEB-INF
folder. The other alternative is to create a filter that will get/put
requests to /jsp/* in your app.
(Weblogic for example will not compile JSP's
That's because Tomcat or your servlet container is running as a different
user as you are within your own desktop. I ran into the same problem before
and you basically have to get the user/account that the tomcat process runs
under to be mapped to drive F.
-Original Message-
From:
Isn't this issue resolved by using ActionForms correctly in the first place?
They are meant to save/transport form state, which is composed of strings.
When you want to represent form properties as Dates, Integers, etc, you may
start running into issues. So if you have a DTO from a bean in the
What exactly is the issue? You said you are having problems and are
referencing caching headers, but what are you seeing happen?
-Jake
-Original Message-
From: Brown, James [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 2:36 PM
To: Struts Users Mailing List
Subject: Problems
Another solution is to have the link to download the pdf appended with a
random parameter.
a href=/download/report.pdf?state=%=System.currentTimeMillis() %
Download/a
-Original Message-
From: Brice Ruth [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 2:47 PM
To: Struts
As a follow up to your by hand comment, isn't Sun developing a new GUI
development tool to wizard-ize JSF?
Speaking of wizards, can JSF enforce flow in a wizard manner without
additional modifications like Struts?
Thanks much!
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL
VERY reasonable.
.V
Hookom, Jacob wrote:
We are doing a lot of module switching or multistep workflows (which we
handle fine through session beans) but at the same time, users are allowed
to jump to different pages and we would like to capture a leave event
when
they aren't within a set
Runtime Generation of DynaValidatorActionForms, is it possible? We have
forms defined in the DB and I want to generate a DynaActionForm that would
use Validator.
I checked the main struts books we have at the office and couldn't find any
reference to something like this, I'm sure others have
We are doing a lot of module switching or multistep workflows (which we
handle fine through session beans) but at the same time, users are allowed
to jump to different pages and we would like to capture a leave event when
they aren't within a set of mapping(s).
I'm wondering if anyone has solved
It seems kind of moot to use iBatis DAO over Hibernate.
You are better off rolling out something to the tune of Sun's DAO spec. We
use the DAO with the same kind of behavior as iBatis. Depending on the app,
we will make additional methods on the DAO that are specific to the use-case
or you can
Do a HashMap in the action:
Key is username
Value is Integer or Date
If ((value = map.get(key)) != null)
{
if (value instanceof Date)
{
// compare timeout dates
}
else if (value instanceof Integer)
{
if (value == 3)
Btw, remember to flush the map for that username when they are able to login
successfully.
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 16, 2003 3:46 PM
To: Struts Users Mailing List
Subject: RE: Login Security
Do a HashMap in the action:
Key
A person can accuse person B or C
that they are not work.
Maybe it seems silly, but I have such not good experience.
Machine IP from wich was maked last try to log-in may helped to explain all
circumstances.
JD
- Original Message -
From: Hookom, Jacob [EMAIL PROTECTED]
To: Struts Users Mailing
We ended up extending DispatchAction so we could set an execute parameter
on the action mapping. We then ended up with a single Action for CRUD
operations, but multiple bindings with ActionForm validation specifications.
-Original Message-
From: Ghanakota, Vishu [mailto:[EMAIL PROTECTED]
Include the html taglib in your jsp
-Original Message-
From: Andy Engle [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 4:54 PM
To: [EMAIL PROTECTED]
Subject: Tags between custom tags not evaluating
Hi all,
I am writing a web application in which I would like to have a custom
I don't see the:
%@ taglib uri=/tags/struts-html prefix=html %
-Original Message-
From: Andy Engle [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 4:58 PM
To: Struts Users Mailing List
Subject: RE: Tags between custom tags not evaluating
Hookom, Jacob [EMAIL PROTECTED] wrote
What about Leinie's? If you live in Wisconsin, it's a requirement to love
Leinie's-- you should know that Simon.
Wisconsin-- where you have to bring your own fun.
Jake
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 8:58 AM
To:
Look at jstl's format tag, it's what we use for all of our date formatting
on the web page.
-Original Message-
From: Raj Yadav [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 1:59 PM
To: [EMAIL PROTECTED]
Subject: [OT] SQL Date to Util Date
Hi All,
I want to display date in a
Yeah, so easy that all of my friends that I graduated with got jobs.
-Original Message-
From: Fullam, Jonathan [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 2:25 PM
To: 'Struts Users Mailing List'
Subject: RE: [OFF TOPIC] STRUTS PROGRAMMER JOB.
jobs are real easy to get
Anyone who's done major business application development knows that academic
arguments on programming 'style' get thrown right out the window in favor of
efficient progress ;-)
-Original Message-
From: Trieu, Danny [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 10:38 AM
To:
No problems here.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 11:26 AM
To: Struts Users Mailing List
Subject: Tomcat 5
Hi friends,
Anybody using Tomcat 5?
Everything allright with it? Specially when using it with struts.
I've been using ThreadLocal's and had to forceably reset the object on the
ThreadLocal on every use to specify a transaction cache:
public final class Tx
{
private static ThreadLocal localCache = new ThreadLocal()
{
protected synchronized Object initialValue()
request.
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 7:03 PM
To: Struts Users Mailing List
Subject: RE: InheritableThreadLocal issues
I've been using ThreadLocal's and had to forceably reset the object on the
ThreadLocal on every
()%
You can do the same for the Content-Disposition filename attribute.
-Jacob Hookom
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 9:04 AM
To: Struts Users Mailing List
Subject: [OT] RE: File Download?
This is what we use for file
]
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 9:04 AM
To: Struts Users Mailing List
Subject: [OT] RE: File Download?
This is what we use for file downloads (Excel/PDF files).
String contentType = this.beanWriter.getContentType
This is what we use for file downloads (Excel/PDF files).
String contentType = this.beanWriter.getContentType();
response.setContentType(contentType);
response.setHeader(Content-Disposition,attachment;filename=\
+ this.beanWriter.getFileName(request) + \);
And have your struts action
I'm kinda confused on this too.
It seems there's a migration towards DynaActionForms and if you read Craig's
previous post:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg34344.html
Defining a property as anything but a String seems taboo. Let validator
assert that a property is an integer,
I had to do something similar where I keep a Map in the session and allow
the actionmappings/request specify a source, it's then up to the action code
to specify what key to store it under. Then I can later look up the source
as a forward.
-Original Message-
From: Wendy Smoak
What I have for the foundation of our Struts app:
---
SmoAction
+-void setSource(SmoActionMapping, HttpServletRequest, String key)
+-ActionForward getSource(SmoActionMapping, String key)
SmoActionMapping
+-String getSource()
---
Step 1: Setting the
On the controller element in the struts config, set the nocache attribute
to true. We just did this for our current project and it has fixed a lot of
issues with our wizard-type flows where we use a SessionBean to dictate
flow.
The other option is to manually write the pragma/expire headers on
I was looking at chain's implementation, instead of executing the commands
with the visitor pattern, wouldn't a more powerful/flexible method be to
implement it using a filter pattern?
See:
http://java.sun.com/blueprints/corej2eepatterns/Patterns/InterceptingFilter.
html
Sample Chain:
We use:
String contentType = this.beanWriter.getContentType();
response.setContentType(contentType);
response.setHeader(Content-Disposition,attachment;filename=\
+ this.beanWriter.getFileName(request)
+ \);
My formatting is a little different than the previous responder-- might
If you check the mail archives (for tomcat-user), Craig has responded to
this one a couple times. Tomcat's new JSP compiling capabilities actually
break up the JSP into multiple calls, because the limit isn't the file size,
it's the method size.
-Original Message-
From: Yansheng Lin
Switch to an EL implementation, either Struts-EL or JSTL, which would allow
you to leverage bean properties as attributes of their tags
-Original Message-
From: Michael Ruppin [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 9:59 AM
To: Struts Users Mailing List
Subject: Re: how to
Supposedly, the new professional version of Struts Studio is supposed to
have an integrated jsp editor with tiles support
Jacob Hookom
Senior Analyst/Programmer
McKesson Medical-Surgical
Golden Valley, Minnesota
http://www.mckesson.com
-Original Message-
From: Erez Efrati [mailto:[EMAIL
Kurt,
Could you also bounce me your extension? Our JSP developers are using
Dreamweaver MX, if there are issues with compatibility, I'm sure we will be
able to make the appropriate modifications. Many thanks!
Jacob Hookom
Senior Analyst/Programmer
McKesson Medical-Surgical
Golden Valley,
I apologize for this one, I haven't fully woken up yet ;-)
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 9:30 AM
To: 'Struts Users Mailing List'
Subject: RE: Working visual on presentation layer
Kurt,
Could you also bounce me your
You can do a couple of things:
Turn off case sensitivity on the server (probably not a good idea)
Crit.addEqualTo(USERNAME, username.toLowerCase());
Jacob Hookom
Senior Analyst/Programmer
McKesson Medical-Surgical
Golden Valley, Minnesota
http://www.mckesson.com
-Original Message-
, I can
do things like:
set-property property=CHAIN value=Cancel:
/app/promoFlight/managePage,
/app/promoFlight/savePage, etc/
Is this what you are kinda looking for?
--
Sloan
- Original Message -
From: Hookom, Jacob
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
http://jakarta.apache.org/struts/proposal-workflow.html
Is there any pursuit in this or does it follow the direction that 1.2 will
be heading or is this the proposal for the commons-workflow?
Jacob Hookom
Senior Analyst/Programmer
McKesson Medical-Surgical
Golden Valley, Minnesota
For your MessageResources, you might want to put those values in a comma,
delimited list, and then use the String.split(,) to get your items. JSTL
can also take that string and iterate over it via it's own tags.
Jacob Hookom
Senior Analyst/Programmer
McKesson Medical-Surgical
Golden Valley,
Off hand, would Struts be able to catch the exception with this desired
handler?
Action throws ServiceNotFoundException
ExceptionHandler catches ServiceException
Where ServiceNotFoundException is an instance of ServiceException?
Thanks,
Jacob
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 12:37 PM
To: Struts Users Mailing List
Subject: Re: [Error Handlers] instanceof ?
--- Hookom, Jacob [EMAIL PROTECTED] wrote:
Off hand, would Struts be able to catch the exception with this desired
handler?
Action throws
Mark,
As Glenn pointed out that there are different scales of applications, just
like PHP hacking might be more suited, JSTL might be more suited. With some
custom persistence tags to handle your business logic, you could easily
write a whole application with JSTL. Though, I wouldn't recommend
Start using it and you will :-). The expression language is the best
thing since sliced bread.
David
I agree, I'm even using the EL parser to do stuff on completely different
layers for scripting logic. Also, you can VERY easily use JSTL's parsing
objects in your own tags to make them a little
Look at OJB to take care of everything for you with object/dao management.
You can do a ReportByQuery with OJB that allows you to do what you are
describing.
-Original Message-
From: Vinay [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 10:09 AM
To: Struts Users Mailing List
Robert Anton Wilson
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2003 11:51 AM
To: [EMAIL PROTECTED]
Subject: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died
I'm pleased to report that a unanimous majority of the Struts Committers
have
Wait, maybe it's Mary Turzillo?
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2003 11:48 AM
To: 'Struts Users Mailing List'
Subject: RE: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died
Robert Anton Wilson
-Original Message
Check source forge www.sf.net, I think James from this list created one
about 6 months ago and he was very happy with the performance of it.
-Original Message-
From: Srikanth Gubba [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 9:37 AM
To: '[EMAIL PROTECTED]'
Subject: Message
Also, you will want to set some headers too:
response.setHeader(Content-Disposition,attachment;filename=\ + fileName
+ \);
This will prompt the person to download the file (basically automates the
save as). I just finished doing the same thing for a project and we wanted
to remove the confusion
Why do you just use RowSet, check out sun's website for more info... you can
cache it, etc.
-Original Message-
From: Jack Zakarian [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 25, 2003 3:59 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Scrollable Result Set
Hi Keith,
I am running
/Analyst
McKesson Medical Surgical
Golden Valley, MN
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 3:49 PM
To: Struts Users Mailing List
Subject: Re: [OT] caching strategy
Hookom, Jacob wrote:
create primary keys for your data, create an identity
Your ActionForms should never be passed to your DB layer... ActionForms
should have strict String attributes and in your Action, take care of
mapping your Business Beans to your ActionForms and visa versa-- two
similar, but separate objects. PropertyUtils works nicely.
Jacob
-Original
try a bean:write into a normal hidden field, you can intermix html:* and
form,input, etc tags on your pages.
-Original Message-
From: Matt E [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2003 11:03 AM
To: [EMAIL PROTECTED]
Subject: Passing Information with forward
Hello All. I'm
:
BusinessObject.setPrice(form.getPrice())
Hookom, Jacob wrote:
Your ActionForms should never be passed to your DB layer... ActionForms
should have strict String attributes and in your Action, take care of
mapping your Business Beans to your ActionForms and visa versa-- two
similar, but separate
Cloning isn't actually that expensive at all... for modification, clone the
data, modify it, then set the reference back to the original member
variable, problem solved. Look at the source for FastHashMap or
FastArrayList from commons-collections.
-Jacob
-Original Message-
From:
useful, it won't help my conversion issue.
Hookom, Jacob wrote:
PropertyUtils is part of the commons-beanutils lib, included in the Struts
release.
It will require some testing, but you can do stuff like:
OrderVO order = new OrderVO();
PropertyUtils.copyProperties(actionForm, order);
Do some
I read the article also and it seemed like old news DTO, BO, JVT, POJO,
etc they are all the same to me :)
-Original Message-
From: Dan Allen [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2003 1:11 PM
To: Struts-User List
Subject: DTO vs. JVT
I just finished reading an article in
1 - 100 of 148 matches
Mail list logo