Zaraza wrote:
Cedric Dumoulin wrote:
Hi,
I don't see what is wrong in your code. Maybe you can try to use
execute(...) instead of perform(...) which is deprecated. You can
also check if your method is properly called, and so if attribute are
really set (add a println in your method). If you still have
problems, you can send me directly a a jar or zip file with a simple
example reproducing the problem.
Hm that would make sense. I tried adding a println(), but it didn't
output anything to the screen....I thought maybe that was normail in
the sense
Tiles maybe "overrides" any previous output before the template is
actually created.
This is not normal. It means that your action is not called, or simply
your method is not called. Check carrefully the signature of your method
and compare it to the requested one.
I kow perform() is deprecated (Eclipse shows that loud and clear), but
I am using Struts 1.0.2...isn't perform() the proper function to call
in that particular version?
Yes, you are right.
Also, I tried calling the same class using ControllerClass instead of
ControllerUrl and Tomcat would always crap out with an exception
like "unable to create controller class".
I will try the execute() option and let you know, thanks.
Jacek
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]