Author Login
Post Reply
user Digest 13 Apr 2008 13:29:34 -0000 Issue 7976
Topics (messages 185333 through 185361):
Re: Problem when upgrading to Struts 2.1
185333 by: Jeromy Evans
Re: [S2] Textfield key with resource bundle
185334 by: Jeromy Evans
185337 by: Kelly Graus
185338 by: Jeromy Evans
Re: i18n Tags in FreeMarker Decorator for SiteMesh
185335 by: Jeromy Evans
185339 by: mraible
Re: How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions
185336 by: Jeromy Evans
[OT] Scheduled DB clean up service with Spring
185340 by: Peter Theissen
185357 by: Laurie Harper
Re: how do i make the tomcat server send a 403 Forbidden response in JSP and in Struts?
185341 by: Guillaume Bilodeau
STruts 2 - populating an ArrayList from the JSP
185342 by: ancatdubher
185354 by: Jukka Välimaa
POJO Action Class
185343 by: Prashant Saraf
185344 by: Lukasz Lenart
185345 by: Prashant Saraf
185346 by: Lukasz Lenart
185347 by: Prashant Saraf
185348 by: Chris Pratt
185349 by: Lukasz Lenart
185350 by: Prashant Saraf
185351 by: Prashant Saraf
185352 by: Lukasz Lenart
185353 by: Prashant Saraf
185355 by: Prashant Saraf
185356 by: Lukasz Lenart
185358 by: Martin Gainty
xerces problems
185359 by: Chris Pat
Re: How to use annotationWorkflow Interceptor
185360 by: è¢åé
185361 by: Décio Heinzelmann Luckow
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_185333.ezm (zipped)oscar perez wrote:
> HI all,
> I am using appfuse as start-up application for one project.
> The problem is that when I upgraded from struts 2.0.11.1 to 2.1.1 my test
> cases are no longer working as ActionContext.getContext() returns null.
>
> http://www.mail-archive.com/dev@(protected)
>
> I read about the refactoring of ActionContext and while I agree I cannot see
> a quick-and-dirty workaround to solve this problem. How can I get a context
> for running my tests now?
> Thanks,
> Oscar
>
>
You need to follow the same approach used by the test cases in 2.1;
that is to setup a Configuration and create a context prior to invoking
the action.

Attachment:
user_185334.ezm (zipped)Hi Kelly,
By coincidence I'm investigating this precise issue at the moment and
have discussed it in the strust-dev list within the last 24 hours. The
algorithm to find keys in s:text differs from s:textfield which causes
inconsistent behaviour -sometimes-.
Some questions:
Which version of struts2 are you using?
Where is your resource bundle?
Does your action extend ActionSupport?
Please let me know if you get it working and what changed.
The issue:
s:textfield searches for a method getText(String) somewhere in the value
stack. s:text searches for a TextProvider (like ActionSupport) in the
value stack and calls getText(String). Something in your configuration
means the first approach doesn't find the resource but the second
approach does. It's hard to replicate.
Kelly.Graus wrote:
> Hello,
>
> I'm trying to use the key attribute in the s:textfield tag to display a
> label from my resource bundle. I have a single application resource bundle
> that I am able to access with the s:text tag, so I know the resource bundle
> is working. However, when I use the key attribute, I just get an empty
> string as the label.
>
> This works:
>
> <s:text name="user.firstname"/>
>
> This doesn't display the label:
>
> <s:textfield key="user.firstname" name="..."/>
>
>
> Does anyone have any ideas?
>
> Thanks!
>
> Kelly
>

Attachment:
user_185337.ezm (zipped)Hi Jeromy,
I'm using struts 2.0.11. My resource bundle is in the WEB-INF/classes
directory. My action extends ActionSupport, and implements ModelDriven
and preparable. I couldn't get the ModelDriven stuff to work
correctly, and at some point when I was playing around with it, the
text started being displayed correctly. I will play around with it and
see if I can get it to break again.
Kelly
On Apr 11, 2008, at 7:57 PM, Jeromy Evans <jeromy.evans@(protected)
> wrote:
> Hi Kelly,
>
> By coincidence I'm investigating this precise issue at the moment
> and have discussed it in the strust-dev list within the last 24
> hours. The algorithm to find keys in s:text differs from
> s:textfield which causes inconsistent behaviour -sometimes-.
>
> Some questions:
> Which version of struts2 are you using?
> Where is your resource bundle?
> Does your action extend ActionSupport?
>
> Please let me know if you get it working and what changed.
>
> The issue:
> s:textfield searches for a method getText(String) somewhere in the
> value stack. s:text searches for a TextProvider (like ActionSupport)
> in the value stack and calls getText(String). Something in your
> configuration means the first approach doesn't find the resource but
> the second approach does. It's hard to replicate.
>
> Kelly.Graus wrote:
>> Hello,
>>
>> I'm trying to use the key attribute in the s:textfield tag to
>> display a
>> label from my resource bundle. I have a single application
>> resource bundle
>> that I am able to access with the s:text tag, so I know the
>> resource bundle
>> is working. However, when I use the key attribute, I just get an
>> empty
>> string as the label.
>>
>> This works:
>>
>> <s:text name="user.firstname"/>
>>
>> This doesn't display the label:
>>
>> <s:textfield key="user.firstname" name="..."/>
>>
>>
>> Does anyone have any ideas?
>>
>> Thanks!
>>
>> Kelly
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>

