Author Login
Post Reply
user Digest 26 Jul 2010 19:35:26 -0000 Issue 9133
Topics (messages 207043 through 207056):
Re: Struts2 - Html to PDF
207043 by: Miguel
REST URLs
207044 by: Arun Kumar Boppudi
207047 by: Kevin Jones
207048 by: Arun Kumar Boppudi
207052 by: Kevin Jones
207054 by: Kevin Jones
Re: Adding annotations to the interceptor stack
207045 by: Lukasz Lenart
207046 by: Kevin Jones
Re: Center to learn Struts2
207049 by: Martin Gainty
207050 by: Frans Thamura
File Upload
207051 by: RogerV
Re: IE7 abruptly closes with struts 2.1.7
207053 by: Martin Gainty
Interceptors probelms
207055 by: Rohit
207056 by: Cimballi
Administrivia:
---------------------------------------------------------------------
To post to the list, e-mail: user@(protected)
To unsubscribe, e-mail: user-digest-unsubscribe@(protected)
For additional commands, e-mail: user-digest-help@(protected)
----------------------------------------------------------------------

Attachment:
user_207043.ezm (zipped)FOP is good, but it transforms from XML-FO to PDF (and lots of other
target formats).
If you want to tranform html to pdf you need a 3 stage process:
first you write XHTML with CSS using what ever you have/know/like.
Then you transform it to XML-FO using CSS2XSLFO
(www.re.be/css2xslfo/index.xhtml)
Then you transform this to PDF using FOP (or others front-ends)
Please be warned that this combination is very flexible but has very
odd limitations.
For reporting uses, you may want also to look jasper reports and BIRT
that also exports to PDF.
Si quieres ser más positivo, pierde un electrón
Miguel Ruiz Velasco Sobrino
On Sat, Jul 24, 2010 at 09:08, Martin Gainty <mgainty@(protected):
>
> i dont know how Crystal can ingest either XSD schema entities or POJOs..maybe someone out there knows of a converter?
>
>
> FOP transform is the best solution offered
>
> http://xmlgraphics.apache.org/fop/
>
>
>
> Good Call!
> Martin
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>
>
>
>> Date: Fri, 23 Jul 2010 17:33:23 -0400
>> Subject: Re: Struts2 - Html to PDF
>> From: wesw@(protected)
>> To: user@(protected)
>>
>> I'd assume it's possible, but probably not the best choice... I would
>> take a look at doing either a Jasper report or using Apache FOP. The
>> choice will have to do with the nature of the PDF you are trying to
>> generate. Jasper is a reporting platform... Think of Crystal Reports,
>> there is a report designer, you then back the report with data and
>> render. Jasper uses iText to generate PDFs, and it will let you create
>> more of a "document" than a bunch of code.
>>
>> If your output will be hard to model in a traditional reporting
>> platform, then take a look at Apache FOP. It's very complicated, but
>> think of it this way -
>>
>> You start with XML modelling your data, then pass it through a
>> transform that kicks out XSL-FO, then you have Apache FOP turn it into
>> a PDF. I don't have any real experience with it, so I might be giving
>> you bad information (and hope someone will correct me). But, in this
>> scenario, you are generating XML which represents the data you are
>> passing to the output. The transform is done using XSLT? Which is
>> another standard. What you generate is an XSL-FO document. This
>> document can be rendered as a PDF by FOP. Although it's a more
>> complicated process than the first choice, it does add some
>> flexibility since you can drop-in replace different components (the
>> transformer, the FO-to-PDF converter, probably), plus, you can create
>> other XSLTs that generate other output. With Jasper, you'll probably
>> be locked into PDF, HTML and Excel (CSV).
>>
>> -Wes
>>
>> On Fri, Jul 23, 2010 at 4:43 PM, CRANFORD, CHRIS
>> <Chris.Cranford@(protected):
>> > Is it possible to extend the default ServletDispatcherResult to parse
>> > the HTML output and pass the result content to the browser as a PDF
>> > document? Or is there a better approach to doing this? What I want to
>> > be able to do is to allow easy creation of PDF documents from HTML
>> > content. Presently I am looking to use iText but this isn't a firm
>> > choice and another option that may work better is possible.
>> >
>> > Chris
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@(protected)
>> > For additional commands, e-mail: user-help@(protected)
>> >
>> >
>>
>>
>>
>> --
>> Wes Wannemacher
>>
>> Head Engineer, WanTii, Inc.
>> Need Training? Struts, Spring, Maven, Tomcat...
>> Ask me for a quote!
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>
> _________________________________________________________________
> The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
> http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4

