Since it is not happening consistently and seems to happen more under load it
could well be that the instantiation of an object is triggering a
garbage collection so it might be unrelated to the s:bean itself and more to
hanging onto some other objects for too long.
Chris
-Original
Hi,
This is actually a repost of a stackoverflow question that I've been
unable to get an answer for:
http://stackoverflow.com/questions/1644340/multiple-field-ognl-type-converter
My problem is that I have an immutable object that is captured in
multiple fields on the UI. The http post looks
Gareth Davis schrieb:
The more I look at the Ognl stuff and the ParametersIntercepter the
more I've convincing my self that this is just not possible with the
framework, can anybody confirm this?
Others may have a deeper knowledge of the framework, but i would
approach your issue
I use the convention plugin for Struts and I take advantage of the
spring auto wiring (by name) to automagically inject my service layer.
You can do the same for the rest. Check out the reference guide over at
spring framework to do so. Weirdly I like having my DAO and Service
classes in the
Thanks, their is a further complexity in my system, in that the exact type
of the Value isn't actually known at compile time it is actually a kinda
urber configurable form display, hence the desire to use a TypeConverter,
but I think you are right and a different approach is inevitable. Currently
The spring plugin will look by default auto wire your spring beans via
type, it isn't tied to the getXXX(); method call. I myself only have the
declaration and a setter, the autowiring injects the spring managed bean
for me.
Nothing is done with the getters
DAO Class:
public MyDAOImpl
Hello,
I was wondering if any of the more experience people have suggestion about
this issue. The problem is that Firefox 3.5 - differently from Firefox 2 -
does not process automatically XUL files zipped in jar files, if the jar
file is requested to be downloaded as attachment rather than inline
-Original Message-
From: Daniele Development-ML [mailto:daniele@googlemail.com]
Sent: Tuesday, November 03, 2009 8:58 AM
To: Struts Users Mailing List
Subject: Re: Inline downloading of file with Struts 1.2
Hello,
I was wondering if any of the more experience people have suggestion
roger-
i would factor the Database injection for your DAO to use getSessionFactory to
acquire factory which contains Hibernate dataSource (which contains startup
Database parameters)
http://www.java2s.com/Code/Java/Hibernate/SpringDaoInjection.htm
other solutions?
Martin Gainty
Hello
I have to include a webpage into my existing web application, this webpage
required basic authentication, so when i include this webpage into my
application and run i get a basic authentication pop up window, is there a
way i can pass user id, password in header or some thing so i dont get
Hey Ignacio,
I’m not a big fan of integrated ajax functionality. While it provides a
simple solution at first when you need something a little more complex or
customised it starts to show it’s limitations.
Rather than using the sx;div tag why not just use a plain div and then use a
jQuery ajax
ore info is required:
What security schema is employed?
Is the included webpage in the same context as the including
webpage?
Does your webpage allow anonymous access? If not, does the
user's auth info match the included page's auth info?
-Original Message-
From: Ashish
Dear all,
Did anyone used the doubleEmptyOption parameter of the doubleselect tag
in struts2? I have used it to create an empty option for the second
select box. However no empty option is added. In addition, the
doubleHeaderKey and doubleHeaderValue parameters are also seems has no
effect at
Can you post the whole stacktrace to see what it is trying to do? REST
is mostly undocumented. If what you need are restful urls, and not the
other rest functionality, I would suggest you to just use wildcards.
musachy
On Tue, Nov 3, 2009 at 2:43 PM, Graham Leggett minf...@sharp.fm wrote:
Hi
On Tue, Nov 3, 2009 at 3:50 PM, james billa jambi...@gmail.com wrote:
1 . Using struts (2.1.6) how would you pass values from one action to
another other than keeping them in model? Is there any other way?
You can either pass them as parameters or stuff them in the session.
Parameters:
Hi all,
I am currently attempting to pass a URL to struts, with information
embedded in the URL (restful style).
So far this works, if I point a browser at /foo/14/invoice.shtml,
the correct action is picked up and the right method is called:
@Action(**/invoice*.shtml)
Hi all
Does struts2 support dynamically expanding lists of items? I mean just
like in gmail attach another file
--
Pozdrawiam / Best Regards
Rafal Krupinski
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For
On Today at 5:13pm, GL=Greg Lindholm greg.lindh...@gmail.com wrote:
GL I have a situation where I want to fully handle the result in the Action
GL including writing the response to the HttpServletResponse.
GL
return ActionSupport.NONE?
GL
GL What's the best way to handle this so there is no
hi,
you can always use extensionless actions, as long as they're under some
directory. example:
filter-mapping
filter-namestruts2/filter-name
url-pattern/action/*/url-pattern
/filter-mapping
filter-mapping !-- needed by struts --
filter-namestruts2/filter-name
I have a situation where I want to fully handle the result in the Action
including writing the response to the HttpServletResponse.
What's the best way to handle this so there is no further results processing
after the execute() method ends?
Is there a way to disable results processing from
Hi
What i am trying to include is feed from a web camera which works on IP
address in network, there is a built in server in this webcamera which does
basic authentication. this wont allow anonymous access, can i use http
client or some thing to fake login from jsp page
On Tue, Nov 3, 2009 at
1 . Using struts (2.1.6) how would you pass values from one action to
another other than keeping them in model? Is there any other way?
2. I am redirecting one action to second action using type=redirect.
Version Struts 2.1.6. Below is the xml code. If I set some
actionerrors/fielderros in
22 matches
Mail list logo