Shouldn't we be caching 'Method' objects too?

2001-07-06 Thread Ned Seagoon
Hi Guys, Just been zooming round the source and have aquestion. In the property utils we cahce the property descriptors, but then unfortunately we do a linear search (of strings!) through these returned values to find the correct Method to call. Instead of going through all that malarky,

Re: Struts with different User-Agents

2001-06-29 Thread Ned Seagoon
Hi Sean, we've done this here, targetting various platforms. what we had to do was: build template action that automatically checks for browser and sets a session bean with the type wraps the mapping up an a class called MapperEx which when somebody does a findForward, stick the platforms

Re: Dreamweaver and Struts 1.0 - updated translator now available..

2001-06-18 Thread Ned Seagoon
Hi Don, I'd be very interested to see this - we currently use a bunch of custom icons for displaying this inside DW... clunky but it works... Cheers Ned - Original Message - From: Karen To: [EMAIL PROTECTED] Sent: Thursday, June 14, 2001 1:01 PM Subject:

Re: Window Resize == Form Submit?

2001-04-13 Thread Ned Seagoon
is this anything to do with the netscape resize bug workaround? Earlier versions of netscape could have problems when resizing the windows, so people coded pages to to a reload after a resize. Apps like dreamweaver can add this javascript to your page automatically. Regards Ned - Original

relative url problems.

2001-04-11 Thread Ned Seagoon
Hi guys, I have a problem with relative urls. If I have an entry like actionpath="/showDetails" type="" forward name="success" path="/details/show.jsp" / /action and then /details/show.jsp starts to use relative paths, then things like images do not get found, because the browser

Class reloading?

2001-02-28 Thread Ned Seagoon
Hi guys, Just wondering about the situation that arises when an Action class is changed in a running struts environment. I was under the impression that a single instance of an action class is created and run inside multiple threads, yet if I recompile the class and re-run the action then

Re: Help with the Iterate tag

2001-02-25 Thread Ned Seagoon
Hey Cameron, One thing your code is missing is a call to put the "impl" variable into a place the jsp can see it, like : request.setAttribute("loadImpl",impl); if you did just that, your jsp tag would look like: logic:iterate id="impl" name="loadImpl" The way you have your tag at the

Re: help! confused... now contains a proposal

2001-02-21 Thread Ned Seagoon
Hi Hal, thanks for your mail Yep that would be one solution if the population if the bean required on the form page was 'static', but in the case I was referring too it needed the item id to look up. I would imagine that it might be done by sending actionforms with the id in backwards and

Re: help! confused over forms and errors and oooh, other stuff :-)

2001-02-21 Thread Ned Seagoon
Of course, it is not easy from the first time. I am sorry, I do not know how resolve your problem, but try to insert a package log4j from jakarta to print out all values / attributes to see where you loose them. I wish you the best, as for us too. Please, do not panic. Maya Ned Seagoon wrote:

RE: help! confused over forms and errors and oooh, other stuff :- )

2001-02-21 Thread Ned Seagoon
Hi Mark, thanks for the reply If I understand your problem correctly, then I don't think you have missed anything. I would be interested to know how you would solve the problem in a non-struts environment. Unless your item details object is in session scope, then it will not survive across

Re: help! confused... now contains a proposal

2001-02-21 Thread Ned Seagoon
Ned Seagoon wrote: I reckon the way to approach this is to modify ActionForm handling. I would add a field to this which holds the HttpServletRequest which gets set when the form is created/retrieved in ActionServlet.processActionForm. From: "Craig R. McClanahan" [EMAIL

help! confused over forms and errors and oooh, other stuff :-)

2001-02-20 Thread Ned Seagoon
Hi Guys, I wonder if you could help me out a little please? I am in the middle of developing a proof of concept app with struts. If this comes off the company could migrate away from a proprietary framework to struts, which I am in favour of. I seem to have confused myself over an issue

Re: Problem w/ Struts and VA for Java

2001-02-20 Thread Ned Seagoon
Hi Tom, I'm using VAJ 3.5.2 with Tomcat 3.2.1 with no problems at all. Here is my setup: Get rid of any IBM WTE stuff Import the servlet.jar from tomcat into it's own project Import all the struts source and resources into its own project Create a class in a package in another project called