Attachment:
user_207044.ezm (zipped)Is there anyway we can use /client/{clientId}/business/{businessId} kind of
URLs in Struts 2.0?
-- AB

Attachment:
user_207047.ezm (zipped)Yes it is.
Look at the REST plugin but then you'll need some more processing.
Jeromy Evans (who was/is a Struts commiter) posted an example a while ago.
Look at this thread here
http://www.mail-archive.com/issues@(protected)
The example is supposed to be at: http://www.blueskyminds.com.au/url-hierarchy/
but the link is broken at the moment.
I've used the code as an example and it all seems to work.
Ping me if you can't get the code and I can send it to you (it's
licensed under the Apache license so it's OK to share),
Kevin Jones
On 26 July 2010 09:00, Arun Kumar Boppudi <arunkumar.boppudi@(protected):
> Is there anyway we can use /client/{clientId}/business/{businessId} kind of
> URLs in Struts 2.0?
>
> -- AB
>
--
Kevin

Attachment:
user_207048.ezm (zipped)http://www.blueskyminds.com.au/url-hierarchy/ is not available.
-- AB
On Mon, Jul 26, 2010 at 4:30 PM, Kevin Jones <kev.r.jones@(protected):
> Yes it is.
>
> Look at the REST plugin but then you'll need some more processing.
>
> Jeromy Evans (who was/is a Struts commiter) posted an example a while ago.
>
> Look at this thread here
> http://www.mail-archive.com/issues@(protected)
>
> The example is supposed to be at:
> http://www.blueskyminds.com.au/url-hierarchy/
> but the link is broken at the moment.
>
> I've used the code as an example and it all seems to work.
>
> Ping me if you can't get the code and I can send it to you (it's
> licensed under the Apache license so it's OK to share),
>
> Kevin Jones
>
> On 26 July 2010 09:00, Arun Kumar Boppudi <arunkumar.boppudi@(protected)>
> wrote:
> > Is there anyway we can use /client/{clientId}/business/{businessId} kind
> of
> > URLs in Struts 2.0?
> >
> > -- AB
> >
>
>
>
> --
> Kevin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_207052.ezm (zipped)There is a cached copy of the site here
http://webcache.googleusercontent.com/search?q=cache:http://www.blueskyminds.com.au/url-hierarchy/
(you'll need to follow cached copies of the other links as well)
I've sent Jeromy Evans an email asking if it's OK to post his code.
If/when he replies I'll put it somewhere where it can be downloaded,
Kevin
On 26 July 2010 12:36, Arun Kumar Boppudi <arunkumar.boppudi@(protected):
> http://www.blueskyminds.com.au/url-hierarchy/ is not available.
> -- AB
>
>
> On Mon, Jul 26, 2010 at 4:30 PM, Kevin Jones <kev.r.jones@(protected):
>
>> Yes it is.
>>
>> Look at the REST plugin but then you'll need some more processing.
>>
>> Jeromy Evans (who was/is a Struts commiter) posted an example a while ago.
>>
>> Look at this thread here
>> http://www.mail-archive.com/issues@(protected)
>>
>> The example is supposed to be at:
>> http://www.blueskyminds.com.au/url-hierarchy/
>> but the link is broken at the moment.
>>
>> I've used the code as an example and it all seems to work.
>>
>> Ping me if you can't get the code and I can send it to you (it's
>> licensed under the Apache license so it's OK to share),
>>
>> Kevin Jones
>>
>> On 26 July 2010 09:00, Arun Kumar Boppudi <arunkumar.boppudi@(protected)>
>> wrote:
>> > Is there anyway we can use /client/{clientId}/business/{businessId} kind
>> of
>> > URLs in Struts 2.0?
>> >
>> > -- AB
>> >
>>
>>
>>
>> --
>> Kevin
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>
--
Kevin

Attachment:
user_207054.ezm (zipped)I've heard back from Jeromy Evans. He's happy for me to post the code.
Unfortunately it may not be until the weekend as I'm on the road at
the moment,
Kevin
On 26 July 2010 14:11, Kevin Jones <kev.r.jones@(protected):
> There is a cached copy of the site here
>
> http://webcache.googleusercontent.com/search?q=cache:http://www.blueskyminds.com.au/url-hierarchy/
> (you'll need to follow cached copies of the other links as well)
>
> I've sent Jeromy Evans an email asking if it's OK to post his code.
> If/when he replies I'll put it somewhere where it can be downloaded,
>
> Kevin
>
> On 26 July 2010 12:36, Arun Kumar Boppudi <arunkumar.boppudi@(protected):
>> http://www.blueskyminds.com.au/url-hierarchy/ is not available.
>> -- AB
>>
>>
>> On Mon, Jul 26, 2010 at 4:30 PM, Kevin Jones <kev.r.jones@(protected):
>>
>>> Yes it is.
>>>
>>> Look at the REST plugin but then you'll need some more processing.
>>>
>>> Jeromy Evans (who was/is a Struts commiter) posted an example a while ago.
>>>
>>> Look at this thread here
>>> http://www.mail-archive.com/issues@(protected)
>>>
>>> The example is supposed to be at:
>>> http://www.blueskyminds.com.au/url-hierarchy/
>>> but the link is broken at the moment.
>>>
>>> I've used the code as an example and it all seems to work.
>>>
>>> Ping me if you can't get the code and I can send it to you (it's
>>> licensed under the Apache license so it's OK to share),
>>>
>>> Kevin Jones
>>>
>>> On 26 July 2010 09:00, Arun Kumar Boppudi <arunkumar.boppudi@(protected)>
>>> wrote:
>>> > Is there anyway we can use /client/{clientId}/business/{businessId} kind
>>> of
>>> > URLs in Struts 2.0?
>>> >
>>> > -- AB
>>> >
>>>
>>>
>>>
>>> --
>>> Kevin
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>>> For additional commands, e-mail: user-help@(protected)
>>>
>>>
>>
>
>
>
> --
> Kevin
>
--
Kevin

Attachment:
user_207045.ezm (zipped)defaultStack [1] already has validation interceptor defined, you
shouldn't duplicate it.
The best way is to create your own stack and play with interceptors -
not to refer to other stack.
[1] http://struts.apache.org/2.x/docs/interceptors.html
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl

Attachment:
user_207046.ezm (zipped)Thanks Lukasz,
I found this out the hard way :)
Kevin
On 26 July 2010 09:31, Lukasz Lenart <lukasz.lenart@(protected):
> defaultStack [1] already has validation interceptor defined, you
> shouldn't duplicate it.
> The best way is to create your own stack and play with interceptors -
> not to refer to other stack.
>
> [1] http://struts.apache.org/2.x/docs/interceptors.html
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> Kapituła Javarsovia 2010 http://javarsovia.pl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
--
Kevin

Attachment:
user_207049.ezm (zipped)
If i'm ever in southeast asia i'll be sure to visit
Struts2 Training Centres in Europe and Asia are somewhat covered..(although the china and india markets seem to be open?)
Would like to hear about wes struts2 training centre in the united states is coming along?
A Struts2 online course would be well received by all
Thanks Frans!
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> From: frans@(protected)
> Date: Sat, 24 Jul 2010 22:47:07 +0700
> Subject: Center to learn Struts2
> To: user@(protected)
>
> hi all
>
> i did post in this mailing list a long time, and wanna to show something
>
> we teach kids, second year in highschool, to learn Java, MVC, and of course
> using struts2
>
> mostly the code hosted in ugforge.net
>
> this is the place
>
> http://www.facebook.com/album.php?aid=256885&id=53258881039&saved#!/album.php?aid=256885&id=53258881039
>
> may be someone wanna to come, and share ur skill :)
>
>
> --
> Frans Thamura
> Meruvian.
>
> We grow because we share the same believe.
>
> Mobile: +6287885901958
> Blog & Profile: http://frans.thamura.info
>
> We provide services to migrate your apps to Java (web), in amazing fast and
> reliable.
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1

