One of link is not working in Core Developers Guide

2012-02-13 Thread mohan rao
the following link is not working please fix it struts.apache.org/2.x/docs/type-conversion.html -- View this message in context: http://struts.1045723.n5.nabble.com/One-of-link-is-not-working-in-Core-Developers-Guide-tp5479933p5479933.html Sent from the Struts - User mailing list archive at

Re: How to compare string reference variables using ognl?

2011-12-13 Thread mohan rao
Thanks for your response, if i put that same thing will happen. First the expression is evaluated after that s:if is going to processed. I want to know whether the expression is true or false. After that i will use s:if tag. -- View this message in context:

Re: struts2 string to map conversion

2011-12-13 Thread mohan rao
Parameters will returns String[] but not string check out that might be causing the problem. -- View this message in context: http://struts.1045723.n5.nabble.com/struts2-string-to-map-conversion-tp5052114p5060791.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: Struts2 ScopeInterceptor scope.type end problem

2011-12-13 Thread mohan rao
Once you action execution is done all the valueStack objects will be cleared. This is might be causing the problem. And can you please elaborate your requirements. -- View this message in context:

How to compare string reference variables using ognl?

2011-12-12 Thread mohan rao
Please delete my previous thread my query was not posted completely. s:set var=selectedOffer value=%{offers.dicountkey}/ s:iterator var =entry value = #session.eligibleEcOffersMap s:set var=queryString value=%{#entry.key}/ T/Fs:property value=selectedOffer.equals(queryString)/ Nothing is

Re: How to compare string reference variables using ognl?

2011-12-12 Thread mohan rao
s:set var=selectedOffer value=%{ecOffers.dicountKey}/ s:iterator var =entry value = #session.discountOffers s:set var=queryString value=%{#entry.key}/ s:property value=selectedOffer.equals(queryString)/ It supposed to print true or false. But not printing any value s:property

How to compare string reference variables using ognl?

2011-12-08 Thread mohan rao
s:set var=quot;selectedOfferquot; value='lt;s:property value=quot;#parameters.offerType[0]quot;/'/ Even if the both values are same it's giving false. It's giving true only when both are pointing to null. And even i tried following as well Thanks. -- View this message in context:

How do i redirect to another action in filter?

2011-09-16 Thread mohan rao
Hi, As per my requirement i'm overriding prepareandexecture filter. I'm restricting the user from un accessable actions he might be book marked it before. I don't want to this in interceptor. I want to decide it on filter itself because i can reduce some processing. I tried with

How do i test Struts 2 jsp page rendering time.

2011-09-13 Thread mohan rao
Hi, I want to test jsp page rendering time used struts-tags. I put a log message at the end of the action class before returning result and again at first calling interceptor because it will be executed last. And after result is sending all the interceptors will be executed in reverse order.

Doubt on Accessing Session from ActionContext

2011-09-05 Thread mohan rao
You can obtain the request by asking the ActionContext or implementing ServletRequestAware. Implementing ServletRequestAwareis preferred. *why it's not preferable accessing through ActionContext even though it's thread safe. If it's true why we need session,request,response,params interceptors*

Re: Doubt on Struts 2 Architechture

2011-07-25 Thread mohan rao
suppose, i'm not using timer interceptor and suppose i'm using timer interceptor then in such a case that interceptor only triggered but it's executing all interceptor in reverse order once again in post processing. why? -- View this message in context:

Re: Doubt on Struts 2 Architechture

2011-07-25 Thread mohan rao
On Mon, Jul 25, 2011 at 9:58 AM, mohan rao [via Struts] ml-node+4629574-1865382249-219...@n5.nabble.com wrote: suppose, i'm not using timer interceptor and suppose i'm using timer interceptor then in such a case that interceptor only triggered but it's executing all interceptor in reverse

Re: struts2 There is a bug in FileUploadInterceptor (FileContentType).

2011-07-19 Thread mohan rao
can you please give me name that library jar file. -- View this message in context: http://struts.1045723.n5.nabble.com/struts2-There-is-a-bug-in-FileUploadInterceptor-FileContentType-tp4601250p4611321.html Sent from the Struts - User mailing list archive at Nabble.com.

Doubt on Struts 2 Architechture

2011-07-18 Thread mohan rao
Interceptors stack will be triggered before action class is executed and after the result. Why it's need to execute interceptors stack once again after result. I used all the interceptors before triggering an action and what's the purpose of calling these interceptors once again after action

Re: Doubt on Struts 2 Architechture

2011-07-18 Thread mohan rao
I was already posted my question http://www.coderanch.com/t/542088/Struts/struts-Architechture got zero response. -- View this message in context: http://struts.1045723.n5.nabble.com/Doubt-on-Struts-2-Architechture-tp4601232p4601242.html Sent from the Struts - User mailing list archive at

struts2 There is a bug in FileUploadInterceptor (FileContentType).

2011-07-18 Thread mohan rao
I'm trying to rescrit a file being Upload based on FileContentType. I'm facing browser compatability issue. Suppose if i have to allow only jar files (application/java-archive) but i'm getting different contentTypes for different browsers. Like x-zip compressed, application-octstream for the jar