Attachment:
user_185338.ezm (zipped)Kelly Graus wrote:
> Hi Jeromy,
>
> I'm using struts 2.0.11. My resource bundle is in the WEB-INF/classes
> directory. My action extends ActionSupport, and implements ModelDriven
> and preparable. I couldn't get the ModelDriven stuff to work
> correctly, and at some point when I was playing around with it, the
> text started being displayed correctly. I will play around with it and
> see if I can get it to break again.
>
> Kelly
>
Thanks Kelly, that would be great because I'm sure there's a bug here
that's hard to replicate.
The model for ModelDriven gets pushed in front of the action. If it had
a getText(String) method it would have caused this problem.

Attachment:
user_185335.ezm (zipped)mraible wrote:
> I'm using 2.1.1-SNAPSHOT of the sitemesh and rest plugins.
> FreeMarker/SiteMesh is working fine. However, I'm unable to use i18n tags in
> my decorator. In src/main/resources/com/company/app/package.properties, I
> have:
>
> webapp.name=Foo
> webapp.tagline=Bar
>
> In my decorators/default.ftl, I have:
>
> [@(protected)"/]
>
> And it renders:
>
> webapp.name
>
>
I've committed an update to 2.1.1 that may affect this.
However, my guess is that your action doesn't extend ActionSupport and
there's no alternate TextProvider available. In that case, the first
TextProvider found is the DefaultTextProvider which only serves
resources from the global resource bundle. Does that sound right?

Attachment:
user_185339.ezm (zipped)
Jeromy Evans - Blue Sky Minds wrote:
>
> mraible wrote:
>> I'm using 2.1.1-SNAPSHOT of the sitemesh and rest plugins.
>> FreeMarker/SiteMesh is working fine. However, I'm unable to use i18n tags
>> in
>> my decorator. In src/main/resources/com/company/app/package.properties, I
>> have:
>>
>> webapp.name=Foo
>> webapp.tagline=Bar
>>
>> In my decorators/default.ftl, I have:
>>
>> [@(protected)"/]
>>
>> And it renders:
>>
>> webapp.name
>>
>>
> I've committed an update to 2.1.1 that may affect this.
>
> However, my guess is that your action doesn't extend ActionSupport and
> there's no alternate TextProvider available. In that case, the first
> TextProvider found is the DefaultTextProvider which only serves
> resources from the global resource bundle. Does that sound right?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>
Yes, that sound about right. My action is a POJO that only extends
ModelDriven.
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_185336.ezm (zipped)Jeromy Evans wrote:
> mraible wrote:
>
>>
>> I tried FreeMarker this morning and discovered that the problem
>> exists there
>> too. Grrr. I've experienced Struts 2 being eliminated as a web framework
>> candidate on a couple projects because of this. Kindof annoying.
>>
>
> So what do you really want? My guess here is that you invoked a
> struts tag and the tag swallowed the error and provided a default to
> the freemarker template.
>
>
On further thought I think this comes down to an interesting issue with
coupling between the view and the model.
In struts2 the model is a ValueStack that consists of both a stack and
map (context). OGNL is used to address properties or methods in that
model and it's a trivial for OGNL to log when it fails to match a
property or method.
In the view, Struts2 provides tags for jsp, ftl or velocity that
evaluate OGNL expressions to access the model. More often that not the
tags fail silently if the expression was invalid or failed to evaluate
anything. Herein lies the problem.
If I were using FTL directly to access the value stack, as a developer I
could decide how to handle missing properties, blank properties or
default values with FTL's excellent error handling. However, when I use
FTL to invoke a Struts2 tag I lose that benefit as the tag
implementations *transfer* properties into the FTL context. I think its
a flaw that Struts2 tags evaluate OGNL expressions themselves prior to
rendering the template..
A tag overhaul is well overdue (but major effort). I've expressed other
concerns about the Struts2 tags (XWork Component and UIBean) on several
occasions already.

Attachment:
user_185340.ezm (zipped)Hi,
the quartz scheduler from Spring seemed to be a quite nice solution for
my DB clean up service. Thanks for that hint.
Now I have a quite curios problem. If I, e.g. create a bean in
applicationContext.xml as follows:
>>>
<bean id="simpleTrigger"
class="
org.springframework.scheduling.quartz.SimpleTriggerBean">
<!-- props are first commented out, since they are not important
for this issue
<property name="jobDetail" ref="jobInvokation"/>
<property name="repeatInterval" value="10000"/>
-->
</bean>
<<<
I get a
org.springframework.beans.factory.BeanCreationException:
nested exception is
org.springframework.beans.factory.CannotLoadBeanClassException:
Error loading class
[
org.springframework.scheduling.quartz.SimpleTriggerBean]
But anyhow, if I import the class using:
import
org.springframework.scheduling.quartz.SimpleTriggerBean;
in some POJO in the project everything is fine.
What am I missing?
Thanks and best regards
Peter
> I've been doing periodic tasks in my web app: I'm using Spring and
> setting a periodic task to execute is kind of straightforward, but has
> nothing to do with Struts 2.
>
> 2008/4/11, Peter Theissen <peter.theissen@(protected)>:
>
>> Hello,
>>
>> I now searched a while to get an idea how to implement
>> a DB clean up service with Struts2. The best link I found
>> was the following one:
>> following
>> http://www.javabeat.net/javabeat/ejb3/articles/timer_services_api_in_ejb_3_0_2.php
>>
>> What I dont understand is how to get the session context.
>> As described in the link Im using dependency injection:
>>
>> @Resource
>> Private SessionContext s;
>> <<<
>> but unfortunately that doesnt work. Eclipse says that it
>> doesnt know the @Resource annotation.
>> However, the ejb3-persistence.jar is integrated in the
>> libs. Therefore, the annotation should be well known
>> to Eclipse?
>>
>> What I also dont understand that - even when I got that
>> stuff with that timer working - "who" starts the bean the
>> first time? Do I have to reconfigure something?
>> What happens if I restart the server?
>>
>> Another more general question is:
>> is that the most suitable way to implement the
>> DB clean up service, assuing that further services
>> wont be added in the future (otherwise: scheduler as
>> far from what I've read)?
>>
>> Thanks and best regards
>> Peter
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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)
>
>
>

Attachment:
user_185357.ezm (zipped)
Attachment:
user_185341.ezm (zipped)
HttpServletResponse.SC_FORBIDDEN is an int value, it should compile.
Another option is to use Acegi to manage application security. It allows
you to restrict access to URL patterns and/or object methods using user
roles. Taking this road is not a trivial undertaking though.
http://www.acegisecurity.org/
Cheers,
GB
ryan webb-2 wrote:
>
> I am having difficulty with authentication of user levels.
> I have to kinds of users "user" and "administrators".
>
> What we did in mySQL db is make a user table and in it, a "level" column
> is
> placed containing whether a user is "administrator" or not.
> there's no problem with this actually (I just wrote the situation and
> setup).
>
> *Now, I want the server to send a 403 response to non-administrative
> personnel accessing some secured places in our site.*
>
> How can I do this?(Or is this possible? I have no idea actually..)
>
> I have a userBean.java that contains all user informations from database.
> I made this in my execute method in Action class. (Something Like this)
>
> execute(response, request, form....){
>
> UserActionForm uaf = (UserActionForm) form;
>
> UserBean userbean = new UserBean();
>
> * if (userbean.getlevel().equals("user")){
> response.sendError(SC_FORBIDDEN);
> }
>
> * return mapping.findForward....("Sucess");
> }
>
> this code does not compile..sendError() expects int value. I tried
> sendError(403) but doesn't work.
>
> Any Help is Gladly Appreciated! =)
>
> God Bless!
> Ryan Webb from Philippines
>
>
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_185342.ezm (zipped)
Hi,
My action looks like this:
class TravellerAction extends ActionSupport{
private Plan itinerary;
// More..
}
The class "Plan" is a travel plan for a user and contains an ArrayList of
cities you wanna visit:
class Plan {
private ArrayList cities;
// More..
}
Now, when a user is entering data on a JSP, he should be able to enter the
names of upto 10 cities he wants to visit. Upon submit, the JSP calls the
TravellerAction.
I managed to display the cities by doing this:
<s:iterator value="itinerary.cities">
<s:property/>
</s:iterator>
How do I populate the cities from the JSP, back into the Action? (ie. with
10 text fields)
Thanks,
Ancat
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_185354.ezm (zipped)Hi Ancat
like this:
<s:iterator value="itinerary.cities" status="city">
<s:textfield name="itinerary.cities[%{#city.index}]" value="[0]"
</s:iterator>
Struts should take care of populating the array when you submit the form to
the action.
On Sat, Apr 12, 2008 at 8:26 PM, ancatdubher <ancatdubher@(protected):
>
> Hi,
>
> My action looks like this:
>
> class TravellerAction extends ActionSupport{
> private Plan itinerary;
> // More..
> }
>
> The class "Plan" is a travel plan for a user and contains an ArrayList of
> cities you wanna visit:
>
> class Plan {
> private ArrayList cities;
> // More..
> }
>
> Now, when a user is entering data on a JSP, he should be able to enter the
> names of upto 10 cities he wants to visit. Upon submit, the JSP calls the
> TravellerAction.
>
> I managed to display the cities by doing this:
>
> <s:iterator value="itinerary.cities">
> <s:property/>
> </s:iterator>
>
> How do I populate the cities from the JSP, back into the Action? (ie. with
> 10 text fields)
>
> Thanks,
> Ancat
> --
> View this message in context:
> http://www.nabble.com/STruts-2---populating-an-ArrayList-from-the-JSP-tp16653470p16653470.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)
>
>