Re: help! confused over forms and errors and oooh, other stuff :-)

2001-02-20 Thread Ned Seagoon
be it, but I'd rather hope they were handled somewhere. Worst case scenario is that we don't use struts at all. Regards Ned - Original Message - From: "Ned Seagoon" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 11:47 AM Subject: help! confused over forms

jsp rendering to session property for caching?

2001-02-02 Thread Ned Seagoon
Hi all, wonder if you can help with ideas of how I can achieve this: I need to include two portions of html on every page - a tree structure which references layers that are included at another section of the page. Both of these sections will contain a lot of iteration and bean accesses and

Re: IE4.0 / linked stylesheet problem?

2001-01-31 Thread Ned Seagoon
Ignore me! This is not a webserver problem. The stylesheets I was given had underscores in their class names - that's what was screwing IE4, but it appeared fine in IE5 sorry everyone Ned From: "Ned Seagoon" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subj

New formatted output tag

2001-01-04 Thread Ned Seagoon
Hi all, Here is the latest incarnation of my formatted output tag and supporting classes. Source code, javadocs and tld files are included. BTW, I’ve started packaging everything I consider as an extension to Struts under the same package names, but starting with org.apache2.xx. Comments

agh! Suddenly Tomcat does not start with struts!

2000-12-28 Thread Ned Seagoon
Hi Guys, hope you all had a good xmas... I tried to start up struts-29/11/00 with tomcat 3.1 (inside VAJ 3.5p2) today and had the following errors. Anybody got any ideas? BTW, it worked ok last week! I also checked all the .xml files and they don't seem to have any structural errors in

Re: agh! Suddenly Tomcat does not start with struts!

2000-12-28 Thread Ned Seagoon
From: "Ted Husted" [EMAIL PROTECTED] Anybody got any ideas? Update to Tomcat 3.2.x if you can. Tomcat 3.1 is, well, "deprecated". Yeah, I tried 3.2 but couldn't get it working, so went back to 3.1 to continue developing. Like I said, it was working correctly, now it suddenly breaks. I

List web site - was RE: A great Shockwave flash movie

2000-12-22 Thread Ned Seagoon
Yep, this should be done somehow. There are obviously a bunch of us writing extra functionality for struts which would probably be useful to others, but is not appearing in the struts source. I suggest we have some kind of per person logon, and that person can control only the files they

Re: Bad Multi-Threading Performance

2000-12-21 Thread Ned Seagoon
Here, as promised is my FreeMap (was AccumulatorMap). Reads don't require any syncronization and thus run nice and fast... Comments people? Regards And a merry xmas if I don't speak to you before... Ned _ Get Your

Re: Bad Multi-Threading Performance

2000-12-21 Thread Ned Seagoon
Here, as promised is my FreeMap (was AccumulatorMap). Reads don't require any syncronization and thus run nice and fast... Comments people? Regards And a merry xmas if I don't speak to you before... Ned _ Get Your

Re: Bad Multi-Threading Performance

2000-12-20 Thread Ned Seagoon
From: Matthew Strayer [EMAIL PROTECTED] The situation you describe does not cause deadlock because the wait() call in thread 2 releases the synchronized lock. Ahh - didn't realise that! It's not been in any docs I've read before. Now, i've found it buried now in 4 lines of page 184 of

Re: Re[2]: Locale access from within a bean?

2000-12-13 Thread Ned Seagoon
Thanks for that, Oleg, now here's my take on this. I have created another tag called WriteNumberTag which contains lots of code stolen from WriteTag and MessageTag, and contains a mix of parameters from the pair of them. Usage is like WriteTag, except that you *must* supply a property

Re: thought on design

2000-11-22 Thread Ned Seagoon
From: Pierre Métras [EMAIL PROTECTED] Have a look at the new ActionError and ActionErrors classes in version 1.0. Though there's not yet an accompanying tag to display specific errors, they do what you've described: Cheers, I'll have a look at that I've not tried it, but when the