}
which solved all of our problems. Life can be so easy.
I hope it helps someone else!
Nicolas
-Ursprüngliche Nachricht-
Von: Nicolas Kopp [mailto:nicolas.k...@empirica.com]
Gesendet: Montag, 6. September 2010 11:36
An: Struts Users Mailing List
Betreff: AW: Struts2 Dynamic Merge of t
t. So, basically its the same object that gets updated.
Hope this works for you.
- Rahul
"
copyProperties() from the BeanUtils also seems to be nice.
Big Thanks to all of you for your help! I'll also post the resolutions in the
forums where we also posted this question.
c
Hi Andy,
maybe you forgot to initialize the ArrayList as a new Object in the setter?
try this:
public void setWibble(ArrayList> wibble) {
this.wibble = new ArrayList>();
this.wibble = wibble;
}
Maybe worth a try. Not tested.
Cheers,
Nico
-Ursprün
after quite some research efforts we were not be able to find anything of
help in the web.
We are even not sure if this is more a Hibernate or a Struts2 problem.
We'd be really grateful if someone could point us in the right direction.
Thanks in advance!
Nicolas & Alex
constraint : We don't want to rely
on the DOJO plugin since it has been deprecated.
Any configuration tips or documentation link to implement this kind of
validation ?
Thanks in advance,
Nicolas
Very clear. I'll check what you've just mentionned and try to find the best
strategy related to our context.
Thanks a lot your help.
Nicolas
On Tue, Jul 28, 2009 at 1:54 PM, Wes Wannemacher wrote:
> On Tue, Jul 28, 2009 at 9:48 AM, Nicolas Baron wrote:
> > @Wes : Thanks fo
les
twice, possibly in 2 different languages.
Cheers,
Nicolas
On Tue, Jul 28, 2009 at 1:41 PM, Martin Gainty wrote:
>
> is JS validation thru a JS function faster than allowing the
> FieldValidationInterceptor to verify?
> is there a way to coordinate validations between the
Hi Zoran,
Thank you for your answer. Since you are using JQuery directly, how do you
perform data validation ? Is it possible to use the XML Files or annotations
provided by Struts ?
Cheers,
Nicolas
On Tue, Jul 28, 2009 at 11:26 AM, Zoran Avtarovski
wrote:
> From what I can tell Dojo has b
ample on the Wiki is still based on the
Dojo plugin ? Which plugin will be the next standard for Ajax tags in Struts
2 ? JQuery plugin ?
Thanks in advance for your answers,
Regards,
Nicolas
c T getOpt() {
>//needs a class object!
>T opt = composite. getFeature();
>return opt;
>}
> }
>
> Hope this helps.
> -Original Message-
> From: nicolas de loof [mailto:[EMAIL PROTECTED]
> Sent: September 28,
created with the
> constructor parameters passed. If the constructor throws an error it is
> wrapped in an InvocationTargetException and rethrown. If no constructor
> matches the method returns null.
>
>
> -Original Message-----
> From: Giovanni Azua [mailto:[EMAIL PROTECTED
Hello,
my question is fully off topic, but Struts2 is the only java5 project I know.
I'd like a method to return an instance of a class passed as parameter :
public Object getInstance( Class clazz )
I'd like to use generics to make the return type in sync with the
class type. Is this possible ?
>
> Venturing slightly (more) off-topic, I recently switched from having
> my DAOs extend from Spring's HibernateDaoSupport, and using
> HibernateTemplate, to just going directly to the Hibernate API. Or,
> now, to the JPA API. I don't benefit from Spring's exception
> translation that way, but you
Could any struts commiter also deploy the -sources.jar for struts² 2.0.9 on
maven repo ?
Nico.
2007/7/25, Deepak Kumar <[EMAIL PROTECTED]>:
Hi,
Discuss the new features and how to use these new features in your
application at
http://www.roseindia.net/struts/struts2/struts2download/struts2.0.9
Hi all,
I've tried ripping off the file upload action from WebWork in Action
and from Struts 2.0.8's showcase.
Here are some things that are confusing me:
1. What are the correct entry points/methods for the Action? WWiA
suggests that we use execute(). The showcase example has upload() and
inpu
Hi,
try the following :
javac *.java
to compile all at once.
Also try javac --help to solve your classpath problems.
Try google to solve the lack of responses to absolutely non struts
related questions on this list.
-Original Message-
From: bindhu [mailto:[EMAIL PROTECTED]
Sent: Tuesday
-dependency
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00379.html
Cheers,
Nicolas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I'm trying to setup the Restful2ActionMapper based on the struts2 tutorial
(helloworld).
The Restful2ActionMapper is expected to invoke "index" method on request for
"/helloworld".
From what I see in the code, the Restful2ActionMapper will only apply this
method for "/helloworld/" (with
Hi List,
I started a new project, where I wanted to get only the CRUD example
from the Struts2 Showcase to work (That's the one with Employees and
Skills). So I copied all necessary files over to my new project.
Deployment of the CRUD application works well (I used Maven to package
the war)
struts2-archetype-starter-2.0.5-20070212.050844-2.jar
thats seems to be the latest available...
2007/4/18, Musachy Barroso <[EMAIL PROTECTED]>:
Are you using the latest version of the archetype? I think I had this same
problem with an older version.
musachy
On 4/18/07, nicolas d
Hello
I've followed struts tutorial and cannot run the archetype webapp in jetty :
WARN: failed action2
java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine
...
adding velocity 1.5 and velocty-tools-view 1.2 as dependency solve this, but
this looks strange to me. Isn't veloci
s Logic in the Action classes, which will tie your application not
only to the framework, but to the type of delivery platform (eg a Web
App),
which will prevent you from later making a Swing app or something else out
of it if you want to.
- Ray Clough
nicolas de loof-2 wrote:
>
> Hello
Hello,
I've used struts1 for several years and I'm now looking at Struts².
In struts1, to create a "registerUser" use-case I need a RegisterAction, a
RegistrationService and some business code.
My struts1 RegistrationService is only used to start a transaction using
Spring @Transactional annotat
I always though Shale was a codename for the new Struts 2.0. However, I
am a little bit confused now that I've seen that there a two different
websites:
1) http://struts.apache.org/2.0.6/
2) http://shale.apache.org/
I also see two download section for both, Struts 2 and Shale:
1) http://stru
How can I tell the container to serve index.do when no filename is provided?
Nicolas Laplante
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Struts si not a RAD framework.
From an existing database, you may look at Hibernate that can generate
a persistent Model be reverse engeneering.
Lot's of other frameworks use this feature of hibernate to generate
quickly a CRUD application (appfuse, Seam, ...).
2007/1/10, Phil_M <[EMAIL PROT
Hello,
I'm using Struts 1.3.5. My application use struts modules. I'd like to put
my JSPs under /WEB-INF/pages, so I've set forwardPattern to
"/WEB-INF/pages$M$P". That works for JSP, but when I use a redirect forward
to a ".do" (for postback actions) the action URI also is converted to
"/WEB-INF
Nico.
2006/12/7, Wendy Smoak <[EMAIL PROTECTED]>:
On 12/7/06, nicolas de loof <[EMAIL PROTECTED]> wrote:
> I'm starting a project based on Java 1.4 and serlet 2.3 (tomcat 4.1).
I'd
> like to use Struts2 as it includes retro-translated support for java 1.4
.
>
Hello,
I'm starting a project based on Java 1.4 and serlet 2.3 (tomcat 4.1). I'd
like to use Struts2 as it includes retro-translated support for java 1.4.
According to project main page (
http://struts.apache.org/2.x/#Platform%20Requirements), servlet 2.4 is
required. Does this mean I will have t
id mail loops/excess
inbox junk. It's not that difficult to search your inbox or bcc yourself
though.
On 12/6/06, James Mitchell <[EMAIL PROTECTED]> wrote:
>
> That's because GMail doesn't send you your own postings.
>
> On 12/6/06, nicolas de loof <[EMAIL PROTECTE
it works with xalan 2.6.0.
If this lib is required, why isn't it in the war WEB-INF/lib ?
2006/12/6, nicolas de loof <[EMAIL PROTECTED]>:
Hello,
I'd like to install Struts 2.0.1 apps as a live-demo to Struts 2. I'm
using Tomcat 4.1.30 on Java5 (jrockit). When running
It seems to work !
Just was curious not getting messages I send to the list in my mail box.
2006/12/6, Adam K <[EMAIL PROTECTED]>:
You had a question if it would work ?
On 12/6/06, nicolas de loof <[EMAIL PROTECTED]> wrote:
>
> Please ignore ...
>
> just testing my gMail account.
>
>
Please ignore ...
just testing my gMail account.
Hello,
I'd like to install Struts 2.0.1 apps as a live-demo to Struts 2. I'm using
Tomcat 4.1.30 on Java5 (jrockit). When running mailreader app, I get :
TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl not found
Seems there is some dependency to
Thanks for this info,
I'm targeting Tomcat 4 (for developpers) and Websphere 5 (for production)
Nico.
Lance a écrit :
On jboss, this can be done by configuring the SystemPropertiesService.
@see jboss\server\all\deploy\properties-service.xml
Properties can be configured inline in the xml fil
i a écrit :
You can set them in your startup class by reading the configuration
file.
System.setProperty()
/Ashwani
-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 1:08 PM
To: Struts Users Mailing List
Subject: Best practice
Hello,
I'm searching for best practice in JEE applications to put configuration
elements outside the war/ear.
Here is what I mean : My webapp requires some filesystem path to work
(logs dir, system-dependent config files...). I'm using a java sytem
property to setup a root path for external
I've updated the wiki.
Please review it as my english is so bad...
Wendy Smoak a écrit :
On 8/3/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
I've looked a Struts-scripting, but AFAIK this requires me to rewrite
all my struts-config.xml to set the Action java source as par
Have you looked at Struts Scripting? It would be interesting to see
how your approach differs from this. (And whether Struts Scripting
works with Spring 2.0 the way you need it to.)
I've looked a Struts-scripting, but AFAIK this requires me to rewrite
all my struts-config.xml to set the Act
To those of you that are using Struts with Spring,
I've searched a way to make my actions hot-reloadable (no recompile
neither redeploy) for quick prototyping using Spring 2.0 groovy scripted
bean, without having to hardly change my existing actions and configuration.
I've found a "not so ba
This bug comes from the JavaBean spec that defines the "get*" methods to
acces javabean properties. JavaBeans can have "indexed" properties if
they have a getter with an index param. In your case, two getters exist
for the same "property", according to strict JavaBean spec.
1.4.2_05 may not
Hello , you can use the requestProcessor
@see http://www.onjava.com/pub/a/onjava/2004/11/10/ExtendingStruts.html
Ciao Niko
Le jeudi 20 juillet 2006 à 09:59 -0300, Vinicius Carvalho a écrit :
> Hello there folks!
> I was wondering, is it possible to force struts to not check
> request.isUserInRole
ll my libraries are declared.
Is there a place where I can find a list of the differences between the
standard and the EL taglibs?
Neil
-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: 12 April 2006 03:04 PM
To: Struts Users Mailing List
Subject: Re: Properties
I'm using a single "taglibs" JSP that has all taglibs includes headers.
I don't use "-el" suffix for EL taglibs as I only use EL tags (not
standard ones).
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt"; prefix="fmt" %>
<%@ taglib ur
Using struts-EL tags :
Nico.
Kjersti Berg a écrit :
On 12/04/06, Neil Meyer <[EMAIL PROTECTED]> wrote:
Hi,
Would like to know why the following doesn't work can anybody explain it
please.
I have a text box on a page this text box is readonly when the readonly
property is set to tru
Perhaps somethig like this may work :
Some text
Nico.
Vinit Sharma a écrit :
Hi,
My requirement is to use a message resource key for html:link href attribute
instead of passing a hardcoded value.
Below:
Some text
I want to replace, ${item.link} with a key from resource file, btw my ${
If you're looking for a way to indent options in a select box, you
should use the HTML tag.
Nico.
Robert Alexandersson a écrit :
Hello, i want to output the String " Level 2" in my optionlists,
but the label attribute of options does not return this but the
transforemed mending it pr
You can use jakarta unstandard taglib.
(http://jakarta.apache.org/taglibs/sandbox/doc/unstandard-doc/intro.html)
I use it to access const from JSP. :
<%@ taglib prefix="u"
uri="http://jakarta.apache.org/taglibs/unstandard-1.0"; %>
Base
Nico.
Keith Sader a écrit :
IMO this i
Hello,
I've a form with a text input field and two buttons : one
to "add new user" and one for "search"
My porblem is when I type [Return] from input field, the form is
submited with some strange image button informations :
- on IE, non image button (x,y position) is submited, so I can use
Hello,
I've a form where some data are required IF an option is selected + I've
to check for duplicated entries.
I can setup validation rules using validwhen for both case, but how to
register those 2 rules (with different message) under the same validwhen
validator ?
Nico.
This message
Thanks for the link !
Tremal Naik a écrit :
2005/12/8, Nicolas De Loof <[EMAIL PROTECTED]>:
Do you know any opensource (java) proxy that could help me doing this ?
i've used muffin for a while:
http://muffin.doit.org/
I used it for much simpler tasks then those you
Hello,
My app will be used (in production) behind a SSO server that adds HTTP
headers to incoming requests. I use those headers for user
authentication. For tests, I need to emulate those headers and I'm
looking for a HttpProxy that can be customized to process incoming HTTP
request and add
ked, everything was fine... If this
helps to help me ;-)
2005/12/5, Laurie Harper <[EMAIL PROTECTED]>:
> Nicolas Bizard wrote:
> > Hi everyone.
> >
> > My question is :
> > I have a strange problem with checkboxes in a formBean :
> > The form initializes (a
he way
:-s
Nicolas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi everyone.
I have a strange problem with checkboxes in a formBean :
The form initializes (action /init)
I validate, get my results
I get "back", asking /init, everything is fine, the form shows me my
previous selections but
when i uncheck or check one of the boxes and validate again, it does
Hello,
I'm using token to avoid multiple submits in this flow :
"/commande.do" creates an empty form-bean, saves a token and forwards to
"tile:commande.new"
"/commande/create.do" checks for token and creates datas in the database.
If an exception occurs, an exceptionHandler is used to displa
Use a hiden input :
Hiden value can be a runtime expression (EL if you use the JSTL like
struts taglib)
You can also not set value in JSP but in the form-bean, and use struts
mapping between form-bean ant HTML form.
Nico.
Henning Moll a écrit :
Hi!
I use the tag in my jsps. For exa
repository/maven-plugins/
I can help this weekend, if you want.
--
Wendy
Wendy, thank you for clearly laying out my options. I will think which
approach is better for me and then try it later this week.
Nicolas, I will make sure that Stru
Hello
Is struts-dialog extension available somewhere on maven repository ?
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is intended only for the person to whom
it is addressed. If you are not the intended recipient, y
Yo may use a customized requestProcessor that check for this preview
attribute (or any other thing) and put a flag in request scope. Any
other controller/view element can then check this flag to change it's
behaviour.
Nico.
Nick Sophinos a écrit :
Given that we are talking about an MVC fr
I'm using DWR on my webapp for navigation in a table, using a "Page 1 2
3 ..." footer.
DWR makes it realy simple based on a List put into user session. Browser
can get requested elements from list and DWR comes with utils to upgrade
the table contain.
Faisal Mahmoud a écrit :
Check out htt
I'll have a look, thansk for the link.
Thanks also to bsimonin for code suggestion.
Michael Jouravlev a écrit :
On 11/3/05, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
Hello,
I'm building a wizard style webapp with 3 pages. I'm using the page
attribute to make v
Hello,
I'm building a wizard style webapp with 3 pages. I'm using the page
attribute to make validator check inputs.
I've got this problem :
first page validate an userId selection (required)
When this rules failes on page 2 or 3 (let's consider the user has used
a bookmark), I'd like struts
creates BOTH
- a script variable (a Java variable you can use in <% ... %> java blocs)
- a bean in specified scope (defaults to page)
So you have a "myBeanValue" variable set to 1 and a "myBeanValue" String
put into page scope.
<% myBeanValue = "2"; %> changes value of script variable. my
Hello,
My application uses image buttons, based on tag. I'd like
to add a "cancel" button, that may skip javascript validation.
I didn't find any attribute to set this on . Do I have to
set myself the javascript "bCancel = true" ?
Thanks,
Nico.
This message contains information that may
I'm using validwhen rule and find great for complex validation
I'm just frustrated on the requirement to use braces to group conditions
by pairs :
I must make a 4 element "or" validation, each element beeing itself a
"and" expression.
I'd like to write test = (A and B) or (C and D) or (E and
Hello all,
I've a requirement to replicate application context data in a 2 server
cluster (load-balanced). I know tomcat option to use in-memory session
replication. Is there anything similar for application context ?
Thanks for any suggestion.
Nico.
This message contains information that
I've put it on
http://loof.free.fr/jakarta-struts-1.1-src.zip
Hope it will help you.
Nico.
Pilgrim, Peter a écrit :
Can anyone tell me where I can download the full Struts 1.1 source code
other than http://archive.apache.org/dist/struts/ which is being blocked
by my clients corporate securi
ou have to build the
say-the-other-one-that-the-data-has-been-updated logic by yourself. But
this is about 5 lines of code, so i don't think you should search for a
tool herefore.
On Mon, 2005-06-13 at 14:06 +0200, Nicolas De Loof wrote:
Hi all,
this mail is totaly of topic, so sory s
Oracle is the only aproved database (clusterable or not). This is the
reason I was looking for a "rsync"-linke solution.
Nico.
delbd a écrit :
Le Lundi 13 Juin 2005 14:27, Nicolas De Loof a écrit :
Our customer defines architecture restriction for it's applications.
bd a écrit :
Just my two cents
I'll suggest storing the datas on a central database (which could be clustered
amongst your servers)
Le Lundi 13 Juin 2005 14:06, Nicolas De Loof a écrit :
Hi all,
this mail is totaly of topic, so sory sory sory...
... but there is so much java masters on this
Hi all,
this mail is totaly of topic, so sory sory sory...
... but there is so much java masters on this list !
I have to replicate some datas between two servers running my app (with
a load balancer, but not using a cluster mode). We are going to build a
home-made solution, and I wonder if a
It seems you'r not encrypting the password but hashing it
explanation :
- pasword *encryption* can be reversed, using some secret key
- pasword *hashing* produces a unique String, that DOES NOT CONTAIN
infos about the password (cannot be reversed). The hash algorithm (MD5,
SHA...) is designed s
Take a look into the contrib/struts-el/lib folder !
Nico.
Ibha Gandhi a écrit :
Hi All,
From where can I download struts el tag libraries.
I downloaded jakarta-struts-1.2.4.zip, but it does
not contain struts-html-el tag libraries
Thanks,
Ibha
-
I'm using it for the same reason. I expected this enhancement, also with
EL tag support for errorStyle attributes.
It works fine for me.
Nico.
Aladin Alaily a écrit :
Hi Everyone,
I was just curious if anyone has been using struts v. 1.2.7?
If so, what do you think of the new features? Personall
This may work :
But you have to know the scope where is stored the ActionMessages bean.
Struts-logic-el has some value-added over JSTL, as it can be used for
struts-related logic (like errors/messages), so why not using them ?
Logic tags having an equivalent JSTL tag are not declared in struts-e
You may take a look at stXX http://stxx.sourceforge.net/ , that is a
commonly used XSLT extension to Struts.
I've used it for a prototype, but we have finally built our app on
standard JSP, as it was easier to learn for developers.
According to prototype, XSLT (Stxx) was aprox. 2 time slower than
1.2.4 is the current "stable" version
I'm using Sturts 1.2.6 for production, as known bugs does not affect my app.
Take a look at bug list to check if you can use it for your apps.
1.3.x is in development and not ready for production. Use it only for
early test as a preview.
Martin Kindler a écri
Simply define 2 datasources as resources for your webapp and get them
using a JNDI lookup.
You will not have a share transactionnal context until you use JTA and
2-pass commit, but for readonly access, you don't need it.
Nico.
Ryan julius a écrit :
Hi,
I would like, from a struts action, to q
You cannot use a tag as attribute of another tag : they must follow an
XML structure
Use a variable to store the result of your tag :
Go
or
If you don't use struts-EL, use bean:define to define a script v
Go
Nico.
Pham Anh Tuan a écrit :
Hi all,
I got a problem when I code like below:
">Go
You can use jakarta unstandard taglib to "bind" a variable to the static
fiedl YES
Nico.
Vinicius Caldeira Carvalho a écrit :
Hello there! I'm using enum types in my app and I'd like to use
combine them with struts tags.
My enum class hierarchy descends to PersistenEnum (the example on
hibern
I'm using SecurityFilter and use the Principal to store the user ID. The
actions use the J2EE compliant request.getUserPrincipal(). Having
userId, they can call business objects.
Nico.
Günther Wieser a écrit :
i for one put the user object into the session, as i have a lot of method
calls agains
Validator has a built-in support for wizards
You have to include in your pages all form-bean fields (use hidden tag
for those the user doesn't have to edit in a page)
You also have to add a hidden input named "page"
Validator rule can use this page param to 'only' validate inputs prior
to a page
uot;as quick as using proxy-based-architecture can be".
In practice, database response time is more significant than AOP
framework one.
Nico.
Robert Taylor a écrit :
Nicolas,
Can you provide any metrics for the benchmarks when comparing Spring
to AspectWorks? What exactly does "not good f
Use Collections.sort(list, new Comparator() {...});
or Collections.sort(list) if your Plan class implements Comparable
Nico.
Krishna Mohan Radhakrishnan a écrit :
Hi all,
I have a doubt regarding sorting in array List.
I have an array List which contains array list objects of type Plan.
The Plan o
This is a simple way to do it. Have 2 mappings for 2 behaviours.
Using a dispatchAction is usefull if you have code to share.
Nico.
Gaet a écrit :
Nicolas,
Do you mean this :
So, when I click on an employee name in may list I will call
/ShowEmployeeDetail.do
and I define the edit form
an change validation behaviour according to this
attribute value.
in form-bean validate() :
String param = mapping.getParameter();
String action = request.getParameter(param)
if ("show".equals(action))
// check employeId is set
else if ("update".equals(action))
// check
You should define 2 mappings for detail :
a "/showEmployeeDetail" without validation (or a unique rule employeeId
required)
a "/updateEmployeeDetail" with validation.
Your action can be a dispatch action if you don't want to have 2 classes.
Nico.
Gaet a écrit :
Hi,
I have page with a list of empl
just because customer doesn't agree (for
some reason that may not be technical).
For info, load-tests have demonstrated Spring was good enough for us...
Nico.
Fogleson, Allen a écrit :
I think the biggest argument was stated by Nicolas.
I use struts because I like it sure, but I really use
Here is my response to such questions :
1. Why do you prefer Struts over any other web application framework?
(Tapestry, JSF, Maverick, WebWork, etc)
I don't use Struts because I think it is the best framework. I use it because
my dev team has some experience using it. Having to change MVC framew
You can use the EL-enable version of display tag to do this (assuming
Konstants.SESSION_USER_KEY = "users") :
Now, if you don't want to break constants usage, you may try to use
jakarta unstandard taglib to bind the static field from your Konstants
class to a pageContext variable :
(http://j
cope.
Thanks for help.
Martin Gainty a écrit :
Nicolas
Did you check out the getRequestURL() documentation from IBM
http://www.developer.ibm.com/tech/faq/individual?oid=2:25030
HTH,
Martin Gainty
__
(mobile) 617-852-7822
From: Nicolas De Loof <[EMAIL PR
Hi all,
I'm having troubles using the request.getRequestURL() in JSP tags
In tomcat (4.1) it returns the URL I've got in my browser, and
getRequestURI returns the Layout JSP URI. It sounds correct according to
ServletAPI javadoc for getRequestURL "Reconstructs the URL the client
used to make the
Hi,
Can someone explain me what's wrong in HTTP / servlet API about char
encoding :
I'm using to build a link with parameters, whose values use
french chars ('é', 'à' ...)
I need to set useLocaleEncoding to get values in my servlet (that is not
a struts action) using getParameterMap.
If I do n
Another option is to use a submit button (that will post the form) and
CSS to make it look as a link :
.submit {
border:0px;
background-color:#fff;
cursor: pointer;
text-decoration:underline;
}
Nico
Jeff Beal a écrit :
You need to have the lin
Manisha Sathe a écrit :
Hi Nicolas,
Thanks for the response,
1)I tried this, but giving me error. Pls would u mind giving some code example ?
use in your JSP (do not set property !)
use isCanceled(request) in action. Is cancel was used to post the form,
it will return true.
2)About
You can check for cancel in actions using
isCanceled(request)
Struts cancel tag uses a magic value that this method will detect
(formbean validation is also skipped)
About exception, I used to set a global exception handler that logs
exception stack and forwards to a generic error page.
Nico.
M
When using cancel button, validation is automatically skipped. Use
isCanceled(request) in your action to see if cancel was clicked and
forward to your index page.
Nico.
Manisha Sathe a écrit :
I am using struts cancel button. But when i click on that it goes to next page (w/o
even validation -
You should have a look at securityFilter that does such a job. It tries
to "look like" j2ee FORM security check, but allow you to use your own
authentication rules.
Nico.
Jim Barrows a écrit :
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January
; > Sent: Wednesday, December 15, 2004 12:09 PM
> > To: Struts Users Mailing List
> > Subject: Re: Struts, JSTL and ResourceBundle
> >
> >
> > On Wednesday 15 December 2004 14:07, Jim Barrows wrote:
> > > > From: Nicolas De Loof [mailto:[EMAIL PROTECTED
1 - 100 of 156 matches
Mail list logo