RE: Compressing your struts for faster transfer

2004-05-25 Thread Hookom, Jacob
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

RE: Pagination of Query Results Without Getting All Results At On ce

2004-05-25 Thread Hookom, Jacob
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

RE: [JSTL] accessing rows by index

2004-05-26 Thread Hookom, Jacob
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

RE: Strategies for Clearing Session Objects

2004-05-27 Thread Hookom, Jacob
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

RE: Session size

2004-05-27 Thread Hookom, Jacob
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

RE: [OT] thick client functionality in the browser

2004-06-09 Thread Hookom, Jacob
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:

RE: [OT] thick client functionality in the browser

2004-06-09 Thread Hookom, Jacob
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

RE: HTML pages convert to Struts/JSP pages

2004-06-09 Thread Hookom, Jacob
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

RE: Rendering Images

2004-06-15 Thread Hookom, Jacob
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

RE: [OT] RE: Rendering Images

2004-06-15 Thread Hookom, Jacob
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

RE: [OT] RE: Rendering Images

2004-06-15 Thread Hookom, Jacob
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

RE: Rendering Images

2004-06-16 Thread Hookom, Jacob
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

RE: Theoretical debate

2004-06-17 Thread Hookom, Jacob
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

RE: Theoretical debate

2004-06-17 Thread Hookom, Jacob
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

RE: Theoretical debate

2004-06-18 Thread Hookom, Jacob
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

RE: How to handle refresh

2004-06-21 Thread Hookom, Jacob
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

RE: How to handle refresh

2004-06-21 Thread Hookom, Jacob
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

RE: Preventing user from validating a form twice

2004-06-22 Thread Hookom, Jacob
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

RE: [OT] FW: Timothy J Theis is out of the office

2004-06-25 Thread Hookom, Jacob
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

RE: [OT] Anatomy of a long URL

2004-06-28 Thread Hookom, Jacob
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

RE: [OT] Anatomy of a long URL

2004-06-28 Thread Hookom, Jacob
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

RE: [OT] Netscape 7.1 WOW!

2004-06-30 Thread Hookom, Jacob
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

RE: What Is Wrong With This Tag?

2004-07-01 Thread Hookom, Jacob
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

RE: Dynamic data html generation

2004-07-08 Thread Hookom, Jacob
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

RE: Theoretical debate

2004-07-09 Thread Hookom, Jacob
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

RE: Theoretical debate

2004-07-09 Thread Hookom, Jacob
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 ---

[OT] Get Servlet Mapping at Runtime

2004-07-09 Thread Hookom, Jacob
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

RE: [OT] Get Servlet Mapping at Runtime

2004-07-09 Thread Hookom, Jacob
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

RE: JSF vs Struts

2004-07-19 Thread Hookom, Jacob
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

RE: Re[3]: character encoding

2004-07-21 Thread Hookom, Jacob
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*|;)

RE: OT jstl/el question

2004-07-29 Thread Hookom, Jacob
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

[OT] RE: best practice question for certain VO/DTO fields?

2004-03-29 Thread Hookom, Jacob
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

RE: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Hookom, Jacob
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:

RE: Anyone using Weblogic Page Flows

2004-04-02 Thread Hookom, Jacob
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-

RE: [FRIDAY] humour

2004-04-02 Thread Hookom, Jacob
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

RE: JSTL vs Struts-el

2004-04-19 Thread Hookom, Jacob
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:

RE: Keeping track of online users

2004-04-20 Thread Hookom, Jacob
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

RE: Struts File-Upload performance issue

2004-05-10 Thread Hookom, Jacob
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:

RE: LIL OT sercurityfilter question

2004-05-10 Thread Hookom, Jacob
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

RE: LIL OT sercurityfilter question

2004-05-10 Thread Hookom, Jacob
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