Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

user Digest 5 Apr 2008 17:10:00 -0000 Issue 7966

user-digest-help

2008-04-05


Author LoginPost Reply

user Digest 5 Apr 2008 17:10:00 -0000 Issue 7966

Topics (messages 185088 through 185095):

Re: [S2] Struts with Web Services
 185088 by: Dustin S.

Re: [OT] What do you code today?
 185089 by: Al Sutton

Re: any struts 2 unit testers out there?
 185090 by: paulbrickell
 185091 by: paulbrickell

Looking for example of JSON plugin
 185092 by: Karr, David

Struts2 and <display:table> tag
 185093 by: aum strut
 185094 by: Dave Newton
 185095 by: aum strut

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_185088.ezm (zipped)
We've had great success with CAS. Its pretty trivial to 'cas-ify' a web
application and as wes mentioned it is very nice for a single sign on
solution. They also have a very active mailing list.

On Fri, Apr 4, 2008 at 3:59 PM, Wes Wannemacher <wesw@(protected):

> Production integration experience? No...
>
> I evaluated it and did a quick proof-of-concept on a project once. We
> ended up sticking with the in-house option, which wasn't bad, but it was
> an apache mod, so we periodically looked for alternatives because we
> were always tied to mod_jk or mod_proxy because the
> authentication/authorization service was tied to httpd.
>
> The nice thing about CAS was that it can be integrated in more than just
> Java web-apps. You can also integrate with acegi rather easily. It's
> worth checking out if you have a suite of web-apps that you would like
> to create a single-sign-on that is somewhat reusable.
>
> -Wes
>
> On Fri, 2008-04-04 at 08:56 +0200, Lukasz Lenart wrote:
> > > http://www.ja-sig.org/products/cas/
> > >
> > > -Wes
> >
> > Do you have some experience with that? It looks quite interesting ;-)
> >
> >
> > Regards
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment: user_185089.ezm (zipped)
http://www.enterprise-password-safe.com/

At the moment the code is under a major overhaul to use S2.1 (yes, 2.1) and
add some new features, hence my big interest in 2.1 :).

Al.

----- Original Message -----
From: "Ted Husted" <husted@(protected)>
To: "Struts Users Mailing List" <user@(protected)>
Sent: Friday, April 04, 2008 12:14 PM
Subject: [OT] What do you code today?


> While outward facing web application get the most publicity, I know
> that most of us are heads-down on internally-facing applications
> designed for fellow employees to use over the corporate intranet.
>
> I'm trying to put together a list of the typical types of applications
> that enterprise developer write in real life. For example, my last
> project involved a system to track drafting, granting, monitoring, and
> enforcing water permits administered by a government agency. We would
> create an initial record for a permit, and then add child records to
> track progress through the workflow, and also update the master record
> along the way. For management, a key item here is a tracking report,
> which we exported to Word (using a third-party tool) for better
> formatting. For engineers, a key item was a flexible search system to
> quickly find a master or child record. Other interesting features are
> workflows where one task leads to another. When we completed one task
> (child record), the next is often implied, and so we had a workflow
> that would default the next task to work on when a current task was
> closed. Another interesting requirement was that sometimes master
> items were merged under another uber-master-item, becoming, in effect,
> child items themselves. In most cases, the application simply exposed
> business models that we designed into the database, so the application
> has little business logic of its own. Most of the workflows were
> designed to find, list, edit, or view one database entity or the
> other.
>
> So, if anyone else is up for sharing, I'd be interested in hearing
> what sort of things other people are doing these days. (If your not
> comfortable posting the list, feel free to mail me direct.)
>
> -Ted.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>


Attachment: user_185090.ezm (zipped)

Yes, I did discuss the pros and cons of them in this post
http://www.nabble.com/any-struts-2-unit-testers-out-there--to13437046.html#a16490696

Cheers,
Paul B.