Attachment:
user_185343.ezm (zipped)Hi,
Hi I am new to Struts 2, I created a POJO Class, but freamwrok gives error on it. How to define Pojo Action Class?
Error says : "Action class not found"
here is my class :
/**
*
*/
package com.prayog.apps;
/**
* @author Administrator
*
*/
public class LoginUser {
private String userID;
private String userPassword;
/**
* @return the userID
*/
public String getUserID() {
return userID;
}
/**
* @param userID the userID to set
*/
public void setUserID(String userID) {
this.userID = userID;
}
/**
* @return the userPassword
*/
public String getUserPassword() {
return userPassword;
}
/**
* @param userPassword the userPassword to set
*/
public void setUserPassword(String userPassword) {
this.userPassword = userPassword;
}
public String execute() throws Exception {
if("psaraf".equals(userID) && "psaraf".equals(userPassword))
return "SUCCESS";
else
return "loginForm";
}
}
if i want to make this class as POJO Action Class do i need to make any special changes in struts.xml?

Attachment:
user_185344.ezm (zipped)> Error says : "Action class not found"
Could you show your struts.xml?
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart

Attachment:
user_185345.ezm (zipped)sure here is my Struts.xml
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="default" extends="struts-default">
<action name="HelloWorld">
<result>helloWorld.jsp</result>
</action>
<action name="LoginUser" class="com.prayog.apps.LoginUesr" >
<result name="loginForm">login.jsp</result>
<result>success.jsp</result>
</action>
</package>
</struts>
________________________________
From: Lukasz Lenart [mailto:lukasz.lenart@(protected)]
Sent: Sat 4/12/2008 11:16 PM
To: Struts Users Mailing List
Subject: Re: POJO Action Class
> Error says : "Action class not found"
Could you show your struts.xml?
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

