Check that solution [1], is better and should works for any kind of
servlet container; putting files under WEB-INF is not always good
because there isn't strict specification to protect files under
WEB-INF - it works for Tomcat but I don't know if it does for others.
[1]
Thanks, Musachy, this would be *exactly* what i want.
Robert
Musachy Barroso schrieb:
It was added after 2.1.6 and it will be available in 2.1.7, here is the ticket:
https://issues.apache.org/struts/browse/WW-3051
you need to set:
constant name=struts.el.throwExceptionOnFailure value=true /
2009/5/17 sid5 siddharthchha...@hotmail.com:
We currently have a SOA based application with a struts front end.
We have to invoke multiple webservices to get the data to render a single
page.
I was thinking of writing an Executor service inside an Action class or an
Interceptor to do this.
Hi,
Can you please attach the sample source code for this? even I am facing
the same problem. I am new to Struts, so need some detailed example.
Thanks in advance,
===
jdt.me.uk wrote:
Hi Radu. Many thanks
Hello listmembers,
I got two questions concerning struts.xml
First: I'd like to name an Action like :
1st try: action name=*_*.html ... returns HTTP 404 -
description The requested resource (/app/package/foo_bar.html) is not
available.
2nd try: action name=*_*\.html ... returns same
the only suggestion i can think of is rework existing List to a Map e.g.
possibleAnswersMap so
value is the value part of entry from possibleAnswersMap
key is key part of entry from possibleAnswersMap
otherwise looks good
Martin Gainty
__
Jogi és
dusty wrote:
What was the name of that middleware generator for HibernateMiddleGen?
The screenshots in the docs remind me of that. Is there a link for the
source code? The svn repo seems empty. It would be good to get through
the source and see how the actions/etc are implemented
Hi all,
In tag:
s:select headerValue=gianluca...
How to read the headerValue value from the resources boundle?
Something like:
s:select headerValue=myproject.myboundle.item
Thank you,
Gianluca
HiI have to find out how much data is transferred between the client and web
application server and from web application server and database, i want to
find out KB or MB of data per webpage request or per session.
I need to prepare a report for networking team to make sure that the
webapplication
really noone who can explain the stack? I double checked that this is
not a SERP version problem but OpenJPA is the only library using SERP.
Looking at the SERP sourcecode reveals that it is more related to some
dynamic bytecode introspecition and not a version issue.
Why cant the
Sorry, wrong Maillist.
PLEASE IGNORE.
---
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de
Am 18.05.2009 um 16:20 schrieb Marc Logemann:
really noone who can explain the stack? I double checked that this
is not a SERP version problem but OpenJPA is the only library
In big enterprises everything is not controlled by one group. There will be
a big legacy out there. It is not just one or two webservices you call to
get the data. In our case, we had call around 12 webservices. Whatever
kind of optimization you do, it is difficult to beat what we can get out
It should be something like:
s:select headerValue=%{getText('myproject.myboundle.item')}
Take a look at:
http://struts.apache.org/2.1.6/docs/localizing-output.html
and
http://struts.apache.org/2.1.6/docs/localization.html
Cheers,
Mike
- Original Message
From: Gianluca Musella
I haven't really used it but would TcpMon do the trick? I don't think
you can specify per webpage or session, but I think it will give you
the data usage. Perhaps you could divide the total bandwidth used from
tcpmon by the number of sessions during that specified period.
On 5/18/09, Ashish
Hi all,
Thanks in advance for your help.
I have an app which will start up with a forward to the search page. However,
when I access the page, I just get a blank page.
index.jsp:
%@ taglib uri=http://struts.apache.org/tags-logic; prefix=logic %
%@ page language=java contentType=text/html;
If you have hosted your container behind a web server like apache, the logs
from the web-server would give you the measure. If not, then you could write
a filter that intercepts all requests and dumps the size of the response.
Thanks
Ram
On Mon, May 18, 2009 at 8:27 PM, Burton Rhodes
I meant that there is a problem with DWRValidator.java , not the
documentation.
Referring to
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dwr/src/main/java/org/apache/struts2/validators/DWRValidator.java?revision=670170
(hope
this is the latest?) , the line :
ActionProxy proxy =
thats a bug ..
xwork version 1.2.3
com.opensymphony.xwork.ActionProxyFactory
public abstract ActionProxy createActionProxy(String namespace, String
actionName, Map extraContext, boolean executeResult, boolean cleanupContext)
throws Exception;
}
xwork 2.1.2
Thanks Dave,
In order to dispaly the error message if we give the whitespace infront of
the number , we need to set trim=false.
I sloved this problem by setting trim=false for regex validation. Below is
the snippet.
Thanks a lot for you input.
field name=caseNumber
field-validator
you were right, Andy,
i finally safely changed the struts2 filter mappings from /* to *.action
and today i've had great success merging redback struts2 with my existing
webapp.
i hit upon this when googling led me to another post elsewhere that was
questioning how to run struts1 alongside
what would be nice is some explanation as to how to better configure the
filtering and namespaces in the web and struts xml files.
Totally agree, I have struggling with this myself for sometime [extensive
googling culminated in no good answer].
--- On Mon, 5/18/09, jesse crossley
Jumping in on this one a tad late, forgive me if this has been said:
I've found the main thing lost without mapping to a url of /* is the
niceties
afforded by struts2 - automatic formatting, javascript support, etc.
The core
functionality still exists, albeit stripped down.
You can get most of
I created a login page with jQuery, I'm sending Ajax request by .getJSON(),
Also, I want to use struts 2's controller to assign to different pages based
on the returned results of action (in this case, if username and password
doesn't match, use an ajax reminder; if match, redirect to another
no obligation to use StrutsPrepareFilter
//you'll want to create some manner sort of Context
//you'll want to to know which action classes map to which action name(url)
public void doFilter(ServletRequest req, ServletResponse res, FilterChain
chain) throws IOException, ServletException
{
tsattler wrote:
needs to. So I am going through the Postgres system tables and figuring out
how it implements FKs; it *appears* that this query is not going to be
anywhere near as painful as the query to get the column info.
Why not just use the metadata returned from a JDBC connector?
You may have posted this to the wrong mailing list.
Dave
Marc Logemann wrote:
really noone who can explain the stack? I double checked that this is
not a SERP version problem but OpenJPA is the only library using SERP.
Looking at the SERP sourcecode reveals that it is more related to some
Actually you went off Struts' scope by using AJAX.because javascript is on
the client side. by using XHR you have put the control of determining the
result to javascript and not Struts.
one other way you can do it is you can let server send the url along with
other information to client and client
Solved this, It is the convention plugin again, I am using an eclipse dynamic
web project and I knew that it scans the source to look for actions which I
never bothered using as they are already defined in the struts.xml.
The struts.xml worked OK until I upgraded from 2.0.11 to 2.1.6 an
28 matches
Mail list logo