RE: Tags rewrite wrong action url

2005-01-15 Thread David G. Friedman
Then perhaps the issue is the context rewriting in the mod_jk/mod_jk2 mapping? Regards, David -Original Message- From: Yufan Shi [mailto:[EMAIL PROTECTED] Sent: Saturday, January 15, 2005 9:54 PM To: 'Struts Users Mailing List' Subject: RE: Tags rewrite wrong action url Hi, Strange,str

Re: problem submiting List-Backed Indexed ActionForm

2005-01-15 Thread Curtis Taylor
Hi Oleg, Have a look here: http://wiki.apache.org/struts/StrutsCatalogLazyList I've found these techniques to be invaluable. HTH, -- Curtis Oleg wrote: I am initializing ArrayList fields in reset(), but code is ommited. I wish it was that easy :) ---

Re: sales@lemeridienkovalam.com

2005-01-15 Thread Eddie Bush
... I'm really irritated at the deluge of messages too, but that's not reason to get so agressive ... hate is a four-letter word, and not to be used so lightly. We don't hate you, but we would really appreciate you unsubscribing the account if it's not being used anymore. To do this, please use t

exception frustrations - solved

2005-01-15 Thread Nathan Coast
Hi, I've been strugling for a while with exception handling. I've been trying to ensure: 1) all exceptions are displayed consistently regardless of where / how the exception is raised. 2) the root cause exception is always displayed, I'm not saying this is the best solution, nor even a 'correct

RE: Tags rewrite wrong action url

2005-01-15 Thread Yufan Shi
Hi, Strange,strange and strange. In my another application running on the root context of tomcat's one vhost, everything is ok... The only difference between the two application is that the version of tomcat. one is 5.0.19, while the other one is 5.0.28. Yufan Shi We are Online! http://www.ivan

RE: Tags rewrite wrong action url

2005-01-15 Thread Yufan Shi
Hi, Strange,strange and strange. In my another application running on the root context of tomcat's one vhost, everything is ok... The only difference between the two application is that the version of tomcat. one is 5.0.19, while the other one is 5.0.28. Yufan Shi We are Online! http://www.ivan

Re: problem submiting List-Backed Indexed ActionForm

2005-01-15 Thread Oleg
I am initializing ArrayList fields in reset(), but code is ommited. I wish it was that easy :) On Sat, 15 Jan 2005 19:17:09 -0600, Kishore Senji <[EMAIL PROTECTED]> wrote: > Looks like you are not properly initializing your "fields" (ArrayList) > in FormActionForm. You should initialize it while

Re: problem submiting List-Backed Indexed ActionForm

2005-01-15 Thread Kishore Senji
Looks like you are not properly initializing your "fields" (ArrayList) in FormActionForm. You should initialize it while declaring or in the reset() On Sat, 15 Jan 2005 17:06:33 -0800, Oleg <[EMAIL PROTECTED]> wrote: > I finally got it to display, no problem, however there is an error > when I s

problem submiting List-Backed Indexed ActionForm

2005-01-15 Thread Oleg
I finally got it to display, no problem, however there is an error when I submit: java.lang.NullPointerException org.apache.commons.beanutils.PropertyUtils.getIndexedProperty Here is what I got so far. Struts Version 1.2.4. My FormActionForm includes an ArrayList fields of Bean Field. F

Re: Problem using mechanismen

2005-01-15 Thread Kishore Senji
On Sun, 16 Jan 2005 01:02:50 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hubert Rabago wrote: > > >Yes. You could've been using a pre-1.1 struts.jar. > > > > > Ok, i found the old jar. My first Problem is solved ;-). > > But the next Error is comming. I don't use tiles and get the foll

Re: Problem using mechanismen

2005-01-15 Thread listed
Thank You! I didn't saw the Controller-Tag. Now its running :-). The Happy Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problem using mechanismen

2005-01-15 Thread David G. Friedman
Take out this from your struts-config.xml: Why? The claim is that tiles isn't being used so you don't need a controller line listing the TilesRequestProcessor. The exception shows Tiles is blowing up during the tiles initialization process, which usually means a problem exists with your tiles-

