Re: struts2 problem when file download dialog is closed

2012-04-10 Thread Muneer Malik
when the dialog closes, are you still calling the action ? 



Best,
Muneer Malik

On Apr 10, 2012, at 3:29 PM, svetlana.roslyak...@bnymellon.com wrote:

> Hi,
> 
> I've created a struts2 application that creates text file and displays the 
> file download dialog for the user to open or save it.
> It works fine if the user opens or saves it, but if the user closes the 
> file download dialog the program logs the following error:
> 
> Servlet failed with Exception
> java.lang.IllegalStateException: Response already committed
>at 
> weblogic.servlet.internal.ServletResponseImpl.objectIfCommitted(Servl
> etResponseImpl.java:1422)
>at 
> weblogic.servlet.internal.ServletResponseImpl.sendError(ServletRespon
> seImpl.java:580)
>at 
> org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:77
> 1)
>at 
> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.jav
> a:506)
>at 
> org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatc
> her.java:395)
>Truncated. see log file for complete stacktrace
>> 
> 
> My struts.xml file code is as follows:
> 
> 
> 
>application/octet-stream
>inputStream
> name="contentDisposition">attachment;filename="tempExport.txt"
>1024 
>   
>
> 
> My action class code is as follows:
> 
> import org.apache.struts2.interceptor.SessionAware;
> import com.opensymphony.xwork2.ActionContext;
> import com.opensymphony.xwork2.ActionSupport;
> 
> 
> public class ConfigAction extends ActionSupport  implements SessionAware
> {
> 
> public void setInputStream(InputStream inputStream) {
>this.inputStream = inputStream;
>}
> public InputStream getInputStream() {
>return inputStream;
>}
> 
> public String export() throws Exception {
> 
>try
>{ 
>  // code to create tempExport.txt file 
> 
>File exportFile = new File("./tempExport.txt");
>setInputStream(new FileInputStream(exportFile));
>exportFile.delete();
>}
>catch (Exception ex)
>{ 
>ex.printStackTrace();
>}
> 
>return SUCCESS;
>} 
> }
> 
> Any ideas as how to fix the issue will be greatly appreciated.
> 
> Thanks,
> 
> Svetlana Roslyakova ·  The Bank of New York Mellon 
> Regulatory Systems · Tel 212.815.8043 · svetlana.roslyak...@bnymellon.com
> 
> The information contained in this e-mail, and any attachment, is confidential 
> and is intended solely for the use of the intended recipient. Access, copying 
> or re-use of the e-mail or any attachment, or any information contained 
> therein, by any other person is not authorized. If you are not the intended 
> recipient please return the e-mail to the sender and delete it from your 
> computer. Although we attempt to sweep e-mail and attachments for viruses, we 
> do not guarantee that either are virus-free and accept no liability for any 
> damage sustained as a result of viruses. 
> 
> Please refer to http://disclaimer.bnymellon.com/eu.htm for certain 
> disclosures relating to European legal entities.

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Uploading multiple files using single tag.

2012-04-06 Thread Muneer Malik
Check out the Struts 2 showcase example for uploading files.

Best,
Muneer

On Fri, Apr 6, 2012 at 12:36 PM, sharath karnati  wrote:

> Hi All,
>
>Using Struts2 and need to know how to upload multiple files using
> single  tag. I need a file upload functionality similar to
> gmail(Google Email).
>
> Please advice how to do this even using other frameworks along with
> Struts2.
>
>Thanks in advance.
>
> Regards,
> Sharath.
>



-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF
YOU HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.


Re: Wizard (multipage flow) with Struts 2

2012-02-14 Thread Muneer Malik
why not just use the webflow plugin which is available part of Spring framework 
? and can be incorporated into Struts 2. 

Best,
Muneer Malik

On Feb 13, 2012, at 11:05 PM, rees  wrote:

> Try this out for a multipage struts2 flow: 
> http://code.google.com/p/struts2-conversation/
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Struts2 Memory Management

