Lukasz Lenart escribió:
public class MostrarUsuarioAction extends Action {
You have to override execute() method not implement your own method,
Struts1 will not use it. The deafult implementation just return null,
so it means, stop processing.
Change your method name mostrarUsuario() to ex
> public class MostrarUsuarioAction extends Action {
You have to override execute() method not implement your own method,
Struts1 will not use it. The deafult implementation just return null,
so it means, stop processing.
Change your method name mostrarUsuario() to execute() and should be ok.
If
Lukasz Lenart escribió:
Copy-paste your jsp and/or action and we will see..
Regards
I call the method getUsuarios() that should return all the idusers of
the database (just created and working, tested) . This method returns an
Arraylist (mostrar) which is saved in a bean session. Afterward
Copy-paste your jsp and/or action and we will see..
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Lukasz Lenart escribió:
Er..what is CamelHumps? No idea about it, sorry... :)
You defined your path in config as /mostrarUsuario (CamelHumps -
JavaClassNamingConvention) but you accessing it like below
http://localhost:8080/gentaiw/mostrarusuario.do
try this
http://localhost:8080/gentaiw/
> Er..what is CamelHumps? No idea about it, sorry... :)
You defined your path in config as /mostrarUsuario (CamelHumps -
JavaClassNamingConvention) but you accessing it like below
http://localhost:8080/gentaiw/mostrarusuario.do
try this
http://localhost:8080/gentaiw/mostrarUsuario.do
As I rememb
Lukasz Lenart escribió:
navigator bar and the window title (where the name of the actual jsp page is
displayed) appears the same name as in the nav bar:
http://localhost:8080/gentaiw/mostrarusuario.do , (mostrarusuario means
showuser) instead of mostrarUsuario.jsp
This is correct behavior,
> navigator bar and the window title (where the name of the actual jsp page is
> displayed) appears the same name as in the nav bar:
> http://localhost:8080/gentaiw/mostrarusuario.do , (mostrarusuario means
> showuser) instead of mostrarUsuario.jsp
This is correct behavior, you should never see an
Lukasz Lenart escribió:
Hi,
Could you paste your struts-config here?
Regards
Hi,
This is the whole struts-config file. As fas as i can see, the problem
has nothing to do with the actionClass itself, because I only put a
simple forward in the action, and the result is the same as with the
Hi,
Could you paste your struts-config here?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi, i have a problem, let me explain. I have one globalforward as a html:link
defined in a jsp page, after clicking it, it should execute the corresponding
action class and display the results in another jsp page.
Page1Link (global forward to *.do -- not to .jsp) -->calls actionClass.java -->
11 matches
Mail list logo