Re: Problem using mechanismen

2005-01-15 Thread listed
Hubert Rabago wrote: Yes. You could've been using a pre-1.1 struts.jar. Ok, i found the old jar. My first Problem is solved ;-). But the next Error is comming. I don't use tiles and get the following Exception. I read in in the mailing-archive that someone had solved the Problem. http://www.

Re: problem with List-Backed Form

2005-01-15 Thread Dakota Jack
Could you restart this thread under another name and show us what you have now on your JSP page and in your Action and ActionForm? That would clarify things so you could get a clear answer. Jack - To unsubscribe, e-mail: [EMAIL

Re: problem with List-Backed Form

2005-01-15 Thread Oleg
You are absolutely right and I finally got it dsiplaying the way I want it, still on submit I get java.lang.NullPointerException org.apache.commons.beanutils.PropertyUtils.getIndexedProperty On Sat, 15 Jan 2005 15:23:20 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote: > If you have a select

Re: sales@kovalamhotel.com

2005-01-15 Thread Hubert Rabago
This seems to be a different address than the one that was unsubscribed. Sent a notice to the dev list (i'm sure you saw it), and James sent a message saying he's removed this, too, so the messages should stop now. On Sat, 15 Jan 2005 15:25:38 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote: > They

sales@lemeridienkovalam.com

2005-01-15 Thread Dakota Jack
Please get off Struts. We all hate you. Jack -- -- "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~ "You can't wake a person who is pretending to be asleep." ~Native Proverb~ "Each man is good in His sight. It is not neces

Re: Struts chainging problem ?

2005-01-15 Thread Dakota Jack
I have to state that chaining actions, even if you want to do that, is a bad policy. As others have pointed out on the list, you can instantiate the actions down the chain inside one another and avoid chaining actions and still get the desired behavior. However, creating a utility class in the mo

sales@kovalamhotel.com

2005-01-15 Thread Dakota Jack
They're back! They must have resubscribed. I emailed them and notified them a day or so ago about this problem. No response to that. Jack -- -- "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~ "You can't wake a person who i

Re: problem with List-Backed Form

2005-01-15 Thread Dakota Jack
If you have a select, you don't want an ArrayList from request scope. You want the value selected to be the value of the option name. Right? Also, you can do indexed properties with JSTL. Jack On Sat, 15 Jan 2005 14:31:27 -0800, Oleg <[EMAIL PROTECTED]> wrote: > Ok I got I think, the problem

Re: Problem using mechanismen

2005-01-15 Thread Hubert Rabago
Yes. You could've been using a pre-1.1 struts.jar. On Sat, 15 Jan 2005 23:54:37 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hubert Rabago wrote: > > >Looks like you're using an obsolete jar. The spec you implemented is > >using ModuleConfig, yet the jar you're deploying is using the >

Re: Problem using mechanismen

2005-01-15 Thread listed
Hubert Rabago wrote: Looks like you're using an obsolete jar. The spec you implemented is using ModuleConfig, yet the jar you're deploying is using the deprecated ApplicationConfig. Hubert Thank you for the Tip. I looked for obsolete jar but i could not found anything. I downloaded the Version

Re: Problem using mechanismen

2005-01-15 Thread Hubert Rabago
> java.lang.AbstractMethodError: control.plugin.WatchdogPlugin.init(Lorg/apache/struts/action/ActionServlet;Lorg/apache/struts/config/ApplicationConfig;) > > public void init(ActionServlet servlet, ModuleConfig config) > throws ServletException { > logger.debug("Enter Watchdog

Re: problem with List-Backed Form

2005-01-15 Thread Oleg
Ok I got I think, the problem is, silly of me to miss it, is that the action to which I am posting using a different ActionForm :) that would screw things up :)/ Problem is that I have to use that ActionForm, so now I have to do it porgrammatically, but from what I understand I cant get an ArrayLi

Re: problem with List-Backed Form

2005-01-15 Thread Oleg
Ok I tried that and a couple of more things. I can see what Kishore trying to do, using indexed properties. However using login iterate loop with indexed property didnt work and I was getting: cannot find fields[0].label in the bean. So I replaced that with

Re: problem with List-Backed Form

2005-01-15 Thread Oleg
Ok I tried that and a couple of more things. I can see what Kishore trying to do, using indexed properties. However using login iterate loop with indexed property didnt work and I was getting: cannot find fields[0].label in the bean. So I replaced that with

Problem using mechanismen

2005-01-15 Thread listed
Hi, i would like to use my own components to be plugged in and loaded dynamically but i get everytime the same exception. The error eccoured when the Servlet executes. I have no idea where the Problem is. I am happy about every tip. Thanxx Greets Jens ## The Excep

Re: validwhen confusion

2005-01-15 Thread Kishore Senji
On Sat, 15 Jan 2005 15:08:17 -0500, Todd Nine <[EMAIL PROTECTED]> wrote: > Hi All, > I am having trouble getting my mind around the boolean expression > semantics of the validwhen validator. Consider the following example. > > I have a form with two possible input groups depending on the user >

validwhen confusion

2005-01-15 Thread Todd Nine
Hi All, I am having trouble getting my mind around the boolean expression semantics of the validwhen validator. Consider the following example. I have a form with two possible input groups depending on the user selection. If the entity is an individual, then I need to require firstName etc.

Re: sales@lemeridienkovalam.com

2005-01-15 Thread Dakota Jack
Looks like it, James. Thanks a million. Jack On Sat, 15 Jan 2005 13:48:34 -0500, James Mitchell <[EMAIL PROTECTED]> wrote: > I take it that worked? > > > -- > James Mitchell > Software Engineer / Open Source Evangelist > EdgeTech, Inc. > 678.910.8017 > AIM: jmitchtx > > - Original Messag

RE: Tags rewrite wrong action url

2005-01-15 Thread David G. Friedman
Yufan, This is a known problem with Struts IF Struts is used as a ROOT webapp. It probably happens with any container or app server, not just Tomcat. A post back in November (25th, 2004) wrote the easiest current way to fix it would be to hack a line or two if the RequestProcessor.processForward

RE: Help with the import errors please

2005-01-15 Thread David G. Friedman
Avinash, Two quick questions: 1) If you are new why are you using Struts v1.1 when V1.2.4 is the current stable release? 2) Is your error when you are compling? If so, how are you compiling? Ant, and IDE such as Eclipse, etc? For Ant you need to add the jars from the WEB-INF/lib/ directory to

