See if ur web.XML has the spring configuration configured twice. We faced the
same issue before
Sent from my iPhone
On Jul 13, 2010, at 11:42 AM, hisameer cool_sameer_fo...@yahoo.com wrote:
-
To unsubscribe, e-mail:
Hi friends,
I have an application in which there is a Cart object which i need to save
in session, as it is to be saved in session, i cannt store a reference of
datasource in the Cart. (as i believe it is not serializable).
I need to know is there a way by which the datasource is available
Hi John,
i would say that there is some kind of cache problem,
it looks like You are asking for a url and get an answear,
then You ask again about exactly same url and get exactly same answear.
Maybe some Websphere configuration issue?
Best greetings,
Paweł Wielgus.
2010/7/12 John L. Longo
Hi,
Have an encoding problem when writing custom struts 2 (jsp) tags. We
have all our source file UTF-8 encoded and get strange outputs from our
tags when using ie. ÅÄÖ.
Traced it down to JspTemplateEngine which is using
org.apache.struts2.components.Include.include(..).
The include(..)
Ooo, didn't know I could use an iterator like that, I have always
defined the var. Thanks for the tip, however do you not find that other
way easier for readability? Just thinking an outsider might be left
wondering where price came from.. Maybe I am missing the point.
-Original Message-
Thanks for the answer.
I'm trying this, but it is not working properly
field name=telefonos
field-validator type=fieldexpression
![CDATA[#paciente.telefonoMobil = 0 || #paciente.telefonoFixo
= 0 ]]
messagi/message
Hi all,
You can try this way:
http://poulwiel.blogspot.com/2009/01/intercepting-all-actions-inside-my-app.html
Best greetings,
Paweł Wielgus.
2010/7/13 Fabio Alves de Araujo Ebner - DnaSolution
fabio.eb...@dnasolution.com.br:
The problem is: When he pass through interceptor and go to action
Hi Sharath,
do You have getSelected_rows() method in action?
s:checkbox need to know what values are present somehow,
and it asks the action for the field value that it generates.
Best greetings,
Paweł Wielgus.
2010/7/13 sharath karnati karna...@yahoo.com:
I don't think I can use
Hi all,
You get this error every time when tomcat tries to save someone's
session and object of class com.cart.Customer is in it.
Like Robert said, add Serializable to com.cart.Customer and the
problem will go away.
Best greetings,
Paweł Wielgus.
2010/7/13 abhishek jain
2010/7/14 Paweł Wielgus poulw...@gmail.com
Hi all,
You get this error every time when tomcat tries to save someone's
session and object of class com.cart.Customer is in it.
Like Robert said, add Serializable to com.cart.Customer and the
problem will go away.
Best greetings,
Paweł Wielgus.
Just the same problem: BasicDataSource is not serializable.
Ernesto
On Wed, Jul 14, 2010 at 11:15 AM, abhishek jain
abhishek.netj...@gmail.com wrote:
2010/7/14 Paweł Wielgus poulw...@gmail.com
Hi all,
You get this error every time when tomcat tries to save someone's
session and object of
Greetings,
I think that you might want to separate your functional concerns into
different objects.
One common pattern in multi-level architectures is to have a model object
like Customer
which would contain domain information for the Customer and a Service object
like CustomerService
which
I've got a couple things that are requirements for a new project I'm
starting. If anyone has any advice for some clean/simple way so to do
this in Struts2, I'd very much appreciate pointers to more
information.
First.. I'm new to Struts2, but have done a fair amount with Struts.
The app I'm
My interceptor stack is as below
interceptor-ref name=exception/interceptor-ref
interceptor-ref name=prepare/interceptor-ref
interceptor-ref name=model-driven/interceptor-ref
interceptor-ref name=params/interceptor-ref
Please guide.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wes,
Sorry for the delay in replying... I hadn't noticed that your reply was
here.
On 4/28/2010 11:49 AM, Wes Wannemacher wrote:
I can understand your desire to remove the dependency of struts,
making your actions reusable. But at the same time,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I've looked through the archives to see if there's a way to do this, and
I feel like there must be an easier way, so I'll ask again.
I'm using Struts 1.3.8 in a webapp deployed on Tomcat 6.0, and I'd like
to reload my own MessageResource
I have a form that uses the select tag to retrieve a list of values from
my action when the JSP is rendered. What I would like to do is use the
built in AJAX support so that I could populate another dropdown with a
set of values that depends on that initial selection.
Can someone post a simple
On 7/14/10 1:22 PM, mailtolouis2020-str...@yahoo.com wrote:
https://cwiki.apache.org/WW/application-session-request-objects-in-jsp.html
I think the doc need to update.
Done, thanks:
https://cwiki.apache.org/confluence/pages/diffpages.action?pageId=14052originalId=23332622
-Dale
The following is in a file called menu.jspf
%@ page pageEncoding=UTF-8 %
%@ taglib prefix=s uri=/struts-tags %
h2Menu/h2
s:a action=loginLogin/s:a
The html produced is (produces s:a tags instead of a tags...):
h2menu/h2
s:a action=loginLogin/s:a
The exact same code is now placed in a file
My bet would be that the .jspf extension is not mapped to be processed by
the JSP Processor in your Servlet Container. I think .jspf is just a naming
convention, it doesn't have any intrinsic meaning to the container, so if
you want to continue putting your fragments in .jsp files, they should
I'm using struts 2 with convention plugin. The convention plugin page
states for the ParentPackage annotation, To apply this annotation to
all actions in a package (and subpackages), add it to
package-info.java. I have two packages, my-default and my-secure. I
have a package called
On further digging I have found out some more info.
My action is
/shop/getProduct.action?productId=61
The action is defined as follows:
action name=getProduct
class=org.chrismiles.sentiments.struts2.shop.GetProductAction
result
22 matches
Mail list logo