2011-10-19 Thread Muneer Malik
I believe the tuning would occur on your app container and not in Struts 2.


Best,
Muneer Malik

On Oct 19, 2011, at 9:28 AM,  wrote:

> Can we do any application lever tuning in struts 2?
> 
> 
> -Original Message-
> From: Robert Graf-Waczenski [mailto:r...@lsoft.com] 
> Sent: Wednesday, October 19, 2011 7:25 AM
> To: Struts Users Mailing List
> Subject: Re: Struts2 Memory Management
> 
> Am 19.10.2011 16:16, schrieb dan.zheng:
>> So many objects dump directly to jsp will certainly consume a lot
> memory,I
>> suppose you can enlarge your Web Server's jvm memory size to afford
> your
>> requirement
>> such as "-Xms 1024m -Xmx 1024m",more details can come from google "jvm
>> tuning"
> 
> What do you mean by "dump directly to jsp"? Struts2 custom tags are 
> ultimately calling your action class methods to (for example) access an 
> action property in the form of an instance of an iterator-like class. 
> Exactly *how* the data is maintained internally is completely left to 
> the implementation of *your* class, the framework itself uses proper 
> abstraction. In short: Memory issues are *your fault* not Struts2's.
> 
> Robert
> 
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> Please do not print this email unless it is absolutely necessary. 
> 
> The information contained in this electronic message and any attachments to 
> this message are intended for the exclusive use of the addressee(s) and may 
> contain proprietary, confidential or privileged information. If you are not 
> the intended recipient, you should not disseminate, distribute or copy this 
> e-mail. Please notify the sender immediately and destroy all copies of this 
> message and any attachments. 
> 
> WARNING: Computer viruses can be transmitted via email. The recipient should 
> check this email and any attachments for the presence of viruses. The company 
> accepts no liability for any damage caused by any virus transmitted by this 
> email. 
> 
> www.wipro.com
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: java.lang.ClassNotFoundException with struts2 after introducing tiles in my application

2011-10-11 Thread Muneer Malik
can you please see the documentation in the below link?

http://tiles.apache.org/2.2/framework/tutorial/configuration.html#Pure_Java_configuration

Best,
Muneer

On Tue, Oct 11, 2011 at 7:10 PM, Dave Newton  wrote:

> IIRC the version of Tiles you're using is past what the Tiles plugin
> supports:
>
>
> http://mvnrepository.com/artifact/org.apache.struts/struts2-tiles-plugin/2.2.1
>
> This is one reason why handling dependencies manually is almost always a
> bad
> idea these days.
>
> Dave
>
> On Sat, Oct 8, 2011 at 12:14 PM, sbhatia 
> wrote:
>
> > Correction in the jar i was using and now i am using following jars:
> > commons-beanutils-1.8.3.jar
> > commons-collections-3.2.1.jar
> > commons-digester3-3.0.jar
> > commons-fileupload-1.2.2.jar
> > commons-io-2.0.1.jar
> > commons-logging-1.0.4.jar
> > freemarker-2.3.8.jar
> > ognl-2.6.11.jar
> > struts2-core-2.0.11.jar
> > struts2-dojo-plugin-2.1.6.jar
> > struts2-tiles-plugin-2.1.6.jar
> > tiles-api-2.2.2.jar
> > tiles-core-2.2.2.jar
> > tiles-jsp-2.2.2.jar
> > xwork-2.0.4.jar
> >
> >
> > SEVERE: Error configuring application listener of class
> > org.apache.struts2.tiles.StrutsTilesListener
> > java.lang.NoClassDefFoundError:
> org/apache/tiles/web/startup/TilesListener
> >at java.lang.ClassLoader.defineClass1(Native Method)
> >at java.lang.ClassLoader.defineClassCond(Unknown Source)
> >at java.lang.ClassLoader.defineClass(Unknown Source)
> >at java.security.SecureClassLoader.defineClass(Unknown Source)
> >at
> >
> >
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2820)
> >at
> >
> >
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1150)
> >at
> >
> >
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
> > at
> >
> >
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
> >at
> >
> >
> org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
> >at
> >
> >
> org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
> >at
> >
> >
> org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
> >at
> >
> >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4660)
> >at
> >
> org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
> >at
> >
> org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
> >at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
> >at java.util.concurrent.FutureTask.run(Unknown Source)
> >at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> > Source)
> >at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> > Source)
> >at java.lang.Thread.run(Unknown Source)
> > Caused by: java.lang.ClassNotFoundException:
> > org.apache.tiles.web.startup.TilesListener
> > at
> >
> >
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
> >at
> >
> >
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
> > ... 19 more
> >
> > Please help with issue...
> >
> > --
> > View this message in context:
> >
> http://struts.1045723.n5.nabble.com/java-lang-ClassNotFoundException-with-struts2-after-introducing-tiles-in-my-application-tp4882772p4883101.html
> > Sent from the Struts - User mailing list archive at Nabble.com.
> >
> > -
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
>