Help with the import errors please

2005-01-15 Thread Avinash Sridhar
Hi All, I am new using Struts 1.1 , Tomcat 5.0.28 and Java 1.4.2.I am getting theses errors although i have imported these c.tld struts-bean-el.tld struts-html-el.tld struts-logic-el.tld In the WEB-INF directory And commons-beanutils.jar commons-collections.jar commons-digester.jar commo

Re: sales@lemeridienkovalam.com

2005-01-15 Thread James Mitchell
I take it that worked? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "James Mitchell" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, January 15, 2005 9:17 AM Subject: Re: [EMAIL PROTE

Re: struts html:base tag and port 8080

2005-01-15 Thread Jim Barrows
On Sat, 15 Jan 2005 03:36:36 -0800 (PST), Vilpesh Mistry <[EMAIL PROTECTED]> wrote: > hi, > iam using struts and making a website. > > I think this whole is configuring apache and tomcat, > please specify how do i configure tomcat so that when > i access > > http://localhost/simliv/action/welcom

Re: Struts chainging problem ?

2005-01-15 Thread Jim Barrows
On Fri, 14 Jan 2005 18:12:24 -0800 (PST), Manisha Sathe <[EMAIL PROTECTED]> wrote: > I do know what exactly could be the problem > > I am having one JSP which calls Main Action Handler - this does some database > job and get userid. This id i want to pass it to another page. If it is a > direct

Re: AW: announce petstore demo

2005-01-15 Thread Dakota Jack
I agree. Frank Zammetti (SP?) decries this sort of thing and rightly so. Jack On Sat, 15 Jan 2005 14:06:25 +0100, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > This was second time I've heard about xmoon, so I thought I'll take a look. > The third source file I opened: > > package org.xmoon.u

Re: Stuts forwarding does not work

2005-01-15 Thread Dakota Jack
Just check Logon_jsp.java:85 and it will tell you what is wrong. Jack On Sat, 15 Jan 2005 12:25:06 -0500, David G. Friedman <[EMAIL PROTECTED]> wrote: > Alex, > > The below Stack Trace "snippet" suggests you had some sort of exception in > your Logon jsp, line 85, while trying to use something

Re: Tags rewrite wrong action url

2005-01-15 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tags rewrite wrong action url

2005-01-15 Thread Yufan Shi
Hi all, It's a strange problem. I have a struts-based web application installed under the ROOT context of one vhost of Tomcat 5. In the jsp files, if I use or Struts rendered //someaction.do or to the browser, while "/someaction.do" or " " was expected. I am sure the problem is not caused by Str

Tags rewrite wrong action url

2005-01-15 Thread Yufan Shi
Hi all, It's a strange problem. I have a struts-based web application installed under the ROOT context of one vhost of Tomcat 5. In the jsp files, if I use or Struts rendered //someaction.do or to the browser, while "/someaction.do" or " " was expected. I am sure the problem is not caused by Str

Re: RE: Stuts forwarding does not work

2005-01-15 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Stuts forwarding does not work

2005-01-15 Thread David G. Friedman
Alex, The below Stack Trace "snippet" suggests you had some sort of exception in your Logon jsp, line 85, while trying to use something in the page context. This was clearly noted in the Stack trace. They are very useful (Stack traces). If this happens alot to you then I would recommend you lea

RE: [Slightly OT] Simple date-picker?

2005-01-15 Thread David Bolsover
I have not used with validator - but have used earlier versions of this script.. http://www.mattkruse.com/javascript/calendarpopup/ db -Original Message- From: Vamsee Kanakala [mailto:[EMAIL PROTECTED] Sent: 15 January 2005 13:35 To: Struts Users Mailing List Subject: [Slightly OT] Simpl

Re: Re: [OT] Re: Using XML in struts

2005-01-15 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Re: Using XML in struts

2005-01-15 Thread Erik Weber
Thanks. Hope you like them. Nice looking site by the way. Erik Vic wrote: You do need a life. But... I just bought 2 books from your list. I keep a track of cool design ideas here: http://sandrasf.com/kiss - so if anyone wants to append there they can. (I like "SQL Tuning", "SQL for smartites" an

Re: Re: sales@lemeridienkovalam.com

2005-01-15 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: sales@lemeridienkovalam.com

2005-01-15 Thread James Mitchell
Oops, never mind, they are back. Since I am a moderator, I should be able to unsubscribe this account (that is, if it is subscribed and not some forward from another account). Give it a few minutes. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmi

Re: Re: sales@lemeridienkovalam.com

2005-01-15 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: sales@lemeridienkovalam.com

2005-01-15 Thread James Mitchell
I was getting them yesterday, but they stopped after lunch sometime. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Dakota Jack" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, January

[Slightly OT] Simple date-picker?

2005-01-15 Thread Vamsee Kanakala
Hi List, I'm looking for a simple date-picker which integrates well with Struts... as in, it places validator-checkable date format in the date field. I've been looking for javascripts on the net, but I can't find any that did the job straight-forwardly. I looked at struts-layout, but it s

Re: [Slightly OT] Simple date-picker?

2005-01-15 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: announce petstore demo

2005-01-15 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: announce petstore demo

2005-01-15 Thread Leon Rosenberg
This was second time I've heard about xmoon, so I thought I'll take a look. The third source file I opened: package org.xmoon.utility; import java.io.*; import java.util.*; public class GenericTokenizer { public static Vector getElements(String theString, String theBreak) throws Excepti

AW: announce petstore demo

2005-01-15 Thread Leon Rosenberg
This was second time I've heard about xmoon, so I thought I'll take a look. The third source file I opened: package org.xmoon.utility; import java.io.*; import java.util.*; public class GenericTokenizer { public static Vector getElements(String theString, String theBreak) throws Excepti

sales@lemeridienkovalam.com

2005-01-15 Thread Dakota Jack
Is everyone else getting the irritating messages from [EMAIL PROTECTED] I wish those with the switch would throw it on this user. Jack -- -- "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~ "You can't wake a person who is pr

Re: problem with List-Backed Form

2005-01-15 Thread Dakota Jack
I don't know what Kishore is talking about. Seems what you do is better than that suggestion. However, if you want the field from the form saved, populated, etc., all you have to do is have a property for the field, e.g. protected String field; public String getField() { return field; { public

Re: LookupDispatchAction Help

2005-01-15 Thread Dakota Jack
You can do the same thing WITHOUT the parameter values in the struts-config.xml and the following code: New if you what the method to be "new(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) and you use the following class (with logging changes)

Re: Re: Errors with 'validwhen' rule

2005-01-15 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Errors with 'validwhen' rule

2005-01-15 Thread Vamsee Kanakala
Kishore Senji wrote: http://struts.apache.org/userGuide/dev_validator.html Probably you missed the validWhen rules; Search for "A few quick notes on the grammer" on the above page Thanks, I really missed that part. I have one more problem: My form is populating a drop-down like this:

Re: struts html:base tag and port 8080

2005-01-15 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

struts html:base tag and port 8080

2005-01-15 Thread Vilpesh Mistry
hi, iam using struts and making a website. During the development phase, we had used the default port 8080. so to access my webpage i used to write, http://localhost:8080/simliv/action/welcome well all files in my jsp pages use struts tag so under view source for any jsp page, the url looks lik

Re: Errors with 'validwhen' rule

2005-01-15 Thread Kishore Senji
On Sat, 15 Jan 2005 15:18:33 +0530, Vamsee Kanakala <[EMAIL PROTECTED]> wrote: > Hi List, > > I have something like this in my validation.xml: > > > > test > > ((phone != null) or (mobile == null) or (*this* != null)) (((phone != null) or (mobile == null))

Re: Errors with 'validwhen' rule

2005-01-15 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Errors with 'validwhen' rule

2005-01-15 Thread Vamsee Kanakala
Hi List, I have something like this in my validation.xml: test ((phone != null) or (mobile == null) or (*this* != null)) But I have some errors like this: line 1:38: expecting RPAREN, found 'or' at antlr.Parser.match(Parse

Re: LookupDispatchAction Help

2005-01-15 Thread Kishore Senji
On Fri, 14 Jan 2005 18:01:25 -0200, Flávio Maldonado <[EMAIL PROTECTED]> wrote: > Hello... > > When I use this tags above, the Button works well, but the Link doesn't > work. > > > key="button.new"/> > New Try the following code below <% String message = org.apache.struts.taglib.TagUtils.

Re: problem with List-Backed Form

2005-01-15 Thread Kishore Senji
Sorry forgot to tack on the actual property /// similarly for other fields On Sat, 15 Jan 2005 02:32:48 -0600, Kishore Senji <[EMAIL PROTECTED]> wrote: > On Fri, 14 Jan 2005 23:20:47 -0800, Oleg <[EMAIL PROTECTED]> wrote: > > Hi, ok I am trying to g

Re: problem with List-Backed Form

2005-01-15 Thread Kishore Senji
On Fri, 14 Jan 2005 23:20:47 -0800, Oleg <[EMAIL PROTECTED]> wrote: > Hi, ok I am trying to get my Dynamic List-Backed form to work, no > luck, here is what I have so far. > > ActionForm with a List in it: > > public ArrayList getFields() { >return fields; > } > > public void setFields(Ar