dkarr wrote:
>
> And did you investigate using either of the common Java frameworks for
> Mock objects, jMock and EasyMock?
>
>> -----Original Message-----
>> From: paulbrickell [mailto:paul.brickell@(protected)]
>> Sent: Friday, April 04, 2008 3:04 AM
>> To: user@(protected)
>> Subject: RE: any struts 2 unit testers out there?
>>
>>
>> Actually thats an interesting post. To my mind it doesn't
>> demonstrate a solution. It demonstrates the problem.
>>
>> Here is why I think this.
>>
>> Struts 2 is just frankly brilliant for people doing test
>> first development.
>> The classes you create really are POJOs. There are no
>> dependencies on any framework in my action classes. For
>> example parameters are parsed well away from my action and
>> the values are set using simple properties, things like
>> sessions are simply maps. It is a truly new world for those
>> of who have suffered the horror of mocking http requests,
>> responses, context and the like.
>>
>> But this simple scenario brings all that pain flooding back.
>> I add a line in my action like this...
>>
>> String yadaYada = getText("some.doodad");
>>
>> And my lovely world comes unraveled real quick. Now I need
>> mock objects up the ying-yang.
>>
>> I started using the tutorial from the link posted (I am an
>> Arsenal fan btw, so got two for the price of one, thanks),
>> but it still doesn't provide a simple solution to the
>> problem. To get this to work I have to build not just the
>> application context but a mass of supporting objects to get a
>> (partial) web application framework up and running before I
>> can test my simple POJO.
>>
>> I am not going to give up just yet, but I think I am still
>> going to have to look for another way.
>>
>> Cheers,
>> Paul B.
>>
>>
>>
>>
>> Relph,Brian wrote:
>> >
>> >
>> > I recommend creating an action context. Here is the basic guide I
>> > followed to do so:
>> >
>> >
>> http://arsenalist.com/2007/06/18/unit-testing-struts-2-actions-spring-
>> > junit/
>> >
>> > If you are not using spring or the struts2 spring plugin,
>> you can cut
>> > out all the code around the applicationContext.
>> >
>> >
>> > -----Original Message-----
>> > From: paulbrickell [mailto:paul.brickell@(protected)]
>> > Sent: Thursday, April 03, 2008 11:44 AM
>> > To: user@(protected)
>> > Subject: Re: any struts 2 unit testers out there?
>> >
>> >
>> > I am trying to deal with the same issue. Did you get any resolution?
>> >
>> > Following on from the reply asking for a stack trace, here
>> is what I
>> > am getting...
>> >
>> >
>> > java.lang.NullPointerException
>> >  at
>> >
>> com.opensymphony.xwork2.util.LocalizedTextUtil.findText(Locali
>> zedTextUtil.java:299)
>> >  at
>> >
>> com.opensymphony.xwork2.TextProviderSupport.getText(TextProvid
>> erSupport.java:172)
>> >  at
>> >
>> com.opensymphony.xwork2.TextProviderSupport.getText(TextProvid
>> erSupport.java:87)
>> >  at
>> com.opensymphony.xwork2.ActionSupport.getText (ActionSupport.java:80)
>> >      <SNIP>
>> >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >  at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
>> orImpl.java:39)
>> >  at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
>> odAccessorImpl.java:25)
>> >  at java.lang.reflect.Method.invoke (Method.java:585)
>> >  at
>> org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
>> >  at
>> >
>> org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRo
>> adie.java:98)
>> >  at
>> org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
>> >  at
>> >
>> org.junit.internal.runners.MethodRoadie.runBeforesThenTestThen
>> Afters(MethodRoadie.java:87)
>> >  at
>> org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
>> >  at
>> org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
>> >  at
>> >
>> org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(
>> JUnit4ClassRunner.java:88)
>> >  at
>> >
>> org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4
>> ClassRunner.java:51)
>> >  at
>> >
>> org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4Class
> Runner.java:44)
>> >  at
>> >
>> org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoa
>> die.java:27)
>> >  at
>> >
>> org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadi
>> e.java:37)
>> >  at
>> >
>> org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRu
>> nner.java:42)
>> >  at
>> >
>> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run
>> (JUnit4TestReference.java:38)
>> >  at
>> >
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestEx
>> ecution.java:38)
>> >  at
>> >
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTest
>> s(RemoteTestRunner.java:460)
>> >  at
>> >
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTest
>> s(RemoteTestRunner.java:673)
>> >  at
>> >
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(Rem
>> oteTestRunner.java:386)
>> >  at
>> >
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest
>> > Runner.java:196)
>> >
>> >
>> > It is caused by ActionContext.getContext() returning null. Quite
>> > obviously I do not have an action context during my unit testing.
>> >
>> > Now I can certainly use the ActionContext.setContext() in my tests
>> > setup method to push one into thread local storage and that
>> works OK.
>> > It isn't ideal though because ActionContext is a concrete
>> class and so
>> > my choices then become a bit limited.
>> >
>> > I could create an instance but when I try this I find I
>> have to create
>> > a rather large object model to make it actually work. To the point
>> > where I despair and give up.
>> >
>> > Alternatively I could use a mock library (like easy mock). But I am
>> > not inclined to include a mocking library that requires byte code
>> > rewriting (not even for testing).
>> >
>> > What I really want to do is inject a text provider into the
>> > ActionSupport class. At the top of the ActionSupport class
>> is this...
>> >
>> > private final transient TextProvider textProvider = new
>> > TextProviderFactory().createInstance(getClass(), this);
>> >
>> > Damn its final and so I cannot inject my own text provider.
>> >
>> > BUT it uses a factory, thats good. I know I will have a look at the
>> > factory I bet I can monkey with that and inject a mock.
>> Nope. It's all
>> > instance based. No way I can get in there. And thats that.
>> Now what do
>> > I do?
>> >
>> > I can see two (half) workable solutions.
>> >
>> > One is to override the the getText method in the action
>> class when I
>> > instantiate it during testing. So I end up doing this in
>> all my action
>> > unit tests...
>> >
>> >      Action action = new MyAction()
>> >      {
>> >         @Override
>> >         public String getText(String textName)
>> >         {
>> >           return "mocked";
>> >         }
>> >      };
>> >
>> > It works, but its cheese.
>> >
>> > Or two I can add a level of indirection in my action class,
>> like so...
>> >
>> >
>> >   String text =
>> >
>> MyTextProviderFactory.getInstance(class.name).getText("some.property")
>> > ;
>> >
>> > Then I can use a delegate to the real text provider during
>> live code
>> > and a mock of my own text provider during testing. The
>> question here
>> > is, Why for the love of Pete, why?
>> >
>> > So in conclusion there are at least four options for testing Action
>> > classes that use get text.
>> >
>> > 1. Build an action context by hand. (Too hard) 2. Use a class
>> > rewriting mocking library. (Not on my watch) 3. Mock the get text
>> > method. (Cheese) 4. Add another level of indirection. (Man
>> thats just
>> > annoying)
>> >
>> > Comments?
>> >
>> > BTW If you got this far, thanks for taking the time.
>> > Paul B.
>> >
>> >
>> >
>> >
>> > Session Mwamufiya wrote:
>> >>
>> >> Hi All,
>> >>
>> >> Would someone let me know whether it's possible to tweak
>> something so
>> >> that JUnit test code can run on an action method that calls the
>> >> ActionSupport method getText() to fetch string resources from a
>> >> package.properties file.
>> >> As it stands, I keep getting a null exception when getText() is
>> >> called during the unit test.
>> >>
>> >> Thanks,
>> >> Session
>> >>
>> >>
>> >>
>> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> >> For additional commands, e-mail: user-help@(protected)
>> >>
>> >>
>> >>
>> >
>> > --
>> > View this message in context:
>> >
>> http://www.nabble.com/any-struts-2-unit-testers-out-there--tp13437046p
>> > 16467812.html Sent from the Struts - User mailing list archive at
>> > Nabble.com.
>> >
>> >
>> >
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@(protected)
>> > For additional commands, e-mail: user-help@(protected)
>> >
>> >
>> ----------------------------------------------------------------------
>> > CONFIDENTIALITY NOTICE This message and any included
>> attachments are
>> > from Cerner Corporation and are intended only for the
>> addressee. The
>> > information contained in this message is confidential and may
>> > constitute inside or non-public information under international,
>> > federal, or state securities laws. Unauthorized forwarding,
>> printing,
>> > copying, distribution, or use of such information is strictly
>> > prohibited and may be unlawful. If you are not the
>> addressee, please
>> > promptly delete this message and notify the sender of the delivery
>> > error by e-mail or you may call Cerner's corporate offices
>> in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
>> >
>> >
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@(protected)
>> > For additional commands, e-mail: user-help@(protected)
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/any-struts-2-unit-testers-out-there--tp1
> 3437046p16490696.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_185091.ezm (zipped)

