Re: Cannot call more than once!

2004-11-06 Thread Mick Wever
> > There is a simple solution. In the c:import specify an absolute URL. > I am having the same issue as you were last month. I am using OC4J (AS > 10g) and can not nor more than one Struts >action > on the same JSP. I saw that you worked around the issue by using an > absolute URL with . I

Re: FieldChecks change signature and no longer returns value

2004-10-14 Thread Mick Wever
> Gentoo now has the latest version. You're responsible for the ebuild? Thanks! But doesn't build: >>> Source unpacked. Buildfile: build.xml does not exist! Build failed Mick. -- --- "The reward of patience is patience." St. Augustine http://www.harryspractice.com.au>Harry's Practice --- --

Re: Cannot call more than once!

2004-10-14 Thread Mick Wever
On Thu, 14 Oct 2004 07:17:34 -0400, Kris Schneider wrote: > It's got nothing to do with JSTL and everything to do with your Struts > action. The Struts controller effectively performs the forward with the > result of your action's execute method. Yes, can work perfectly > well when used multiple

Re: Cannot call more than once!

2004-10-14 Thread Mick Wever
> It's got nothing to do with JSTL and everything to do with your Struts > action. The Struts controller effectively performs the forward with the > result of your action's execute method. Yes, can work perfectly > well when used multiple times in a page. For URLs that are within the same > contex

Re: Cannot call more than once!

2004-10-14 Thread Mick Wever
On Wed, 13 Oct 2004 13:59:32 -0400, Kris Schneider wrote: > I'm not sure he actually intended to do multiple forwards, it seems like > he just wanted to reuse an action to generate some common output. The > fact that Struts is performing an implicit forward in response to each > of those imports c

Cannot call more than once!

2004-10-13 Thread Mick Wever
I think I've got a very annoying "Response has already been committed" problem narrowed down... The follwing jsp code does not work for me: <%@ taglib uri="c.tld" prefix="c" %> Because during the c:import the response is committed, and when the second (or third) c:import

Re: FieldChecks change signature and no longer returns value

2004-10-12 Thread Mick Wever
> Version 1.2.2 was downgraded from "ga" quality because of problems so its > not a good idea to use it in general. Current release version is 1.2.4 and > this issue was fixed in that version. Sorry, failed to look that far ahead :$ Gentoo, unfortunately is still publishing 1.2.2 :( > P.S. I ass

Re: FieldChecks change signature and no longer returns value

2004-10-12 Thread Mick Wever
> After updating to version 1.2.2 > FieldsCheck.validateInteger(..) now returns a boolean indicating success > rather the value. This has broken our code and we need the value. Is > there a substitute method now? I've tracked this down to a patch done under bug#26413. http://issues.apache.org/bug

FieldChecks change signature and no longer returns value

2004-10-12 Thread Mick Wever
After updating to version 1.2.2 FieldsCheck.checkInteger(..) now returns a boolean indicating success rather the value. This has broken our code and we need the value. Is there a substitute method now? Mick. -- "It is not enough to have a good mind; the main thing is to use it well." Descartes

What's best practice to determine correct jsp buffer size?

2004-05-28 Thread Mick Wever
Read in a couple of places setting the jsp buffer size helps performance.. atleast you can tweak between performance and memory usage... Anyone know how to determine what is the best size for setting the jsp buffer size [response.setBufferSize(..)] ? I'm using tiles, and when I use: LOG.info("

Re: How to renderize a image?

2004-05-26 Thread Mick Wever
On Wed, 26 May 2004 10:26:34 -0300, Paulo Rezende wrote: > It's a way but I really dont like it. If I copy all the fields of a table > to properties of the form, why i dont can copy also the image to a Blob in > the form and use it? Do I need to create another connection with db and > run another s

RE: Links relative to jsp not action in Opera

2004-05-26 Thread Mick Wever
On Wed, 26 May 2004 14:52:08 +0200, Kransen, J. wrote: >> I'm not sure on how to use the html:base tag in the opposite manner, ie >> the href to be that of the struts action's path not the jsp's path? > > Indeed it seems impossible to create a tag containing an action path > instead of a jsp path

RE: Links relative to jsp not action in Opera

2004-05-26 Thread Mick Wever
On Wed, 26 May 2004 13:49:34 +0200, Kransen, J. wrote: > You probably already know, but you can use Struts tag to > dynamically create the base tag. This works great as you don't have to edit > the tag if you move the page or change the server for example. It also > creates the full "http://host/

RE: Links relative to jsp not action in Opera

2004-05-26 Thread Mick Wever
On Wed, 26 May 2004 13:28:23 +0200, Kransen, J. wrote: > Do you have a tag inside your ? No, but I'm playing around with that now... One problem that arises from using the base tag is browser differences: IE: server name and port required in base href Firefox: base tag doesn't work at all Op

Re: Links relative to jsp not action in Opera

2004-05-26 Thread Mick Wever
On Wed, 26 May 2004 07:14:52 -0400, James Mitchell wrote: > Opera should know nothing about your jsp, unless you are doing something > else wrong. Are you using redirects or forwards? Indeed I would think so too. There are naturally no differents in the html source between the different browsers,

Links relative to jsp not action in Opera

2004-05-26 Thread Mick Wever
When our webpages are viewed with opera all our links are relative to the jsp used (within tiles) not the actual url/action given. Is there some way of changing the response so that the url is correct and relative links don't reference the jsp? Mick. -- -- "It is not enough to have a good mind;