lo-world] and namespace [].
Struts in that case I believe takes the first encountered just like
when using a struts.xml file. I don't use the Convention Plugin but I
would suggest a solution might be to use the @Namespace annotation on
the class or package. That way you would be able to specify a
encountered just like when using
> a struts.xml file. I don't use the Convention Plugin but I would suggest
> a solution might be to use the @Namespace annotation on the class or
> package. That way you would be able to specify a unique SCOPE when
> calling the action and get the
action name [hello-world] and namespace []. Struts
in that case I believe takes the first encountered just like when using
a struts.xml file. I don't use the Convention Plugin but I would suggest
a solution might be to use the @Namespace annotation on the class or
package. That way you would be
to register a ticket in JIRA, but this is something low
> > priority rather.
> >
> >
> > Regards
> > Lukasz
> >
> > sob., 7 gru 2019 o 12:58 Zahid Rahman napisał(a):
> >> I think the convention plugin should perform a validation a check for
> t
priority rather.
Regards
Lukasz
sob., 7 gru 2019 o 12:58 Zahid Rahman napisał(a):
I think the convention plugin should perform a validation a check for the
presence of multiple same class names within different
package names. That ambiguity has been shown by my test.
After all it is quite feas
Feel free to register a ticket in JIRA, but this is something low
priority rather.
Regards
Lukasz
sob., 7 gru 2019 o 12:58 Zahid Rahman napisał(a):
>
> I think the convention plugin should perform a validation a check for the
> presence of multiple same class names within different
I think the convention plugin should perform a validation a check for the
presence of multiple same class names within different
package names. That ambiguity has been shown by my test.
After all it is quite feasible and likely that we could have multiple same
class names from different package
Hi,
I guess that the behavior of defining actions with same name and namespace is
undefined. I think it's not an issue because Convention Plugin has no avenue to
distinguish between them when you request http://localhost:8080/hello-world.
Regards.
>-Original Message-
>
Hi,
On this page
https://struts.apache.org/plugins/convention/#setup
if I have com.example.actions.HelloWorld.java
and
uk.mypackage.actions.HelloWorld.java
with url http://localhost:8080/hello-world
then
uk.mypackage.actions.HelloWorld.java execute is run.
If I have
uk.example.actions.HelloWo
Struts2, and the convention plugin is not working.
> That, is the request URL paths are not being automatically mapped to their
> corresponding action classes at all.
>
> Spring Boot: 1.5.19.RELEASE
> Struts2: 2.5.20
> Java VM JDK 1.8
> Maven
>
> I have the struts2-con
I using Spring Boot + Struts2, and the convention plugin is not working. That,
is the request URL paths are not being automatically mapped to their
corresponding action classes at all.
Spring Boot: 1.5.19.RELEASE
Struts2: 2.5.20
Java VM JDK 1.8
Maven
I have the struts2-convention-plugin in
sob., 26 sty 2019 o 05:13 developer researcher
napisał(a):
>
> I am doing migration tests to convention plugin using a project generated
> with the archetype "struts2-archetype-blank"
>
> After migrating the actions from struts.xml using the @Action annotation, I
>
notation be for the default action?
@Action("defaultAction")
> *2. Global Exception Handling*
>
> The documentation of convention plugin include exception mapping for action
> level and class level, but How should global exceptions and results be
> configured?
You can on
I am doing migration tests to convention plugin using a project generated
with the archetype "struts2-archetype-blank"
After migrating the actions from struts.xml using the @Action annotation, I
could observe the following:
The line (in a JSP): "
rel="stylesheet" type=&
Hello,
I want to migrate a web application based on struts.xml to use annotations,
but I have not found documentation and/or examples for the next cases:
*1. *
How should be the @Action (?) Annotation be for the default action?
*2. Global Exception Handling*
The documentation of convention
On 2016-11-01 12:20 (-0400), Lukasz Lenart wrote:
> 2016-11-01 4:00 GMT+01:00 Ronald Andersen :
> > Hi Lakasz
> >
> > Below is the struts.xml and LoginAction (for reference). Using default for
> > package name in struts.xml:
> >
> >
> >
> > > "-//Apache Software Foundation//DTD Struts Config
On 2016-11-01 15:17 (-0400), Ken McWilliams wrote:
> Am I wrong in assuming that this new package is supposed to be the default?
> If so it should extend conventions-default and there is some constant that
> should be set such that conventions uses this package by default.
>
> Also, perhaps of
you have almost the same setup
> > > https://github.com/apache/struts-examples/tree/master/unknown-handler
> > >
> > >
> > > Regards
> > > --
> > > Åukasz
> > > + 48 606 323 122 http://www.lenart.org.pl/
> > >
> > > ------
On 2016-11-01 12:20 (-0400), Lukasz Lenart wrote:
> 2016-11-01 4:00 GMT+01:00 Ronald Andersen :
> > Hi Lakasz
> >
> > Below is the struts.xml and LoginAction (for reference). Using default for
> > package name in struts.xml:
> >
> >
> >
> > > "-//Apache Software Foundation//DTD Struts Config
Am I wrong in assuming that this new package is supposed to be the default?
If so it should extend conventions-default and there is some constant that
should be set such that conventions uses this package by default.
Also, perhaps of greater importance: If conventions was working before then
the r
On 2016-11-01 12:20 (-0400), Lukasz Lenart wrote:
> 2016-11-01 4:00 GMT+01:00 Ronald Andersen :
> > Hi Lakasz
> >
> > Below is the struts.xml and LoginAction (for reference). Using default for
> > package name in struts.xml:
> >
> >
> >
> > > "-//Apache Software Foundation//DTD Struts Config
2016-11-01 4:00 GMT+01:00 Ronald Andersen :
> Hi Lakasz
>
> Below is the struts.xml and LoginAction (for reference). Using default for
> package name in struts.xml:
>
>
>
> "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
> "http://struts.apache.org/dtds/struts-2.3.dtd";>
>
>
va.struts.LoginAction and result success
> > No result defined for action net.codejava.struts.LoginAction and result
> > success
> >
> > How can the struts.xml be configured to ignore the action or how can the
> > convention plugin override the struts.xml? Do not
On 2016-10-30 18:53 (-0400), Martin Gainty wrote:
>
>
>
>
> From: ronald.a.ander...@gmail.com
> Sent: Sunday, October 30, 2016 1:59 PM
> To: user@struts.apache.org
> Subject: convention plugin struts.xml interceptors
>
>
No result defined
> for action net.codejava.struts.LoginAction and result success
> > No result defined for action net.codejava.struts.LoginAction and result
> success
> >
> > How can the struts.xml be configured to ignore the action or how can the
> convention plugin over
y wrote:
>
>
>
>
> From: ronald.a.ander...@gmail.com
> Sent: Sunday, October 30, 2016 1:59 PM
> To: user@struts.apache.org
> Subject: convention plugin struts.xml interceptors
>
> My actions are working fine by following the convention ru
ction and result
> success
>
> How can the struts.xml be configured to ignore the action or how can the
> convention plugin override the struts.xml? Do not want to add the LoginAction
> to the struts.xml
Can you post content of your struts.xml? I think you have defined a
main package
From: ronald.a.ander...@gmail.com
Sent: Sunday, October 30, 2016 1:59 PM
To: user@struts.apache.org
Subject: convention plugin struts.xml interceptors
My actions are working fine by following the convention rules - no struts.xml
required; I need to configure
convention plugin override the struts.xml? Do not want to add the LoginAction
to the struts.xml
Struts2 version->struts2-core-2.3.15.1
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: u
i don’t know what the framework will do by
> default.
> I read the convention plugin documentation i understood the next:
>
> action url -> hello
> action class -> */actions/HelloAction.class
> (result=input), response -> /webapp/content/hello-input.jsp
>
> But
is redirect to /webapp/content/index.jsp (but i don’t know
why).
In hello-success.jsp and register-success.jsp they are URL action to index.
There isn’t IndexAction class so i don’t know what the framework will do by
default.
I read the convention plugin documentation i understood the next:
actio
2016-03-24 22:09 GMT+01:00 José Antonio Delgado Trujillo :
> I was trying with the convention plugin and the example in the gitHub.
> Now i have a problem with the url to return to index.
> There is no index action so i don’t know how to fix the problem without
> change the package of
I was trying with the convention plugin and the example in the gitHub.
My actions class are in the package pfc.struts2.annotations.actions so the
namespaces of the URL is /annotations/actions.
I put the files jsp in /webapp/content/annotations/actions except the second
index.jsp which is in
; Even on disabling CDI and using Spring, Ajax cant locate the action
> class.
> >
> > Mapping the action class in struts.xml and bean in applicationContext.xml
> > works fine, problems comes when i want to use annotation( convention
> > plugin) for my action class rather than usi
2015-03-02 10:44 GMT+01:00 bavon mike :
> Even on disabling CDI and using Spring, Ajax cant locate the action class.
>
> Mapping the action class in struts.xml and bean in applicationContext.xml
> works fine, problems comes when i want to use annotation( convention
> plugin) for m
Even on disabling CDI and using Spring, Ajax cant locate the action class.
Mapping the action class in struts.xml and bean in applicationContext.xml
works fine, problems comes when i want to use annotation( convention
plugin) for my action class rather than using xml.
On Mon, Mar 2, 2015 at 12
You are mixing CDI and Spring - you should use just one DI
2015-03-02 7:32 GMT+01:00 bavon mike :
> I am trying to configure spring plugin with strut 2 application, which is
> already running with convention plugin, so am using annotations. Am using
> ExtJs for my form submission
.apache.org/confluence/display/WW/Spring+Plugin
>
>
> #
> web: http://www.jgeppert.com
> twitter: http://twitter.com/jogep
>
>
> 2015-03-02 7:32 GMT+01:00 bavon mike :
>
> > I am trying to configure spring plugin with strut
://twitter.com/jogep
2015-03-02 7:32 GMT+01:00 bavon mike :
> I am trying to configure spring plugin with strut 2 application, which is
> already running with convention plugin, so am using annotations. Am using
> ExtJs for my form submission which was initially working well until i
>
I am trying to configure spring plugin with strut 2 application, which is
already running with convention plugin, so am using annotations. Am using
ExtJs for my form submission which was initially working well until i
introduced the spring plugin, now the the ajax request cannot locate the
actions
t;> at
>>>>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4076)
>>>>> at
>>>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4730)
>>>>> at org.apache.catalina.cor
rdContext.java:4730)
>>>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
>>>> at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
>>>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
>>>> at org.apa
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
>>> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
>>> at org.apache.catalina.core.StandardService.start(StandardService.java:525)
>>> at org.apache.catalina.co
t(StandardServer.java:754)
>> at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> at
>> sun.
AccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
> at
)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
[2] - for action found by convention plugin
SEVERE: Unable to read class
dkf
>
> 2014-03-03 0:00 GMT+01:00 Tommy Pham :
>> I think the Struts 2.3.16 example REST showcase (struts2-rest-showcase.war)
>> also uses convention plugin. I'm having the same exact problem with it on
>> Tomcat 8.0.3.
>>
>>
>> On Sun, Mar 2, 2014 at 1
IRA issue and attach sample
>>> project?
>>>
>>> Thanks in advance!
>>>
>>> 2014-03-02 21:22 GMT+01:00 Tommy Pham :
>>> > Hi folks,
>>> >
>>> > Is anyone having problem getting S2 2.3.16 Convention Plugin to work on
>
I think the Struts 2.3.16 example REST showcase (struts2-rest-showcase.war)
also uses convention plugin. I'm having the same exact problem with it on
Tomcat 8.0.3.
On Sun, Mar 2, 2014 at 1:23 PM, Tommy Pham wrote:
> Hi Lukasz,
>
> Thanks for the prompt reply. Issue WW-4294
gister a JIRA issue and attach sample
> project?
>
> Thanks in advance!
>
> 2014-03-02 21:22 GMT+01:00 Tommy Pham :
> > Hi folks,
> >
> > Is anyone having problem getting S2 2.3.16 Convention Plugin to work on
> > Tomcat 8.0.3?
> >
> > I used the tu
Looks like a bug :\ Can you register a JIRA issue and attach sample project?
Thanks in advance!
2014-03-02 21:22 GMT+01:00 Tommy Pham :
> Hi folks,
>
> Is anyone having problem getting S2 2.3.16 Convention Plugin to work on
> Tomcat 8.0.3?
>
> I used the tutorial [1] an
Hi folks,
Is anyone having problem getting S2 2.3.16 Convention Plugin to work on
Tomcat 8.0.3?
I used the tutorial [1] and built the war OK. Deployed on Tomcat 7.0.52
OK. However, I'm getting this error on Tomcat 8.0.3 with the same
Oracle/Sun JDK 1.7.0_51 (64 bit):
2014-03-02 12:13:1
Can you publish the whole project at GitHub instead of the gist?
2014-02-23 18:35 GMT+01:00 John Patrick :
> Hi,
>
> Having some issues around automated testing using struts2-junit-plugin
> accessing a jsp via struts2-convention-plugin.
>
> Basically the following
Hi,
Having some issues around automated testing using struts2-junit-plugin
accessing a jsp via struts2-convention-plugin.
Basically the following two url's;
http://struts.apache.org/release/2.3.x/docs/convention-plugin.html
http://struts.apache.org/release/2.3.x/docs/struts-2-junit-p
2013/7/10 Alireza Fattahi :
> Hi,
>
> I am trying to use REST Plugin with convention plugin .
>
> For all REST actions I should extend RestActionMapper, After I extend
> RestActionMapper instead of ActionSuppor, the convention plugin those not
> find the action any more !
C
Hi,
I am trying to use REST Plugin with convention plugin .
For all REST actions I should extend RestActionMapper, After I extend
RestActionMapper instead of ActionSuppor, the convention plugin those not find
the action any more !
~Regards,
~~Alireza Fattahi
Ok, I have reverted changes to DefaultActionMapper, so the previous
logic will work as expected.
Thanks Eric for your contribution!
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-un
Le 21/03/2013 10:16, Lukasz Lenart a écrit :
> Hm... this is strange, could you prepare a small demo app or share
> some configuration details?
I just attached a maven test project to describe regression to jira ticket:
https://issues.apache.org/jira/secure/attachment/12574762/StrutsSample_1.zip
w
2013/3/21 Eric Chatellier :
> There is maybe a misunderstanding here.
> Ticket #WW-3997 is talking about empty action.
>
> My real problem is that i'm using convention plugin IndexAction.
> It was working in 2.3.8, but not anymore in 2.3.12 too.
Hm... this is strange, could
Le 21/03/2013 07:29, Lukasz Lenart a écrit :
> btw. the Convention plugin supports Index action:
> http://struts.apache.org/development/2.x/docs/convention-plugin.html#ConventionPlugin-Introduction
There is maybe a misunderstanding here.
Ticket #WW-3997 is talking about empty action.
M
n additional attribute:
btw. the Convention plugin supports Index action:
http://struts.apache.org/development/2.x/docs/convention-plugin.html#ConventionPlugin-Introduction
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
--
What I've suggested before -- but haven't done anything about it -- is to
allow the struts.xml packages to have an index action. This will execute if
the package is specified but no action. This is different than a default
action.
Paul
On Wed, Mar 20, 2013 at 9:02 AM, Dave Newton wrote:
> There
There's that filter config solution, but I can't find a good reference to
it at the moment.
http://stackoverflow.com/questions/8071137/struts-2-execute-action-instead-of-welcome-file/8071249#8071249
Gives the overview, however.
Dave
On Wed, Mar 20, 2013 at 9:57 AM, Lukasz Lenart wrote:
> 201
2013/3/20 Eric Chatellier :
> Is there any working solution with 2.3.12 ?
>
> tried some configurations with
>
> index
>
> but doesn't seems to work yet...
The problem with is that by Servlet Spec only static
resources can be defined as a welcome file, thus leads to solution
like:
- defin
Le 18/03/2013 14:12, Lukasz Lenart a écrit :
>
> It is related to that issue [1], but I'm still wondering if it is the
> correct way to solve it (revert the change) as this prevent properly
> handling static resources and you must defined an empty action which
> basically is wrong as http server mu
2013/3/18 Eric Chatellier :
> I'm trying to update an application using struts with convention
> plugin from 2.3.8 to 2.3.12.
>
> I'm experiencing a change with default action "/" that
> was calling "IndexAction#execute()" method in version 2.3.8.
>
Hi,
I'm trying to update an application using struts with convention
plugin from 2.3.8 to 2.3.12.
I'm experiencing a change with default action "/" that
was calling "IndexAction#execute()" method in version 2.3.8.
Now, in version 2.3.12, this is resulting in 40
1. looks interesting. could you show an example or do you have one
illustrating how to write JSON back?
2. i'm not sure what to do with the online app?
On Fri, Oct 5, 2012 at 12:45 PM, Frans Thamura wrote:
> hi all esp jane
>
> let me summarize all our work here.
>
> 1. S2 REST Plugins
>
> we mo
hi all esp jane
let me summarize all our work here.
1. S2 REST Plugins
we modify the default S2 REST Plugin, so we dont need SMD anymore,
just use @Action and @Resut with type, and you can get full REST ,
PUT, GET, DELETE, POST.
@Action(name = "/list", method = HttpMethod.GET) -> for REST GET
jane
the way our rest model is not using smd which you can get in s2 default
rest plugins
please visit our s2restplugins.java.net
may be this plugins and small wiki can explain more.
the category has extended from default persistanc. you must see the spring
injection that handle this
Frans Tha
may be for full rest showcase
you can checkout from our svn in yama.java.net
full crud, bootstrap and spring hibernate. coee of our nurdoo.org
you can take alook our rest security implementation also there
feedback welcome for all
Frans Thamura
Meruvian
On Oct 5, 2012 9:03 PM, "Jane Wayne" wr
frans,
i'm looking at
http://java.net/projects/nurdoo/sources/nurdoo-web-svn/content/trunk/src/main/java/org/nurdoo/prayers/actions/CategoryAction.java?rev=3.
could you please point me specifically to how you guys output JSON/XML
back to the client?
let me see if i got this right. you guys use
yes, somewhat (not xml, but json). i modified the rest showcase. in
particular, i modified, orders-editNew.jsp. i modified the form the
look like this:
the original line was:
i believe the place to return XML/JSON is in the method create().
// POST /orders
public HttpHeaders create()
we now use mostly @action and @result as struts.xml replacement.
Frans Thamura
Meruvian
On Oct 5, 2012 7:25 PM, "Lukasz Lenart" wrote:
> 2012/10/5 Frans Thamura :
> > hi jane
> >
> > all our apps using s2 with rest and json.
> >
> > see our example.at www.nurdoo.org
>
> Yep, exactly, try urls li
2012/10/5 Frans Thamura :
> hi jane
>
> all our apps using s2 with rest and json.
>
> see our example.at www.nurdoo.org
Yep, exactly, try urls like below
http://www.nurdoo.org/module/prayers
http://www.nurdoo.org/module/prayers.json
http://www.nurdoo.org/module/prayers.xml
Regards
--
Łukasz
+
2012/10/5 Jane Wayne :
> not really/entirely what i'm looking for. the struts2-json-plugin
> supports json. but what about xml? i need the flexibility to alter
> between the two for the client/consumer of the rest services.
Did you try to add .xml suffix to request action ?
Regards
--
Łukasz
+
hi jane
all our apps using s2 with rest and json.
see our example.at www.nurdoo.org
source in nurdoo.java.net
Frans Thamura
Meruvian
On Oct 5, 2012 7:11 PM, "Jane Wayne" wrote:
> not really/entirely what i'm looking for. the struts2-json-plugin
> supports json. but what about xml? i need the
not really/entirely what i'm looking for. the struts2-json-plugin
supports json. but what about xml? i need the flexibility to alter
between the two for the client/consumer of the rest services.
On Thu, Oct 4, 2012 at 7:41 PM, Ken McWilliams wrote:
> I'm not familiar with this application but sim
I'm not familiar with this application but simply look at the
documentation for the struts2-json-plugin, you can specify a json
result and you can specify include and exclude parameters (so you just
return the part(s) of your Action you want). In this way you could
define a new map, put a key of "r
i've downloaded the demo apps for struts 2 v2.3.5 SNAPSHOT for today.
i am trying to understand and study the rest struts2-rest-showcase
webapp.
in the rest showcase, the OrdersController class has the following method.
public String editNew() {
model = new Order();
return "editNew";
}
the use
2012/7/19 :
> I'm experiencing some slightly unexpected behavior with respect to the
> package of the actionless results in my convention plugin app.
>
> Consider the following action classes and templates:
>
> com/actions/Delta.class
>
>
> And templ
I'm experiencing some slightly unexpected behavior with respect to the package
of the actionless results in my convention plugin app.
Consider the following action classes and templates:
com/actions/Delta.class
And templates relative to WEB-INF/content/
alpha.ftl
delta.ftl
The foll
the docs that is kind of troublesome on the user,
>> but easy to fix I'm sure . . .
>>
>>
>>
>> http://struts.apache.org/2.3.4/docs/convention-plugin.html#ConventionPlugin-Introduction
>>
>> The convention plugin points to an older version, which is act
easy to fix I'm sure . . .
>
>
>
> http://struts.apache.org/2.3.4/docs/convention-plugin.html#ConventionPlugin-Introduction
>
> The convention plugin points to an older version, which is actually
> not compatible with the 2.3.4 struts core.
>
>
> This is from
Found a minor bug in the docs that is kind of troublesome on the user,
but easy to fix I'm sure . . .
http://struts.apache.org/2.3.4/docs/convention-plugin.html#ConventionPlugin-Introduction
The convention plugin points to an older version, which is actually
not compatible with the 2.3.4 s
?
--
View this message in context:
http://struts.1045723.n5.nabble.com/Convention-plugin-How-do-I-have-two-methods-on-the-same-action-using-2-different-Interceptor-stacks-tp5589550p5600108.html
Sent from the Struts - User mailing list archive at Nabble.com
sStack "))
For more details refer to
http://struts.apache.org/2.2.3/docs/convention-plugin.html#ConventionPlugin-InterceptorRefannotation
-Original Message-
From: Shinobi [mailto:harlander3...@yahoo.com]
Sent: 23 March 2012 19:34
To: user@struts.apache.org
Subject: Convention plugi
I am using struts 2.3.1.2
I have an action class called Students with 2 methods, list and save.
Using the convention plugin and bang notation, I want the interceptor stack
'basicStack' to fire for method list and the interceptor stack
'paramsPrepareParamsStack' to fire
Hi
I have upgraded to 2.3.1.2 and it seems to have fixed my issue.
Many thanks
Dave.
--
View this message in context:
http://struts.1045723.n5.nabble.com/convention-plugin-does-not-seem-to-include-the-WEB-INF-lib-dir-tp5543609p5546871.html
Sent from the Struts - User mailing list archive at
Did you try to specify struts.convention.action.includeJars constant ?
http://struts.apache.org/2.x/docs/convention-plugin.html#ConventionPlugin-Configurationreference
Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confitura h
https://cwiki.apache.org/confluence/display/WW/Convention+Plugin#ConventionPlugin-Actionsinjarfiles
On Wed, Mar 7, 2012 at 5:07 AM, Shinobi wrote:
> I am using struts 2.2.3 with the convention plugin
>
> I have a class HelloWorld which is located in hello.jar which is located in
>
I am using struts 2.2.3 with the convention plugin
I have a class HelloWorld which is located in hello.jar which is located in
WEB-INF/lib. I get a blank page when i go to
http://localhost:8080/hello-world because it seems that the convention
plugin has not scanned the jars in the WEB-INF/lib
2012/3/7 Shinobi :
> I have a problem. My Action classes are in a jar in the WEB-INF/lib and
> these jars dont seem to appear to be processed. Am I doing something wrong
> or is there a way to include them?
More details, action class name, config, etc.
Kind regards
--
Łukasz http://www.lenart.o
Hi,
I have a problem. My Action classes are in a jar in the WEB-INF/lib and
these jars dont seem to appear to be processed. Am I doing something wrong
or is there a way to include them?
Thanks
Dave.
--
View this message in context:
http://struts.1045723.n5.nabble.com/convention-plugin-does
to the wiki, thanks for coming back with it. Pretty sure I
need it in 2 months or so.
https://cwiki.apache.org/confluence/display/WW/Convention+Plugin#ConventionPlugin-Jetty%28embedded%29
Cheers,
Christian
>
> -Ben
>
>
> --
> View this message in context:
> http://struts.104572
Got it working. I needed to set the constants below in my struts.xml. Could
be good to add this to the docs for other people using Jetty in embedded
mode.
-Ben
--
View this message in context:
http://struts.1045723.n5.nabble.com/Convention-plugin-can-t-find-Actions-tp4744110p4744666
der and the scanning code.
Dave
On Sun, Aug 28, 2011 at 4:20 PM, chengas123 wrote:
> Thanks for the suggestion. Didn't help though. Shouldn't the fact that it
> extends ActionSupport be enough anyway?
>
> --
> View this message in context:
> http://struts.1045723.n5
Thanks for the suggestion. Didn't help though. Shouldn't the fact that it
extends ActionSupport be enough anyway?
--
View this message in context:
http://struts.1045723.n5.nabble.com/Convention-plugin-can-t-find-Actions-tp4744110p4744116.html
Sent from the Struts - User mailing list
Try naming it TestAction.
Dave
On Sun, Aug 28, 2011 at 4:13 PM, chengas123 wrote:
> Hi,
>
> I created the action below in a package ending with "action" and extended
> ActionSupport. Yet, the convention plugin is not finding the action. I
> installed the config brows
Hi,
I created the action below in a package ending with "action" and extended
ActionSupport. Yet, the convention plugin is not finding the action. I
installed the config browser plugin and it does not see the action. Any
tips on how I can debug this? I'm running this in embedd
1 - 100 of 407 matches
Mail list logo