-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.


Re: E-Commerce website using struts

2011-04-13 Thread Muneer Malik
Check out : konakart.com
Implemented in struts  There is a community version you can use ...

Best,
Muneer

On Wednesday, April 13, 2011, abhishek jain  wrote:
> hi,
> even i will like to more of this, open source APIs to create a shopping cart
> or more such examples.
> thanks
> abhishek
>
> On Fri, Dec 31, 2010 at 2:46 PM, Amol Ghotankar 
> wrote:
>
>> This is a good tool but its difficult to intergrate as it has its own UI &
>> many other components, isn't there any framework which just is like a api
>> or
>> something.
>>
>>
>> On Mon, Dec 13, 2010 at 11:14 AM, aum strut  wrote:
>>
>> > if taking about struts2 here it is
>> > http://www.shopizer.com/
>> >
>> > On Fri, Dec 10, 2010 at 11:40 AM, ashish chawre
>> > wrote:
>> >
>> > > Hi, Is any body having any idea about the source/example of any
>> ecommerce
>> > > website implementation using struts?
>> > > I am looking to implement a checkout using struts and I need to
>> implement
>> > > shopping cart as well.
>> > >
>> > > Any help will be greatly appreciated.
>> > >
>> > > Thanks!
>> > > -- Ashish
>> > >
>> >
>>
>>
>>
>> --
>>
>>
>> With Best Regards,
>>
>> Amol Ghotankar
>> Cursive Technologies Pvt. Ltd.
>> www.cursivetech.com
>>
>

-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Redirect and pass as a parameter the original url from an Interceptor

2011-03-17 Thread Muneer Malik
I guess not even pass as a query string,

he needs to pick up the URL from the request object:

request.getRequestURL()

Best,

On Thu, Mar 17, 2011 at 3:33 PM, Okan Özeren  wrote:

> Hi,
>
> I mean, you want to get a parameter as passed with original url by
> query string. Am I right? You sould use this implementation:
>
> // Get the action context from the invocation so we can access the
> // HttpServletRequest and HttpServletResponse objects.
> final ActionContext context = invocation.getInvocationContext();
> HttpServletRequest request = (HttpServletRequest)
> context.get(StrutsStatics.HTTP_REQUEST);
> String param = request.getParameter("param");
>
> Okan Özeren.
>
> On Thu, Mar 17, 2011 at 8:48 PM, Alfredo Manuel Osorio Martinez
>  wrote:
> > I am implementing a Login interceptor which needs to redirect to an
> > action to first authenticate the user. The problem is that I want to
> > send as a parameter to that action the original url, the one that the
> > user was trying to get before the redirect to the login page.
> >
> >
> >
> > How can I achieve that?
> >
> >
> >
> > Thanks in advance,
> >
> >
> >
> > Alfredo Osorio
> >
> >
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.


