Re: Prototype beans

2012-12-03 Thread Rohit Gupta
happens when you don't define your struts actions as >prototype? > >-Puneet > >-----Original Message- >From: rohit [mailto:ro...@in-rev.com] >Sent: Monday, December 03, 2012 2:13 PM >To: user@struts.apache.org >Subject: Prototype beans > > >We are defin

Prototype beans

2012-12-03 Thread rohit
We are defining struts action classes in spring as prototype bean, in this while editing a particular bean a new object is being inserted, I can imagine this would be because of prototype nature of beans. How can we achieve edit with prototype beans? Regards, Rohit

Re: Struts2 String ThreadSafe?

2012-11-29 Thread Rohit Gupta
type >and is not be ready for the weird issues > >Struts2 itself create a new request instance as well other objects >associated with itself to make it thread safe. > > > >On Thu, Nov 29, 2012 at 8:59 PM, rohit wrote: > >> Hi, >>We are using Struts2-Sp

Re: Struts2 String ThreadSafe?

2012-11-29 Thread rohit
scope prototype and is not be ready for the weird issues Struts2 itself create a new request instance as well other objects associated with itself to make it thread safe. On Thu, Nov 29, 2012 at 8:59 PM, rohit <ro...@in-rev.com> wrote: > Hi, > We are using Struts2-Spring i

Struts2 String ThreadSafe?