Attachment:
user_185346.ezm (zipped)Class and config looks ok, could paste the whole stack trace? When you
get such error, when starting conatiner or when requesting the action?
Could you also show how you call the action in web browser?
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart

Attachment:
user_185347.ezm (zipped)Thanks for the reply,
It comes when container starts,
i had created a caller jsp which put user name and password. in LoginUser.java i m checking. either the user-name password are correct. if correct forward to success page, else send to same login page.
Here is strack trace.
SEVERE: Exception starting filter struts2
Action class [com.prayog.apps.LoginUesr] not found - action - file:/C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/struts.xml:9:69
at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction (
XmlConfigurationProvider.java:333)
at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction (
XmlConfigurationProvider.java:288)
at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage (
XmlConfigurationProvider.java:384)
at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages (
XmlConfigurationProvider.java:239)
at
org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages (
StrutsXmlConfigurationProvider.java:111)
at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload (
DefaultConfiguration.java:152)
at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (
ConfigurationManager.java:52)
at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (
Dispatcher.java:398)
at
org.apache.struts2.dispatcher.Dispatcher.init (
Dispatcher.java:455)
at
org.apache.struts2.dispatcher.FilterDispatcher.init (
FilterDispatcher.java:201)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter (
ApplicationFilterConfig.java:275)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (
ApplicationFilterConfig.java:397)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at
org.apache.catalina.core.StandardContext.filterStart (
StandardContext.java:3696)
at
org.apache.catalina.core.StandardContext.start (
StandardContext.java:4343)
at
org.apache.catalina.core.ContainerBase.start (
ContainerBase.java:1045)
at
org.apache.catalina.core.StandardHost.start (
StandardHost.java:719)
at
org.apache.catalina.core.ContainerBase.start (
ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start (
StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start (
StandardService.java:516)
at
org.apache.catalina.core.StandardServer.start (
StandardServer.java:710)
at
org.apache.catalina.startup.Catalina.start (
Catalina.java:566)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at
java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.catalina.startup.Bootstrap.start (
Bootstrap.java:288)
at
org.apache.catalina.startup.Bootstrap.main (
Bootstrap.java:413)
Apr 12, 2008 10:53:38 PM
org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Apr 12, 2008 10:53:38 PM
org.apache.catalina.core.StandardContext start
SEVERE: Context [/HelloWorld] startup failed due to previous errors
Apr 12, 2008 10:53:38 PM
org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 12, 2008 10:53:38 PM
org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Apr 12, 2008 10:53:38 PM
org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16 config=null
Apr 12, 2008 10:53:38 PM
org.apache.catalina.startup.Catalina start
INFO: Server startup in 744 ms
________________________________
From: Lukasz Lenart [mailto:lukasz.lenart@(protected)]
Sent: Sat 4/12/2008 11:58 PM
To: Struts Users Mailing List
Subject: Re: POJO Action Class
Class and config looks ok, could paste the whole stack trace? When you
get such error, when starting conatiner or when requesting the action?
Could you also show how you call the action in web browser?
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

Attachment:
user_185348.ezm (zipped)Look carefully at the first line of the output. You have misspelled User.
(*Chris*)
On Sat, Apr 12, 2008 at 11:53 AM, Prashant Saraf <psaraf@(protected):
> Thanks for the reply,
> It comes when container starts,
> i had created a caller jsp which put user name and password. in LoginUser.java i m checking. either the user-name password are correct. if correct forward to success page, else send to same login page.
>
>
> Here is strack trace.
>
> SEVERE: Exception starting filter struts2
>
> Action class [com.prayog.apps.LoginUesr] not found - action - file:/C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/struts.xml:9:69
>
> at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction (
XmlConfigurationProvider.java:333)
>
> at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction (
XmlConfigurationProvider.java:288)
>
> at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage (
XmlConfigurationProvider.java:384)
>
> at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages (
XmlConfigurationProvider.java:239)
>
> at
org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages (
StrutsXmlConfigurationProvider.java:111)
>
> at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload (
DefaultConfiguration.java:152)
>
> at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (
ConfigurationManager.java:52)
>
> at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (
Dispatcher.java:398)
>
> at
org.apache.struts2.dispatcher.Dispatcher.init (
Dispatcher.java:455)
>
> at
org.apache.struts2.dispatcher.FilterDispatcher.init (
FilterDispatcher.java:201)
>
> at
org.apache.catalina.core.ApplicationFilterConfig.getFilter (
ApplicationFilterConfig.java:275)
>
> at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (
ApplicationFilterConfig.java:397)
>
> at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
>
> at
org.apache.catalina.core.StandardContext.filterStart (
StandardContext.java:3696)
>
> at
org.apache.catalina.core.StandardContext.start (
StandardContext.java:4343)
>
> at
org.apache.catalina.core.ContainerBase.start (
ContainerBase.java:1045)
>
> at
org.apache.catalina.core.StandardHost.start (
StandardHost.java:719)
>
> at
org.apache.catalina.core.ContainerBase.start (
ContainerBase.java:1045)
>
> at
org.apache.catalina.core.StandardEngine.start (
StandardEngine.java:443)
>
> at
org.apache.catalina.core.StandardService.start (
StandardService.java:516)
>
> at
org.apache.catalina.core.StandardServer.start (
StandardServer.java:710)
>
> at
org.apache.catalina.startup.Catalina.start (
Catalina.java:566)
>
> at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>
> at
java.lang.reflect.Method.invoke(Unknown Source)
>
> at
org.apache.catalina.startup.Bootstrap.start (
Bootstrap.java:288)
>
> at
org.apache.catalina.startup.Bootstrap.main (
Bootstrap.java:413)
>
> Apr 12, 2008 10:53:38 PM
org.apache.catalina.core.StandardContext start
>
> SEVERE: Error filterStart
>
> Apr 12, 2008 10:53:38 PM
org.apache.catalina.core.StandardContext start
>
> SEVERE: Context [/HelloWorld] startup failed due to previous errors
>
> Apr 12, 2008 10:53:38 PM
org.apache.coyote.http11.Http11Protocol start
>
> INFO: Starting Coyote HTTP/1.1 on http-8080
>
> Apr 12, 2008 10:53:38 PM
org.apache.jk.common.ChannelSocket init
>
> INFO: JK: ajp13 listening on /0.0.0.0:8009
>
> Apr 12, 2008 10:53:38 PM
org.apache.jk.server.JkMain start
>
> INFO: Jk running ID=0 time=0/16 config=null
>
> Apr 12, 2008 10:53:38 PM
org.apache.catalina.startup.Catalina start
>
> INFO: Server startup in 744 ms
>
>
>
> ________________________________
>
> From: Lukasz Lenart [mailto:lukasz.lenart@(protected)]
> Sent: Sat 4/12/2008 11:58 PM
>
> To: Struts Users Mailing List
> Subject: Re: POJO Action Class
>
>
>
>
>
> Class and config looks ok, could paste the whole stack trace? When you
> get such error, when starting conatiner or when requesting the action?
> Could you also show how you call the action in web browser?
>
>
> Regards
> --
> Lukasz
>
> http://www.linkedin.com/in/lukaszlenart
>
> ---------------------------------------------------------------------
> 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)
>

Attachment:
user_185349.ezm (zipped)> Look carefully at the first line of the output. You have misspelled User.
>
> (*Chris*)
Exactly,
<action name="LoginUser" class="com.prayog.apps.LoginUesr" >
You have better eye then my :D
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart

Attachment:
user_185350.ezm (zipped)oppss.... sorry to intrupt all of you.. stupid mistake :(
________________________________
From: Chris Pratt [mailto:thechrispratt@(protected)]
Sent: Sun 4/13/2008 12:39 AM
To: Struts Users Mailing List
Subject: Re: POJO Action Class
Look carefully at the first line of the output. You have misspelled User.
(*Chris*)
On Sat, Apr 12, 2008 at 11:53 AM, Prashant Saraf <psaraf@(protected):
> Thanks for the reply,
> It comes when container starts,
> i had created a caller jsp which put user name and password. in LoginUser.java i m checking. either the user-name password are correct. if correct forward to success page, else send to same login page.
>
>
> Here is strack trace.
>
> SEVERE: Exception starting filter struts2
>
> Action class [com.prayog.apps.LoginUesr] not found - action - file:/C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/struts.xml:9:69
>
> at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction (
XmlConfigurationProvider.java:333)
>
> at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction (
XmlConfigurationProvider.java:288)
>
> at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage (
XmlConfigurationProvider.java:384)
>
> at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages (
XmlConfigurationProvider.java:239)
>
> at
org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages (
StrutsXmlConfigurationProvider.java:111)
>
> at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload (
DefaultConfiguration.java:152)
>
> at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (
ConfigurationManager.java:52)
>
> at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (
Dispatcher.java:398)
>
> at
org.apache.struts2.dispatcher.Dispatcher.init (
Dispatcher.java:455)
>
> at
org.apache.struts2.dispatcher.FilterDispatcher.init (
FilterDispatcher.java:201)
>
> at
org.apache.catalina.core.ApplicationFilterConfig.getFilter (
ApplicationFilterConfig.java:275)
>
> at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (
ApplicationFilterConfig.java:397)
>
> at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
>
> at
org.apache.catalina.core.StandardContext.filterStart (
StandardContext.java:3696)
>
> at
org.apache.catalina.core.StandardContext.start (
StandardContext.java:4343)
>
> at
org.apache.catalina.core.ContainerBase.start (
ContainerBase.java:1045)
>
> at
org.apache.catalina.core.StandardHost.start (
StandardHost.java:719)
>
> at
org.apache.catalina.core.ContainerBase.start (
ContainerBase.java:1045)
>
> at
org.apache.catalina.core.StandardEngine.start (
StandardEngine.java:443)
>
> at
org.apache.catalina.core.StandardService.start (
StandardService.java:516)
>
> at
org.apache.catalina.core.StandardServer.start (
StandardServer.java:710)
>
> at
org.apache.catalina.startup.Catalina.start (
Catalina.java:566)
>
> at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>
> at
java.lang.reflect.Method.invoke(Unknown Source)
>
> at
org.apache.catalina.startup.Bootstrap.start (
Bootstrap.java:288)
>
> at
org.apache.catalina.startup.Bootstrap.main (
Bootstrap.java:413)
>
> Apr 12, 2008 10:53:38 PM
org.apache.catalina.core.StandardContext start
>
> SEVERE: Error filterStart
>
> Apr 12, 2008 10:53:38 PM
org.apache.catalina.core.StandardContext start
>
> SEVERE: Context [/HelloWorld] startup failed due to previous errors
>
> Apr 12, 2008 10:53:38 PM
org.apache.coyote.http11.Http11Protocol start
>
> INFO: Starting Coyote HTTP/1.1 on http-8080
>
> Apr 12, 2008 10:53:38 PM
org.apache.jk.common.ChannelSocket init
>
> INFO: JK: ajp13 listening on /0.0.0.0:8009
>
> Apr 12, 2008 10:53:38 PM
org.apache.jk.server.JkMain start
>
> INFO: Jk running ID=0 time=0/16 config=null
>
> Apr 12, 2008 10:53:38 PM
org.apache.catalina.startup.Catalina start
>
> INFO: Server startup in 744 ms
>
>
>
> ________________________________
>
> From: Lukasz Lenart [mailto:lukasz.lenart@(protected)]
> Sent: Sat 4/12/2008 11:58 PM
>
> To: Struts Users Mailing List
> Subject: Re: POJO Action Class
>
>
>
>
>
> Class and config looks ok, could paste the whole stack trace? When you
> get such error, when starting conatiner or when requesting the action?
> Could you also show how you call the action in web browser?
>
>
> Regards
> --
> Lukasz
>
> http://www.linkedin.com/in/lukaszlenart
>
> ---------------------------------------------------------------------
> 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)
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

Attachment:
user_185351.ezm (zipped)sorry all of you but still gating same error
Action class [com.prayog.apps.LoginUser] not found - action - file:/C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/struts.xml:9:69
at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction (
XmlConfigurationProvider.java:333)
at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction (
XmlConfigurationProvider.java:288)
at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage (
XmlConfigurationProvider.java:384)
at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages (
XmlConfigurationProvider.java:239)
at
org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages (
StrutsXmlConfigurationProvider.java:111)
at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload (
DefaultConfiguration.java:152)
at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (
ConfigurationManager.java:52)
at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (
Dispatcher.java:398)
at
org.apache.struts2.dispatcher.Dispatcher.init (
Dispatcher.java:455)
at
org.apache.struts2.dispatcher.FilterDispatcher.init (
FilterDispatcher.java:201)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter (
ApplicationFilterConfig.java:275)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (
ApplicationFilterConfig.java:397)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at
org.apache.catalina.core.StandardContext.filterStart (
StandardContext.java:3696)
at
org.apache.catalina.core.StandardContext.start (
StandardContext.java:4343)
at
org.apache.catalina.core.ContainerBase.start (
ContainerBase.java:1045)
at
org.apache.catalina.core.StandardHost.start (
StandardHost.java:719)
at
org.apache.catalina.core.ContainerBase.start (
ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start (
StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start (
StandardService.java:516)
at
org.apache.catalina.core.StandardServer.start (
StandardServer.java:710)
at
org.apache.catalina.startup.Catalina.start (
Catalina.java:566)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at
java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.catalina.startup.Bootstrap.start (
Bootstrap.java:288)
at
org.apache.catalina.startup.Bootstrap.main (
Bootstrap.java:413)
Apr 13, 2008 12:57:12 AM
org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Apr 13, 2008 12:57:12 AM
org.apache.catalina.core.StandardContext start
SEVERE: Context [/HelloWorld] startup failed due to previous errors
________________________________
From: Chris Pratt [mailto:thechrispratt@(protected)]
Sent: Sun 4/13/2008 12:39 AM
To: Struts Users Mailing List
Subject: Re: POJO Action Class
Look carefully at the first line of the output. You have misspelled User.
(*Chris*)
On Sat, Apr 12, 2008 at 11:53 AM, Prashant Saraf <psaraf@(protected):
> Thanks for the reply,
> It comes when container starts,
> i had created a caller jsp which put user name and password. in LoginUser.java i m checking. either the user-name password are correct. if correct forward to success page, else send to same login page.
>
>
> Here is strack trace.
>
> SEVERE: Exception starting filter struts2
>
> Action class [com.prayog.apps.LoginUesr] not found - action - file:/C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/struts.xml:9:69
>
> at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction (
XmlConfigurationProvider.java:333)
>
> at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction (
XmlConfigurationProvider.java:288)
>
> at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage (
XmlConfigurationProvider.java:384)
>
> at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages (
XmlConfigurationProvider.java:239)
>
> at
org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages (
StrutsXmlConfigurationProvider.java:111)
>
> at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload (
DefaultConfiguration.java:152)
>
> at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (
ConfigurationManager.java:52)
>
> at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (
Dispatcher.java:398)
>
> at
org.apache.struts2.dispatcher.Dispatcher.init (
Dispatcher.java:455)
>
> at
org.apache.struts2.dispatcher.FilterDispatcher.init (
FilterDispatcher.java:201)
>
> at
org.apache.catalina.core.ApplicationFilterConfig.getFilter (
ApplicationFilterConfig.java:275)
>
> at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (
ApplicationFilterConfig.java:397)
>
> at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
>
> at
org.apache.catalina.core.StandardContext.filterStart (
StandardContext.java:3696)
>
> at
org.apache.catalina.core.StandardContext.start (
StandardContext.java:4343)
>
> at
org.apache.catalina.core.ContainerBase.start (
ContainerBase.java:1045)
>
> at
org.apache.catalina.core.StandardHost.start (
StandardHost.java:719)
>
> at
org.apache.catalina.core.ContainerBase.start (
ContainerBase.java:1045)
>
> at
org.apache.catalina.core.StandardEngine.start (
StandardEngine.java:443)
>
> at
org.apache.catalina.core.StandardService.start (
StandardService.java:516)
>
> at
org.apache.catalina.core.StandardServer.start (
StandardServer.java:710)
>
> at
org.apache.catalina.startup.Catalina.start (
Catalina.java:566)
>
> at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>
> at
java.lang.reflect.Method.invoke(Unknown Source)
>
> at
org.apache.catalina.startup.Bootstrap.start (
Bootstrap.java:288)
>
> at
org.apache.catalina.startup.Bootstrap.main (
Bootstrap.java:413)
>
> Apr 12, 2008 10:53:38 PM
org.apache.catalina.core.StandardContext start
>
> SEVERE: Error filterStart
>
> Apr 12, 2008 10:53:38 PM
org.apache.catalina.core.StandardContext start
>
> SEVERE: Context [/HelloWorld] startup failed due to previous errors
>
> Apr 12, 2008 10:53:38 PM
org.apache.coyote.http11.Http11Protocol start
>
> INFO: Starting Coyote HTTP/1.1 on http-8080
>
> Apr 12, 2008 10:53:38 PM
org.apache.jk.common.ChannelSocket init
>
> INFO: JK: ajp13 listening on /0.0.0.0:8009
>
> Apr 12, 2008 10:53:38 PM
org.apache.jk.server.JkMain start
>
> INFO: Jk running ID=0 time=0/16 config=null
>
> Apr 12, 2008 10:53:38 PM
org.apache.catalina.startup.Catalina start
>
> INFO: Server startup in 744 ms
>
>
>
> ________________________________
>
> From: Lukasz Lenart [mailto:lukasz.lenart@(protected)]
> Sent: Sat 4/12/2008 11:58 PM
>
> To: Struts Users Mailing List
> Subject: Re: POJO Action Class
>
>
>
>
>
> Class and config looks ok, could paste the whole stack trace? When you
> get such error, when starting conatiner or when requesting the action?
> Could you also show how you call the action in web browser?
>
>
> Regards
> --
> Lukasz
>
> http://www.linkedin.com/in/lukaszlenart
>
> ---------------------------------------------------------------------
> 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)
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

Attachment:
user_185352.ezm (zipped)Hi,
Try to look into
C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/
and see if you have there compiled class in package com.prayog.apps.LoginUser
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart

Attachment:
user_185353.ezm (zipped)no only java file is there!!
________________________________
From: Lukasz Lenart [mailto:lukasz.lenart@(protected)]
Sent: Sun 4/13/2008 1:07 AM
To: Struts Users Mailing List
Subject: Re: POJO Action Class
Hi,
Try to look into
C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/
and see if you have there compiled class in package com.prayog.apps.LoginUser
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

Attachment:
user_185355.ezm (zipped)hi,
i changed the build path in eclipse to
HelloWorld/WebContent/WEB-INF/classes
and checked in
C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/
now there are class files. Still getting same error :(
________________________________
From: Lukasz Lenart [mailto:lukasz.lenart@(protected)]
Sent: Sun 4/13/2008 1:07 AM
To: Struts Users Mailing List
Subject: Re: POJO Action Class
Hi,
Try to look into
C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/HelloWorld/WEB-INF/classes/
and see if you have there compiled class in package com.prayog.apps.LoginUser
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

Attachment:
user_185356.ezm (zipped)> no only java file is there!!
Source file shouldn't be there, but in src folder. I don't know how
WTP works, but it looks it's a configuration problem. Sorry I can't
help you.
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart

Attachment:
user_185358.ezm (zipped)Which error are you getting?
M-
----- Original Message -----
From: "Prashant Saraf" <psaraf@(protected)>
To: "Struts Users Mailing List" <user@(protected)
Mailing List" <user@(protected)>
Sent: Saturday, April 12, 2008 3:45 PM
Subject: RE: POJO Action Class
hi,
i changed the build path in eclipse to
HelloWorld/WebContent/WEB-INF/classes
and checked in
C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
/wtpwebapps/HelloWorld/WEB-INF/classes/
now there are class files. Still getting same error :(
________________________________
From: Lukasz Lenart [mailto:lukasz.lenart@(protected)]
Sent: Sun 4/13/2008 1:07 AM
To: Struts Users Mailing List
Subject: Re: POJO Action Class
Hi,
Try to look into
C:/ide/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
/wtpwebapps/HelloWorld/WEB-INF/classes/
and see if you have there compiled class in package
com.prayog.apps.LoginUser
Regards
--
Lukasz
http://www.linkedin.com/in/lukaszlenart
---------------------------------------------------------------------
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)

Attachment:
user_185359.ezm (zipped)
Attachment:
user_185360.ezm (zipped)hi,akash
i see the source code but i can't found any place config the name
of annotationWorkflow interceptor.
i think you will want to use it you must config it by yourself
add this in your interceptors
EX
<interceptors>
<interceptor name="annotationWorkflow"
class="
com.opensymphony.xwork2.interceptor.annotations.AnnotationWorkflowInterceptor"
/>
</interceptors>
it any english you doesn't know what it mean.
forgive my poor english
gordian
On Sat, Apr 12, 2008 at 9:20 AM, akash agrawal <akash_agrawal@(protected)>
wrote:
> Hi,
>
> I am looking at the example provided on this link:
> http://struts.apache.org/2.x/docs/annotationworkflowinterceptor.html
>
> I couldn't find annotationWorkflow in my struts-default.xml
> <interceptor-ref name="annotationWorkflow"/>
>
> I get an error from framework:
>
> 2008-04-11 18:04:58.817 ERROR [StandardContext 3638]:
> Exception starting filter struts2
> Unable to find interceptor class referenced by ref-name annotationWorkflow
> - interceptor-ref -
> file:/C:/apache-tomcat-5.5.20/webapps/pm/WEB-INF/classes/struts.xml:32:49
> at
>
com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference (
InterceptorBuilder.java:50)
>
>
> Any ideas?
>
>
>
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_185361.ezm (zipped)Hi all,
I was testing the tag <default-action-ref> to configure the default action
mapping for a package, without success, then I search Struts Jira for
something about this and find the WW2525.
The WW2525 is closed with the argument that this tag is used to configure
the default class to be used when an action mapping don't specify the class.
I disagree with this because we have this tags:
<default-class-ref>
and
<default-action-ref>
I think that <default-class-ref> is to set de default class of mapping
without class, and not <default-action-ref>
The file xwork-default.xml use <default-class-ref> to set ActionSupport
<default-class-ref class="
com.opensymphony.xwork2.ActionSupport" />
And really, in my tests the default-action-ref don´t runs correctly.
This ocurred with someone too?
Thanks
Décio Heinzelmann Luckow