Hi Chris.
One alternative is to use CDI which supports conversation scope too (I know
there is a CDI plugin. I never used though). Last time I checked the spring-
webflow integration was pretty outdated (it did not integrate with version
2.x). Another alternative is to go use JBoss Seam.
I made m
tter.com/m_cucchiara
> > G+ :https://plus.google.com/107903711540963855921
> > Linkedin:http://www.linkedin.com/in/mauriziocucchiara
> > VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara
> >
> > Maurizio Cucchiara
> >
> >
> &g
Hi:
I checked out the last version from svn and can't build it from sources
(mvn clean install). Seems it worked on Apache's Jenkins though:
Tests run: 701, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 25 sec
<<< FAILURE!
testValidationAnnotation(com.opensymphony.xwork2.validator.AnnotationV
If this is a recurring functionality (that is, you use it on several
actions), then implementing it as an interceptor makes perfect sense.
http://struts.apache.org/2.3.4.1/docs/writing-interceptors.html
Gabriel
2012/10/3 Miguel Almeida :
> I was speaking with Lukasz today about this, so I'm resu
Hi:
I took a look at the ServletPrincipalProxy class, and it just
delegates to the current request object to resolve authorization
queries. There is not much more to do, since it is how the servlet
standard is defined (the HttpServletRequest interface is the only one
to query).
So implementing a
This is a two step process: You can define a String property to hold
the "name" of the required instance to inject, and then inject the
appropiate instance with the given name.
For example you can define a constant:
@Inject(value="my.constant")
public void setConstant(String value) {
2012/9/4 Umesh Awasthi :
> I am in process to create a plugin and i need to pass provider class as
> well some other properties to the plugin bean class.
> though i can define them in side the plugin's xml file but want these
> properties to be configurable.
I know of several ways of doing this:
The "S2 way" of accessing the session is implementing the SessionAware
interface.
First you must realize that what you are putting on session scope is
not the AtomicInteger per se, but its current value at the moment you
call the first action, so unless you call the first action again, the
value s
Coincidentally, yesterday I was struggling with testing a file upload.
I was not using S2 as web framework but I was using Commons
Fileupload, which IIRC is the default S2 upload component.
I must say that my first strategy was trying to use Spring's
MockMultipartHttpServletRequest and MockMultipa
rg.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192)
> at
> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1013)
> at
> org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:698)
> at
> org.apache.tiles.jsp.
I don't know if storing only immutable state in session is a "Best
Practice" (if there exists such a thing as a best practice).
Consider frameworks like JBoss Seam or Spring Web Flow with their
support for conversations, which is basically mutable state stored in
session scope.
The case seems to
Post the code in which you actually set the attribute in the session scope.
2012/2/27 Samuel Robert :
> Hi,
>
> I faced few days ago a problem with the session variable in the JSP. I
> posted the problem here but did not get any solution:
> http://stackoverflow.com/questions/9381991/session-variab
Isn't the variable defined in page scope?
A single ${srtcld} EL expression should suffice.
Gabriel
2012/1/13 Eric Reed :
> Everyone,
>
> I know this has nothing to do with Struts but maybe someone one this mailing
> list has encountered this problem before.
>
> We have a massive project that I a
Harder to filter is the Struts 1 vs Struts 2 thing.
Some time ago was the [S1] and [S2] convention in the subject.
How to solve that? Splitting the mailing lists seems problematic, though.
2012/1/13 Wes Wannemacher :
> On Fri, Jan 13, 2012 at 11:54 AM, Bogomil Shopov
> wrote:
>> On 13 January 2
I would search for tags in your webapp's web.xml and
tomcat's web.xml, and get rid of them.
2012/1/5 Łukasz Lenart :
> 2012/1/5 Dave Newton :
>> I might be wrong anyway, misread the post on my phone; not sure a var can
>> be read through plain JSP EL like that-don't recall.
>
> As I remember it s
Are you using the chain result type?
Are you storing the Action object itself into session scope and
getting it back later?
2012/1/2 Dave Newton :
> Are you using Spring?
>
> On Monday, January 2, 2012, cwalet wrote:
>> can't auto clear 是什么意思?
>>
Is there a safe way to override only a couple of files from the
"simple" theme and bundle them inside a struts plugin?
I mean, if I want to replace the "simple" theme's ftl files for the
tag (while keeping the theme name "simple" for maximum
transparency) and distribute it in the "/template/simpl
https://builds.apache.org/job/Struts2/334/org.apache.struts$struts2-junit-plugin/
>>> > [2]
>>> >
>>> https://issues.apache.org/jira/browse/WW-3667?focusedCommentId=13079421&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#
le. I have
> mentioned this on the other mail to Maurizio.
>
> At the moment I must say I tend to Maurizios solution. I solves
> everything and is part of the struts 2 project. But I will watch your
> project from now on.
>
> Cheers!
> Christian
>
> On Wed, Aug 3,
Hi,
I'd like to introduce this simple library, which is based on the
StrutsJUnit4TestCase class that comes with the Struts 2 distribution.
Usage
This library is primarily intended for integration tests, meaning you
can test your actions and interceptors against a complete struts
interceptor stac
ed your code to google. Please ping this list
> once it is done - guess some others ahve an interest in it too :-)
>
> Cheers
> Christian
>
> On Wed, Aug 3, 2011 at 7:54 PM, Gabriel Belingueres
> wrote:
>> Hi,
>>
>> StrutsJUnit4TestCase is really tricky. I fo
Hi,
StrutsJUnit4TestCase is really tricky. I found few pointers in the web.
I'm currently using it successfully for my modest testing
requirements, but you don't need to provide a web.xml file.
When I say integration testing utility, I mean testing a full blown
interceptor stack with your actions
Reverse Proxy configuration looks like that:
> ProxyPass /myApp http://serverHostname/myApp
> ProxyPassReverse /myApp http://serverHostname/myApp
>
> Thanks again!
>
> Jan
>
> -Ursprüngliche Nachricht-
> Von: Gabriel Belingueres [mailto:belingue...@gmail.com]
&
Make sure your app server is correctly configured to return the
font-end proxy values when you call:
-request.getServerName()
-request.getServerPort()
Gabriel
2010/6/16 Jan Fröhlich :
> Hi all,
>
>
>
> after (nearly) finishing a struts2 project with struts 2.1.8.1 we have an odd
> issue testing
ce, but all
> others would use the same page and mapping.
>
> Gabriel Belingueres wrote:
>>
>> How about using different packages/namespaces for the views?
>>
>>
>>
>> /bb/index.jsp
>>
>>
>>
>>
>>
&
How about using different packages/namespaces for the views?
/bb/index.jsp
/wm/index.jsp
2010/1/28 Marcus Bond :
> Hi,
>
> I am wanting to implement a site such that some actions may have a different
> mapping depending upon the device used (e.g. regular
(I found the chain result type somewhat problematic, so I avoid it
every time I can.)
Having said that, if your action ONLY captures the exception, log it,
email it and then forward the output to an error.jsp page, AND you are
using Log4J you may find useful to attach more than one appender to
the
the form tag is wrong?
try:
2010/1/19 Shasha :
>
> Hi All,
>
> I am not able to get the validation errors from Login-validation.xml when i
> am using Modeldriven .
>
> Login-validation.xml
> 1. 2. "-//OpenSymphony Group//XWork Validator 1.0.2//EN"
> 3. "http://www.opensym
sion.
>
> Thanks !
>
> Cimballi
>
>
> On Thu, Jan 14, 2010 at 5:31 PM, Gabriel Belingueres
> wrote:
>> This way of obtaining a Session I think is not a good idiom.
>>
>> May be there are things that happens behind the scene when obtaining a
>> sessi
This way of obtaining a Session I think is not a good idiom.
May be there are things that happens behind the scene when obtaining a
session, that's probably why you are not getting a NPE the first time
you call getSession(false) in your code...because "something" already
created it.
S2 have a Map
r what's the difference between putting jar in build path and putting
> jar in WEB-INF/lib. Appreciate
>
>
> Gabriel Belingueres-2 wrote:
>>
>> Seems it is not S2 related. This exception is raised when some
>> dependency is not found by the JVM. Note that in addi
Implement interface ParameterAware: if the "resource" key is not in
the parameter map, then the variable was set by other means than input
parameters.
2010/1/12 JOSE L MARTINEZ-AVIAL :
> Distinguish between request parameters and struts.xml parameters in Struts2
>
> Hi all,
> I'm trying to disti
http://struts.apache.org/2.1.8.1/docs/optgroup.html
2010/1/12 Emi Lu :
> Good afternoon,
>
> Could someone tell me how struts2 support "optgroup" please?
>
> Thanks a lot!
> --
> Lu Ying
>
>
>
>
> Sydney
> Melbourne
>
>
> Cromwell
> Queenstown
>
>
>
>
Seems it is not S2 related. This exception is raised when some
dependency is not found by the JVM. Note that in addition to be
available in your build path, the dependency must be available at
runtime too (usually inside the WEB-INF/lib folder)
2010/1/12 fireapple :
>
> In project1, I include proj
Is your custom interceptor _before_ the exception interceptor in your
interceptor stack? If that's the case, then the exception interceptor
is not "catching" exceptions from your interceptor because it executes
after.
2010/1/12 :
> Hello,
>
> I've defined a global exception mapping and global res
I don't know if you can make this work.
IIRC, interceptor instances are created one by interceptor stack, so
the same instance is shared by all requests that go through that
stack. This makes the interceptor (at best) serialize all requests in
its wait-notify cycle. However, I think it is buggy si
name the current iterated object, something like that:
2010/1/8 RogerV :
>
>
>
> Gabriel Belingueres-2 wrote:
>>
>> The tag (without the var attribute) push the current item
>> to the top of the ValueStack.
>> will get
As a starting point you may check the freemarker .ftl files from the
XHTML template.
2010/1/8 Robby Atchison :
> Hello, I would like to know how an actionname-validation.xml is tied to the
> client-side validation. I figure somewhere the xml file is read and
> Javascript is output. I'm having t
I think the answer would depend of what your model objects look like.
If your Catalog object have 2 boolean variables (active and primary)
then holding a Map on your action (session
scoped) is a straightforward solution. (name your checkbox
"catalogMap[pk].active" and "catalogMap[pk].primary")
If
The tag (without the var attribute) push the current item
to the top of the ValueStack.
will get the value from the top of the stack.
IMHO, I think this is a bad coding idiom. I don't like to think too
much where the data came from.
HTH
2010/1/7 RogerV :
>
> Hi
>
>
>
>
>
>
>
Please post the S2 version number, the tag you are using
together with the action code to initialize the select list/map.
2010/1/7 Johannes Geppert :
>
> Hello,
>
> today i got this error while rendering an simple select box.
>
> 2010-01-07 11:08:41,420 ERROR (freemarker.runtime:96) -
> Error on
You didn't attach the action source code, but I guess you are not
instantiating the Map before the ParameterInterceptor is executed. I
can think of 3 choices to do that:
1) instantiate the Map in the same place you declare the instance variable:
Map textMap = new HashMap();
2) instantiate the
If you will submit multiple EmpBean, your action will need some sort
of Collection (a List or Map I commonly use) with its getter
& setter.
You must name correctly your input parameters so that the
ParameterInterceptor assign them right, that is, you name it as the
collection variable, indexed by
Session data handling is the same for all frameworks based on the
Servlet and JSP specification, and AFAIK S2 doesn't provide any helper
to handle it differently (one exception is the token interceptor to
avoid double submits.)
I think you should design the application specifically to handle this
something like this?
http://www.blahblah.com/something?param1=${value1}¶m2=${value2}
Here, value1 and value2 are searched in the value stack (usually your
action object is at the top of the stack).
2009/12/24 Wes Wannemacher :
> There is an http header result type and two redirect result typ
I have no useful thing to say about your particular problem with this
s:component tag, but if you are rendering JSP pages, then you may well
find it more compelling to create a custom tag file, hence avoiding
the Freemarker scripts.
2009/12/23 Vitor E. Silva Souza :
> Hello all,
>
> I'm creating a
Yes, parameters are String arrays. As a side note, see the following
post because sometimes OGNL evaluates things differently:
http://www.mail-archive.com/user@struts.apache.org/msg80015.html
2009/12/22 foo bar :
> Hi,
>
> I would prefer not to use getter/setter.
> What I really want to know is,
solved it.
I forgot that I have a JAVA_HOME env variable pointing to a Java5
version...changed it to Java 6 and worked OK. Funny that I didn't get
any compilation error...
Thanks!
2009/12/19 Lukasz Lenart :
> 2009/12/18 Gabriel Belingueres :
>> I checked out it from https://svn.op
I checked out it from https://svn.opensymphony.com/svn/xwork/trunk
I deleted everything and checkout'd it again and still the same test fail.
2009/12/18 Lukasz Lenart :
> That's a bit strange, you can check with Bamboo that everything is ok
> http://opensource.bamboo.atlassian.com/browse/XWORK
>
>
I believe that the "value" attribute is not used in this tag.
2009/12/18 Philipp Leusmann :
> Hi,
>
> what exactly does the value-attribute of the select tag require? Is it one
> element of the list provided to the list-argument? Or is it the value which
> eventually makes the value-attribute of
mber. Must be some kind of configuration problem since I
have the last version available on trunk.
Again my configuration is: WinXP, Java 6, maven 2.2.1, command: mvn
clean install.
2009/12/17 Gabriel Belingueres :
> Thanks Lukasz!
>
> Yes it was a connection problem. I had configured
= clean install)
2009/12/17 Lukasz Lenart :
> 2009/12/17 Gabriel Belingueres :
>> What am I missing?
>
> Connection to the Internet - you're probably behind a firewall :P
>
>
> Regards
> --
>
Hi,
I'm getting the following test failure where building XWork (from trunk).
Maven version 2.2.1
command: mvn clean install
---
Test set: TestSuite
I use File.createTempFile:
http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html#createTempFile(java.lang.String,%20java.lang.String,%20java.io.File)
Then I relate the uploaded filename with the saved temp file name in a
database table.
Gabriel
2009/12/15 Todd Grigsby :
> jayakumar ala wrot
I don't think it is directly related to Struts.
>From what I googled, seems more like a 32-bit/64-bit component
mismatch than a Struts issue.
On what JDK/JRE version are you running your app server? it is a 32
bit version of java? or a 64 bits version?
Your odbc driver is 32 bits or 64 bits? are
What do you mean by "I need to use ODBC to abstract the database connection."??
In most (all?) web containers I know about, there is a standard way of
abstract out the database connection and it is by declaring a
javax.sql.DataSource, which you can get it from JNDI (which is pretty
standard too.)
meh never mind...it was a validation.xml file that I was unaware of
(without the action name in the middle of the file name) and this
_short-circuited_ validaton was failing and the parameter never got a
chance. Solved.
2009/10/14 Gabriel Belingueres :
> Hi,
>
> I have problems tryi
Hi,
I have problems trying to set request parameters into a Map.
My input form have a form with some hidden input:
And in my Action have a private Map (with its getter and setter):
private Map mymap = new HashMap();
however I can't get the request parameters assigned to the Map.
I'm using
Hi,
I'm starting to use the new 2.1.6 convention plugin, trying to
mentally map the struts.xml file to annotations.
I could not find in the docs how to define the global-results and
global-exception-mappings.
I usually define an abstract package in struts.xml where I define the
global-results an
Pros:
Easy to learn and start with (some free books available.)
Great community (mailing list.)
Very extensible.
Cons:
Sporadic releases.
Javascript validation framework is very limited for non ajax apps.
Multiple rendering technologies make their component model hard to
modify or extends (paralle
Hi,
Compiling S2 v2.1.3 I find that sometimes the
ExecuteAndWaitInterceptorTest.testOneWaitWithDelay() test fails on
"delay should be ca. 200 millis" assertion, and other times it passes
OK.
I'm currently not very familiarized with the ExecuteAndWaitInterceptor
to modify it myself, but is the any
You may want to look at type conversion [1] and VisitorValidator [2]
to validate those form fields.
Also, please note that collection indexing is done with [square]
brackets, like in: "persons[2].name"
[1]
http://struts.apache.org/2.1.2/docs/type-conversion.html#TypeConversion-Anadvancedexamplef
Because the textfield name is actually firstName, and because you
don't have a setFirstName(String) method in your action, the parameter
is never set.
Either you have to:
1) write without the s:push, or
2) if you are more comfortable writing the form field names without
all the "formBean.", your a
You can do it by hand though:
In addition, if you are using S2.1, then you have a basic error
handling. Each tag has an cssErrorClass and cssErrorStyle attributes
that are set when there is a validation error.
2008/10/8 Sébastien Domergue <[EMAIL PROTECTED]>:
> Hi,
> you're right, s
AFAIK, the only thing that can be localized are the validation
messages, not the validation files per sé.
2008/10/8 <[EMAIL PROTECTED]>:
> Any idea how to get language specific validations? e.g.
>
> SomeAction-validation_fr.xml
>
> Scott
>
>
>
> On Mon, Oct 6, 2008 at 11:24 AM, Chris Pratt <[EMA
use the tag
http://struts.apache.org/2.1.2/docs/set.html
2008/10/4 Hardik Shah <[EMAIL PROTECTED]>:
>
> how to use iterator property as variable
>
> suppose
>
>
>
><%int prevAttrId=-1; %>
>
>
>
>
>
>
With Spring this is pretty much easy to do.
2008/10/3 Leonidas Papadakis <[EMAIL PROTECTED]>:
> Hi there,
>
> i would like to ask what is the best way to implement a mechanism that from
> inside an action i will read a freemarker template file , set the values,
> merge it and send it by html email
I had no issues using the datetimepicker with FF3. Maybe your problems
are related with the following post:
http://dojotoolkit.org/forum/dojo-0-4-x-legacy/dojo-0-4-x-support/firefox-3-and-struts-2-theme-ajax-render-issues
2008/9/30 Abhinav Sharma <[EMAIL PROTECTED]>:
>
> I am using inbuilt struts
I would use response.sendRedirect(String)
2008/9/29 Vineet <[EMAIL PROTECTED]>:
>
> Hi I'm trying to invoke the Struts Action class through a Custom Servlet made
> by me which is accepting request from outside world and based on a specific
> parameter i need to redirect the request to appropriate
ry bad idea if you want to use a framework also in
> database-context ;-)
>
> @Gabriel Belingueres
> My "id" is not realy stored in a bean. It is direktly accessible in the
> Action through getId(), but if I try stack.findValue('id') there is the same
> erro
Did you tried using something like:
<#assign myId = stack.findValue('bean.id')/>
2008/9/29 Sven Grünewald <[EMAIL PROTECTED]>:
> I think it is stored on the value stack. As I said, I can get its other
> properties directly via e.g. ${name}... Only ${id} is
Where is your bean stored? It is pushed into the value stack? is it in
page? request? session?
2008/9/29 Sven Grünewald <[EMAIL PROTECTED]>:
> Hi, can anybody help my?
> I can't acces a bean property id in a modified freemarker template.
> I can access all other properties with simple OGNL expres
e method.
>
> Secondly, how does "OpenSessionInViewFilter" commits the session and perform
> the update? I thought it is read-only? But I agree with your idea and and I
> can see that from the logs "the session is closed with the hibernate
> update". I just do not kno
You can change the tag's rtexprvalue attribute to "true" to allow EL
expressions in S2 tags.
Or you can replace with
2008/9/27 Gianluca Musella <[EMAIL PROTECTED]>:
> Thank you Dave, it's works using
>
>
>
> But if I change my tag' s definition in this way:
>
> <%@ taglib prefix="s" uri="/stru
If I understood it correctly, inside the custom tag you can evaluate
an expression like "getRandomString(#attr.lengthAttr)" against the
ValueStack that will call the getRandomString(int) method on your
action, then you can render that returned string.
2008/9/27 ManiKanta G <[EMAIL PROTECTED]>:
> I
What do you mean by "access those attribute values in the requested
action class."?
By the time the custom tag is executing, the action class was already executed.
2008/9/26 ManiKanta G <[EMAIL PROTECTED]>:
>>
>> Put it as a hidden variable in the template??? Wont it work.
>>
>
> Thanks for the t
I suspect that in case A) you are just creating a new POJO in memory
(never linked to the Hibernate's Session), that's why the
OpenSessionInViewFilter does nothing.
In case B), you are loading into the Session the POJO in the prepare
method. When submit the form, it is loaded again before action's
String. If the data type is specifically spelled out and the framework
> decides a type diametrically opposed, this is a problem.:teeth:
>
>
>
> Gabriel Belingueres-2 wrote:
>>
>> AFAIK, OGNL does not have any support for generics, but even if it
>> would sup
umber systems is sort of
> meaningless.
>
> Scott
>
> On Mon, Sep 22, 2008 at 7:53 PM, Gabriel Belingueres
> <[EMAIL PROTECTED]>wrote:
>
>> I don't know but I hope not, since I don't want my expressions to
>> reduce to different data types depending if th
#x27;:emp2, 'ghi':emp3?
>
> Peace,
> Scott
>
> On Mon, Sep 22, 2008 at 3:47 PM, Gabriel Belingueres
> <[EMAIL PROTECTED]>wrote:
>
>> Interesting. Seems it is a feature, as documented in [1].
>>
>> Tested it myself:
>>
>>
>>
&
Interesting. Seems it is a feature, as documented in [1].
Tested it myself:
The last one (Integer) didn't work without the ( ), which I don't know
if this is a necessity or a bug.
What about Short and Byte data type? it doesn't say...
However, I think is NOT a bug that employees[1234F].id
I agree that using the paramsPrepareParams is not the ideal stack to
handle optimistic locking.
However, assuming that you are not losing the original version number
(for example if you are submitting it as a hidden field of your edit
form), and you can reassign it to the appropriate POJO field th
928572663 I can not disagree more with you.
First we can not have the whole picture of your problem because only
you are in front of your screen and your system, so we just make an
educated guessing, so the more information you supply, the better. You
didn't supply your struts.xml file for example
;
>>
>> import java.util.Map;
>>
>> import org.apache.struts2.config.Result;
>> import org.apache.struts2.config.Results;
>> import org.apache.struts2.interceptor.SessionAware;
>> import org.apache.struts2.views.tiles.TilesResult;
>>
>>
>>
y work?
>
> This sounds like a good idea for a new cookbook page.
>
> Thanks.
>
>
> Gabriel Belingueres wrote:
>>
>> You need to instantiate your formBean before the interceptor stack
>> tries to set the parameters. Common points in your code where you can
>
If I understood correctly, and without knowing why you only want a
single jsp file (main.jsp) for showing different things, the simplest
solution I can think of is asking for some value assigned when you
click the users or groups links:
here goes the users table
here goes the groups table
Could you provide more details of what are you trying to accomplish?
2008/9/18 Alejandro77 <[EMAIL PROTECTED]>:
>
> Good morning.
>
> I want to make the following order:
>
> " />
>
> With this order pretend that the value of attribute value of the first tag
> is dynamic but gives an error.
> Does
try disabling the empty fields in the form's onsubmit event.
2008/9/18 Laurie Harper <[EMAIL PROTECTED]>:
> Pierre Thibaudeau wrote:
>>
>> Is there a way to avoid null-valued (or empty-valued) parameters to be
>> explicitely mentioned in the URL generated by a form submitted through the
>> GET met
);
> }
>
> however, when the interceptor calls setSession() my formBean object hasn't
> been initialized yet, because the displayForm() action function hasn't been
> called yet. This is the function that creates the pojo form bean.
>
>
>
>
> Gabriel Beling
Yes something else was happening...me!
I've mistakenly been written this method in some other subclass C of A
(which was not the executing action.)
what a waste of time...sorry...
2008/9/17 Dave Newton <[EMAIL PROTECTED]>:
> --- On Wed, 9/17/08, Gabriel Belingueres wrote:
>>
Hi,
I came across which I believe is a weird OGNL behavior:
I have an action B which extends from action A which extends from
ActionSupport (executing using the defaultStack)
In my struts.xml file I have an action defined this way:
listing.jsp
my listing.jsp:
...
...
Now, hasPanding
I've never used a form field name like "#session.formBean.firstName"
before, but if you refactor your code a little:
Make your action implement SessionAware interface and put a formBean
getter/setter in your actions (or some superclass of your wizard
actions), which takes it from the session:
publ
There is no client side date validator in the default themes.
I added a basic one in the xhtml theme for use with the
datetimepicker; it has a hardcoded date format though (dd/MM/).
To add it, open your xhtml theme's form-close-validate.ftl file, and
as the last option add the following lines
replaceAll(" ", "%20") ?
Why not URL-encode it? [1]
[1] http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLEncoder.html
2008/9/11 Bobby Mitch <[EMAIL PROTECTED]>:
> Well,
> I am willing to try then.
>
> Can someone send me that xwork-2.0.4.jar version, recompiled with the
> modifications descri
Something like this:
2008/9/10 amolbehl <[EMAIL PROTECTED]>:
>
> Hi I am trying to display a ArrayList of lists using struts2 iterator tag.
>
>
> private void dataReady(){
> for (int itr = 0; itr < this.HOURS; itr++) {
> tempList = new Array
Thanks Dale!
I actually just sniffed my connection and Tomcat is adding the
Content-Length by itself when attachment.
On the other hand, is not adding the Content-Length when content
disposition is inline.
2008/9/8 Dale Newfield <[EMAIL PROTECTED]>:
> Gabriel Belingueres wrote:
>>
You can try by letting your action implements the
ValidationWorkflowAware interface.
2008/9/7 Keios Titan <[EMAIL PROTECTED]>:
> I have a quick question. I am using S2. I have multiple methods exposed in
> my action and more than one method has forms attached to it. If I use the
> action-method-v
I was actually intrigued by the fact that the content length in the
stream result is actually setting the content-length HTTP header [1],
which from the HTTP doc it represents the "message body length", but
I'm not sure that the message body length is EXACTLY the same as the
attached file size.
I
to remove the contentLength parameter from
> the results XML.
>
> After I did that it started working fine on Linux.
>
> -Original Message-
> From: Gabriel Belingueres [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2008 10:15 AM
> To: Struts Users Mailing L
filename= setup.exe
is there an space there? (try removing it)
what you mean by corrupt?
2008/9/5, Geffrey Caruso <[EMAIL PROTECTED]>:
> Quick question for anyone who's tried this before.
>
>
>
> I've got a windows executable created using NSIS from a wrapped jar file.
>
>
>
> I've got the follow
1 - 100 of 249 matches
Mail list logo