Re: Redirect and pass as a parameter the original url from an Interceptor

2011-03-17 Thread Muneer Malik
can you not pass params within your interceptor?


 availability



Best,


On Thu, Mar 17, 2011 at 1:48 PM, Alfredo Manuel Osorio Martinez <
alfredo.oso...@afirme.com> wrote:

> I am implementing a Login interceptor which needs to redirect to an
> action to first authenticate the user. The problem is that I want to
> send as a parameter to that action the original url, the one that the
> user was trying to get before the redirect to the login page.
>
>
>
> How can I achieve that?
>
>
>
> Thanks in advance,
>
>
>
> Alfredo Osorio
>
>


-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.


Re: Delivery Status Notification (Failure)

2011-03-15 Thread Muneer Malik
Johannes,

"if you are using validation it is normally that you get two requests.
the first request is for validation and the second is the expected request"

but only one request should get to the action logic and not both other wise
the action logic would be called twice and this is what is happening 

I don't know if the multiple requests are being made from the client side or
the server side (meaning something is not right within the plugin) but I
have noticed is:

sj:submit by itself without using the validation or sj:dialog (form inside
the sj:dialog) is not creating two requests.

so I suspect sj:submit when used with validation infact making two calls
which is in turn calling the action twice.

Let me know what you think?





On Tue, Mar 15, 2011 at 12:57 PM, Muneer Malik  wrote:

> I tried the getJSON as well,
>> the action is being called twice this means my logic would execute twice
>> for
>> an AJAX call.
>>
>> INFO  [http-8080-6]
>> net.polymorphic.emr.common.Validation.EsignCodeValidator
>> validate- Esign Validator being used
>> DEBUG [http-8080-6] net.polymorphic.emr.workflow.action.insertHeparinAjax
>> getJSON- in  a getJson
>> DEBUG [http-8080-6] net.polymorphic.emr.workflow.action.insertHeparinAjax
>> getJSON- in  a getJson - completed
>> INFO  [http-8080-5]
>> net.polymorphic.emr.common.Validation.EsignCodeValidator
>> validate- Esign Validator being used
>> DEBUG [http-8080-5] net.polymorphic.emr.workflow.action.insertHeparinAjax
>> - In the constructor
>> INFO  [http-8080-5]
>> net.polymorphic.emr.common.Validation.EsignCodeValidator
>> validate- Esign Validator being used
>> DEBUG [http-8080-5] net.polymorphic.emr.workflow.action.insertHeparinAjax
>> - In the constructor
>> INFO  [http-8080-5]
>> net.polymorphic.emr.common.Validation.EsignCodeValidator
>> validate- Esign Validator being used
>> INFO  [http-8080-5]
>> net.polymorphic.emr.common.Validation.EsignCodeValidator
>> validate- Esign Validator being used
>> DEBUG [http-8080-5] net.polymorphic.emr.workflow.action.insertHeparinAjax
>> getJSON- in  a getJson
>> DEBUG [http-8080-5] net.polymorphic.emr.workflow.action.insertHeparinAjax
>> getJSON- in  a getJson - completed
>>
>> seems something is not right here !
>> any help would be appreciated
>>
>> On Tue, Mar 15, 2011 at 10:16 AM, Muneer Malik 
>> wrote:
>>
>> > You mean have all your action logic in getJSON?
>> >
>> >
>> >
>> > On Tuesday, March 15, 2011, Rodrigo Esteban Cares Guarda
>> >  wrote:
>> > > Hi,
>> > > if you have the method "execute" and "getJSON" in your action class,
>> try
>> > > comment the "execute" method.
>> > >
>> > > Greetings
>> > >
>> > > El mar, 15-03-2011 a las 00:27 -0700, Johannes Geppert escribió:
>> > >> if you are using validation it is normaly that you get two requests.
>> > >> the first request is for validation and the second is the expected
>> > request.
>> > >>
>> > >> Johannes
>> > >>
>> > >> --
>>
>
>
>
> --
> Confidentiality Notice
> ---
>
>
> THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
> CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
> DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
> THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
> INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
> DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
> HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
> tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.
>
>
> THANK YOU.
>



