Home Tutorialhelp Allcomments Struts Struts Struts Login

 
 

Comments

 
User Comments for the tutorial:

Struts 2 Login Application



Total comments: 21      View Tutorial    Discuss: Struts 2 Login Application
Advertisement
Comments

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.  

Related Tutorial and Articles
Struts Questions

Generating dynamic fields in struts2
Generating dynamic fields in struts2  Hi, I want generate a web page which should have have some struts 2 tags in a group and a "[+]" button.... Thanks.   Hi Friend, Please visit the following link: Struts2 Tutorial 

Struts Questions

Struts2 - Struts
Struts2  S:select tag is being used in my jsp, to create a drop down... me code and explain in detail. I am sending you a link. This link will help... checked the link that you sent, and tried the same code, but looks like it dint 

Struts Questions

Achor tag. Struts2 code - Struts
Achor tag. Struts2 code  Hi All, How to send the values form one jsp page to another using anchor tag (or any which is similar to achor) in Struts? Please help me. I am waiting for the answer. Regards, Sandeep 

Struts Questions

Achor tag. Struts2 code - Struts
Achor tag. Struts2 code  Hi All, How to send the values form one jsp page to another using anchor tag (or any which is similar to achor) in Struts? Please help me. I am waiting for the answer. Regards, Sandeep   

Struts 2 Tutorials

Struts PDF Generating Example
Struts PDF Generating Example To generate a PDF in struts you need to use struts stream result type as follows <result name="success" type... in struts How to insert image in PDF file in struts2 How to set pdf 

Struts Questions

Struts2 tags - Struts
Struts2 tags  Q1. i define a statement like " style= "visibility:hidden" in my struts2. this statement is not working. Can you please tell me the solution of this. Q2. if above code can not work then how can i do 

Struts Questions

Struts2 Validation Problem - Struts
Struts2 Validation Problem  Hi, How to validate field that should not accept multiple spaces in Struts2? Regards, Sandeep  Hi... in the browser having the example of handling the error in struts 2. http 

Struts Questions

tiles 2 with struts2 - Struts
tiles 2 with struts2   i wnat any one to guide me : how can i integrate struts2 with tiles2 i searched for long time on the web i see many code and configurations but every one of them has a problem can any one give me   

Struts Questions

using displaytag with struts2 - Struts
using displaytag with struts2   Hi, i am using struts2 framework to develop an application. But, while surfing some code on internet, i saw some... it more simple and better to use than struts2 tag to generate the output on web page 

Struts Questions

struts2
struts2  dear deepak sir plz give the struts 2 examples using applicationresources.properties file 

Advertisements Advertisements
 

 

 

DMCA.com