generating code
what is structure project ? please show on the graph all structure with cataloges and files for Eclipse... then maybe I will see what is wrong ...
generates html code
why I don't have generates code ??? for example:
"<table class="wwFormTable">" ???
gr8 content
Hello,
the content is no doubt excellent.
but some proof reading has to be done as there are lots of typos and errors while describing how things work.
Very Helpfull
Im a very newbie, this clear step makes me understand quicker, tx.
Depa
Struts2 with Hibernate
Do you have code which demonstrates how to connect to a database using Struts2 and hibernate?
Or can you suggest a link as I do not want to use Spring(I am relatively new to framework development)
Look forward to a reply.
Anisha
generate html code
now is ok, it's work
error was in two place, structure project (I don't create struts.jar in my project, becouse I don't need this, maybe someday...), and second I try create struts.xml action with class
<action name="showLogin" "here">
<resul
generates html code
struts.jar mean struts2tutorial.jar ;)
Action
We have form action=doLogin in JSP but in Struts.xml we used actions doLogin and showLogin .
How does showLogin work?
about database login validation
hi
i want to do database user login validation
meant i want to create database connection object use in session
my query for validation can use session connection object
how can do i
please reply
<result name="input">/pages/login.jsp</result>
hi, could anybody please tell me, at what point in this code is <result name="input">/pages/login.jsp</result>
used, because I don't understand when Login.class knows that it should look for extra input.
Thanks
how i get Login.java
"Login.java" is saved in the "webapps\struts2tutorial\WEB-INF\src\java\net\roseindia" directoy.
May I suggest a simple example?
Hi,
I could try and describe an example of Struts2 + Hibernate, I tried and it worked.
good exmple
good and simple example to start with.
i have doubt in showLogin action......
We have form action=doLogin in JSP but in Struts.xml we used actions doLogin and showLogin .
How does showLogin work?
I have a doubt....
i guess the user can directly access the loginsuccess.jsp page by giving the url. I have been doing this, but I really don't know how to prevent this from happening..
it were just a servlet app, i would use request dispatcher to /WEB-INF/*.jsp pag
Thanks
it's good example
Good Example for Beginners
Very nice and easy example for struts Beginners.
A small question
How does it make sure getUsername() method and getPassword() mehtod take the right value from the textfield in Login.jsp pages?
Re : public class Login~
Both (String) variables
(ERROR, SUCCESS) are not declared and not initialized,
is this correct, or can they
replaced by "error" and "success" ?
With best regards
Klaus
very good sir
sar
I like your programin on strucure
problem with struts login application
hello Sir/Mam,
i dont know anything about struts can you give suggetion related struts.
i want to know about struts & working flow of struts,
also want to know about database connectivity using struts. -... it more simple and better to use than struts2 tag to generate the output on web page
struts2
struts2 dear deepak sir plz give the struts 2 examples using applicationresources.properties file