-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.


Re: Delivery Status Notification (Failure)

2011-03-15 Thread Muneer Malik
>
> I tried the getJSON as well,
> the action is being called twice this means my logic would execute twice
> for
> an AJAX call.
>
> INFO  [http-8080-6]
> net.polymorphic.emr.common.Validation.EsignCodeValidator
> validate- Esign Validator being used
> DEBUG [http-8080-6] net.polymorphic.emr.workflow.action.insertHeparinAjax
> getJSON- in  a getJson
> DEBUG [http-8080-6] net.polymorphic.emr.workflow.action.insertHeparinAjax
> getJSON- in  a getJson - completed
> INFO  [http-8080-5]
> net.polymorphic.emr.common.Validation.EsignCodeValidator
> validate- Esign Validator being used
> DEBUG [http-8080-5] net.polymorphic.emr.workflow.action.insertHeparinAjax
> - In the constructor
> INFO  [http-8080-5]
> net.polymorphic.emr.common.Validation.EsignCodeValidator
> validate- Esign Validator being used
> DEBUG [http-8080-5] net.polymorphic.emr.workflow.action.insertHeparinAjax
> - In the constructor
> INFO  [http-8080-5]
> net.polymorphic.emr.common.Validation.EsignCodeValidator
> validate- Esign Validator being used
> INFO  [http-8080-5]
> net.polymorphic.emr.common.Validation.EsignCodeValidator
> validate- Esign Validator being used
> DEBUG [http-8080-5] net.polymorphic.emr.workflow.action.insertHeparinAjax
> getJSON- in  a getJson
> DEBUG [http-8080-5] net.polymorphic.emr.workflow.action.insertHeparinAjax
> getJSON- in  a getJson - completed
>
> seems something is not right here !
> any help would be appreciated
>
> On Tue, Mar 15, 2011 at 10:16 AM, Muneer Malik  wrote:
>
> > You mean have all your action logic in getJSON?
> >
> >
> >
> > On Tuesday, March 15, 2011, Rodrigo Esteban Cares Guarda
> >  wrote:
> > > Hi,
> > > if you have the method "execute" and "getJSON" in your action class,
> try
> > > comment the "execute" method.
> > >
> > > Greetings
> > >
> > > El mar, 15-03-2011 a las 00:27 -0700, Johannes Geppert escribió:
> > >> if you are using validation it is normaly that you get two requests.
> > >> the first request is for validation and the second is the expected
> > request.
> > >>
> > >> Johannes
> > >>
> > >> --
>



-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.


Re: JSON Plugin - my execute method is being called twice

2011-03-15 Thread Muneer Malik
You mean have all your action logic in getJSON?



On Tuesday, March 15, 2011, Rodrigo Esteban Cares Guarda
 wrote:
> Hi,
> if you have the method "execute" and "getJSON" in your action class, try
> comment the "execute" method.
>
> Greetings
>
> El mar, 15-03-2011 a las 00:27 -0700, Johannes Geppert escribió:
>> if you are using validation it is normaly that you get two requests.
>> the first request is for validation and the second is the expected request.
>>
>> Johannes
>>
>> --
>> View this message in context: 
>> http://struts.1045723.n5.nabble.com/JSON-Plugin-my-execute-method-is-being-called-twice-tp3635553p3681532.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>
> --
> Rodrigo Esteban Cares Guarda
> Egresado Ingeniería Civil Informática
> Universidad Austral de Chile
> 1º GUP Taekwondo WTF
> Fono: (09) 98364117
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED
RECIPIENT, OR THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS
MESSAGE TO THE INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY
DISSEMINATION, DISTRIBUTION OR COPYING OF THE COMMUNICATION IS
STRICTLY PROHIBITED.  IF YOU HAVE RECEIVED THIS COMMUNICATION IN
ERROR, PLEASE NOTIFY IMMEDIATELY AT tutti...@gmail.com OR BY TELEPHONE
AT 817-458-1764.