Attachment:
user_207050.ezm (zipped)the kids will welcome u to come
just contact me, if u wanna to evaluate our curriculums that will be cool
we use struts2-sprng-hibernate and now we try to replace spring with CDI
F
On Mon, Jul 26, 2010 at 6:58 PM, Martin Gainty <mgainty@(protected):
>
> If i'm ever in southeast asia i'll be sure to visit
>
>
>
> Struts2 Training Centres in Europe and Asia are somewhat covered..(although
> the china and india markets seem to be open?)
>
>
>
> Would like to hear about wes struts2 training centre in the united states
> is coming along?
>
>
> A Struts2 online course would be well received by all
>
>
>
> Thanks Frans!
> Martin
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
>
> > From: frans@(protected)
> > Date: Sat, 24 Jul 2010 22:47:07 +0700
> > Subject: Center to learn Struts2
> > To: user@(protected)
> >
> > hi all
> >
> > i did post in this mailing list a long time, and wanna to show something
> >
> > we teach kids, second year in highschool, to learn Java, MVC, and of
> course
> > using struts2
> >
> > mostly the code hosted in ugforge.net
> >
> > this is the place
> >
> >
> http://www.facebook.com/album.php?aid=256885&id=53258881039&saved#!/album.php?aid=256885&id=53258881039
> >
> > may be someone wanna to come, and share ur skill :)
> >
> >
> > --
> > Frans Thamura
> > Meruvian.
> >
> > We grow because we share the same believe.
> >
> > Mobile: +6287885901958
> > Blog & Profile: http://frans.thamura.info
> >
> > We provide services to migrate your apps to Java (web), in amazing fast
> and
> > reliable.
>
> _________________________________________________________________
> Hotmail has tools for the New Busy. Search, chat and e-mail from your
> inbox.
>
> http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
>

