If someone has experienced problems with struts2 applications running on oc4j
please
give a hand.
What tests can I do in order to identify de precise problem with oc4j?
Thanks!!
Tomi21 wrote:
>
> OK, good news!!
>
> I've installed a fresh apache tomcat 6.018 and everything is working now.
> T
OK, good news!!
I've installed a fresh apache tomcat 6.018 and everything is working now.
The problem is that my app. must run on a 0c4j 10.1.3.1.
It seems that there is a problem with oc4j.
Does anyone know what problem can be?
Can anyone tell me wich are the minimum .jar's needed in order for
Maybe it's something wrong with your runtime environment. Try setting
your project up on a different fresh app server (or maybe try the
maven jetty plugin) and see if you get the same behaviour there.
Nils-H
On Thu, Nov 27, 2008 at 11:58 AM, Tomi21 <[EMAIL PROTECTED]> wrote:
>
> I know, but I did
I know, but I did it just in case I found something out.
In my previous example the println it is being execute but the value of test
is NULL.In other words, the action gets executed but the parameter is not
set.
Now, as you said in your post, I've changed the link to:
http://localhost:/TestW
--- On Wed, 11/26/08, Tomi21 <[EMAIL PROTECTED]> wrote:
> What I've done next is changing 'struts.xml' so
> there are no interceptors configured.
> The packagedoes not extend struts-default anymore.
> The action is still being executed but the parameter is not
> being set anyway.:(
Well that's har
Hi,
I've try that but interceptors dont say anything.
What I've done next is changing 'struts.xml' so there are no interceptors
configured.
The packagedoes not extend struts-default anymore.
The action is still being executed but the parameter is not being set
anyway.:(
Any ideas from this point
Hi,
Can you set the log level to DEBUG to see what the interceptors say?
Something like:
log4j.category.com.opensymphony=DEBUG
BR, Andras
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
I've create a sample application with only one jsp, one action and no
user-defined interceptors. Even in this case the parameter is not being set.
These are the application main file. Please help!!I don't know what more I
can try.
struts.xml
-
http://struts.apache.org/dtds/struts-2.0.dtd
This is the code of one of my interceptors:
package es.uv.lisitt.dtx2.configuraciontool.web;
import java.util.Map;
import org.apache.log4j.Logger;
import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionInvocation;
import com.op
2008/11/25 Tomi21 <[EMAIL PROTECTED]>:
> These interceptors are not configured for 'EliminarSuscripcion' action.
> If interceptors have something to do with this issue only the ones defined
> in the default stack
> are concerned.
Yes, but I must look in to the Struts2 source to check how the
inter
It's hard to tell. Everything looks correct. But there might be hidden
a config error or something somewhere else in your application.
Considering that it seems to work for everybody else, I suggest that
you try to create a sample app from scratch with just one jsp and one
action and see if you can
These interceptors are not configured for 'EliminarSuscripcion' action.
If interceptors have something to do with this issue only the ones defined
in the default stack
are concerned.
Thanks!!!
Lukasz Lenart wrote:
>
> I noticed two custom interceptors, maybe that's the source of problem
> ex
Yeah, that's what I was thinking also, but from the struts.xml it
looks like it's not associated with the action in question.
Nils-H
On Tue, Nov 25, 2008 at 11:04 AM, Lukasz Lenart
<[EMAIL PROTECTED]> wrote:
> I noticed two custom interceptors, maybe that's the source of problem
> existeUserName
I noticed two custom interceptors, maybe that's the source of problem
existeUserName
validadorFechas
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
This is my jsp code:
Eliminar
Once is rendered it looks like this:
/ConfiguracionDTX2Web/EliminarSuscripcion.action?index=0 Eliminar
I've implemented the ParameterAware interface. The function "public void
setParameters(Map arg0)"
is being called but the Map 'arg0' is NULL.
Any ideas f
What does your jsp look like? Have you tried implementing
ParameterAware and see if any parameters are passed at all?
Nils-H
On Tue, Nov 25, 2008 at 10:04 AM, Tomi21 <[EMAIL PROTECTED]> wrote:
>
> Can Someone give me a hand please?
>
> Thanks very much!!
>
> Tomi21 wrote:
>>
>> I've changed the t
Can Someone give me a hand please?
Thanks very much!!
Tomi21 wrote:
>
> I've changed the type to Integer and is still not working. If I set the
> parameteres with a form and POST method everything works fine but if I use
> tag (GET method) the setter is never called.
>
> Has it maybe somethi
I've changed the type to Integer and is still not working. If I set the
parameteres with a form and POST method everything works fine but if I use
tag (GET method) the setter is never called.
Has it maybe something to do with interceptors?
Thanks for helping. I'm going crazy with this issue!!.
Hi,
Only in this case is not working with the parameter "indice" or none of
the parameters (in other actions) are set?
Can you try to use Integer instead of int? For me it works with Integer.
Best regards,
Andras.
-
To unsubs
This is my struts.xml:
http://struts.apache.org/dtds/struts-2.0.dtd";>
error.jsp
index.jsp
main.jsp
What does your struts.xml look like?
Nils-H
On Thu, Nov 20, 2008 at 10:01 AM, Tomi21 <[EMAIL PROTECTED]> wrote:
>
> I'm sorry!!it seems to be too early for me.
> I have both getter and setter of course:
>
>
>public int getIndice() {
>return indice;
>}
>
>
I'm sorry!!it seems to be too early for me.
I have both getter and setter of course:
public int getIndice() {
return indice;
}
public void setIndice(int indice) {
this.indice = indice;
}
The setIndice method is no
That's not a setter but a getter. Unless you have a setIndice method
in your action it won't be set.
Nils-H
On Thu, Nov 20, 2008 at 9:32 AM, Tomi21 <[EMAIL PROTECTED]> wrote:
>
> This is my complete URL:
> http://localhost:/ConfiguracionDTX2Web/EliminarSuscripcion.action?indice=4
>
> And this
Hallo Tomi,
this is obviously a getter and not a setter method.
try
public void setIndice(int indice) {
this.indice = indice
}
Dirk
Tomi21 wrote:
This is my complete URL:
http://localhost:/ConfiguracionDTX2Web/EliminarSuscripcion.action?indice=4
And this this is my setter:
public int
This is my complete URL:
http://localhost:/ConfiguracionDTX2Web/EliminarSuscripcion.action?indice=4
And this this is my setter:
public int getIndice() {
return indice;
}
Any ideas?
Thanks!!.
Volker Karlmeier wrote:
>
> Hi,
>
> what does your parameter look like
Hi,
what does your parameter look like ?
Is it ?parameter=value ??
Try using
where name is the name of your setter-method. (In this case setId)
Regards
Volker
Hi all,
I have a url with a parameter. This parameter is sent to the action via HTTP
Get Method(i.e appended at the
26 matches
Mail list logo