THANK YOU.

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: JSON Plugin - my execute method is being called twice

2011-03-14 Thread Muneer Malik
also noticed:

6 times constructor called
2 time execute

This is when validation is true

DEBUG [http-8080-6] net.xxx.emr.workflow.action.insertHeparinAjax - In
the constructor
DEBUG [http-8080-6] net.xxx.emr.workflow.action.insertHeparinAjax - In
the constructor
DEBUG [http-8080-4] net.xxx.emr.workflow.action.insertHeparinAjax - In
the constructor
DEBUG [http-8080-6] net.xxx.emr.workflow.action.insertHeparinAjax - In
the constructor
DEBUG [http-8080-6] net.xxx.emr.workflow.action.insertHeparinAjax
customExecute- I am in the Heparin Code AJAX
DEBUG [http-8080-6] net.xxx.emr.workflow.action.insertHeparinAjax - In
the constructor
DEBUG [http-8080-6] net.xxx.emr.workflow.action.insertHeparinAjax - In
the constructor
DEBUG [http-8080-6] net.xxx.emr.workflow.action.insertHeparinAjax
customExecute- I am in the Heparin Code AJAX


On Mon, Mar 14, 2011 at 9:24 PM, Muneer Malik  wrote:

> If I don't use the sj:dialog (just regular form)
>
> and just the form with Ajax - its calling only once.
>
> but when validate is true, then the action is called multiple times.
>
> So believe something is definitely not right when used with validation and
> sj:submit being used inside dialog.
>
> Thanks
>
>
>
> On Mon, Mar 14, 2011 at 9:03 PM, Muneer Malik  wrote:
>
>> > method="post" id="formHeparinDialog" name="formHeparinDialog" theme="simple"
>> >
>>
>> >  targets="heparinResult"
>>  button="true"
>>  openDialog="heparinDialog"
>>  value="Authenticate And Save"
>>  indicator="heparin_indicator"
>>  id="heparinSubmit"
>>  validate="false"
>>  formIds="formHeparinDialog"
>>  onSuccessTopics="successHeparinDialog"
>>
>>  />
>>
>>
>> its the same action configured !
>>
>> Best,
>> Muneer
>>
>>
>> On Mon, Mar 14, 2011 at 8:58 PM, satyanarayana katta <
>> saty.pra...@gmail.com> wrote:
>>
>>> Check if the action is submitted twice!  If you are using js submit of
>>> the form explicitly and form tag also has the same action configured.
>>>
>>> Sent from my iPhone
>>>
>>> On Mar 14, 2011, at 6:45 PM, fr...@meruvian.org wrote:
>>>
>>> > We got current json plugins also have problem parse json
>>> >
>>> > I think the json jar is the current issue
>>> >
>>> > We modify to use jackson
>>> >
>>> > Anyone?
>>> >
>>> > The actionmapper using jackson we put in github.com/blueoxygen/cimande
>>> >
>>> >
>>> > /m/
>>> >
>>> > -Original Message-
>>> > From: Muneer Malik 
>>> > Date: Mon, 14 Mar 2011 19:36:33
>>> > To: Struts Users Mailing List
>>> > Reply-To: "Struts Users Mailing List" 
>>> > Subject: JSON Plugin - my execute method is being called twice
>>> >
>>> > Can someone help here? using the JSON plugin - my execute method is
>>> being
>>> > called twice.
>>> >
>>> > Thanks
>>> >
>>> > --
>>> > Confidentiality Notice
>>> > ---
>>> >
>>> >
>>> > THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
>>> > CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
>>> > DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED
>>> RECIPIENT, OR
>>> > THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
>>> > INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
>>> > DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.
>>>  IF YOU
>>> > HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
>>> > tutti...@gmail.com OR BY TELEPHONE AT <817-458-1764> <817-458-1764>
>>> 817-458-1764.
>>> >
>>> >
>>> > THANK YOU.
>>> >
>>>
>>> -
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>
>>>
>>
>>
>> --
>> Confidentiality Notice
>> ---
>>
>>
>> THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
>> CONTAIN INFORMATION THAT IS PRI

