is there example code for...

2001-08-07 Thread Tom Tibbetts
Hi all. Is there example code about how to implement saveToken and isValidToken methods. Core J2ee patterns gives a good talk on theory but they drop the ball with examples. Thanks in advance. Tom

Re: is there example code for...

2001-08-07 Thread Tom Tibbetts
Never mind, I found the answer in the archives and in the struts-example code. It was easy to miss.. At 09:41 AM 8/7/01 -0500, you wrote: Hi all. Is there example code about how to implement saveToken and isValidToken methods. Core J2ee patterns gives a good talk on theory but they

Digester and Factory methods

2001-08-24 Thread Tom Tibbetts
, that would be way cool. Thanks, Tom Tibbetts Confusion is a high state of being

Problem with Digester

2001-08-27 Thread Tom Tibbetts
I'm wondering if there's a way of registering a factory method with the Digester so that when addCreateObject creates an object, I can do additional setup of the object from within the factory method. Has anyone considered adding this to the Digester?? Thanks in advance, Tom Tibbetts

RE: Disgester Problem

2001-08-27 Thread Tom Tibbetts
Never mind on the earlier post. I created a new create rule which calls my factory method.

nesting bean:write inside of html:link

2001-08-27 Thread Tom Tibbetts
Hi All. Is it possible to nest a bean:write inside of html:link such as you have the following: html:link href=somepage.jsp?action=someactionid=bean:write name=somebean property=id / link text/html:link When I do this I get an error that attribute somebean is not found, even though it does

Re: nesting bean:write inside of html:link

2001-08-27 Thread Tom Tibbetts
I would then agree. It's kind of a pain to create special tags to handle stuff like this At 12:03 PM 8/27/01 -0700, you wrote: Sorry - nesting like this is not allowed in JSP (another of its weaknesses IMO). Tom Tibbetts wrote: Hi All. Is it possible to nest a bean:write inside

Re: nesting bean:write inside of html:link

2001-08-28 Thread Tom Tibbetts
name=somebean property=id //x:eval link text The actual implementation of eval is very simple - just a body tag that captures its content to a String and puts the String into the page context. Tom Tibbetts wrote: I would then agree. It's kind of a pain to create special tags to handle stuff like

Re: Digester and Factory methods

2001-08-28 Thread Tom Tibbetts
Thanks Craig. I did, in the meantime, just created my own rule that calls my factory method. Not as elegant as what you're doing. Thanks, again...Tom At 05:05 PM 8/27/01 -0700, you wrote: On Fri, 24 Aug 2001, Tom Tibbetts wrote: Date: Fri, 24 Aug 2001 09:52:30 -0500 From: Tom Tibbetts

how do I snoop responses

2001-08-29 Thread Tom Tibbetts
I know this is not a Struts question, but I'm looking for a (free) tool where I can enter in my URL in order to snoop HttpServletResponses so I can look at the MIME headers. Any help would be appreciated. Thanks

Re: how do I snoop responses

2001-08-29 Thread Tom Tibbetts
since I used it), but you could take a look at WebDebug: http://www.cyberclip.com/webdebug/ -- Martin Cooper - Original Message - From: Tom Tibbetts [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 29, 2001 9:43 AM Subject: how do I snoop responses I know

Re: how do I snoop responses

