Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

Stephanie Dutcheson

Greenhorn
+ Follow
since Dec 07, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Stephanie Dutcheson

Start with lesson 1 or 2,
try to isolate the problem, simple struts.xml with one action
and small jsp file.

-----
Struts2torial www.onepd.com
9 years ago
[Blatant advertising removed. Please contribute to the discussion rather than just divert traffic to your own site.]
[ December 29, 2008: Message edited by: Bear Bibeault ]
9 years ago
Forget about Struts, use Struts 2 !

-------
http://www.onepd.com/
9 years ago
The Struts 2 tutorial will help the reader truly understand Struts 2 concepts, it starts with simple examples and explains not only how to use Struts' features, but also how certain features work under the hood; Integrates Struts 2 application with Tiles 2, Freemarker, Spring and Hibernate/JPA.

1. Apache Struts 2, Java SE Development Kit, Apache Tomcat
2. Eclipse IDE for Java EE Developers, Struts 2 tags
3. Model-View-Controller (MVC), Object-Graph Navigation Language (OGNL)
4. The Spring framework, Hibernate + Microsoft SQL Server
5. JUnit + MySQL
6. Tiles + Oracle, Oracle SQL Developer
7. CRUD, i18n
8. Interceptors
9. Validation

Yes, there will be more lessons soon.

Any critique/comments are welcome.

---------
http://www.onepd.com/
9 years ago
You define interceptor in struts.xml
<interceptors>
<interceptor name="authentication" class="com.onepd.struts2.lesson.action.Authentication"/>
<interceptor-stack name="secureStack">
<interceptor-ref name="authentication"/>
<interceptor-ref name="defaultStack"/>
</interceptor-stack>
</interceptors>

implements Interceptor in say Authentication class, method intercept()
will do all job.

or set

<global-results>
<result name="error" type="redirectAction">
...
</result>
</global-results>

<global-exception-mappings>
<exception-mapping exception="java.lang.Exception" result="error"/>
</global-exception-mappings>

to process exceptions.

-----
Struts 2 tutorial
http://www.onepd.com
9 years ago
New lessons were added:
4. The Spring framework, Hibernate + Microsoft SQL Server
5. JUnit + MySQL
6. Tiles + Oracle, Oracle SQL Developer
7. CRUD, i18n

Yes, there will be more lessons soon.

www.onepd.com
9 years ago
New lessons were added:
4. The Spring framework, Hibernate + Microsoft SQL Server
5. JUnit + MySQL
6. Tiles + Oracle, Oracle SQL Developer
7. CRUD, i18n

Yes, there will be more lessons soon.

www.onepd.com
9 years ago
Try to read Struts 2 in Action again,
starting chapter Part 1,
This book is the best source.
I didn't understand it first time too.

--------------------------------------------
Step by Step Struts 2 tutorial www.onepd.com
9 years ago
The site is working now,
i added lessons
5. JUnit + MySQL
6. Tiles + Oracle, Oracle SQL Developer


Struts 2 tutorial at http://www.onepd.com/
9 years ago
The site is working now,
i added lessons
5. JUnit + MySQL
6. Tiles + Oracle, Oracle SQL Developer


Struts 2 tutorial at http://www.onepd.com/
9 years ago
Great, just go to that tutorial,
try lesson Spring+Hibernate
and only after that beside whether the tutorial
has something to do with this thread.
I'm not sure about 'Commercial', i don't add this link at the end of the post
as others do.
I really find that tutorial useful.
For me personally Struts2 tutorial from
www.onepd.com
is the best starting point.
Something is wrong with provider, anyway try:

https://sourceforge.net/project/platformdownload.php?group_id=247291

Thanks
9 years ago