thanks,
now there is a problem in struts.xml:
Can not find a java.io.InputStream with the name [${contentType}] in the
invocation stack. Check the
--
View this message in context:
http://www.nabble.com/download-file-tp24050039p24067967.html
Sent from the Struts - User mailing list archive a
Dear volker,
Thank you so much.
This is what i expected... Now i understood the things.
Can u please tell me that, what you r mean by service routines & RTFM.
U r telling that DB access code should be in Action class, right
So, where the Prepared statements should be in?
what are all the thi
Haven't tried it (had to move on) I just reverted to primitives and rely on
autoboxing (i.e. not having to make end to end change all the way to the
server side) when passing model to my web service.
newton.dave wrote:
>
> chumbobumbo wrote:
>> Yeah, it's called isTestBool (but I tried with ge
Hi Volker,
thanks, we are able to run the interceptor now, but we have another issue,
the interceptor will Loop,
we create the sample follow the code from the webworks
*public* *class* *InterceptorSample* *extends* AbstractInterceptor {
@Override
*public* String intercept(ActionIn
Hi Dave,
after following your note, we are able to run our sample interceptor,
however now we have another issue the sample interceptor will always
looping,
since we have the following code in the sample interceptor,
*return* invocation.invoke();
but the sample interceptor will not run, if we ar
chumbobumbo wrote:
Yeah, it's called isTestBool (but I tried with getTestBool as well) neither
work, I enabled the debug console adn if I output the stack values in my
browser is says that 'no read method is available, listing testBool as
'String' whereas the testbool (primitive boolean) is repor
stanlick wrote:
I'd assume something like getThings().put(index, name). OGNL has to get
the map in order to put something into it.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands,
Lukasz Lenart wrote:
> As I remember, Dynamic Method Invocation is disabled by default, so
> you need to enable it:
> struts.enable.DynamicMethodInvocation = true
Turns out that the convention plugin was doing something. Renamed to
circumvent. Hope someday to understand convention plugin enough t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
sounds like you mixed up interceptors and action classes.
Look at *http://struts.apache.org/2.x/docs/interceptors.html
*regards
Volker
Yanto schrieb:
> Hi,
>
>
> I am trying to use the following simple interceptor test the
> interceptor conce
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
1) your submit button should submit to some action defined in struts.xml.
2) your action class is called (if you have not specified any other,
"execute" is called.
3) the result of your action specifies, which jsp is called next
your code for acc
Yeah, it's called isTestBool (but I tried with getTestBool as well) neither
work, I enabled the debug console adn if I output the stack values in my
browser is says that 'no read method is available, listing testBool as
'String' whereas the testbool (primitive boolean) is reported correctly as
'tr
Hello,
Could anyone give me some idea about how to set a loading image in a
DIV while executing an AJAX action?
For example: I click a . I want
someDiv to show a customized loading image while it is loading. What's
the easiest or best way to achieve this?
I have considered changing the templates
It's never enough FOR YOU PEOPLE!!! =^D
public static Collection getThings() {
ArrayList things = new ArrayList();
things.add(new Thing(1, "foo", 1.95f));
return things;
}
displayTile-{1}
mgainty wrote:
>
>
> code for addAll?
> c
code for addAll?
code for Thing.getThings()?
struts.xml action config for mapBackedUIsaveList?
thanks,
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehe
Hi,
I have session recovering problem and I don't know how to do it, I hope you
can help me.
I use FileUploader to upload a file:
http://www.sitepen.com/blog/2008/12/01/dojox-fileuploader-upgrade-to-support-flash-10/.
It seems to upload the file but I have lost my session in my Action class
and a
How is that for a subject line? I always wonder what I would search for
myself :working:
I had a guy tell me that a struts web tag was generating an absurd number of
method calls on his action/model. After carefully considering his scenario,
I was able to experiment using the files below. When
Marc-
plugin was rewritten as there were a number of missing components
Kind Regards
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
Usually that means you have the td outside the table tag somehow. Is that
table terminated in the middle of your setup and not restarted?
Marc Eckart-2 wrote:
>
> Hi,
>
> we have a struts2 application and we implemented the ajax functions
> with jquery.
> We now load some html tables with aj
Hi,
we have a struts2 application and we implemented the ajax functions
with jquery.
We now load some html tables with ajax in different divs. Now we have
the phenomenon that some text fragments of a is displayed under
the table, but I can't find it somewhere in the dom tree.
When I mark the fra
Dear All,
GoodDay...!
Im beginner for Struts programming.
I hv started developing a Struts project.
I have many doubt can u please clarify my doubt
i have a jsp page which contains the input data(name & password).
When i click the submit button, data will have to store in the database.
i
Yanto wrote:
This will configure *only* the "sample" interceptor.
If you specify *any* interceptors on a per-action basis you must
configure *all* interceptors. This can be done in several ways.
- specify all interceptors in the action's configuration (you can
specify interceptor stac
PEGASUS84 wrote:
my action is this:
public class FileDownload extends ActionSupport {
InputStream inputStream;
public void setInputStream(InputStream s){inputStream=s;}
public InputStream getInputStream(){return inputStream;}
public String execute(){
return "sendFi
And where does your input stream come from?
On Tue, Jun 16, 2009 at 12:11 PM, PEGASUS84 wrote:
>
> my action is this:
> public class FileDownload extends ActionSupport {
>
> InputStream inputStream;
>
>
> public void setInputStream(InputStream s){inputStream=s;}
> public InputStream get
after we add validationWorkflowStack interceptor before the timer, then the
timer interceptor will show the result,
if we use the above in the action it is printing the timer value like below
[2009-06-16 18:03:41,218] INFO
com.opensymphony.xwork2.interceptor.TimerInterceptor - Executed actio
my action is this:
public class FileDownload extends ActionSupport {
InputStream inputStream;
public void setInputStream(InputStream s){inputStream=s;}
public InputStream getInputStream(){return inputStream;}
public String execute(){
return "sendFile";
}
}
and in
You can't expect someone else to write your code for you...
What have you tried? What errors did you get? You have to at least
provide some informatino for us to help you.
Nils-H
On Tue, Jun 16, 2009 at 11:54 AM, PEGASUS84 wrote:
>
> sorry,
> i don't succeed
> i haven't idea
> --
> View this mes
sorry,
i don't succeed
i haven't idea
--
View this message in context:
http://www.nabble.com/download-file-tp24050039p24051122.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user
Hi Pawel,
thanks for the link
we already check the interceptor for the namespace, and it's showing the
interceptor yang we configure in the config-browser-plugin
TimerInterceptor
com.opensymphony.xwork2.interceptor.TimerInterceptor
but, when we check from the Apache console, the interceptor is
Nope, that's all i've got,
but You can try to remove all that's unimportant.
Best greetings,
Paweł Wielgus.
2009/6/16 PEGASUS84 :
>
>
> Right it's really too much
> because i've not many packages that you've used.
>
> is there a more simple code ?
> --
> View this message in context:
> http://
Right it's really too much
because i've not many packages that you've used.
is there a more simple code ?
--
View this message in context:
http://www.nabble.com/download-file-tp24050039p24050650.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
Hi,
read this:
http://struts.apache.org/2.0.6/docs/stream-result.html
and this (note that it's to much as for a simple download but that's
what i've got):
package com.ppp.oko.struts.action.motion.file;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
imp
please
can anyone send me the cplete code to create an action which allows to
download a file
--
View this message in context:
http://www.nabble.com/download-file-tp24050039p24050039.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
Dear all,
i'm using struts 2 and validator to validate my form.
after login i goto a page where a tree structured menu coded in seperate
javascript file is loaded.
Till the time my login is correct , i get the page.
When i enter incorrect login/pwd or leaving any one blank, validator fails
logi
Hi Yanto,
use this [1] plugin to verify if all namespaces and stacks are as You
think they should be.
[1] http://struts.apache.org/2.x/docs/config-browser-plugin.html
Best greetings,
Paweł Wielgus.
2009/6/16 Yanto :
> Hi,
>
>
> I am trying to use the following simple interceptor test the interc
Hi,
I am trying to use the struts validation xml and testing with my action but
its not working in struts 2.1.6 .
Same code working fine in struts 2.0.6
Any issue in the 2.1.6 version ? Are we need to include any interceptor ?
I pasted below my codes.Any one had same issue previously ?
Hi,
I am trying to use the following simple interceptor test the interceptor
concepts but is not happened while calling the action class.
Sample interceptor class.
*import* *com.opensymphony.xwork2.ActionContext*;
*import* com.opensymphony.xwork2.ActionInvocation;
*import* com.opensymphon
36 matches
Mail list logo