Attachment:
user_207051.ezm (zipped)
Is there a way of specifying the start directory to be used when the user
hits the "browse" button? As far as I can see, the system "remembers" where
it was looking last time, but this seems to be when the "file selector" was
last used, regardless of which particular instance was used. (i.e if I have
5 file uploads, all needing to start in a different location, each of them
shares the "last directory used" - or appears to)
Regards
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_207053.ezm (zipped)
IE options:
enable script debugging
display notification about every script error
before the error is manifested append debug=browser on your Action e.g. index.action?query=browser
http://struts.apache.org/2.1.8.1/docs/debugging-struts.html
strip the jsp down to basics (a form) and add in one component at a time and observe behavior
<%@(protected)" %>
<html>
<head><title>Title</title></head>
<body>
<s:form action="YourAction">
<s:submit value="submit"/>
</s:form>
</body>
</html>
add JSTL EL
do you see error?
add OGNL expressions
do you see error?
do you see error with other browsers??
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> Subject: IE7 abruptly closes with struts 2.1.7
> From: saty.prasad@(protected)
> Date: Tue, 20 Jul 2010 09:39:30 -0700
> To: user@(protected)
>
> Hi,
>
> We are using struts 2.1.7 with dojos for our application. Sometimes the Ie7 abruptly closes leaving no traces what so ever. Has any one faced this issue earlier?
>
>
> Sent from my iPhone
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3

