Issues with Struts Tiles

2013-10-05 Thread Srineel Mazumdar
Hi, I am getting the following issues with Tiles + Struts 2 : Please help *** SEVERE: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at

Issue with Struts 2 + Tiles

2013-10-03 Thread Srineel Mazumdar
Hi, I am trying to implement Tiles2 with Struts 2. It works when I give org.apache.tiles.web.startup.TilesListener in web.xml but creates problem when I try tyo use Struts2TilesListener(error : cannot find TilesListener) Is my workaround correct or I am making mistake elsewhere ? Regards,

Re: Issue with Struts 2 + Tiles

2013-10-03 Thread Srineel Mazumdar
, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/10/4 Srineel Mazumdar smaz19...@gmail.com: Hi, I am trying to implement Tiles2 with Struts 2. It works when I give org.apache.tiles.web.startup.TilesListener in web.xml but creates problem when I try tyo use Struts2TilesListener(error

Re: Value not persisting in domain object

2013-09-14 Thread Srineel Mazumdar
action, it will, of course, not be around in the next collection. It sounds like you need to stuff your shopping cart into the session. On Sun, Sep 1, 2013 at 8:39 PM, Srineel Mazumdar smaz19...@gmail.com wrote: Hi All, Can anyone please

Re: Value not persisting in domain object

2013-09-12 Thread Srineel Mazumdar
a collection in one action, it will, of course, not be around in the next collection. It sounds like you need to stuff your shopping cart into the session. On Sun, Sep 1, 2013 at 8:39 PM, Srineel Mazumdar smaz19...@gmail.com wrote: Hi All, Can anyone please help ? Thanks

Re: Using themes with s: select

2013-09-10 Thread Srineel Mazumdar
thechrispr...@gmail.com wrote: Try cssStyle=background-color:yellow; (*Chris*) On Sun, Sep 8, 2013 at 9:54 PM, Srineel Mazumdar smaz19...@gmail.com wrote: Hi, I am using s:select to create a dropdown and then checked the html. I wanted to add bgcolor as yellow. I referred

Re: Using themes with s: select

2013-09-10 Thread Srineel Mazumdar
at 7:50 AM, Srineel Mazumdar smaz19...@gmail.com wrote: Hi Chris, Thanks for the help. But the change I need is bit different . What I need : [image: Inline image 1] What I am getting : [image: Inline image 2] Code for image 1 : %@ include file=IncludeTop.jsp

Using themes with s: select

2013-09-08 Thread Srineel Mazumdar
Hi, I am using s:select to create a dropdown and then checked the html. I wanted to add bgcolor as yellow. I referred to the following link http://struts.apache.org/release/2.2.x/docs/struts-2-themes.html but still not sure how to put the background clour as yellow. Can anyone provide any

Migrating Struts 1 application to Struts 2

2013-09-03 Thread Srineel Mazumdar
Hi All, I am migrating an application from Struts 1 to Struts 2 and frequently I am facing scenarios where I need to use request.getSession to set/get attributes. As far as my knowledge goes, this is not considered to be a best practice in Struts 2. What is the best was way to handle this

Re: Migrating Struts 1 application to Struts 2

2013-09-03 Thread Srineel Mazumdar
/docs/http-session.html On Tue, Sep 3, 2013 at 11:35 AM, Srineel Mazumdar smaz19...@gmail.com wrote: Hi All, I am migrating an application from Struts 1 to Struts 2 and frequently I am facing scenarios where I need to use request.getSession to set/get attributes. As far as my knowledge

Re: Value not persisting in domain object

2013-09-02 Thread Srineel Mazumdar
class is instantiated per request. If you're updating a collection in one action, it will, of course, not be around in the next collection. It sounds like you need to stuff your shopping cart into the session. On Sun, Sep 1, 2013 at 8:39 PM, Srineel Mazumdar smaz19...@gmail.com wrote: Hi

Re: Value not persisting in domain object

2013-09-01 Thread Srineel Mazumdar
Hi All, Can anyone please help ? Thanks.. On Fri, Aug 30, 2013 at 10:23 PM, Srineel Mazumdar smaz19...@gmail.comwrote: Yes.. the same collection. On Wed, Aug 28, 2013 at 6:55 PM, Paul Benedict pbened...@apache.orgwrote: Are you retrieving the same collection? On Wed, Aug 28, 2013

Re: Value not persisting in domain object

2013-08-30 Thread Srineel Mazumdar
Yes.. the same collection. On Wed, Aug 28, 2013 at 6:55 PM, Paul Benedict pbened...@apache.org wrote: Are you retrieving the same collection? On Wed, Aug 28, 2013 at 8:22 AM, Srineel Mazumdar smaz19...@gmail.com wrote: Hi, I am creating a shopping cart application in Struts 2. I am

Value not persisting in domain object

2013-08-28 Thread Srineel Mazumdar
Hi, I am creating a shopping cart application in Struts 2. I am updating a list in Cart domain object when the user selects some items in shopping list using checkboxes and clicks Next. In the CheckOut page those items would be shown. But in my case it shows empty list. Upon debugging, I find

Stuck with very basic issue

2013-08-03 Thread Srineel Mazumdar
I am developing a Struts application in Tomcat/Eclipse Juno and when I right lick on the project and select Debug on Server , it shows me *type* Status report *message* */NewPetstore/* *description* *The requested resource is not available.* The same application however runs in GlassFish.

Re: Stuck with very basic issue

2013-08-03 Thread Srineel Mazumdar
org.apache.catalina.startup.Catalina start INFO: Server startup in 1107 ms On Sun, Aug 4, 2013 at 12:37 AM, Srineel Mazumdar smaz19...@gmail.comwrote: I am developing a Struts application in Tomcat/Eclipse Juno and when I right lick on the project and select Debug on Server , it shows me *type* Status report

Re: Issue with entry in Struts.xml

2012-11-18 Thread Srineel Mazumdar
Thanks Dave.You got it right. So you are saying that if I want to forward the output of an action to another action , I should use redirect action?? I will search for the filter option. Regards, Srineel On Mon, Nov 19, 2012 at 1:13 AM, Dave Newton davelnew...@gmail.com wrote: This entry is

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
Hi, I am using Struts 2.0.6.Getting the following error. [image: Inline image 1] On Tue, Nov 6, 2012 at 7:14 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2012/11/6 Srineel Mazumdar smaz19...@gmail.com filter filter-namestruts/filter-name filter

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
Hi Actually I have a requirement for a maintenance project which was done in 2.0.6. So to be conversant with 2.0.6, I am using the jars. Regards, Srineel On Tue, Nov 6, 2012 at 7:54 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2012/11/6 Srineel Mazumdar smaz19...@gmail.com I am using

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
Yes. I am continuously searching the answer in google. I will turn on the devMode and share the stacktrace. Regards, Srineel On Tue, Nov 6, 2012 at 8:29 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: Did you try to ask Uncle Google ?

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
...@apache.orgwrote: 2012/11/6 Srineel Mazumdar smaz19...@gmail.com Hi, Stacktraces *There is no Action mapped for namespace /shop and action name index. - What url do you call ? Regards -- Ɓukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
Spring Tool Suite. Right click - Run On Server. Let me recheck all configurations and revert back to you. Thanks, Srineel On Tue, Nov 6, 2012 at 9:10 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2012/11/6 Srineel Mazumdar smaz19...@gmail.com Hi, http://localhost:8081/NewPetstore

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
at 9:15 PM, Srineel Mazumdar smaz19...@gmail.comwrote: Spring Tool Suite. Right click - Run On Server. Let me recheck all configurations and revert back to you. Thanks, Srineel On Tue, Nov 6, 2012 at 9:10 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2012/11/6 Srineel Mazumdar smaz19

Re: Issue with running Struts2 project

2012-11-05 Thread Srineel Mazumdar
{ return success; } } Even then I am getting 404 error. Can you please help ? Regards, Srineel On Mon, Nov 5, 2012 at 1:20 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2012/11/5 Srineel Mazumdar smaz19...@gmail.com: Hi, I am new to Struts2 and for learning I am doing my own project. I am

Re: Issue with running Struts2 project

2012-11-05 Thread Srineel Mazumdar
=/shop * * action name =index class =com.home.practice.shop.DoNothingAction result name=success/WEB-INF/jsp/struts/index.jspresult/ /action Seems I am making a silly mistake somewhere but I am unable to figure in out. Please help. Regards, Srineel On Mon, Nov 5, 2012 at 3:51 PM, Srineel Mazumdar

Re: Rewriting an application in Struts2 from Struts 1

2012-10-19 Thread Srineel Mazumdar
Also would like to add another thing : If I add the following line : package name=newpetstore extends=struts-default namespace=/shop then I think I do not need to add namespace in all the entries?? On Fri, Oct 19, 2012 at 9:28 AM, Srineel Mazumdar smaz19...@gmail.comwrote: Hi, I am trying

Struts 2 Rest Showcase Example : Issue in understanding code.

2012-05-01 Thread Srineel Mazumdar

Re: Struts 2 Rest Showcase Example : Issue in understanding code

2012-05-01 Thread Srineel Mazumdar
by browsing through a couple of examples. Cheers, Steve -Original Message- From: Srineel Mazumdar [mailto:smaz19...@gmail.com] Sent: 01 May 2012 09:34 To: Struts Users Mailing List Subject: Struts 2 Rest Showcase Example : Issue in understanding code Hi, I am new to Struts 2

Please explain

2011-11-28 Thread Srineel Mazumdar
Hi, Please explain the meaning of the following : param name=excludeMethodsinput,back,cancel,browse/param

Re: Interceptor cleaning valuestack

2011-11-20 Thread Srineel Mazumdar
makes you think an interceptor is clearing the value stack? Dave On Sun, Nov 20, 2011 at 2:10 PM, Srineel Mazumdar smaz19...@gmail.com wrote: Hi, I am creating a small struts2 application and the problem that I face is that the inteceptor is clearing the value stack and I cannot get

Re: Interceptor cleaning valuestack

2011-11-20 Thread Srineel Mazumdar
functionality, including the params interceptor. This means the request parameters will not be set on your action. Dave On Sun, Nov 20, 2011 at 2:29 PM, Srineel Mazumdar smaz19...@gmail.com wrote: Please enable and disable the interceptor logger1. When interceptor is disable, I get userid

Re: Interceptor cleaning valuestack

2011-11-20 Thread Srineel Mazumdar
, Srineel Mazumdar smaz19...@gmail.com wrote: I intend to use only logger1 interceptor. I want to enable only one interceptor ie logger1. How can I do so? By doing what you did. However, as I stated, this means that essentially no other S2 functionality will be present, including

Re: Interceptor cleaning valuestack

2011-11-20 Thread Srineel Mazumdar
interceptor-ref config element, or by combining stacks as with any interceptor configuration. http://struts.apache.org/2.x/docs/interceptor-configuration.html Dave On Sun, Nov 20, 2011 at 2:59 PM, Srineel Mazumdar smaz19...@gmail.com wrote: Hi Dave, * * *In any case, when you define

Can I post my struts related queries here?

2011-11-19 Thread Srineel Mazumdar