in the form's action URL.
Also we now have both apple and cherry in the pie parameter values:
apple from being embedded in the URL, cherry from being entered in the
form.
--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IST
not
find action or result
There is no Action mapped for action name WSRPBaseService. - [unknown
location]
We are accessing our portlets through WSRP - WSRPBaseService is used in
the markup URL. No idea why this is being interpreted as a Struts action
though!
Steve
--
Stephen Turner
JVM.
The form action uses a POST method.
Thanks,
Steve
--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IST
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h
parameter behaviour?
Nils-H
No, I don't know if there's a bug report - but we have a contact for
Oracle support so I'm going to run it by them.
Thanks for the help-
Steve
--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IST
:
PortletActionContext.getRenderRequest().getPortletSession()
Invalidating the PortletSession object gives me an IllegalState exception -
Steve
--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IST
-
To unsubscribe, e-mail: user
there? And which version of Oracle Portal are you using?
Nils-H
--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IST
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h
Would someone be kind enough to point me to an example of the Scoped Model
Driven usage? Both the xml config part and the Action code.
I've googled this, and delved into the sample source code, and not come up
with anything -
Thanks,
Steve
Is it possible to easily see a record of all the interceptors executed
during an action invocation? I want to see the actual interceptors that
are executed, not the config (which shows me what I _think_ is happening).
Thanks,
Steve
--
Stephen Turner
Sr. Analyst/Programmer
MIT IST - SAIS
/UtilTimerStack.html
Best greetings,
Paweł Wielgus.
Thanks Paweł, that's exactly what I was looking for -
Steve
--
Stephen Turner
Sr. Analyst/Programmer
MIT IST - SAIS
-
To unsubscribe, e-mail: user-unsubscr
bean attribute showing as the
rendered value? I know I can cheat by defining a toString() method in the
bean, but I wondered if there's a cleaner way of doing this.
Thanks,
Steve
--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IST
correct! Thanks for the help.
Steve
--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IST
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
object - the interceptor will do that the
first time, and will pull the object out of session after that, and inject
it into your action class.
Steve
--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IST
On Fri, 11 Sep 2009 07:59:38 -0400, Martin Gainty mgai...@hotmail.com
wrote:
(i dont know what a realtive path is)
Martin Gainty
I think he spelt it like that to confuse bots...
Steve
-
To unsubscribe, e-mail:
Hello,
I'm trying to get objects placed in a List using the type conversion
functionality built into Struts 2 (2.0.14)/Java 1.4. The bean that should
be in the list is called Grocery, with attributes name and quantity.
My action class has a List called groceries.
I have a conversion
I maintain a Struts 1.0 app and need to make some changes. While I'm
working on the app, I'm wondering if there's any chance I could integrate
Spring into the app, to manage Struts action classes. I found a plugin for
Struts 1.1, but I don't want to upgrade the Struts version at this point.
On Fri, 11 Dec 2009 13:26:46 -0500, Paul Benedict pbened...@apache.org
wrote:
Have you looked at the Spring API for its Struts support?
All I've seen in the Spring code refers to Struts 1.1
Steve
On Fri, Dec 11, 2009 at 12:13 PM, Stephen Turner stur...@mit.edu wrote:
I maintain a Struts
asked this before but I can't seem to find it via
searching. Reminder anyone?
Jim,
Adding debug=xml to the URL will show the value stack as XML. I think you
need to have struts.devMode=true set in the struts config as well.
Steve
--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IST
On Fri, 22 Jan 2010 09:59:52 -0500, Dale Newfield d...@newfield.org
wrote:
Glad you were able to get that working.
Where did you find the documentation that suggested this part of your
stream result?
Oscar wrote:
param name=contentDispositionfilename=nameoffile.xls/param
The filename
and not guaranteed to get you the result you want.
-Dale
Dale,
Thanks for the explanation - this works much better now. We were basically
deferring the handling of this to the browser, and by using attachment;
we now get consistent behavior.
Steve
--
Stephen Turner
Senior Programmer
on this in Struts in Action.
Steve
--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IST
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
... If you could fix this, then there
won't be confusion to the newbies who post.
Regards
Arul
The INTERNET now has a personality. YOURS! See your Yahoo!
Homepage. http://in.yahoo.com/
--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IST
is not turned
on.
Is there an app-wide setting that would activate this profiling that we
might have turned on by mistake?
Thanks,
Steve
--
Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IST
-
To unsubscribe, e-mail: user
On Thu, 15 Apr 2010 22:04:53 -0400, Frans Thamura fr...@meruvian.org
wrote:
have anyone read this?
http://www.java4learners.com/struts/faq/what-are-advantages-spring-mvc-over-struts
http://www.java4learners.com/struts/faq/what-are-advantages-spring-mvc-over-strutsany
comment?
Kind of
On Fri, 21 May 2010 11:01:43 -0400, Denis Cabasson
denis.cabas...@gmail.com wrote:
I personnaly prefer to use the same Action for things that are logically
grouped. So in your case, I would use the execute method to return
SUCCESS, pointing to the jsp, and a doSearch method with SEARCH
On Fri, 21 May 2010 11:39:56 -0400, ch...@chrismiles.org
ch...@chrismiles.org wrote:
If you are not
populating/building a view then it makes no sense to go through the
controller. It is counter intuitive just pass through an action which
does
nothing, when the JSP would get filtered
We are investigating moving from Struts 2.0.x to 2.1.8. We have an
interceptor that does a redirect like this:
ResultConfig cfg = new ResultConfig(shRes,
ServletRedirectResult.class.getName());
cfg.addParam(location, MyAction.action?+request.getQueryString());
setContainer(Container container) {
this.container = container;
}
Steve
On Wed, 16 Jun 2010 17:23:51 -0400, Stephen Turner stur...@mit.edu wrote:
We are investigating moving from Struts 2.0.x to 2.1.8. We have an
interceptor that does a redirect like this:
ResultConfig cfg
On Mon, 21 Jun 2010 00:56:19 -0400, Jake Vang vangj...@googlemail.com
wrote:
hi, i've been reading and studying
http://struts.apache.org/2.0.14/docs/struts-2-spring-2-jpa-ajax.html.
i want to know what is actually going on in applicationContext.xml.
for example, what do these two lines do?
We're using Struts 2 for file uploading, and we're filtering the types of
files people can upload by checking the file's content type against a list
of allowed mime types.
This turns out not to be reliable enough. Firefox in particular seems to
sometimes provide the wrong mime type, so
On Fri, 16 Jul 2010 10:26:11 -0400, Christopher Schultz
ch...@christopherschultz.net wrote:
If filename extensions are sufficient, you can get this information
directly from the servlet container using ServletContext.getMimeType.
There's also the activation framework's
Hello all,
I'd like to format a URL with multiple parameters having the same name, eg:
?pn=firstvalpn=secondvalpn=thirdval
Is this possible using s:url ? I've tried this:
s:url...
param name=pn value=firstval /
param name=pn value=secondval /
param name=pn value=thirdval /
/s:url
escapeAmp=false
s:param name=pn value='firstval' /
s:param name=pn value='secondval' /
s:param name=pn value='thirdval' /
/s:url
URL 1: s:property value=xurl/
and here's the result:
URL 1: a.b?pn=thirdval
I'm using Struts 2.0.11
Steve
--
Stephen Turner
Senior Programmer/Analyst - MIT
Unit tests for interceptors in Struts 2.2.1
In TokenInterceptorTest I see a reference to
org.apache.struts2.TestConfigurationProvider, but I can't find this class
in a jar file. I do see the source code though.
Which jar should I be using for TestConfigurationProvider?
Thanks,
Steve
On Wed, 18 Aug 2010 16:22:37 -0400, Lukasz Lenart
lukasz.len...@googlemail.com wrote:
2010/8/18 Stephen Turner stur...@mit.edu:
Unit tests for interceptors in Struts 2.2.1
In TokenInterceptorTest I see a reference to
org.apache.struts2.TestConfigurationProvider, but I can't find
On Mon, 23 Aug 2010 14:22:54 -0400, Greg Lindholm
greg.lindh...@gmail.com wrote:
Is there any issues with running Struts1 and Struts2 together in the
same application?
I have a couple old Struts1 applications which I plan on converting to
Struts2 over time, but would like to start doing new
I have a Struts 2.0 interceptor that dynamically creates a result config
and adds it to the action config. It does it like this:
String newResult = shRes;
ResultConfig cfg = new ResultConfig(newResult,
ServletRedirectResult.class.getName());
cfg.addParam(location,
On Tue, 24 Aug 2010 10:59:29 -0400, Martin Gainty mgai...@hotmail.com
wrote:
//reiterate 2.1.8 functionality:
com.opensymphony.xwork2.ActionInvocation action_invocation;
ActionProxy proxy=action_invocation.getProxy()
ActionConfig config =proxy.getConfig();
//where ActionConfig contains
(srd);
srd.setLocation(SearchHelp.action?+request.getQueryString());
srd.setPrependServletContext(true);
srd.execute(actionInvocation);
return Action.NONE;
This is similar to the injection of the FreeMarkerResult in execAndWait.
Thanks,
Steve
--
Stephen Turner
Senior
On Mon, 23 Aug 2010 14:22:54 -0400, Greg Lindholm
greg.lindh...@gmail.com wrote:
Is there any issues with running Struts1 and Struts2 together in the
same application?
I have a couple old Struts1 applications which I plan on converting to
Struts2 over time, but would like to start doing new
39 matches
Mail list logo