2001-08-30 Thread Tom Tibbetts
, Opera sends a post method to an asp script on rsp1.opera.com. Has anybody heard of this before? Tom Tibbetts At 10:37 AM 8/29/01 -0700, you wrote: I don't recall if this has the level of detail you're looking for (it's been a while since I used it), but you could take a look at WebDebug: http

file upload mangling files

2001-09-10 Thread Tom Tibbetts
Hi. What's the status on fixing the file upload problem of files getting mangled? I use Struts ver 1.0. Is there a fix available??? Thanks, This is very important to us. Tom Tibbetts

getting jsp:include to work behind WEB-INF wall

2001-09-12 Thread Tom Tibbetts
Hi All. I know this may not be totally germain, but I bring it up because I'm keeping all my JSPs behind the WEB-INF wall which is a Struts best practice The problem I'm having is that I want to use a jsp:include and the page I want to include is not showing up in my HTML output from

Re: getting jsp:include to work behind WEB-INF wall

2001-09-12 Thread Tom Tibbetts
://www.husted.com/about/struts/ Tom Tibbetts wrote: Hi All. I know this may not be totally germain, but I bring it up because I'm keeping all my JSPs behind the WEB-INF wall which is a Struts best practice The problem I'm having is that I want to use a jsp:include and the page I want

Re: getting jsp:include to work behind WEB-INF wall

2001-09-12 Thread Tom Tibbetts
Same result. Where can I get Tiles? How does it compare with Struts taglib??? What happens when you refer to a copy of sidenav.html that's at the root?

Re: getting jsp:include to work behind WEB-INF wall

2001-09-12 Thread Tom Tibbetts
/ tiles:add value=/WEB-INF/portlets/search.jsp / tiles:add value=/WEB-INF/portlets/advert3.jsp / /tiles:putList /tiles:insert What happens when you refer to a copy of sidenav.html that's at the root? Tom Tibbetts wrote: I'm now trying the template:insert

Re: Generic pooling vs Poolman

2001-09-24 Thread Tom Tibbetts
Or you could just avoid using Microsoft products ;-) At 12:01 PM 9/24/01 -0400, you wrote: Hi, I created a basic Struts prototype web application that creates, edits, and searches for users. I then used Microsoft Web Application Stres Tool (WAST) to test the performance of the Generic pool

Re: Form layout not specified until runtime...

2001-09-24 Thread Tom Tibbetts
Would dbForms be incompatible with Struts At 11:15 AM 9/24/01 -0400, you wrote: For an extremely database driven application, I'd take a look at dbForms.org -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 --

Re: multi form pages

2001-09-26 Thread Tom Tibbetts
I don't see why not. Each form is an entity on to itself At 10:10 AM 9/26/01 -0400, you wrote: There's been quite a bit of discussion on the list about multi-page forms, but nothing on multi-form pages. Does anyone know if a single jsp can contain more than one form section that reference

Re: Struts capability to support file downloads

2001-10-04 Thread Tom Tibbetts
Hi Scott. not that I know of. I ended up grabbing the ServletOutputStream from the response and streaming my file to the client that way. On the JSP, I create a link that points to action mapping I've designated to do the download. Remember to set the content type of the file. For the

Re: Struts capability to support file downloads

2001-10-04 Thread Tom Tibbetts
don't know the proper open sesame Tom At 02:24 PM 10/4/2001 -0400, you wrote: Hi Tom, Not sure on how to stop it. Is it something to do with the checkbox on IE's File Download dialog which says Always ask...? Dave PS I get 2 dialogs on netscape two! Tom Tibbetts [EMAIL PROTECTED] on 10/04

off subject ANT

2001-11-14 Thread Tom Tibbetts
in advance, Tom Tibbetts -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: off subject ANT

2001-11-14 Thread Tom Tibbetts
lack the Manifest file? As far as I know, it is not optional, but REQUIRED; otherwise, the app will not work. Hope it helps Luis - Original Message - From: Tom Tibbetts [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 12:40 PM Subject: off subject ANT Hi All

Re: off subject ANT

2001-11-14 Thread Tom Tibbetts
may have missed your intention) Sandeep --- Tom Tibbetts [EMAIL PROTECTED] wrote: Hi All, I know this is outside of Struts, but there seem to be a lot of Ant users here and I'm not getting any useable answers to an Ant question I have from the ANT user's list. Basically, the problem I

RE: off subject ANT

2001-11-14 Thread Tom Tibbetts
, or is it a general problem with your .war file? I am using the war... task with JBoss and it works perfectly. -moritz. -Original Message- From: Tom Tibbetts [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 5:15 PM To: Struts Users Mailing List Subject: Re: off subject ANT

RE: Re: off subject ANT

2001-11-14 Thread Tom Tibbetts
on case sensitivity. Tom Tibbetts [EMAIL PROTECTED] wrote: Yes, it does have the manifest file. It is generated by ANT. BTW, I'm using the war ... / task. There is nothing really of import in the manifest file generated by either jar or ant; just a 2 line signature. At 12:55 PM 11/13