Re: [OS-webwork] passing values to a action

2003-03-13 Thread boxed
> after getting the value thru the querystring qid how do i set it to a > method in my class and send it as a parameter. > > in my class i have a method called > public void setQID(int _qid){ > this._qid=_qid; > } > > and in my JSP, > > > > -- i t

Re: [OS-webwork] passing values to a action

2003-03-13 Thread Snehal K.Gandhi
hi after getting the value thru the querystring qid how do i set it to a method in  my class and send it as a parameter. in my class i have a method called public void setQID(int _qid){ this._qid=_qid; } and in my JSP,                                 -- i tried this bu

Re: [OS-webwork] (somewhat OT) velocity vs jsp

2003-03-13 Thread Hani Suleiman
Well, again, that tests webwork, not jsp vs velocity. A 'real' test would be one where webwork is NOT part of the equation, or at least, there is a VERY thin 'glue' UI specific layer. Also using tomcat for any kind of performance test like this one would be rather...silly. It'd be like using jb

Re: [OS-webwork] (somewhat OT) velocity vs jsp

2003-03-13 Thread Rickard Öberg
Hani Suleiman wrote: Alright, so based on the feedback so far, the consensus seems to be: webwork jsp UI tags are much slower than velocity equivalents. So the culprit seems to be the webwork UI tags, not jsp itself. Well, it's the base JSP include overhead that is bad, really. Including a JSP h

Re: [OS-webwork] (somewhat OT) velocity vs jsp

2003-03-13 Thread Scott Farquhar
Hani, It is fairly simple to test - given that CVS HEAD has tags based on either velocity or jsp. There are two sources of potential slowness with jsp: - parsing & rendering overhead - rd.include() overhead. From my experience both of the above can be reduced by using velocity. Tomcat (until r

[OS-webwork] RE: retrive values from a querystring

2003-03-13 Thread Jason Carreira
In WW 1.x you can use . Patrick, is there a way to do this with Ognl? > -Original Message- > From: Snehal K.Gandhi [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2003 12:36 PM > To: [EMAIL PROTECTED]; Jason Carreira > Subject: retrive values from a querystring > > > hi > how do i

[OS-webwork] retrive values from a querystring

2003-03-13 Thread Snehal K.Gandhi
hi how do i get values from a querystring inanother page here i'm passing the qid to result.jsp, how do i get the value of the qid i tried in my result,jsp how to do it? thnx regards snehal -- Snehal K. GandhiSIP Technologies & Exports Ltd., Software Engineer G4 Elnet SoftwareCity,

Re: [OS-webwork] (somewhat OT) velocity vs jsp

2003-03-13 Thread Hani Suleiman
Alright, so based on the feedback so far, the consensus seems to be: webwork jsp UI tags are much slower than velocity equivalents. So the culprit seems to be the webwork UI tags, not jsp itself. On Thursday, March 13, 2003, at 12:13 PM, boxed wrote: scriptlets will probably be almost as fast,

RE: [OS-webwork] can't grok XWork Result workings

2003-03-13 Thread Jason Carreira
> -Original Message- > From: Trevor Squires [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2003 4:21 AM > To: Webwork List > Subject: Re: [OS-webwork] can't grok XWork Result workings > > > > Yowch. > > I think I've figured out what the 'magic' was. It would > appear that th

Re: [OS-webwork] (somewhat OT) velocity vs jsp

2003-03-13 Thread boxed
> scriptlets will probably be almost as fast, I'm guessing. Tags could be much > slower, since the way that containers handle tags is different for each > container. As I've understood it the tag overhead itself isn't really that big of an issue, the tags ARE reused after all. The JSP include the

Re: [OS-webwork] Link & QueryString

2003-03-13 Thread Snehal K.Gandhi
anyway i found it out, thnx for the reply, this one works. thnx snehal Cathal Cullinane wrote: try something like this or hope this is a help -Original Message- From: Snehal K.Gandhi [mailto:[EMAIL PROTECTED] Sent: 13 March 2003 11:53 To: Jason Carreira; opensymphony-webwork Su

Re: [OS-webwork] Link & QueryString

2003-03-13 Thread Snehal K.Gandhi
no it's not working, in this the ID is displayed and not set as a QueryString, even i'm able to display it but, setting it as a querystring is creating problems any other way for this snehal Cathal Cullinane wrote: try something like this or hope this is a help -Original Message-

RE: [OS-webwork] Link & QueryString

2003-03-13 Thread Cathal Cullinane
try something like this or hope this is a help -Original Message- From: Snehal K.Gandhi [mailto:[EMAIL PROTECTED] Sent: 13 March 2003 11:53 To: Jason Carreira; opensymphony-webwork Subject: [OS-webwork] Link & QueryString jason i'm using Iterator and get some values fom the da

[OS-webwork] Link & QueryString

2003-03-13 Thread Snehal K.Gandhi
jason i'm using Iterator and get some values fom the database, and i need to give a link to the value and in that link i need to pass parameters (i,e thru querystring). how do i pass the values thru the querystring This is my code and the parameter for result.jsp?qid is null. hopw do i get it?

Re: [OS-webwork] can't grok XWork Result workings

2003-03-13 Thread Trevor Squires
Yowch. I think I've figured out what the 'magic' was. It would appear that there is only once instance for each class of an interceptor. This is pretty counter-intuitive to me as interceptors are defined on a per-package basis in the xml config file. Not only that but won't the AbstractInterce

[OS-webwork] can't grok XWork Result workings

2003-03-13 Thread Trevor Squires
Hey, I'm struggling a bit over XWork's Result, ActionChainResult and ResultInterceptor. It all started because: a) if I try to createActionProxy for an action that doesn't exist I get a ConfigurationException. b) ActionChainResult and ResultInterceptor swallow exceptions when the action I re

Re: [OS-webwork] (somewhat OT) velocity vs jsp

2003-03-13 Thread Anders Engström
On Thu, Mar 13, 2003 at 07:29:06AM +0100, Rickard Öberg wrote: > Hani Suleiman wrote: > >Most people seem to be in agreement that velocity templates are at least > >an order of magnitude faster that jsp pages, which to me seems a > >bit...odd. So I was wondering if anyone has good (small) example