Re: Struts2 Portlet with Servlets

2014-02-27 Thread Gaurav Daga
Thanks Lukasz. *Thanks & Regards/ **सादर**,* *Gaurav Daga* *[email protected] | +1.201.308.3242 | Web Presence * Do not follow where the path may lead. Go instead where there is no path and leave a trail. - Harold R. McAlindon On Tue, Feb 25, 2014 at 11:38 PM, Lukas

Re: Struts2 Portlet with Servlets

2014-02-25 Thread Lukasz Lenart
2014-02-24 19:39 GMT+01:00 Gaurav Daga : > Hi Todd, > > Thanks for sharing the sample code and with your idea ( of separating > struts xmls) I am able to include servlet based struts action in the same > web project. I really appreciate your help on this one.. > > I am trying to map all servlet end

Re: Struts2 Portlet with Servlets

2014-02-24 Thread Gaurav Daga
v Daga [[email protected]] > Sent: Friday, February 21, 2014 12:07 PM > To: Struts Developers List > Subject: Re: Struts2 Portlet with Servlets > > Hi Todd, > > Thanks for your response. This sounds like, will do the work for me. Do > you have any sample/demo app which can

RE: Struts2 Portlet with Servlets

2014-02-23 Thread Kofford, C. Todd
mail.com] Sent: Friday, February 21, 2014 12:07 PM To: Struts Developers List Subject: Re: Struts2 Portlet with Servlets Hi Todd, Thanks for your response. This sounds like, will do the work for me. Do you have any sample/demo app which can demonstrate the whole configuration? Also, how this configu

Re: Struts2 Portlet with Servlets

2014-02-22 Thread Lukasz Lenart
ls. > > Todd Kofford > Academic Services Development > KU Information Technology > [email protected] > (785) 864-0327 > > > From: Lukasz Lenart [[email protected]] > Sent: Friday, February 21, 2014 1:53 AM > To: Struts Develope

Re: Struts2 Portlet with Servlets

2014-02-21 Thread Gaurav Daga
o share > details. > > Todd Kofford > Academic Services Development > KU Information Technology > [email protected] > (785) 864-0327 > > ____ > From: Lukasz Lenart [[email protected]] > Sent: Friday, February 21, 2014 1:53 AM &

RE: Struts2 Portlet with Servlets

2014-02-21 Thread Kofford, C. Todd
apache.org] Sent: Friday, February 21, 2014 1:53 AM To: Struts Developers List Subject: Re: Struts2 Portlet with Servlets As I understand at the same time you want to have the same web app exposed as portlet and as as a normal Struts2 app? It isn't possible to do in one Struts 2 app as attac

Re: Struts2 Portlet with Servlets

2014-02-21 Thread Gaurav Daga
Yeap I am trying to use same Web App as Portlet as well as Servlet App. Thanks for clarifying that this combination is not supported by Struts2. I'll plan on using direct servlets without any framework in my Web App. Appreciate your help on this. Regards. *Thanks & Regards/ **सादर**,* *Gaurav

Re: Struts2 Portlet with Servlets

2014-02-20 Thread Lukasz Lenart
As I understand at the same time you want to have the same web app exposed as portlet and as as a normal Struts2 app? It isn't possible to do in one Struts 2 app as attaching The Struts Portlet Plugin enables portlet integration for the whole app and some internals are changed (eg. how urls are ren

Re: Struts2 Portlet with Servlets

2014-02-20 Thread Gaurav Daga
And I did follow the tutorial and that's how I got upto the speed with Struts2. Also I didn't mention earlier, treats my Servlet Action class as Portlet Action class and generates URL specific to it. I appreciate your help on this Lukasz. *Thanks & Regards/ **सादर**,* *Gaurav Daga* *togauravd.

Re: Struts2 Portlet with Servlets

2014-02-20 Thread Gaurav Daga
I used Struts2 filter, and here is web.xml for the same : struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2 /servlet/* *Thanks & Regards/ **सादर**,* *Gaurav Daga* *[email protected] | +1.201.308.3242 | Web Presence

Re: Struts2 Portlet with Servlets

2014-02-20 Thread Lukasz Lenart
You didn't provide your web.xml, have you tried follow the tutorial? http://struts.apache.org/release/2.3.x/docs/struts-2-portlet-tutorial.html 2014-02-20 19:31 GMT+01:00 Gaurav Daga : > 1. CaseTaskPortlet is a portlets action class. > 2. caseTasks is servlet based action class. > > Problem I am

Re: Struts2 Portlet with Servlets

2014-02-20 Thread Gaurav Daga
1. CaseTaskPortlet is a portlets action class. 2. caseTasks is servlet based action class. Problem I am having is, if I use tag to generate endpoint for my Servlet based action class, it doesn't work. And I tried accessing it from browser by constructing a URL manually, it doesn't invoke my acti

Re: Struts2 Portlet with Servlets

2014-02-19 Thread Lukasz Lenart
But in struts.xml you can define actions - no reference to servlets neither portlets. Do you have any error message? 2014-02-20 2:41 GMT+01:00 Gaurav Daga : > Hello Struts2 Group, > > I have a requirement where I want to have Servlet Action Endpoint, as well > as Portlet Actions in the same WAR fi

RE: Struts2 Portlet with Servlets

2014-02-19 Thread Martin Gainty
> Date: Wed, 19 Feb 2014 17:41:47 -0800 > Subject: Struts2 Portlet with Servlets > From: [email protected] > To: [email protected] > > Hello Struts2 Group, > > I have a requirement where I want to have Servlet Action Endpoint, as well > as Portlet Actions in t

Struts2 Portlet with Servlets

2014-02-19 Thread Gaurav Daga
Hello Struts2 Group, I have a requirement where I want to have Servlet Action Endpoint, as well as Portlet Actions in the same WAR file. I tried configuring the struts.xml, for the both package but Struts continued to give me error while resolving Servlet Action Endpoint. I just wanted to know if