Yeah, I think for the moment I will simply override the getText method. The
other solutions do require much more effort.

Actually I did not search Jira. Maybe there is already a request. I will
take a look.

Thanks,

Paul B.


Laurie Harper wrote:
>
> As Ian says, the mock objects supplied by XWork may make this all a lot
> easier, but in any case all this is predicated on the fact that you're
> using ActionSupport's implementation of TextProvider which doesn't make
> provision for mocking at test time. I think it would make a great deal
> of sense to improve that (open an enhancement request in Jira), but in
> the mean time, there's nothing preventing you from providing a getText()
> implementation that's more conducive to testing.
>
> I feel your pain on this one, and the right solution is to fix the
> framework (patches always welcome ;-), but it shouldn't be that hard to
> get around.
>
> L.
>
> paulbrickell wrote:
>> Actually thats an interesting post. To my mind it doesn't demonstrate a
>> solution. It demonstrates the problem.
>>
>> Here is why I think this.
>>
>> Struts 2 is just frankly brilliant for people doing test first
>> development.
>> The classes you create really are POJOs. There are no dependencies on any
>> framework in my action classes. For example parameters are parsed well
>> away
>> from my action and the values are set using simple properties, things
>> like
>> sessions are simply maps. It is a truly new world for those of who have
>> suffered the horror of mocking http requests, responses, context and the
>> like.
>>
>> But this simple scenario brings all that pain flooding back. I add a line
>> in
>> my action like this...
>>
>> String yadaYada = getText("some.doodad");
>>
>> And my lovely world comes unraveled real quick. Now I need mock objects
>> up
>> the ying-yang.
>>
>> I started using the tutorial from the link posted (I am an Arsenal fan
>> btw,
>> so got two for the price of one, thanks), but it still doesn't provide a
>> simple solution to the problem. To get this to work I have to build not
>> just
>> the application context but a mass of supporting objects to get a web
>> application framework up and running before I can test my simple POJO.
>>
>> I am not going to give up just yet, but I think I am still going to have
>> to
>> look for another way.
>>
>> Cheers,
>> Paul B.
>>
>>
>>
>>
>>
>> Relph,Brian wrote:
>>>
>>> I recommend creating an action context. Here is the basic guide I
>>> followed to do so:
>>>
>>> http://arsenalist.com/2007/06/18/unit-testing-struts-2-actions-spring-junit/
>>>
>>> If you are not using spring or the struts2 spring plugin, you can cut
>>> out
>>> all the code around the applicationContext.
>>>
>>>
>>> -----Original Message-----
>>> From: paulbrickell [mailto:paul.brickell@(protected)]
>>> Sent: Thursday, April 03, 2008 11:44 AM
>>> To: user@(protected)
>>> Subject: Re: any struts 2 unit testers out there?
>>>
>>>
>>> I am trying to deal with the same issue. Did you get any resolution?
>>>
>>> Following on from the reply asking for a stack trace, here is what I am
>>> getting...
>>>
>>>
>>> java.lang.NullPointerException
>>>  at
>>> com.opensymphony.xwork2.util.LocalizedTextUtil.findText (LocalizedTextUtil.java:299)
>>>  at
>>> com.opensymphony.xwork2.TextProviderSupport.getText (TextProviderSupport.java:172)
>>>  at
>>> com.opensymphony.xwork2.TextProviderSupport.getText (TextProviderSupport.java:87)
>>>  at com.opensymphony.xwork2.ActionSupport.getText (ActionSupport.java:80)
>>>      <SNIP>
>>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>  at
>>> sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39)
>>>  at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
>>>  at java.lang.reflect.Method.invoke (Method.java:585)
>>>  at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
>>>  at
>>> org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
>>>  at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
>>>  at
>>> org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
>>>  at
>>> org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
>>>  at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
>>>  at
>>> org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
>>>  at
>>> org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
>>>  at
>>> org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
>>>  at
>>> org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
>>>  at
>>> org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
>>>  at
>>> org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
>>>  at
>>> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
>>>  at
>>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>>  at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (RemoteTestRunner.java:460)
>>>  at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (RemoteTestRunner.java:673)
>>>  at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run (RemoteTestRunner.java:386)
>>>  at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main (RemoteTestRunner.java:196)
>>>
>>>
>>> It is caused by ActionContext.getContext() returning null. Quite
>>> obviously
>>> I do not have an action context during my unit testing.
>>>
>>> Now I can certainly use the ActionContext.setContext() in my tests setup
>>> method to push one into thread local storage and that works OK. It isn't
>>> ideal though because ActionContext is a concrete class and so my choices
>>> then become a bit limited.
>>>
>>> I could create an instance but when I try this I find I have to create a
>>> rather large object model to make it actually work. To the point where I
>>> despair and give up.
>>>
>>> Alternatively I could use a mock library (like easy mock). But I am not
>>> inclined to include a mocking library that requires byte code rewriting
>>> (not even for testing).
>>>
>>> What I really want to do is inject a text provider into the
>>> ActionSupport
>>> class. At the top of the ActionSupport class is this...
>>>
>>> private final transient TextProvider textProvider = new
>>> TextProviderFactory().createInstance(getClass(), this);
>>>
>>> Damn its final and so I cannot inject my own text provider.
>>>
>>> BUT it uses a factory, thats good. I know I will have a look at the
>>> factory I bet I can monkey with that and inject a mock. Nope. It's all
>>> instance based. No way I can get in there. And thats that. Now what do I
>>> do?
>>>
>>> I can see two (half) workable solutions.
>>>
>>> One is to override the the getText method in the action class when I
>>> instantiate it during testing. So I end up doing this in all my action
>>> unit tests...
>>>
>>>      Action action = new MyAction()
>>>      {
>>>         @Override
>>>         public String getText(String textName)
>>>         {
>>>           return "mocked";
>>>         }
>>>      };
>>>
>>> It works, but its cheese.
>>>
>>> Or two I can add a level of indirection in my action class, like so...
>>>
>>>
>>>   String text =
>>> MyTextProviderFactory.getInstance(class.name).getText("some.property");
>>>
>>> Then I can use a delegate to the real text provider during live code and
>>> a
>>> mock of my own text provider during testing. The question here is, Why
>>> for
>>> the love of Pete, why?
>>>
>>> So in conclusion there are at least four options for testing Action
>>> classes that use get text.
>>>
>>> 1. Build an action context by hand. (Too hard) 2. Use a class rewriting
>>> mocking library. (Not on my watch) 3. Mock the get text method. (Cheese)
>>> 4. Add another level of indirection. (Man thats just annoying)
>>>
>>> Comments?
>>>
>>> BTW If you got this far, thanks for taking the time.
>>> Paul B.
>>>
>>>
>>>
>>>
>>> Session Mwamufiya wrote:
>>>> Hi All,
>>>>
>>>> Would someone let me know whether it's possible to tweak something so
>>>> that JUnit test code can run on an action method that calls the
>>>> ActionSupport method getText() to fetch string resources from a
>>>> package.properties file.
>>>> As it stands, I keep getting a null exception when getText() is called
>>>> during the unit test.
>>>>
>>>> Thanks,
>>>> Session
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>>>> For additional commands, e-mail: user-help@(protected)
>>>>
>>>>
>>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/any-struts-2-unit-testers-out-there--tp13437046p16467812.html
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>>> For additional commands, e-mail: user-help@(protected)
>>>
>>> ----------------------------------------------------------------------
>>> CONFIDENTIALITY NOTICE This message and any included attachments are
>>> from
>>> Cerner Corporation and are intended only for the addressee. The
>>> information contained in this message is confidential and may constitute
>>> inside or non-public information under international, federal, or state
>>> securities laws. Unauthorized forwarding, printing, copying,
>>> distribution,
>>> or use of such information is strictly prohibited and may be unlawful.
>>> If
>>> you are not the addressee, please promptly delete this message and
>>> notify
>>> the sender of the delivery error by e-mail or you may call Cerner's
>>> corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>>> For additional commands, e-mail: user-help@(protected)
>>>
>>>
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_185092.ezm (zipped)
I was interested in trying the JSON plugin. The Wiki page, although
informative, isn't a complete example. Is there a good example
somewhere that I can integrate into a test application to experiment
with?