Re: JSON Plugin - my execute method is being called twice

2011-03-14 Thread Muneer Malik
If I don't use the sj:dialog (just regular form)

and just the form with Ajax - its calling only once.

but when validate is true, then the action is called multiple times.

So believe something is definitely not right when used with validation and
sj:submit being used inside dialog.

Thanks



On Mon, Mar 14, 2011 at 9:03 PM, Muneer Malik  wrote:

>  method="post" id="formHeparinDialog" name="formHeparinDialog" theme="simple"
> >
>
>   targets="heparinResult"
>  button="true"
>  openDialog="heparinDialog"
>  value="Authenticate And Save"
>  indicator="heparin_indicator"
>  id="heparinSubmit"
>  validate="false"
>  formIds="formHeparinDialog"
>  onSuccessTopics="successHeparinDialog"
>
>  />
>
>
> its the same action configured !
>
> Best,
> Muneer
>
>
> On Mon, Mar 14, 2011 at 8:58 PM, satyanarayana katta <
> saty.pra...@gmail.com> wrote:
>
>> Check if the action is submitted twice!  If you are using js submit of the
>> form explicitly and form tag also has the same action configured.
>>
>> Sent from my iPhone
>>
>> On Mar 14, 2011, at 6:45 PM, fr...@meruvian.org wrote:
>>
>> > We got current json plugins also have problem parse json
>> >
>> > I think the json jar is the current issue
>> >
>> > We modify to use jackson
>> >
>> > Anyone?
>> >
>> > The actionmapper using jackson we put in github.com/blueoxygen/cimande
>> >
>> >
>> > /m/
>> >
>> > -Original Message-
>> > From: Muneer Malik 
>> > Date: Mon, 14 Mar 2011 19:36:33
>> > To: Struts Users Mailing List
>> > Reply-To: "Struts Users Mailing List" 
>> > Subject: JSON Plugin - my execute method is being called twice
>> >
>> > Can someone help here? using the JSON plugin - my execute method is
>> being
>> > called twice.
>> >
>> > Thanks
>> >
>> > --
>> > Confidentiality Notice
>> > ---
>> >
>> >
>> > THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
>> > CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
>> > DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT,
>> OR
>> > THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
>> > INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
>> > DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF
>> YOU
>> > HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
>> > tutti...@gmail.com OR BY TELEPHONE AT <817-458-1764>817-458-1764.
>> >
>> >
>> > THANK YOU.
>> >
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>
>
> --
> Confidentiality Notice
> ---
>
>
> THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
> CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
> DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
> THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
> INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
> DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
> HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
> tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.
>
>
> THANK YOU.
>



-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.


Re: JSON Plugin - my execute method is being called twice

2011-03-14 Thread Muneer Malik
ok - my observation


if I use the sj:submit by itself then the JSON plugin is called only once
(confirmed from Chrome developer tool).
IF I add the sj:submit inside the sj:dialog - it is called twice
IF I add the validation then it is called 6 times

it seems like the sj: tags is creating issues

can we get this checked out?

Thanks

On Mon, Mar 14, 2011 at 8:45 PM,  wrote:

