1. Put the display tag libraries on WEB-INF/lib folder
2. Put the displaytag.tld on WEB-INF folder
3. add the code the ff codes on you web.xml
http://displaytag.sf.net
displaytag.tld
And now you are good to go.
2008/5/23 Varun Deep <[EMAIL PROTECTE
To all
Hi, I want to implement pagination on my web application, for that I
want to use the "display tag". Can any one tell or suggest the step by
step process needed to implement the "display tag"(means how to
configure the struts2 application). I am using Struts2. I will be very
much thank full
The request timeout occurs when it is still generating the pdf. When it
finished, the file will be exported to the jsp.
Laurie Harper <[EMAIL PROTECTED]> wrote: Al Sutton wrote:
> You may find that your app server, the clients browser, or any proxy
> in-between may timeout irrespective of what
Hmm...
I will try that.
Thx.
Owen Berry <[EMAIL PROTECTED]> wrote: How about having a DOJO remote div that
refreshes, thereby keeping the
session active. Could even show progress on the pdf generation.
On Thu, May 22, 2008 at 8:23 AM, Simon Sew wrote:
> Because we are required to generate the p
Hi all,
Jeromy, I'm already using struts 2.1... Seems that this issue persists, or
there's some kind of configuration do fix this?
By the way, I say your project to integrate YUI and Struts 2,
congratulations!
Regards,
Márcio Gurgel
2008/5/4 Jeromy Evans <[EMAIL PROTECTED]>:
> Márcio Gurgel wr
Laurie,
Thank you. Your suggestion works great. Very elegant!
-Hien
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Tuesday, May 20, 2008 1:55 PM
To: user@struts.apache.org
Subject: Re: Struts 2: After validation fail, how to change the
returnin
This should help you out:
http://www.javalobby.org/java/forums/t100842.html?start=0
On Thu, May 22, 2008 at 2:15 PM, A. Lotfi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We have a big struts project, under WEB-INF\lib we have lot of jar files,
> lot of them are not used in the code, we are using netbe
not working :( but looks like a
--
View this message in context:
http://www.nabble.com/unclear-behavior-of-submit-control-tp17402365p17412337.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscr
2008/5/22 jklcom99 <[EMAIL PROTECTED]>:.
>
> It's complaining java.lang.NoClassDefFoundError: javax/el/ExpressionFactory.
> Not sure if it's related.
Probably you are using Struts EL tags. Simply don't use them, use
non-EL tags instead, EL expression will work anyway because Tomcat (as
every JSP 2
Yes, but that's not true. dateStart is Date! I tried with String, I tried
everything and Struts 2 have serious problems with dates!
Gabriel Belingueres <[EMAIL PROTECTED]> wrote: java.lang.NoSuchMethodException:
setMin(java.lang.String)
Meaning that dateStart is a String, and should be a Date.
is the correct use, because I don't use the
ModelDriven interface. The conversation object is just called like this.
It would be great if you publish your current implmentation. :-)
--
View this message in context:
http://www.nabble.com/model-conversation-scope-doesn%27-t-work-as-property-in-a
java.lang.NoSuchMethodException: setMin(java.lang.String)
Meaning that dateStart is a String, and should be a Date.
2008/5/22, Milan Milanovic <[EMAIL PROTECTED]>:
> Hi,
>
> when I try this I got an exception:
>
> WARN com.opensymphony.xwork2.util.OgnlUtil:369 - Caught OgnlException while
> se
I saw too that in your start.jsp page you used:
Which I don't know if will work. Actions that implements ModelDriven
interface push the model into the value stack, so you don't need to
write "model.page", but only "page".
I will eventually publish my current implementation...
2008/5/22, Canny
Hi,
We have a big struts project, under WEB-INF\lib we have lot of jar files, lot
of them are not used in the code, we are using netbeans5.5, is there any
utility to tell you which are the jar files not used in your source code.
Thanks, your help is appreciated.
From the initial email it seemed as though it's a two stage process
(stage 1 : generate, stage 2 : export), hence I thought it possible that
an idle time out could occur during the generation phase.
One approach I've seen is that a servlet starts the generation and lets
the user carry on with
you have no idea :-)
2008/5/22 Yousri BENDI ABDALLAH <[EMAIL PROTECTED]>:
> Good morning,
> I limited the size of the file upload a 15Mb
>
>
>
> / jsp / chemin_systeme / index.jsp result>
>
>
>
>
> 5728640
>
I thought if you specified "key" it would try to use that value as the
name, label, and value. That might be consistent with what you're
seeing, where it's trying to set a value on an action property object
graph:
> Exception caught setting 'user.registration.submit.button'
> on 'class portal.str
ognl.OgnlException: source is null for getProperty(null, "registration")
at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1638)
at ognl.ASTProperty.getValueBody(ASTProperty.java:92)
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
at ognl.SimpleNode.getV
In any webapp the most typical and simple form flow involves two steps:
(from the serverside point of view)
1) show an empty form for the user to fill the fields
2) receive the data, validate ; if ok, process it and show response page;
if not, show the same previous form with error messages
In St
Alec C4 wrote:
throws OgnlException. But
works fine. what does it means? How to access
some.key.from.resource.bundle to display it as label?
That's right. What's the exception? We can't tell you what it means if
we don't know what it is...
L.
-
Al Sutton wrote:
You may find that your app server, the clients browser, or any proxy
in-between may timeout irrespective of what you do in your webapp.
If the timeout occurs during the PDF generation, before the response
begins being streamed back, maybe. But as long as there is response data
It's complaining java.lang.NoClassDefFoundError: javax/el/ExpressionFactory.
Not sure if it's related.
Paul Benedict-2 wrote:
>
> Why wouldn't they be compatible?
>
>
>>
>> Did you ever get an answer to your question?
>>
>> What does one need to do to migrate an existing jsp project(struts 1
hi Eduardo,
It would be useful that you posted the struts configuration and all
relevant snippets. We won't otherwise understand the case you're describing.
Just a wild shot at what you explain sounds like you don't get your
properties properly assigned to the Action ... is that it? If it is
Thank you very much for your help. It started working when I set the custom
property you described. That is a very important step in making RAD 7.0 and
Struts 2.0 work together.. Thank you
Struts Two wrote:
>
> I have deployed struts 2.0.11.1 on Websphere V6.1.0.13 using RAD 7.5
> (show-case app
Back
Jim Kiley <[EMAIL PROTECTED]> wrote: What kind of link is the link on the
other page? Does it go to a JSP or an
action?
On Thu, May 22, 2008 at 12:05 PM, Milan Milanovic
wrote:
> Hi,
>
> I have a s:form in one jsp page, and I have link on other page to that
> page,
> but when such link i
Hi Giovanni i have proved the executeAndWaitStack interceptor, and it
works well(aiting page works ok) but in my method (in an Action) in
wich i have to access with getText to a key in a properties file, and
it doesn't work if i quit the interfeptor it works again, maybe a
bug?
thanks
El día
Why wouldn't they be compatible?
On Thu, May 22, 2008 at 11:17 AM, jklcom99 <[EMAIL PROTECTED]> wrote:
>
> Did you ever get an answer to your question?
>
> What does one need to do to migrate an existing jsp project(struts 1.1) to
> Tomcat 6?
>
>
> ojasrege wrote:
> >
> > We have a web jsp projec
Did you ever get an answer to your question?
What does one need to do to migrate an existing jsp project(struts 1.1) to
Tomcat 6?
ojasrege wrote:
>
> We have a web jsp project that we are upgrading to Tomcat 6.0.
>
> We have run into a few technical errors, and so I'm wondering whether or
> n
Did you ever get an answer to your question?
What does one need to do to migrate an existing jsp project(struts 1.1) to
Tomcat 6?
ojasrege wrote:
>
> We have a web jsp project that we are upgrading to Tomcat 6.0.
>
> We have run into a few technical errors, and so I'm wondering whether or
> n
What kind of link is the link on the other page? Does it go to a JSP or an
action?
On Thu, May 22, 2008 at 12:05 PM, Milan Milanovic <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I have a s:form in one jsp page, and I have link on other page to that
> page,
> but when such link is clicked and jsp page
Hi,
I have a s:form in one jsp page, and I have link on other page to that page,
but when such link is clicked and jsp page with s:form is shown it always
show old data in tags, until I refresh page. Is there any solution to this ?
--
Thx.Milan
One more thing, as I use String type in my action class for datetimepicker, I
tried to validate that field with regex validator, like this:
[0-3][0-9].[0-1][0-9].[1-2][0-9][0-9][0-9]
Date is wrong
But nothing happens if I enter wrong date, it just st
Hi,
when I try this I got an exception:
WARN com.opensymphony.xwork2.util.OgnlUtil:369 - Caught OgnlException while
setting property 'min' on type
'com.opensymphony.xwork2.validator.validators.DateRangeFieldValidator'.
java.lang.NoSuchMethodException: setMin(java.lang.String)
at o
Gracias por tu comentario, me servirá de mucha ayuda.
Y si tienes toda la razón, nuestro problema es que tenemos que hacer un parser
de varios xml y pues esto llevara un poco de proceso según nuestra estimación
así que estamos buscando soluciones a este problema.
un saludo y gracias.
-Men
hi,
Do you mean running a lengthy process? then the way to go would be using
execAndWait interceptor, have a look in:
http://struts.apache.org/2.x/docs/execute-and-wait-interceptor.html
**
Si a lo que te refieres es a ejecutar un proceso y que el usuari
Hello everyone.
I want to know if someone asked me how to do pages waiting, for example,
the DDBB Enter data with a class java but I wish that you do not touch
anything until this is not finished, so a page in waiting.
Any idea and thanks in advance.
A greeting.
*
I tried to change to order of the interceptors, but without any success.
The model is still not set.
You implemented the post-redirect-get pattern in your own implementation?
Is it possible to publish your implementation?
Gabriel Belingueres-2 wrote:
>
> I certainly did not use any of these co
I certainly did not use any of these conversation implementations (I
decided to write my own) but I suspect that you have defined the
interceptors in the opposite order: I think you should first set to
execute the defaultStack and then call the conversation interceptor.
2008/5/22, Canny Duck <[EMA
Well your comment gave me an insight into the different problem and
solve it achieves.
The problem is that the bean "beanSerie" had the getXXX but not had the
setXXX for us had implemented the "set" as the "add" of a vector.
Introducing directly "set" has turned out the problem.
A greeting
--
did you tried ${dateStart}?
2008/5/20, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Hi all, i'm Dome, from Italy, and i'm having my troubles with Date
> Validation on Struts 2 :|
>
> Using xml validation, and need to validate a
> date.
>
> Let's say i have 2 dates taken from html form. I need the seco
Hi,
I want to implement a process with more than one step and a model in a
conversation scope.
To realize that I used the Struts 2 scope plugin.
To implement the post-redirect-get pattern I have a result type of
"redirect-action". This behave is required.
The attached demo implementation worked
How about having a DOJO remote div that refreshes, thereby keeping the
session active. Could even show progress on the pdf generation.
On Thu, May 22, 2008 at 8:23 AM, Simon Sew <[EMAIL PROTECTED]> wrote:
> Because we are required to generate the pdf in real time. The data will
> always be chang
Because we are required to generate the pdf in real time. The data will always
be changing from time to time,therefore not suitable to be pre-generated.
Al Sutton <[EMAIL PROTECTED]> wrote: You may find that your app server, the
clients browser, or any proxy
in-between may timeout irrespective
Sorry, I misunderstood what you were asking. I believe that it
probably does use the current request response.
I guess I am a bit confused then on the action tag. Does it or does it
not support content from a streamed result? Is this intended
functionality or a bug? I am able to use the act
throws OgnlException. But
works fine. what does it means? How to access
some.key.from.resource.bundle to display it as label?
--
View this message in context:
http://www.nabble.com/unclear-behavior-of-submit-control-tp17402365p17402365.html
Sent from the Struts - User mailing list archive at N
You may find that your app server, the clients browser, or any proxy
in-between may timeout irrespective of what you do in your webapp.
If the file takes so long to generate is there any reason why your not
pre-generating it, caching it and serving it as a static file?
Al.
- Original Mes
Good morning,
I limited the size of the file upload a 15Mb
/ jsp / chemin_systeme / index.jsp
5728640
/ jsp / chemin_systeme / ajout.jsp
index.action
Hello!
Reposting here since the dev-list was not the correct one according Antonio.
I´m having some issues trying to extend the ExceptionMappingInterceptor.
The Struts 2 documentationen says that you can override the publishException
method,
but I´m not having any luck in doing so, the method
48 matches
Mail list logo