Attachment: user_185093.ezm (zipped)
Hi All,

I want to use display tag for displaying the data i have put the
displaytag.jar file in the lib folder.
i have an action class which is returnig the required data in an array list

*

public* ArrayList<ItemTypeBean> getItemCodeList() {

*return* itemCodeList;

}

i am trying to use the display table tag* *in my jsp in the following manner

<s:set value="itemCodeList" scope="request" name="itemCodeList"/>



<display:table name="itemCodeList" id="itemCodeList" pagesize="5">



<display:column property="TypeCode" sortable="true" title="Item Code"/>



<display:column property="TypeName" sortable="true" title="Item Name" ></
display:column>



</display:table>

i have also imported the displaytag* in my jsp in the following way*

<%@(protected)" %>

but on adding this it is giving exception and i will remove this taglib
eveything is working fine yes the data is not being displyed

if any body have any idea how to configure display tag in struts2 pleaes
provider the pointer towards this.

any help in this regard will be much appriciated.



aum

**

Attachment: user_185094.ezm (zipped)
--- aum strut <aum.struts@(protected):
> i have also imported the displaytag* in my jsp in the following way*
>
> <%@(protected)" %>
>
> but on adding this it is giving exception and i will remove this taglib
> eveything is working fine yes the data is not being displyed

