Hello,
How do I get rid of the following anying message beside setting the
logger to ERROR ?
org.apache.commons.validator.ValidatorResources.getForm(ValidatorResources.java:448)
- Form 'detailsForm' not found for locale 'en'
Thanks,
MC
Hi all...
I am still in the process of learning Struts 2. As I understand it, there is
no way in Struts 2 to do something like session scope ActionForm in Struts
1.
The only solution I can find is to use "ConversationScopeInterceptor"
written here:
https://issues.apache.org/struts/browse/WW-1514
Hi,
Look in thread *NullPointerException in TilesException using Tiles with
Struts 2
*maybe you can find something useful there.
I think you have the same problem with changes in tiles 2
Best,
Aram
Aram Mkhitaryan
52, 25 Lvovyan, Yerevan 375000, Armenia
Mobile
Hi,
That's a general problem!
You are right, request.getParameter() causes request.getInputStream() call.
You should decide if you want to get parameter from request or get input
stream.
Input stream from the request is usually used if you want to manually handle
the "spacial" formatted reque
Hi,
you do something wrong,
I use namespace attribute with / and can also use action names with slashes
There is another constant which enables "select full namespace" which means
everything before the last slash will be considered as namespace.
Maybe you have specified that constant?
Best,
A
what actually does submit your form???
I don't understand what "it does".
could you please send more details about this problem,
I'm really interested!
Thank you in advance,
Aram
Aram Mkhitaryan
52, 25 Lvovyan, Yerevan 375000, Armenia
Mobile: +374 91 518456
E-
Hi,
Yesterday I got the same problem,
and here is the solution:
Use new version of tiles: 2.0
for tiles.xml:
http://struts.apache.org/dtds/tiles-config_2_0.dtd";>
for jsps:
<%@ taglib uri="http://tiles.apache.org/tags-tiles"; prefix="tiles" %>
tags are a little bit changed but it's easy to upg
Hello,
I have downloaded Struts-blank to play with. I added Spring support and here
is my Spring applicationContext.xml:
http://www.springframework.org/dtd/spring-beans.dtd";>
execute
Hi,
is it possible to mix Struts-Faces + Tiles + Myfaces-Extensions?
I am getting the following error when try to expand a tree component:
java.lang.NullPointerException
at
org.apache.struts.tiles.taglib.InsertTag.processAttribute(InsertTag.java:687)
at
org.apache.struts.tiles.t
>> From: GulliGulli Bob [mailto:[EMAIL PROTECTED]
>>
>> my struts application works fine before I put the
>> jfree-chart jars
>> (jfreechart-1.0.4.jar, jcommon-1.0.8.jar,
>> gnujaxp.jar) in the classpath.
>> Now I get the following errors:
>>
>> org.apache.commons.digester.Digester getParser
>> SC
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Niall,
Niall Pemberton wrote:
> On 3/6/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
>> I don't see that code, though.
>
> See line 800 here: http://tinyurl.com/yqfok2
Aah, thanks. For whatever reason, I had always read CANCEL_PROPERTY as
CANCE
I don't know anything about ColdFusion, but here are some things to try:
[EMAIL PROTECTED] wrote:
Hi all
I am configuring a struts enabled web application using ColdFusion MX.
Please do not ignore this thread as it is ColdFusion, because I feel the
issue I have is a generic one and could happ
Without seeing your filter code and web.xml it's hard to be sure, but my
guess would be that you need to modify the order you apply your filters
in. Remember that, with a file upload, form parameters are transmitted
in the request body rather than as a query string. It sounds like
req.getParame
Hi all
I am configuring a struts enabled web application using ColdFusion MX.
Please do not ignore this thread as it is ColdFusion, because I feel the
issue I have is a generic one and could happen in any J2EE servers. I have
already posted this in ColdFusion forum but I feel the issue has got
As a side note,
My filter has a couple req.getParameter calls (which I think in-turn calls an
InputStream somehow?) in it's doFilter method which seems to be causing the
state exceptions later after a form is submitted.
Is there a way to avoid this or a way to ensure filters arn't processed whe
Hey,
I'm hoping someone here could give me some insight why I'm getting an
IllegalStateException with my filter.
java.lang.IllegalStateException: getInputStream() has already been called for
this request
My filter calls InputStream in it's init method because it requires to read
information
On 3/6/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
Niall,
Niall Pemberton wrote:
> You pretty much have it - the point at which the value submtted by the
> tag is converted to Globals.CANCEL_KEY is in the RequestProcessor's
> processPopulate() method.
I don't see that code, though.
Se
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Niall,
Niall Pemberton wrote:
> You pretty much have it - the point at which the value submtted by the
> tag is converted to Globals.CANCEL_KEY is in the RequestProcessor's
> processPopulate() method.
I don't see that code, though.
> Having said tha
Hi,
I have a default namespace (no 'namespace' attribute)
and an action defined within with slashes.
If I add a namespace='/' to that package I no longer
have access to the action with slashes
(SlashesInActionNames is set to true in the XML
config).
I would prefer to have my default package use
It does, thanks..
Do I need to create a setter and a getter that take an object and an index
as well ?
thanks
Eider Iturbe-2 wrote:
>
> Hi again,
>
> yes, you can define it like this:
>
> java.util.Collection col = new java.util.ArrayList();
>
> I hope it helps you,
>
> Eider
>
>
> On
--- Eider Iturbe <[EMAIL PROTECTED]> wrote:
> > private ArrayList entitylist =
> new
> > ArrayList();
Yeah; that too.
I thought we had a little talk about coding to
interfaces, not implementations ;)
d.
It
Hi again,
yes, you can define it like this:
java.util.Collection col = new java.util.ArrayList();
I hope it helps you,
Eider
On 06/03/07, cisco <[EMAIL PROTECTED]> wrote:
So how would you define the collection ?
Can you provide a snipet of code.
Thanks
So how would you define the collection ?
Can you provide a snipet of code.
Thanks
Eider Iturbe-2 wrote:
>
> Hello,
>
> you can not define the ArrayList like you did it. You have to define like
> this:
>
>
> The collection to be iterated over MUST conform to one of the following
> requirem
Another way to grant this to work is make the Action implement an
interface that has the desired method. So,
... create an interface ...
interface I1 {
String find();
}
... in your Action class declaration ...
class MyStrutsAction implements I1 extends ActionSupport {
...
}
WHY TH
Hello,
you can not define the ArrayList like you did it. You have to define like
this:
The collection to be iterated over MUST conform to one of the following
requirements in order for iteration to be successful:
- An array of Java objects or primitives.
- An implementation of java.util.Co
Hello all.
I need some help.
I have a form which contains an ArrayList, this list has getters and setters
:
private ArrayList entitylist = new
ArrayList();
/**
* @return Returns the entitylist.
*/
public ArrayList getEntitylist()
{
return entitylist;
}
/**
* @param entitylist The
I am trying to use Tiles with Struts 2. I have configured my application as
follows
When I fire http://localhost:8080/SampleStruts2/login/Login.action; I get
following error
20:11:40,827 ERROR [BasicTilesContainer] Error rendering tile
java.lang.NullPointerException
at
org.apache.
Congrats!
Adam Ruggles wrote:
I found the solution to this and I wanted to post it on the list.
adding proxy-target-class="true" fixes it.
proxy-target-class="true" />
Adam Ruggles wrote:
Creating a service object seems to have worked. Now I'm going to have
to re-think using action support
I would find it more likely that gnujaxp is the
culprit, particularly since the stack trace references
it explicitly, but I don't know what's in jcommon.
--- "Patil, Sheetal" <[EMAIL PROTECTED]> wrote:
> Before a long I face such kind of problem, and I
> resolve it. I don't
> remember exactly but
Before a long I face such kind of problem, and I resolve it. I don't
remember exactly but it was something regarding to
jcommon.jar/common.jar. Just search on it. I don't remember much.
Shital
-Original Message-
From: GulliGulli Bob [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 06, 2007
Hi,
my struts application works fine before I put the jfree-chart jars
(jfreechart-1.0.4.jar, jcommon-1.0.8.jar, gnujaxp.jar) in the classpath. Now I
get the following errors:
INFO: validateJarFile(C:\workspace\struts\WEB-INF\lib\servlet.jar) - jar not
loaded. See Servlet Spec 2.3, section 9.7
31 matches
Mail list logo