FYI
http://www.mail-archive.com/[EMAIL PROTECTED]/msg95667.html
-Original Message-
From: Irfandhy Franciscus [mailto:[EMAIL PROTECTED]
Sent: Friday, May 21, 2004 12:03 PM
To: [EMAIL PROTECTED]
Subject: Compressing your struts for faster transfer
Hi,
I jsut found out this very neat way
Not unless you want to do something via proxy or a ListAdaptor to your
DataSource.
Extend AbstractList and override methods to load additional items from a
transiently referenced datasource or service that can be looked up.
We use this for our application where we have lots of data that we want t
So you've tried ${xyz.rows[1]} ?
-Original Message-
From: Axel Seinsche [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 1:59 PM
To: Struts Users Mailing List
Subject: [JSTL] accessing rows by index
Hi all,
in my Struts application I can access result collection from sql:query
w
We help keep things clean in the session by putting our controller in the
session and using property change / event listeners.
It's an idea that's used in game development where you have a SceneManager,
and Scenes. The SceneManager will load a new Scene (in our case a module,
flow, page, etc), an
We've noticed in our enterprise deployments that we aren't utilizing the
session enough... so there's no straight rule of thumb. It depends on how
many users you have and how much memory/processor.
We have the opposite problem where we are scoping too much stuff at the
request and refetching it al
Look at
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref
erence/objects.asp
Click on one of the tag headings and the properties/attributes are in a
table with scrolling... something kinda like you are describing.
-Original Message-
From: Frank Zammetti [mailto:
ubject: RE: [OT] thick client functionality in the browser
>-Original Message-
>From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
>in Netscape 7 and Mozilla anyway. If I'm wrong, if you can show me an
>example that works in IE, I would name my next child after you :)
&q
Since a lot of this stuff matches up between html and struts, you could
probably use something like Dreamweaver's search and replace functionality
to go through and replace mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 11:01 AM
To: 'Struts Users Mailing List'
Subject: RE: HTML pages conv
We have the same environment and simply put a filter on the image web app to
catch *.jpg, then your main app doesn't have any logic to worry about, or
even "pre-fetch" images every time which would be a HUGE waste of resources.
-Original Message-
From: CRANFORD, CHRIS [mailto:[EMAIL PROTEC
Actually, I think you can do this pretty easily with CSS...
Do all your images have the same dimensions?
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 15, 2004 4:34 PM
To: Struts Users Mailing List
Subject: RE: [OT] RE: Rendering Images
> From: mike
quot;don't buy a dog and bark yourself"
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 15, 2004 5:14 PM
To: Struts Users Mailing List
Subject: RE: [OT] RE: Rendering Images
> From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
> Actually, I
Why would you use something like that? I'm maybe not following the code? Is
this so instead of writing:
/images/hello.gif
you can write:
/resource.do?file_type=gif&file_name=hello.gif
??
-Original Message-
From: mike [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 10:14 AM
T
I completely agree with what Crysalis is trying to push, also a framework
called VRaptor (vraptor.org) also pushes the same idea of moving away from
the procedural weight that Struts promotes.
Look at JSF, do you have actions? No, JSF just updates your POJO beans and
calls methods on them. Why ha
user group questions...
-Original Message-----
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 2:58 PM
To: 'Struts Users Mailing List'
Subject: RE: Theoretical debate
I completely agree with what Crysalis is trying to push, also a framework
called VRaptor (vrap
er.
>On that tier (whether I implement it as EJBs or POJOs), I would have an
>actual business object that would have these methods.
>I tend to look at Struts as a necessary add-on to the application to give
>it a web front end.
>To me, my web application isn't "a collect
Create two actions, a list action and a save action.
In both cases, write out an no refresh http header - see Struts Config
documentation for the controller element.
When a user clicks save, post the data and on success or fail, REDIRECT to
the list action. Then if they refresh, they will
Sorry, I mean write out a no cache http header... (too early in the
morning).
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Monday, June 21, 2004 8:41 AM
To: 'Struts Users Mailing List'
Subject: RE: How to handle refresh
Create two actions, a list ac
Look up request tokens in the documentation/API.
There was also an article on www.javaworld.com a while back that you can
search for.
-Original Message-
From: Olivier Citeau [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 22, 2004 4:10 PM
To: [EMAIL PROTECTED]
Subject: Preventing user from
It's a local number for me... maybe I should chat with Mike for a while and
see how Tim's vacation is going.
-Original Message-
From: Andy Engle [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 11:36 PM
To: Struts Users Mailing List
Subject: Re: [OT] FW: Timothy J Theis is out of t
It all kind of depends... most of the content is pregenerated such as in
Amazon. Amazon uses what is called the ART1 algorithm to categorize users.
These categories (java geek, linux guru, etc) are pre-generated web sites,
created by some application they have in house (hence the cryptic url).
So
43,22,4
POST:
/app/updateItems.do (all the data isn't encrypted in the URL)
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 9:11 AM
To: Struts Users Mailing List
Subject: Re: [OT] Anatomy of a long URL
Hookom, Jacob wrote:
> An
I use Mozilla Firefox with the Developer tools built in (do custom install).
This will do javascript validating, etc for you during development. There
are also free 3rd party plugins too for the browser which let you do some
pretty crazy stuff like switching all forms from posts to gets, inspect f
To do something like that, you would have to use JSTL functions because the
DOT notation you have written is interpreted as:
attachBean.getAttachMimeType().getStartsWith(<--- error
So, each DOT is referencing a property of the JavaBean. I would recommend
checking out Sun's JSP/JSTL documentation
Google display taglib
-Original Message-
From: JoAnn Lemm [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 2:55 PM
To: Struts Users Mailing List
Subject: Dynamic data html generation
Hi All,
I have a set of data that needs to be displayed in an html table. Each
column has its ow
ob Hookom
-Original Message-
From: Craig McClanahan [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 7:35 PM
To: Struts Users Mailing List
Subject: Re: Theoretical debate
Hookom, Jacob wrote:
>Look at JSF, do you have actions? No, JSF just updates your POJO beans and
>calls method
hat they can send showing the
implementation of method (3)?
Does anyone know if there will be a reference implementation for JSF using
method (3)? I think it
would increase the acceptance of JSF in the Struts community if such a
reference implementation
was available.
Thanks.
Mike
---
Hey all, does anyone have any ideas of how to get the Servlet mapping during
runtime? So if I were inside of a servlet, I want the mapping for it when
handling the request. I can't assert suffix parsing of the request URI.
Thanks for any ideas in advance :-)
Jacob Hookom
Senior Analyst/Pro
et Servlet Mapping at Runtime
I think you would have to define the mapping that exists in web.xml for that
servlet in one of that servlets init parameters. I don't believe its
explicitely
available through an API call.
robert
> -Original Message-----
> From: Hookom, Jacob [ma
I've been toying around with integrating JSF and Macromedia Flex. Both use
xml markup in which you can generate a multistep rendering process involving
JSTL/JSF and MXML:
http://www.macromedia.com/devnet/flex/articles/first_flexapp_02.html
So JSTL/JSF could communicate the view layer via a speci
The new JSF spec does allow for Content-Type lookup, here's a bit of code
that I used in my implementation to find the content type out of that
header, it might be of some use to you or whoever:
protected static final Pattern PATTERN_CHARSET =
Pattern.compile(".*charset\\s*=\\s*([\\w\\-]+)(\\s*|;)
If I'm developing tags for JSP 2.0, then I don't have to explicitly call the
ExpressionEvaluator on an attribute within the tag since I will be receiving
the result of the expression evaluation?
I was thinking of doing that with JSF tags also using the DynamicAttributes
interface to allow possibly
This has been discussed lots before; I usually opt for ViewObjects that
match what is needed for rendering. It makes it really easy to make
modifications in the controller as to how the data is pulled while keeping
the view unchanged.
EmployeeView.getName()
EmployeeView.getDepartmentName()
Employ
Maybe you need to use a Database to store this data temporarily, something
all apps can access. Server A updates DB, Server B reads DB or reads data
provided from Server A in CSV, XML format.
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]
Sent: Monday, March 29, 2004 3:
A guy from BEA had posted on here about a week ago with a link to open
sourced page flows. I tried to get the sample up and running without any
success, of course if you run Weblogic, then you learn not to trust any
implementation/code BEA spits out...
Bitter,
Jacob Hookom
-Original Message-
LOL...
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 11:07 AM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] humour
Thats right have a laugh, but they'll see I'm right..
On 2 Apr 2004, at 18:58, Adam Hardy wrote:
> Since it's Friday and
On our last big project, we only used the struts:html taglib, everything
else we decided to use jstl.
So our tags were actually then since it was the only struts
library we needed.
-Original Message-
From: Bill Siggelkow [mailto:[EMAIL PROTECTED]
Sent: Monday, April 19, 2004 3:53 PM
To:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSessionListener
.html
-Original Message-
From: Anders Steinlein [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 5:11 PM
To: 'Struts Users Mailing List'
Subject: Keeping track of online users
Hi!
This might not be a str
Yeah, FTP is the way to go here... anyone that would have to deal with 1GB
files would have to be intelligent enough to run an FTP client vs. needing
to develop a web interface for them.
-Original Message-
From: Riyad Kalla [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 11:12 AM
To:
Configure your server to only accept requests in an SSL port.
-Original Message-
From: Nathan Maves [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 2:49 PM
To: Struts Users Mailing List
Subject: LIL OT sercurityfilter question
I have been using the sercurityfilter by Max Cooper.
I
Enough to take it into consideration. SSL (encryption) is expensive
especially
on heavy traffic sites.
On Monday 10 May 2004 01:04 pm, Nathan Maves wrote:
> How much of a performance loss would this be?
>
> On May 10, 2004, at 1:53 PM, Hookom, Jacob wrote:
> > Configure your server
40 matches
Mail list logo