> We got current json plugins also have problem parse json
>
> I think the json jar is the current issue
>
> We modify to use jackson
>
> Anyone?
>
> The actionmapper using jackson we put in github.com/blueoxygen/cimande
>
>
> /m/
>
> -Original Message-
> From: Muneer Malik 
> Date: Mon, 14 Mar 2011 19:36:33
> To: Struts Users Mailing List
> Reply-To: "Struts Users Mailing List" 
> Subject: JSON Plugin - my execute method is being called twice
>
> Can someone help here? using the JSON plugin - my execute method is being
> called twice.
>
> Thanks
>
> --
> Confidentiality Notice
> ---
>
>
> THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
> CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
> DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
> THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
> INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
> DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF
> YOU
> HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
> tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.
>
>
> THANK YOU.
>
>


-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.


Re: JSON Plugin - my execute method is being called twice

2011-03-14 Thread Muneer Malik





its the same action configured !

Best,
Muneer


On Mon, Mar 14, 2011 at 8:58 PM, satyanarayana katta
wrote:

> Check if the action is submitted twice!  If you are using js submit of the
> form explicitly and form tag also has the same action configured.
>
> Sent from my iPhone
>
> On Mar 14, 2011, at 6:45 PM, fr...@meruvian.org wrote:
>
> > We got current json plugins also have problem parse json
> >
> > I think the json jar is the current issue
> >
> > We modify to use jackson
> >
> > Anyone?
> >
> > The actionmapper using jackson we put in github.com/blueoxygen/cimande
> >
> >
> > /m/
> >
> > -Original Message-
> > From: Muneer Malik 
> > Date: Mon, 14 Mar 2011 19:36:33
> > To: Struts Users Mailing List
> > Reply-To: "Struts Users Mailing List" 
> > Subject: JSON Plugin - my execute method is being called twice
> >
> > Can someone help here? using the JSON plugin - my execute method is being
> > called twice.
> >
> > Thanks
> >
> > --
> > Confidentiality Notice
> > ---
> >
> >
> > THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
> > CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
> > DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT,
> OR
> > THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
> > INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
> > DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF
> YOU
> > HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
> > tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.
> >
> >
> > THANK YOU.
> >
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.


JSON Plugin - my execute method is being called twice

2011-03-14 Thread Muneer Malik
Can someone help here? using the JSON plugin - my execute method is being
called twice.

Thanks

-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.


Re: GET/POST request in Struts 1.3.8

2011-03-03 Thread Muneer Malik
http://java.dzone.com/articles/understanding-web-security

On Thu, Mar 3, 2011 at 9:30 AM, Anjib Mulepati  wrote:

> Yes I did try to find something in struts-config.xml file as well as
> web.xml but nothing I could find out there.
> Have anyone done this before?
>
> Anjib
>
> On 3/3/2011 10:19 AM, Muneer Malik wrote:
>
>> you should be able to do this using the web.xml
>>
>> On Thu, Mar 3, 2011 at 8:59 AM, Anjib Mulepati
>>  wrote:
>>
>>  Hi
>>>
>>> Can someone help me on how to tell struts 1.3.8 to accept only either GET
>>> or POST request only?
>>>
>>> Thanks
>>> Anjib
>>>
>>> -
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>
>>>
>>>
>>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.


Re: GET/POST request in Struts 1.3.8

2011-03-03 Thread Muneer Malik
you should be able to do this using the web.xml

On Thu, Mar 3, 2011 at 8:59 AM, Anjib Mulepati  wrote:

> Hi
>
> Can someone help me on how to tell struts 1.3.8 to accept only either GET
> or POST request only?
>
> Thanks
> Anjib
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.


integrating web flow plugin for spring in struts 2

2011-02-26 Thread Muneer Malik
I am having problem with validation framework to work with the webflow
plugin.

ALL webflow transactions revolves around the FlowAction in
struts config, correct ? All your Jsp forms are submitting against
FlowAction correct ?

So the validation XMLs have to go against the FlowAction -.how would
you handle multiple result type having the same name "input"?

Any help/guidance would be appreciated!

Best,
Muneer

-- 
Confidentiality Notice
---


THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY
CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM
DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR
THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION,
DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU
HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT
tutti...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.