Re: NoClassDefFoundError Exception

2008-05-20 Thread Rushikesh Thakkar
You need to have xwork-2.0.*.jar file in your WEB-INF/lib folder. -Rushikesh On Tue, May 20, 2008 at 6:40 PM, Felipe Lorenz <[EMAIL PROTECTED]> wrote: > Hi folks. > > When i start the tomcat 5.5 this exception appear to me: > 20/05/2008 08:48:03 org.apache.catalina.core.StandardContext filterSta

Re: redirect after logging in

2008-05-13 Thread Rushikesh Thakkar
Hi, Check out the login-interceptor in Mail-Reader application given on Planet Struts. I found it useful. I think you are also looking for the same. http://www.planetstruts.org/struts2-mailreader/Tour.do (The application may be down sometimes, you can refer to cached pages in Google search for th

Re: problem

2008-05-07 Thread Rushikesh Thakkar
On Wed, May 7, 2008 at 6:10 PM, Arpan Debroy <[EMAIL PROTECTED]> wrote: > > But nothing is displaying in my drop down box when I put listkey and > listvalue. > > If it's working without using listKey and listValue, then make sure you have defined getters and setters for "id" and "name" attributes

Re: How to initialize business service objects?

2008-03-17 Thread Rushikesh Thakkar
Frank, AFAIU, you want your Business Service Object to be injected in your Struts2 actions. To achieve that, I have done this: - Using Spring ObjectFactory. - Declare Business Service Object (BSO) in Spring's applicationContext.xml(you've already done that) - Define action that has setter method

Re: Question regarding OGNL

2008-03-14 Thread Rushikesh Thakkar
AFAIK you can use OGNL expression in any attribute of your struts2 tag. Your problem could be 'what is the proper syntax for using OGNL expression?'. Can you post your relevant code? I might get an idea of what you are trying to achieve. -Rushikesh On Fri, Mar 14, 2008 at 7:29 AM, Thomas Ramapura

Re: Setting disable attribute dynamically

