On 2018/05/22 18:24:34, bre...@us.ibm.com wrote:
> Struts 2.5.14.1, WebSphere 8.5.5.13, IBM Java 8 (level 1.8.0_161) on AIX.
>
> We have a JSP with a plain element that works without issue
> when we switch WebSphere back to Java 7, but in Java 8 produces the following
> error:
>
> 2018-05
On 2018/05/24 14:42:55, Yasser Zamani wrote:
>
> But freemarker claims "Java method "AbstractCollection.size()" threw an
> exception when invoked on LinkedHashMap$LinkedKeySet object "[]"; see
> cause exception in the Java stack trace" and Java stack trace in JSP
> exception says "Caused by: java
On 2018/05/24 06:42:48, Yasser Zamani wrote:
>
> It seems IBM JDK 8 has different behavior than Oracle or OpenJDK 8. Your
> exception claims that JDK is not able to call abstract method size on
> LinkedKeySet but here, Oracle and OpenJDK 8 are able to run:
>
> LinkedHashMap lhm = new Li
On 2018/05/24 06:42:48, Yasser Zamani wrote:
>
> It seems IBM JDK 8 has different behavior than Oracle or OpenJDK 8. Your
> exception claims that JDK is not able to call abstract method size on
> LinkedKeySet but here, Oracle and OpenJDK 8 are able to run:
>
> LinkedHashMap lhm = new Li
On 2018/05/23 19:30:40, Yasser Zamani wrote:
>
> Thanks. Sorry, for last one, could you check:
>
> java.util.Map lhm = new java.util.LinkedHashMap<>();
> Class c = lhm.getClass();
> java.lang.reflect.Method m = c.getMethod("keySet");
> Object ks = m.invoke(lhm)
On 2018/05/23 18:38:19, Yasser Zamani wrote:
> then reply back COPY MEs values please. Here I get:
>
> COPY ME 1: public abstract int java.util.Set.size()
> COPY ME 2: 0
Looks the same:
java TestForStruts
COPY ME 1: public abstract int java.util.Set.size()
COPY ME 2: 0
-
On 2018/05/23 18:11:34, Yasser Zamani wrote:
> Thanks. Could you also check if your IBM JDK 8 is able to run this:
>
> java.util.Map> lhm = new
> java.util.LinkedHashMap<>();
> Class c = lhm.getClass();
> Method m = c.getMethod("keySet");
> Object ks = m.invoke
On 2018/05/23 15:38:51, Yasser Zamani wrote:
>
> Could you check with latest version of IBM JDK 8? And are you maybe able
> to check also with Oracle and OpenJDK 8?
This is the latest IBM JDK 8. Or at least the latest that works with our
version WebSphere, but it's very recent. The build date
On 2018/05/23 06:07:05, Lukasz Lenart wrote:
> You mean ? There is no tag. Did you
> try to use the latest Freemarker version?
Yes, sorry.
I did not try the latest Freemarker, I'm using what is packaged with Struts
(min-lib.zip). Which, even at the very latest 2.5.16, is apparently
2.3.2
Stack Overflow Documentation isn't meant to duplicate existing
documentation. It's intended to provide missing documentation and
compensate for poor documentation.
So, copying current documentation to SO is definitely not in line with
their goals.
It *could *be a place to create better documentat
security updates for
2.3.20 and 2.3.24? How long will they be supported?
Thanks for the help!
Doug
The code you've shown won't allow simultaneous executions of the DAO method.
Either you've left some important details out of the sample, or you have other
code accessing the DAO.
This has nothing to do with Struts. The synchronization is implemented in lower
layers.
> On Apr 9, 2016, at 8:11
"
of OGNL 3.0.13 that I will be missing out on?
I appreciate any advice or explanation that is offered.
Doug
Hi Ken,
I encountered the same problem. Did you find the solution yet?
Thanks
Doug
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Hi All,
In the main page one of the bullet point is:
Easy-to-test Actions - Test Struts2 Actions directly, without resorting to mock
HTTP objects.
I would love to see a few examples of these.
Cheers,
Doug
g S2, Hibernate &
Sitemesh which is doing OK for me. Hopefully, you have some unit testing setup
and strategy as that is my main weakness.
Cheers,
Doug
--- On Tue, 4/28/09, Wes Wannemacher wrote:
From: Wes Wannemacher
Subject: Re: Any hint of JQuery on struts2 tutorial, thanks!
To: "
Hi All,
I am putting together Struts 2, Hibernate & Sitemesh. Where can I find
information on how to unit test my new application actions?
Thanks,
Doug
I have an action that have multiple methods that I mapped to. Only one action
that I need validation for, the rest I don't need. Where can I get information
to set this up or how do I set it up using the XML file?
Thanks,
Doug
Dave,
Do you have to add anything to the web.xml file or what libraries to
include. If I am using Sitemesh, anything different I have to do?
Doug Pham
--- On Sun, 6/22/08, Dave Newton <[EMAIL PROTECTED]> wrote:
From: Dave Newton <[EMAIL PROTECTED]>
Subject: Re: Using Struts2
Hi All,
Do I have to include anything special to use the Freemarker templates?
Thanks,
Doug
John,
Install Live HTTP Headers / Header Monitor plugin into Firefox and then
watch the HTTP traffic between your browser and the server. Your answer
will most likely be there. My assumption is that the MIME Type .swf is not
enabled in your Tomcat but that is just a wild guess.
regards,
Doug
On Wed, Apr 2, 2008 at 2:37 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Doug Lochart <[EMAIL PROTECTED]> wrote:
> > > --- Martin Gainty <[EMAIL PROTECTED]> wrote:
> > > > Is there any reason (other than political) why you are using 1.3.8
> >
he same JSP.
Hope I made it more clear.
thanks for your time
Doug
>
>
> > - Original Message -
> > From: "Doug Lochart" <[EMAIL PROTECTED]>
> > To:
> > Sent: Wednesday, April 02, 2008 6:43 AM
> > Subject: Re: Strange behavior: Try
what I have done looks
like it should work.
Does anyone have any ideas?
regards,
Doug Lochart
On Tue, Apr 1, 2008 at 2:02 PM, Doug Lochart <[EMAIL PROTECTED]> wrote:
> I am trying to implement a pattern so that I can use struts tokens to
> help prevent double submission. I seem t
m doing wrong or why it is working this way.
Please let me know if I need to supply any more supporting documents.
thanks
Do
Is there any special settings I need to do
to fix this problem?
Thanks,
Doug
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
I jumped the gun too quick on this one. I did get it to work, but it prevent
the ajax portion to work. At least I know it works, I'll investigate on the
struts ajax issue separately.
Thank You,
Doug
Doug Pham <[EMAIL PROTECTED]> wrote: Hi All,
I am experimenting with the
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
.
.
Th
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Doug Tangren
[EMAIL PROTECTED]
o? Or, does this have to be done at the
server in the Action class?
Rajasekhar,
If no option is SELECTED, then no default is specified. It does NOT default
to the first option in the list.
Doug
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Monday, October 10, 20
n you want
selected, by name.
Any ideas on how to do this?
Doug
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I can get an HTTP request parameter via bean:parameter. How do I get a
request attribute using the Struts taglib, without resorting to JSP
scriplets?
Doug Thomas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
quot;params" />
Error message:
"Define tag can contain only one of name attribute, value attribute, or body
content"
Any suggestions?
Thanks,
Doug
-Original Message-
From: Kishore Senji [mailto:[EMAIL PROTECTED]
Sent: Monday, October 03, 2005 2:29 PM
To: Doug Thomas
Please bear with me - I'm new to struts.
I've been to the link provided by Kishore, but this implies I have to obtain
my parameters from a Java bean. I want to create the message in my JSP, with
i18n, similar to the following:
And without the use of scriplets, as in:
<%
String myMsg = "Server
is the question.
Doug
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
tion
error, rather than a coding error.
Thanks.
Doug Thomas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Bill Siggelkow wrote:
Cool -- I got this error the other day when I created a filter -- mapped
to /* -- that did a redirect to another page in my app -- can you guess
the result? An HTTP Infinite Loop!
Håkon T Sønderland wrote:
I'm getting a curious error when I try to navigate
in the browser (
ext ctx = getServlet().getServletContext();
ctx.setAttribute(messageResourcesKey, resources);
return mapping.findForward("next");
}
}
Doug wrote:
Yes, I know this has been asked before, and I know it's not a base
capability. However, someone posted this solution several
Anyone?
Doug wrote:
Yes, I know this has been asked before, and I know it's not a base
capability. However, someone posted this solution several months ago,
which seems reasonable to me. Can anyone comment on whether there's any
reason not to use this approach?
<http://marc.the
struts-user&m=107880611624569&w=2>
MessageResourcesFactory factory =
MessageResourcesFactory.createFactory();
MessageResources resources =
factoryObject.createResources(nameOfMessage);
ServletContext ctx = getServlet().getServletContext();
ctx.setAttribute(Globals.MESSAGE
How about servlet filters instead? We've started using them for things
we want to handle for all URLs, outside of the normal application logic,
including session timeout.
Dean A. Hoover wrote:
I am using struts 1.1 and tomcat 5 for
an application. I am also using DynaValidatorForm
for validati
So I'll head to BugZilla, I guess.
Doug
Colm Garvey wrote:
It might not be sexy, but a fast solution would be to use something
else instead of quotes e.g. ^ or | and then use a
small Javascript replace function to write out the text correctly?
Colm
-Original Message-
From: Doug [m
42 matches
Mail list logo