Steven
Not familiar with your setup and if it works in tomcat and not WAS, even
stranger. But for what it's worth here is my hack, I made a copy of
StrutsPrepareAndExecuteFilter and in the doFilter where it said
ActionMapping mapping = prepare.findActionMapping(request, response);
if (mapping =
is this a misconfig or a workaround?
in 2.0.x the default behaviour for "/" is to go to the welcome file list
there is no mention of a change in behaviour in any of these
http://struts.apache.org/2.1.6/docs/version-notes-216.html
http://struts.apache.org/2.1.6/docs/action-configuration.html
http
that kind of worked, I had to make some tweaks
in struts.xml
then in my HomeAction.java
@ParentPackage("root")
@Results({
@Result(name="SUCCESS", location="home.ftl")
})
this is even better than an index.jsp that redirects
Thanks
Ron
--
View this message in context:
http://www.nabbl
just to clarify
this works
http://myserver/myapp/whatever.action
and to maps to
WhateverAction.java and whatever.ftl
so application is basically working
but
http://myserver/myapp/
does not work
gives 404 with
There is no Action mapped for namespace / and action name .
the action name being e
Martin
Sorry, I have looked in those docs but can't see anything about this. I
have got all the convention stuff up and running, that is not the problem,
it is just when you are at the root url where you need it to go to the
index.html or index.jsp to do a redirect to your start action is where
in StrutsPrepareAndExecuteFilter in 2.1
doFilter contains
ActionMapping mapping = prepare.findActionMapping(request, response);
if (mapping == null) {
boolean handled =
execute.executeStaticResourceRequest(request, response);
however, when using with convention plugin
I have a simple Blah action to test the REST plugin
/myapp/blah goes to index() in Blah as expected
/myapp/blah/1 goes to show() and sets id to 1 as expected
however setId() is run twice, I have a log.info("setting id"+id) there
when I do
/myapp/blah!show?id=1
setId() is only run once
--
Does it allow for extended parameters?
http://site/app/customers/69/product/123
or
http://site/app/discussions/2009/01/12/some-topic
--
View this message in context:
http://www.nabble.com/REST-plugin-question-tp21496295p21496295.html
Sent from the Struts - User mailing list archive at Nab
I've not used Spring for a while so I can't answer your question directly.
But all I'm trying to do is get access to something that would have been
correctly initialized had I been under struts. i.e. my QuartzService
example was already working under struts, I just wanted to make the
scheduler
0, 2008 at 2:16 AM, Ron Chan <[EMAIL PROTECTED]> wrote:
>
>>
>> There's been a number of messages about this, and I've tried a number of
>> different suggestions. After going round in circles for a few days, I
>> eventually ended up with just a few line
There's been a number of messages about this, and I've tried a number of
different suggestions. After going round in circles for a few days, I
eventually ended up with just a few lines of code that seems to work. I
basically extended the FilterDispatcher, added to the init() method and used
the
try the struts2-ibatis version of appfuse light
appfuse-light-struts2-ibatis-1.8.zip from
https://appfuse-light.dev.java.net/
Emi Lu-2 wrote:
>
> Greetings,
>
> Would someone know some good tutorials about "struts 2.0.9 + ibatis2.3.0
> + SQLmap"
>
> . setup
> . examples
>
> Thanks a lot
http://www.nicolatsboutique.com/shop/home/
took 3000 orders in the first week, peaking at 830 for one day and 85 in one
hour
on peak day, 10Gb outgoing traffic, 5000 visits, 53500 page views
and never went down :)
S2 bits used :-
guice plugin
RestfulActionMapper
codebehind and zeroconfig
annota
on the same page I have
s.form
s.hidden
s.textfield
s.submit
and they all work fine
Ron Chan wrote:
>
> getter error message
>
> s.datetimepicker not found
>
>
> Musachy Barroso wrote:
>>
>> not working as in "I'm getting an error&quo
getter error message
s.datetimepicker not found
Musachy Barroso wrote:
>
> not working as in "I'm getting an error", or not working as in "nothing is
> shown"?
>
> musachy
>
> On 5/3/07, Ron Chan <[EMAIL PROTECTED]> wrote:
>>
>>
the datetimepicker does not work in freemarker in the using <@s. tag syntax
the same page works fine in jsp
anyone else experienced this?
--
View this message in context:
http://www.nabble.com/datetimepicker-not-working-in-freemarker-tf3688908.html#a10313044
Sent from the Struts - User mailing
When using sitemesh a session seems to be always created even when my
application does not need it. Does anyone know how to get rid of the
jsessionid that is generated, it is always picked up by the search engine
robots.
thanks
--
View this message in context:
http://www.nabble.com/-s2--sitem
Guice is used as the internal IOC within struts2 but that is recommended for
use in applications
But there is now a plugin which will use an external version of guice to do
your depency injection
http://docs.google.com/Doc?id=dd2fhx4z_5df5hw8
I just converted a mini app over the weekend from usi
Guice is used as xwork's internal dependency injection container.
If possible, how do I use Guice for DI in an application?
Thanks
Ron
--
View this message in context:
http://www.nabble.com/-S2--Using-Guice-tf3371417.html#a9381479
Sent from the Struts - User mailing list archive at Nabble.com
there“re several examples about that.
>
> Herrera
>
>
>
> Ron Chan wrote:
>>
>> where can I set the font of the dropdown list for the autocompleter?
>>
>> thanks
>> Ron
>>
>>
>
>
--
View this message in context:
http://www
where can I set the font of the dropdown list for the autocompleter?
thanks
Ron
--
View this message in context:
http://www.nabble.com/-s2--autocompleter-tf3271959.html#a9097345
Sent from the Struts - User mailing list archive at Nabble.com.
--
i've put together a simple app to test the combination of codebehind/zero
configuration and it seems to work quite well
is there a way to use the redirect result without having to revert to
putting in something in struts.xml?
thanks
Ron
--
View this message in context:
http://www.nabble.com/-
http://www.acegisecurity.org/ is a popular os generic security layer
http://appfuse.org/ is a "kickstart" app that has acegi, mvc, orm layer all
pre-configured with a simple user management system; S2 is one of its many
mvc options
even if you don't use appfuse it is a good source to pick up ide
my bad...
this is solved by adding velocity-tools-view
Ron Chan wrote:
>
> i'm unable to use velocity result, tried in 2.0.3-snapshot and
> 2.0.4-snapshot
>
> No mapping found for dependency
> [type=org.apache.struts2.views.velocity.VelocityManager, name=
i'm unable to use velocity result, tried in 2.0.3-snapshot and 2.0.4-snapshot
No mapping found for dependency
[type=org.apache.struts2.views.velocity.VelocityManager, name='default'] in
public void
org.apache.struts2.dispatcher.VelocityResult.setVelocityManager(org.apache.struts2.views.velocity.V
here's an interesting post about S2
http://www.oreillynet.com/onjava/blog/2006/12/struts_2_is_the_new_mini.html
however it is being shot down in the comments by how much better Stripes is
:(
what say you to the statement
"Try stripes out for a couple of days, and then you'll be asking 'What does
I've been trying to get Codebehind
http://struts.apache.org/2.x/docs/codebehind-plugin.html
and Zero Configuration
http://struts.apache.org/2.x/docs/zero-configuration.html
to work
found that I had to make a couple of changes
if (resultsByExtension == null) {
resultsByExtension = loadResultT
27 matches
Mail list logo