2008-03-13 Thread Rushikesh Thakkar
I have done it.. It goes like this: (1) The Action: public class PrepareScreen extends ActionSupport { private String yesOrNo; public String execute() throws Exception { yesOrNo = "true"; return SUCCESS; } public String getYesOrNo() { return yesOrNo;

Re: Parameters: Invalid chunk ignored (parameters not passed)

2008-03-13 Thread Rushikesh Thakkar
org.apache.tomcat.util.http.ParametersprocessParameters WARNING: Parameters: Invalid chunk ignored. On Thu, Mar 13, 2008 at 4:19 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Rushikesh Thakkar <[EMAIL PROTECTED]> wrote: > > Thanks anyways, but can you tell me what does it do? I didn't find any > >

Re: Parameters: Invalid chunk ignored (parameters not passed)

2008-03-13 Thread Rushikesh Thakkar
formFilter="formFilter" to your > > and create Javascript function in head > > function formFilter(element) { > return true; > } > > it's funny but works! :-) > > > Rushikesh Thakkar wrote: > > > > Kindly help.. I have not been able to so

Parameters: Invalid chunk ignored (parameters not passed)

2008-03-13 Thread Rushikesh Thakkar
Kindly help.. I have not been able to solve it yet. -- Forwarded message -- From: Rushikesh Thakkar <[EMAIL PROTECTED]> Date: Fri, Mar 7, 2008 at 3:40 PM Subject: Parameters: Invalid chunk ignored (parameters not passed) To: Struts Users Mailing List I am facing a s

Re: Clearing Action properties from ValueStack

2008-03-11 Thread Rushikesh Thakkar
you > nedd to add some configuration to your web.xml. > > Are you using ModelDriven interface?. > > > > On Mon, Mar 10, 2008 at 11:29 AM, Dave Newton <[EMAIL PROTECTED]> > wrote: > > > --- Rushikesh Thakkar <[EMAIL PROTECTED]> wrote: > >

Re: Clearing Action properties from ValueStack

2008-03-10 Thread Rushikesh Thakkar
Not doing much in the applicationContext.xml file: On Mon, Mar 10, 2008 at 5:50 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Rushikesh Thakkar <[EMAIL PROTECTED]> wrote: > > Yes, I am using Spring ObjectFactory. > > Okay. > > Ar

Re: Clearing Action properties from ValueStack

2008-03-10 Thread Rushikesh Thakkar
String();* private IndexDTO index *= new IndexDTO();* ... } On Mon, Mar 10, 2008 at 5:25 PM, Rushikesh Thakkar < [EMAIL PROTECTED]> wrote: > Yes, I am using Spring ObjectFactory. > > > On Mon, Mar 10, 2008 at 5:13 PM, Dave Newton <[EMAIL PROTECTED]> >

Re: Clearing Action properties from ValueStack

2008-03-10 Thread Rushikesh Thakkar
Yes, I am using Spring ObjectFactory. On Mon, Mar 10, 2008 at 5:13 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Rushikesh Thakkar <[EMAIL PROTECTED]> wrote: > > Can anyone tell me how long is the value of Action Property held on the > > ValueStack. I am aski

Clearing Action properties from ValueStack

2008-03-10 Thread Rushikesh Thakkar
Hi Group, Can anyone tell me how long is the value of Action Property held on the ValueStack. I am asking this b'coz I am facing a problem: Background: My action has 4 members (and getter,setter for them). One of them is a POJO with many properties. So my JSP has different fields for supplying va

Parameters: Invalid chunk ignored (parameters not passed)

2008-03-07 Thread Rushikesh Thakkar
I am facing a strange problem. When I use I get the following error on the console: 07.mar.2008 15:30:46 org.apache.tomcat.util.http.ParametersprocessParameters WARNING: Parameters: Invalid chunk ignored. and the parameters are not passed properly, but after removing *theme="ajax" targets="reque

Javascript Form-submission problem

2008-02-27 Thread Rushikesh Thakkar
The UI of my application is divided in 3 parts, which looks almost similar to the UI of Eclipse IDE. The user selects operation from 'div' sitting on the left, then the *upper right div* shows a request *form* and the div sitting below it shows the result. I need to submit the form to two differen

Re: Struts2 WebApp context

2008-02-14 Thread Rushikesh Thakkar
pring forums. > > > /Ian > > -- > Ian Roughley > From Down & Around, Inc. > Consulting * Training / Mentoring * Agile Process * Open Source > web: http://www.fdar.com - email: [EMAIL PROTECTED] > > > > Rushikesh Thakkar wrote: > > > >

Re: Struts2 WebApp context

2008-02-14 Thread Rushikesh Thakkar
artup and destroying it when the > application is shut down / undeployed. > > As Ian indicated, you'll need *some* sort of context listener to close > the Spring context (i.e. reverse whatever Spring setup logic you have), > whether it be one of the ones supplied by Spring or your

Struts2 WebApp context

2008-02-13 Thread Rushikesh Thakkar
I want to release a database connection while reloading the context (using Tomcat Manager web app) of a Struts2 Web Application. I am also using Spring and hibernate. (Spring's HibernateTemplate, Spring SessionFactory and Apache Commons-dbcp with HSql standalone-database) As I am using HSql 'stand

Re: Populating dropdown

2008-02-11 Thread Rushikesh Thakkar
Better option would be: using *autocompleter* instead of select. On Feb 11, 2008 3:01 PM, Jayaveeran <[EMAIL PROTECTED]> wrote: > > Hi all, > > I am populating a dropdown in my jsp which has more than 10,000 elements > in > it. Since the record size is very huge the time taken for the JSP to load

[SOLVED] Re: How to iterate session variable

2008-02-11 Thread Rushikesh Thakkar
This code is just fine. I made a mistake in selecting session variable for iteration. Kindly excuse me.. On Feb 11, 2008 1:50 PM, Rushikesh Thakkar <[EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to iterate the a session variable of type HashMap List> using

How to iterate session variable

2008-02-11 Thread Rushikesh Thakkar
Hi all, I am trying to iterate the a session variable of type HashMap using the following code: It is not producing any markup. I have made sure that the variable is present in the session and has valid values within. Kindly help me..