Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML
 
 
Hot Web Programming Job

 

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials

Core Java
JSP
Servlet
JDBC
Hibernate
Struts 1
Struts 2
JSF
Spring
J2EE
J2ME
Web Services
Ajax
Dojo
MySQL
Latest Comments
Null pointer excep
swap program faile
hi.........
very good
navigaton mobile
  All Comments...
 

 

 
Struts Tutorials
*Stuts TOC
*Apache Struts Introduction
* Struts Controller
* Struts Action Class
* Struts ActionFrom Class
* Using Struts HTML Tags
*Struts Validator Framework    
*Client Side Address Validation    
*Struts Tiles
*tiles-defs.xml
*Struts DynaActionForm
*Struts File Upload
*Struts DataSource
*AGGREGATING ACTIONS
*Internationalization
Struts Resources
*Struts Books
*Struts Articles
*Struts Frameworks
*Struts IDE
*Struts Alternative
*Struts Links
*Struts Presentations
*Struts Projects
*Struts Software
*Struts Reference
*Struts Resources
*Other Struts Tutorial
Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Have tutorials?
Add your tutorial to our Java Resource and get tons of hits.

We offer free hosting for your tutorials. and exposure for thousands of readers. drop a mail
roseindia_net@yahoo.com
 
   

 
Join For Newsletter

Powered by groups.yahoo.com
Visit Group! Post Questions!

Struts Struts2 Struts2login

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

13 comments so far (post your own) View All Comments Latest 10 Comments:

good and simple example to start with.

Posted by narasimha Rao konjeti on Saturday, 11.15.08 @ 01:10am | #81690

Hi,

I could try and describe an example of Struts2 + Hibernate, I tried and it worked.

Posted by ACV on Thursday, 09.25.08 @ 00:17am | #80676

"Login.java" is saved in the "webapps\struts2tutorial\WEB-INF\src\java\net\roseindia" directoy.

Posted by AnilKumar on Tuesday, 08.5.08 @ 20:40pm | #71155

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

Posted by petr on Sunday, 06.1.08 @ 06:10am | #61649

We have form action=doLogin in JSP but in Struts.xml we used actions doLogin and showLogin .
How does showLogin work?

Posted by Boobalan on Thursday, 02.28.08 @ 11:50am | #50384

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

Posted by hardik shah on Tuesday, 02.5.08 @ 15:51pm | #47293

struts.jar mean struts2tutorial.jar ;)

Posted by Emmilioz on Monday, 08.13.07 @ 00:22am | #23249

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">
<result>/pages/login.jsp</result>
</action>

my bad, but now work :)))

Posted by Emmilioz on Monday, 08.13.07 @ 00:20am | #23248

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 ...

Posted by Emiliozzz on Thursday, 08.2.07 @ 13:26pm | #22479

why I don't have generates code ??? for example:
"<table class="wwFormTable">" ???

Posted by Emmilioz on Wednesday, 08.1.07 @ 00:35am | #22356

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

Posted by Anisha on Thursday, 07.12.07 @ 01:00am | #21113

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.

Posted by srikanth on Friday, 06.29.07 @ 03:07am | #20356

Im a very newbie, this clear step makes me understand quicker, tx.

Depa

Posted by Depa on Wednesday, 06.20.07 @ 13:36pm | #19776

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Back to Tutorial

 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.