Attachment:
user_207055.ezm (zipped)Hi,
I am new to struts2, prior to this I have been using struts1.2, Spring and
Hibernate combination. I have just started using Struts2,Spring and
Hibernate application, but I seem to be plagued with interceptor exceptions,
There are two error which keep happening, all in different scenarios
1) 2010-07-26 19:50:58,031 ERROR
org.apache.struts2.dispatcher.Dispatcher.error:27 - Could not find action or
result
No result defined for action com.inrev.bm.action.IRCampaignMgmtAction and
result input
at
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionI
nvocation.java:364)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati
on.java:266)
at
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(Validati
onInterceptor.java:252)
at
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
at
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Method
FilterInterceptor.java:87)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati
on.java:237)
at
com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(Con
versionErrorInterceptor.java:122)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati
on.java:237)
at
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(Parame
tersInterceptor.java:195)
at
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Method
FilterInterceptor.java:87)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati
on.java:237)
at
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(Parame
tersInterceptor.java:195)
2) 2010-07-26 22:09:22,779 DEBUG
com.opensymphony.xwork2.interceptor.ParametersInterceptor.debug:57 - Setting
params session => [
{"session_key":"djshjhdfkjhdjhuhhhgfhg-1133902930","uid":1133902930,"expires
":0,"secret":"fjhfhlkasjdhfkdsjfhjhyhfhdjhfjkdh","sig":"hfjdfhljksdfhjkasdhf
jhdfjhakfjnmx,nvds"} ]
2010-07-26 22:09:22,780 DEBUG
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:57 - Property:
session
2010-07-26 22:09:22,781 DEBUG
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:57 - Class:
com.inrev.bm.action.IRFacebookAction
2010-07-26 22:09:22,797 DEBUG
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:57 - converter
is null for property session. Mapping size: 0
2010-07-26 22:09:22,797 DEBUG
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:57 -
field-level type converter for property [session] = none found
2010-07-26 22:09:22,798 DEBUG
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:57 -
global-level type converter for property [session] = none found
2010-07-26 22:09:22,799 DEBUG
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:57 - falling
back to default type converter
[
com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter@(protected)]
2010-07-26 22:09:22,804 DEBUG
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:61 - unable to
convert value using type converter
[
com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter]
Cannot create type interface
java.util.Map from value
{"session_key":"6e2ecfba81fc0e9b889a80021133902930","uid":1133902930,"expire
s":0,"secret":"
fjhfhlkasjdhfkdsjfhjhyhfhdjhfjkd","sig":"fe455338f9d869e589939d9c8dcdccb7"}
- [unknown location] at
com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter.convertValue(XWo
rkBasicConverter.java:141)
at
com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter.convertValue(XWo
rkBasicConverter.java:135)
at
com.opensymphony.xwork2.conversion.impl.XWorkConverter.convertValue(XWorkCon
verter.java:323)
at
com.opensymphony.xwork2.ognl.OgnlTypeConverterWrapper.convertValue(OgnlTypeC
onverterWrapper.java:28)
at ognl.OgnlRuntime.getConvertedType(OgnlRuntime.java:1040)
at ognl.OgnlRuntime.getConvertedTypes(OgnlRuntime.java:1057)
at ognl.OgnlRuntime.getConvertedMethodAndArgs(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

Attachment:
user_207056.ezm (zipped)The first one is pretty clear :
No result defined for action com.inrev.bm.action.IRCampaignMgmtAction and
result input
You have to check your struts.xml file (or other xml configuration
files for Struts), in the declaration of the action
IRCampaignMgmtAction and add a result with the name "input".
Cimballi
On Mon, Jul 26, 2010 at 12:23 PM, Rohit <rohit@(protected):
> Hi,
>
>
>
> I am new to struts2, prior to this I have been using struts1.2, Spring and
> Hibernate combination. I have just started using Struts2,Spring and
> Hibernate application, but I seem to be plagued with interceptor exceptions,
>
>
>
> There are two error which keep happening, all in different scenarios
>
>
>
> 1) 2010-07-26 19:50:58,031 ERROR
>
org.apache.struts2.dispatcher.Dispatcher.error:27 - Could not find action or
> result
> No result defined for action com.inrev.bm.action.IRCampaignMgmtAction and
> result input
> at
>
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionI
> nvocation.java:364)
> at
>
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati
> on.java:266)
> at
>
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(Validati
> onInterceptor.java:252)
> at
>
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.do> Intercept(AnnotationValidationInterceptor.java:68)
> at
>
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Method
> FilterInterceptor.java:87)
> at
>
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati
> on.java:237)
> at
>
com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(Con
> versionErrorInterceptor.java:122)
> at
>
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati
> on.java:237)
> at
>
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(Parame
> tersInterceptor.java:195)
> at
>
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Method
> FilterInterceptor.java:87)
> at
>
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocati
> on.java:237)
> at
>
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(Parame
> tersInterceptor.java:195)
>
>
>
> 2) 2010-07-26 22:09:22,779 DEBUG
>
com.opensymphony.xwork2.interceptor.ParametersInterceptor.debug:57 - Setting
> params session => [
> {"session_key":"djshjhdfkjhdjhuhhhgfhg-1133902930","uid":1133902930,"expires
> ":0,"secret":"fjhfhlkasjdhfkdsjfhjhyhfhdjhfjkdh","sig":"hfjdfhljksdfhjkasdhf
> jhdfjhakfjnmx,nvds"} ]
>
> 2010-07-26 22:09:22,780 DEBUG
>
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:57 - Property:
> session
>
> 2010-07-26 22:09:22,781 DEBUG
>
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:57 - Class:
> com.inrev.bm.action.IRFacebookAction
>
> 2010-07-26 22:09:22,797 DEBUG
>
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:57 - converter
> is null for property session. Mapping size: 0
>
> 2010-07-26 22:09:22,797 DEBUG
>
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:57 -
> field-level type converter for property [session] = none found
>
> 2010-07-26 22:09:22,798 DEBUG
>
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:57 -
> global-level type converter for property [session] = none found
>
> 2010-07-26 22:09:22,799 DEBUG
>
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:57 - falling
> back to default type converter
> [
com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter@(protected)]
>
> 2010-07-26 22:09:22,804 DEBUG
>
com.opensymphony.xwork2.conversion.impl.XWorkConverter.debug:61 - unable to
> convert value using type converter
> [
com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter]
>
> Cannot create type interface
java.util.Map from value
> {"session_key":"6e2ecfba81fc0e9b889a80021133902930","uid":1133902930,"expire
> s":0,"secret":"
> fjhfhlkasjdhfkdsjfhjhyhfhdjhfjkd","sig":"fe455338f9d869e589939d9c8dcdccb7"}
> - [unknown location] at
>
com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter.convertValue(XWo
> rkBasicConverter.java:141)
>
> at
>
com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter.convertValue(XWo
> rkBasicConverter.java:135)
>
> at
>
com.opensymphony.xwork2.conversion.impl.XWorkConverter.convertValue(XWorkCon
> verter.java:323)
>
> at
>
com.opensymphony.xwork2.ognl.OgnlTypeConverterWrapper.convertValue(OgnlTypeC
> onverterWrapper.java:28)
>
> at ognl.OgnlRuntime.getConvertedType(OgnlRuntime.java:1040)
>
> at ognl.OgnlRuntime.getConvertedTypes(OgnlRuntime.java:1057)
>
> at ognl.OgnlRuntime.getConvertedMethodAndArgs(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
>
>
>
>
>
>
>
>
--
Cimballi
JAVA J2EE Freelance
http://javajeeleader.elance.com/