hi all
we have REST plugins, is it possible to implement SOAP on REST, so the
output is not XML or JSON, but a SOAP
i just getting confuse about SOAP over HTTP.
F
2010/10/18 Eric Nielsen :
> Here are my filters from web.xml
>
>
> struts-cleanup
>
> org.apache.struts2.dispatcher.ActionContextCleanUp
>
>
> sitemesh
>
> org.apache.struts2.sitemesh.FreemarkerPageFilter
>
>
> Spring OpenEntityManagerInViewFil
It's a Struts2 specific interceptor to do background work, please read
about ExecuteAndWaitInterceptor. Just that interceptor is using new
Thread, normally Struts2 don't create additional threads.
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javars
Li Ying wrote:
>Are your setting:
>
>?
Yes, I was intentionally setting the extension to the empty string.
This used to work under the SmartUrls plugin in 2.0.x days. I've dug
though and found the comments in his source about how the author made
that work.
First switched to using "action" as the
Specifically, the thread context information placed on the original
thread by the servlet container that provides the J2EE name associated
with the webapp and component, etc. This information is (as far as I
know) specific to the servlet container implementation and is not
portable in any way, so
What information is missing?
Dave
On Mon, Oct 18, 2010 at 11:34 PM, Phil Adams wrote:
> Hi,
> I'm trying to help a customer that is using Struts2 within a Java
> EE-compliant application server. Unfortunately, I have no real
> experience with Struts2 so I was hoping someone on this mailing list
Hi,
I'm trying to help a customer that is using Struts2 within a Java
EE-compliant application server. Unfortunately, I have no real
experience with Struts2 so I was hoping someone on this mailing list
could offer some help.
The main issue that I'm dealing with is this... An HTTP request is
rec
Cool; glad you worked it out.
Dave
On Mon, Oct 18, 2010 at 10:10 PM, cellterry wrote:
>
> Yes, you are right. After removing it, the error is removed.
>
> Terry.
>
>
> Dave Newton-6 wrote:
>>
>> If the Spring plugin is deployed the object factory should already be
>> set to "spring" by the plugi
Hi adam:
what theme are you using?
The default theme in Struts2.2.1 is [xhtml].
Maybe you need change the default theme or the theme of your tag to [simple].
Can you show us your setting file(struts.xml and so on) and your jsp code?
2010/10/19 adam pinder :
>
>
>
> I have just upgraded struts
By the way, if you DO want to set the extension of action to "",
try:
See if it works.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Are your setting:
?
Try delete it, use the default setting instead.
I take a quick look of the struts source code.
In [org.apache.struts2.dispatcher.mapper.DefaultActionMapper],
it use the extension of request url to detect if this request should
be mapped to an Action.
If you set this consta
Yes, you are right. After removing it, the error is removed.
Terry.
Dave Newton-6 wrote:
>
> If the Spring plugin is deployed the object factory should already be
> set to "spring" by the plugin, IIRC.
>
> I'm more concerned by the reference to the convention plugin: are you
> intending to us
Is there a good/standard way to use FreeMarker (or Velocity) to
template emails sent by a Struts2 application?
I hacked up something that works, but my solution doesn't know about
struts2, so it can't use the taglibs to produce URL. (Ie sending an
email for a new account with an activation link).
I recently upgraded from Struts 2.0.x + SmartURLs to Struts 2.2.1 +
Convention plugin. However after upgrading all my static content is
no longer being served. I read all the release notes along the way
that I could find and nothing suggests that my old approach should
have stopped working. Can
I have just upgraded struts2 version from 2.0.11 to 2.2.1 and one issue seems
to be that i have amended templates
actionerror.ftl
actionmessage.ftl
and they were placed into WebContent\template\simple folder in the web app and
with 2.0.11 they overrided the templates in the struts2 core j
That defines the encoding of the web.xml file itself...
On Oct 18, 2010 10:32 AM, "Martin Gainty" wrote:
>
> Hi Zoran
>
> can you confirm the encoding attribute at the top of your web.xml e.g.
>
>
> in which case you *should* be able to map
> U+00C6Æc3 86LATIN CAPITAL LETTER AE
> http://www.utf8-
Hi Zoran
can you confirm the encoding attribute at the top of your web.xml e.g.
in which case you *should* be able to map
U+00C6Æc3 86LATIN CAPITAL LETTER AE
http://www.utf8-chartable.de/
please confirm
Martin Gainty
__
Verzicht und Vertraulichk
Wataru,
I'm not sure what you're looking for. It seems you are trying to match the
first wildcard-matched value with the id and the actionName? I've never
tried this, but perhaps you could split the two values like this?
{1}
Ryan
2010/10/17
> Dear struts Users.
>
> I've been using Wi
Yes Li Ying,
I agree. I did follow your suggestion of looking at the stack trace and
going through the debug of the application. I found that:
ParametersInterceptor.setParametersp(Object, ValueStack, Map)
Was called at some point. Running thru the code there, the parameters were
already dupli
can you please explain with action class
Alexandru BARBAT wrote:
>
> Hi,
>
> I suppose you didn't write the call for displaytag correctly
>
> I give you an example (if you will still not find the problem plese send
> an
> excerpt from your displaytag code)
>
>class="dateTable" export=
I think it is perhaps a JBoss error.
Because the parameters in ServletRequest should be immutable, that
means Struts (or other frameworks)
has no chance to change the Request parameters.
See:
http://download.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html#getParameterMap%28%29
So the
I think it is [Parameters Interceptor]:
http://struts.apache.org/2.2.1/docs/parameters-interceptor.html
You can set a break point in the [setXXX] method of
your Action class, then you can find out who is invoking
it from the [Call Stack].
> One other question, do you guys know where the "writing
Nabeel,
You dont have to write parameters separately when submitting the form.
say, you have a form called "test"
*
*
inside that form you have various of struts html components,
and your *struts.xml* file should be like this,
*
/pages/ext/summary.jsp
*
so when the form submitted your *per
I think you¹re missing the point.
Instead of:
Use
Z.
> please understand this:
>
>
>
>
>
>
>
>
> listValue is a values of list. i am using iterator to traverse the list. now
> on listValue, i want to put here internationalization concept.so that all
> the list value can be display
Hello folks,
Thanks for the replies Kushan and Li Ying. Reading through both of your
emails:
- Kushan, yes, my code for the class UserSearchAction has a field called:
int searchType
Along with a getter and setter for it like:
public int getSearchType()
public void setSearchType(int searchType
please understand this:
listValue is a values of list. i am using iterator to traverse the list. now
on listValue, i want to put here internationalization concept.so that all
the list value can be display based on Locale which store in a list. please
suggest!
Li Ying-2 wrote:
>
> You
If the Spring plugin is deployed the object factory should already be
set to "spring" by the plugin, IIRC.
I'm more concerned by the reference to the convention plugin: are you
intending to use it? If not, it should not be deployed. If you are,
and are *also* using XML config, you'll need to inclu
The only things I can think of to check would be, do you have the
struts2-spring-plugin.jar file in your WEB-INF/lib directory? And have you
set the struts.objectFactory property to "spring"?
(*Chris*)
On Sun, Oct 17, 2010 at 7:34 PM, cellterry wrote:
>
> Hello all,
>
> I get a bug in fire
28 matches
Mail list logo