2012-11-29 Thread rohit
Hi, We are using Struts2-Spring integration and all my action classes implement SessionAware, sample code to action class and their spring definition is given below, public class IRXxxxAction extends ActionSupport implements SessionAware { private Map session; public String execute() {//} p

RE: Chinese character problem

2011-03-31 Thread Rohit
forceEncoding true Regards, Rohit -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: 31 March 2011 18:18 To: Struts Users Mailing List Subject: Re: Chinese character problem 2011/3/31 Rohit : > I am try

Chinese character problem

2011-03-31 Thread Rohit
Hi, I am trying to handle Chinese word in my application (Struts2 bases), but when the word "沃尔沃" in UI it becomes "沃尔沃". How can I handle this? Regards, Rohit - To unsubscribe, e-mail: user-unsubscr...@s

RE: NullPointerException while accessing request struts2

2010-08-26 Thread Rohit
Yes I have done that, it's not that every time I am getting the null pointer exception. It's happening randomly. Regards, Rohit -Original Message- From: Jan T. Kim [mailto:j@uea.ac.uk] Sent: 26 August 2010 16:31 To: user@struts.apache.org Subject: Re: NullPointerExcep

NullPointerException while accessing request struts2

2010-08-26 Thread Rohit
("messages",messages); return "tweets"; } I am using tomcat 6 server. Regards, Rohit

Struts2 Modifying An arraylist of objects

2010-08-03 Thread Rohit
Hi, I have an object in my Action class which contains an arraylist of objects internally, I am trying to create a CRUD screen for this object. My Action Class and bean are given below, /** * @author rohit * */ public class IRFeedMgmtAction extends ActionSupport implements

Interceptors probelms

2010-07-26 Thread Rohit
onvertedMethodAndArgs(OgnlRuntime.java:1083) I can make out that the first error is related to Validator interceptor and the second one is related to Parameter convertor, but I cannot seem to figure out how I can fix them. In the second exception all the parameter values are being sent from facebook. Help would be highly appreciated. Regards, Rohit

Struts2 WebApp Portlet Bridge

2009-04-16 Thread Rohit Srivastava
pment. Any ideas or previous experiences to share ? Very Thanks, Rohit

Struts 2.0.6 with Tomcat 6.0

2007-05-02 Thread Rohit Dewan
I am considering the use of Tomcat 6.0 which implements Servlet 2.5 and JSP 2.1. Should I expect any issues using it with Struts 2.0.6? Regards, Rohit

specifying timezone in date tag

2007-04-30 Thread Rohit Dewan
Is there a way to specify timezone in the date tag? The current behavior defaults to the timezone of the server. Regards, Rohit

Using timezone with date tag

2007-04-27 Thread Rohit Dewan
Is there a way to specify timezone in the date tag. The current behavior defaults to the timezone of the server. Regards, Rohit

Re: autocompleter not working on Firefox 1.5 on Linux

2007-04-12 Thread Rohit Dewan
Hi Musachy, I rebooted my linux machine for an unrelated reason and now cannot reproduce the issue. It is working now. Sorry for the bother. Regards, Rohit

autocompleter not working on Firefox 1.5 on Linux

2007-04-11 Thread Rohit Dewan
I have a working autocompleter on Firefox 2.0 on MacOS. The same code does not work on Firefox 1.5 on Linux. Any suggestions? Thanks, Rohit

Re: autocompleter with JSON plugin

2007-04-06 Thread Rohit Dewan
Hi Musachy, That was it. It works now! Especially given that the autocompleter is structured as a key value pair, supporting maps would be a natural fit. Thanks for creating the enhancement request on JIRA. Regards, Rohit On 4/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:

autocompleter with JSON plugin

2007-04-05 Thread Rohit Dewan
uot; name="foo" /> <@s.submit value="OK" action="addTest" method="add"/> <@ s.submit value="Cancel" action="addTest" method="cancel"/> I have verified that foosList.action returns the following {"foos":{1:"chance",10:"test"}} However, the autocompleter is blank after load. I am using Struts 2.0.7 and JSON Plugin 0.7 Any thoughts? Thanks, Rohit

Re: Session not set before prepare() function with Struts 2 prepare interceptor

2007-03-27 Thread Rohit Dewan
Hi Jason, I believe it is the servlet-config interceptor that is responsible for setting the session. I think it is part of the defaultStack. Try moving the defaultStack before prepare in your configuration. That might do the job. Regards, Rohit On 3/27/07, Jason Wyatt <[EMAIL PROTEC

multiple s.if tags

2007-03-27 Thread Rohit Dewan
ndex%7==6"> I am getting value rather than value What am I missing here? Thanks in advance! Regards, Rohit

ETA for 2.0.7

2007-03-26 Thread Rohit Dewan
Would anyone be able to let me know the ETA for release 2.0.7? Thanks, Rohit

s.autocompleter with JSON Plugin

2007-03-17 Thread Rohit Dewan
uot; name="foo" /> <@s.submit value="OK" action="addTest" method="add"/> <@s.submit value="Cancel" action="addTest" method="cancel"/> I have verified that foosList.action returns the following {"foos":{1:"chance",10:"test"}} However, the autocompleter is blank after load. Has anyone had success using the JSON plugin with the autocompleter? Regards, Rohit

Re: s.autocompleter not found

2007-03-16 Thread Rohit Dewan
That resolved the issue. Thanks! Is there an ETA for 2.0.7? Regards, Rohit On 3/16/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: I just realized that there is a bug with the autocompleter and freemarker: http://issues.apache.org/struts/browse/WW-1823 as a workarou

s.autocompleter not found

2007-03-16 Thread Rohit Dewan
pport.java:178) at com.opensymphony.xwork2.DefaultActionInvocation.executeResult( DefaultActionInvocation.java:343) at com.opensymphony.xwork2.DefaultActionInvocation.invoke( DefaultActionInvocation.java:248) What am I missing. Any help would be most appreciated. Regards, Rohit

Re: Struts Internationalization doesn't work on Linux

2006-10-09 Thread rohit dige
pying > of it or its > contents > > - Original Message - > From: "rohit dige" <[EMAIL PROTECTED]> > To: > Sent: Sunday, October 08, 2006 4:10 PM > Subject: Struts Internationalization doesn't work on > Linux > > > >I need to show

Struts Internationalization doesn't work on Linux

2006-10-08 Thread rohit dige
I need to show a text message on JSP page in browser's preferred language. I have created multiple language specific properties files and put them under WEB-INF/classes/config. My JSP and Struts-config.xml look as following Struts-Config.xml JSP file <%@ page cont

unsubscribe me from the list

2006-10-04 Thread Rohit Dadhwal

plz unsubscribe me

2006-10-04 Thread Rohit Dadhwal

unsubscribe me

2006-10-03 Thread Rohit Dadhwal
unsubscribe me thanks

Unsubscribe Me !!

2004-05-17 Thread Rohit A Nair
  On Mon, 17 May 2004 Ronald van den Heuvel wrote : >Hm ok I will try the filter but this is not the real solution because I >am not using any other taglibs. Only the standard Struts taglibs. > > > >-Original Message- > From: Paul McCulloch [mailto:[EMAIL PROTECTED] >Sent: maandag 17 mei