*WHAT* exception?!

It's really important to include useful information when you ask questions:
you must realize that the exception might have allowed someone to immediately
diagnose the problem, turning this into a solved issue with a single email.

Dave


Attachment: user_185095.ezm (zipped)
here is the exception which i am facing


java.lang.NoClassDefFoundError: *org/apache/commons/lang/UnhandledException
*

at java.lang.Class.getDeclaredConstructors0(*Native Method*)

at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)

at java.lang.Class.getConstructor0(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at java.beans.Introspector.instantiate(Unknown Source)

at java.beans.Introspector.findExplicitBeanInfo(Unknown Source)

at java.beans.Introspector.<init>(Unknown Source)

at java.beans.Introspector.getBeanInfo(Unknown Source)

at org.apache.jasper.compiler.Generator$TagHandlerInfo.<init>(*
Generator.java:3822*)

at org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(*
Generator.java:2112*)

at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(*
Generator.java:1601*)

at org.apache.jasper.compiler.Node$CustomTag.accept(*Node.java:1507*)

at org.apache.jasper.compiler.Node$Nodes.visit(*Node.java:2336*)

at org.apache.jasper.compiler.Node$Visitor.visitBody(*Node.java:2386*)

at org.apache.jasper.compiler.Node$Visitor.visit(*Node.java:2392*)

at org.apache.jasper.compiler.Node$Root.accept(*Node.java:489*)

at org.apache.jasper.compiler.Node$Nodes.visit(*Node.java:2336*)

at org.apache.jasper.compiler.Generator.generate(*Generator.java:3374*)

at org.apache.jasper.compiler.Compiler.generateJava(*Compiler.java:210*)

at org.apache.jasper.compiler.Compiler.compile(*Compiler.java:306*)

at org.apache.jasper.compiler.Compiler.compile(*Compiler.java:286*)

at org.apache.jasper.compiler.Compiler.compile(*Compiler.java:273*)

at org.apache.jasper.JspCompilationContext.compile(*
JspCompilationContext.java:566*)

at org.apache.jasper.servlet.JspServletWrapper.service(*
JspServletWrapper.java:317*)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(*JspServlet.java:320*
)

at org.apache.jasper.servlet.JspServlet.service(*JspServlet.java:266*)

at javax.servlet.http.HttpServlet.service(*HttpServlet.java:803*)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
ApplicationFilterChain.java:290*)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
ApplicationFilterChain.java:206*)

at org.apache.catalina.core.ApplicationDispatcher.invoke(*
ApplicationDispatcher.java:654*)

at org.apache.catalina.core.ApplicationDispatcher.processRequest(*
ApplicationDispatcher.java:445*)

at org.apache.catalina.core.ApplicationDispatcher.doForward(*
ApplicationDispatcher.java:379*)

at org.apache.catalina.core.ApplicationDispatcher.forward(*
ApplicationDispatcher.java:292*)

at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(*
ServletDispatcherResult.java:139*)

at org.apache.struts2.dispatcher.StrutsResultSupport.execute(*
StrutsResultSupport.java:178*)

at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(*
DefaultActionInvocation.java:348*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:253*)

at
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(*
DefaultWorkflowInterceptor.java:221*)

at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(*
MethodFilterInterceptor.java:86*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(*
ValidationInterceptor.java:150*)

at
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(
*AnnotationValidationInterceptor.java:48*)

at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(*
MethodFilterInterceptor.java:86*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(
*ConversionErrorInterceptor.java:123*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(*
ParametersInterceptor.java:167*)

at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(*
MethodFilterInterceptor.java:86*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(*
StaticParametersInterceptor.java:105*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(*
CheckboxInterceptor.java:83*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(*
FileUploadInterceptor.java:207*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(*
ModelDrivenInterceptor.java:74*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at
com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(*
ScopedModelDrivenInterceptor.java:127*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(*
ProfilingActivationInterceptor.java:107*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(*
DebuggingInterceptor.java:206*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(*
ChainingInterceptor.java:115*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(*
I18nInterceptor.java:143*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(*
PrepareInterceptor.java:121*)

at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(*
MethodFilterInterceptor.java:86*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(*
ServletConfigInterceptor.java:170*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(*
AliasInterceptor.java:123*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(*
ExceptionMappingInterceptor.java:176*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at org.apache.struts2.impl.StrutsActionProxy.execute(*
StrutsActionProxy.java:50*)

at org.apache.struts2.dispatcher.Dispatcher.serviceAction(*
Dispatcher.java:504*)

at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(*
FilterDispatcher.java:419*)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
ApplicationFilterChain.java:235*)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
ApplicationFilterChain.java:206*)

at org.apache.catalina.core.StandardWrapperValve.invoke(*
StandardWrapperValve.java:230*)

at org.apache.catalina.core.StandardContextValve.invoke(*
StandardContextValve.java:175*)

at org.apache.catalina.core.StandardHostValve.invoke(*
StandardHostValve.java:128*)

at org.apache.catalina.valves.ErrorReportValve.invoke(*
ErrorReportValve.java:104*)

at org.apache.catalina.core.StandardEngineValve.invoke(*
StandardEngineValve.java:109*)

at org.apache.catalina.connector.CoyoteAdapter.service(*
CoyoteAdapter.java:261*)

at org.apache.coyote.http11.Http11Processor.process(*
Http11Processor.java:844*)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(*
Http11Protocol.java:581*)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(*JIoEndpoint.java:447*)

at java.lang.Thread.run(Unknown Source)

Apr 5, 2008 10:36:52 PM org.apache.catalina.core.StandardWrapperValve invoke

SEVERE: Servlet.service() for servlet default threw exception

java.lang.NoClassDefFoundError: *org/apache/commons/lang/UnhandledException
*

at java.lang.Class.getDeclaredConstructors0(*Native Method*)

at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)

at java.lang.Class.getConstructor0(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at java.beans.Introspector.instantiate(Unknown Source)

at java.beans.Introspector.findExplicitBeanInfo(Unknown Source)

at java.beans.Introspector.<init>(Unknown Source)

at java.beans.Introspector.getBeanInfo(Unknown Source)

at org.apache.jasper.compiler.Generator$TagHandlerInfo.<init>(*
Generator.java:3822*)

at org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(*
Generator.java:2112*)

at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(*
Generator.java:1601*)

at org.apache.jasper.compiler.Node$CustomTag.accept(*Node.java:1507*)

at org.apache.jasper.compiler.Node$Nodes.visit(*Node.java:2336*)

at org.apache.jasper.compiler.Node$Visitor.visitBody(*Node.java:2386*)

at org.apache.jasper.compiler.Node$Visitor.visit(*Node.java:2392*)

at org.apache.jasper.compiler.Node$Root.accept(*Node.java:489*)

at org.apache.jasper.compiler.Node$Nodes.visit(*Node.java:2336*)

at org.apache.jasper.compiler.Generator.generate(*Generator.java:3374*)

at org.apache.jasper.compiler.Compiler.generateJava(*Compiler.java:210*)

at org.apache.jasper.compiler.Compiler.compile(*Compiler.java:306*)

at org.apache.jasper.compiler.Compiler.compile(*Compiler.java:286*)

at org.apache.jasper.compiler.Compiler.compile(*Compiler.java:273*)

at org.apache.jasper.JspCompilationContext.compile(*
JspCompilationContext.java:566*)

at org.apache.jasper.servlet.JspServletWrapper.service(*
JspServletWrapper.java:317*)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(*JspServlet.java:320*
)

at org.apache.jasper.servlet.JspServlet.service(*JspServlet.java:266*)

at javax.servlet.http.HttpServlet.service(*HttpServlet.java:803*)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
ApplicationFilterChain.java:290*)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
ApplicationFilterChain.java:206*)

at org.apache.catalina.core.ApplicationDispatcher.invoke(*
ApplicationDispatcher.java:654*)

at org.apache.catalina.core.ApplicationDispatcher.processRequest(*
ApplicationDispatcher.java:445*)

at org.apache.catalina.core.ApplicationDispatcher.doForward(*
ApplicationDispatcher.java:379*)

at org.apache.catalina.core.ApplicationDispatcher.forward(*
ApplicationDispatcher.java:292*)

at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(*
ServletDispatcherResult.java:139*)

at org.apache.struts2.dispatcher.StrutsResultSupport.execute(*
StrutsResultSupport.java:178*)

at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(*
DefaultActionInvocation.java:348*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:253*)

at
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(*
DefaultWorkflowInterceptor.java:221*)

at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(*
MethodFilterInterceptor.java:86*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(*
ValidationInterceptor.java:150*)

at
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(
*AnnotationValidationInterceptor.java:48*)

at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(*
MethodFilterInterceptor.java:86*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(
*ConversionErrorInterceptor.java:123*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(*
ParametersInterceptor.java:167*)

at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(*
MethodFilterInterceptor.java:86*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(*
StaticParametersInterceptor.java:105*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(*
CheckboxInterceptor.java:83*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(*
FileUploadInterceptor.java:207*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(*
ModelDrivenInterceptor.java:74*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at
com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(*
ScopedModelDrivenInterceptor.java:127*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(*
ProfilingActivationInterceptor.java:107*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(*
DebuggingInterceptor.java:206*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(*
ChainingInterceptor.java:115*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(*
I18nInterceptor.java:143*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(*
PrepareInterceptor.java:121*)

at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(*
MethodFilterInterceptor.java:86*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(*
ServletConfigInterceptor.java:170*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(*
AliasInterceptor.java:123*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(*
ExceptionMappingInterceptor.java:176*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:224*)

at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(*
DefaultActionInvocation.java:223*)

at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(*
UtilTimerStack.java:455*)

at com.opensymphony.xwork2.DefaultActionInvocation.invoke(*
DefaultActionInvocation.java:221*)

at org.apache.struts2.impl.StrutsActionProxy.execute(*
StrutsActionProxy.java:50*)

at org.apache.struts2.dispatcher.Dispatcher.serviceAction(*
Dispatcher.java:504*)

at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(*
FilterDispatcher.java:419*)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
ApplicationFilterChain.java:235*)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
ApplicationFilterChain.java:206*)

at org.apache.catalina.core.StandardWrapperValve.invoke(*
StandardWrapperValve.java:230*)

at org.apache.catalina.core.StandardContextValve.invoke(*
StandardContextValve.java:175*)

at org.apache.catalina.core.StandardHostValve.invoke(*
StandardHostValve.java:128*)

at org.apache.catalina.valves.ErrorReportValve.invoke(*
ErrorReportValve.java:104*)

at org.apache.catalina.core.StandardEngineValve.invoke(*
StandardEngineValve.java:109*)

at org.apache.catalina.connector.CoyoteAdapter.service(*
CoyoteAdapter.java:261*)

at org.apache.coyote.http11.Http11Processor.process(*
Http11Processor.java:844*)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(*
Http11Protocol.java:581*)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(*JIoEndpoint.java:447*)

at java.lang.Thread.run(Unknown Source



but if i will remove this tag lib directive

<%@(protected)" %>
from the JSP pag everything is working fine.

--aum


On 4/5/08, Dave Newton <newton.dave@(protected):
>
> --- aum strut <aum.struts@(protected):
> > i have also imported the displaytag* in my jsp in the following way*
> >
> > <%@(protected)" %>
> >
> > but on adding this it is giving exception and i will remove this taglib
> > eveything is working fine yes the data is not being displyed
>
> *WHAT* exception?!
>
> It's really important to include useful information when you ask
> questions:
> you must realize that the exception might have allowed someone to
> immediately
> diagnose the problem, turning this into a solved issue with a single
> email.
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
©2008 gg3721.com - Jax Systems, LLC, U.S.A.