File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Packages in Struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Packages in Struts 2" Watch "Packages in Struts 2" New topic

Packages in Struts 2

Souvvik Basu
Ranch Hand

Joined: Apr 05, 2010
Posts: 95
I am currently reading 'Struts 2 in Action' to learn Struts....
I am stuck on packages.
I downloaded the source code from the site. But I could find no package named 'chapterThreeSecure', something they talk of in chapter 3 while teaching Packages.
Is package a logical concept in Struts 2??

Can anyone please help me?
Joe Ess

Joined: Oct 29, 2001
Posts: 8843

Souvvik Basu wrote:
Is package a logical concept in Struts 2??

Packages are built into the Java language.
I don't have the book, so I don't know what examples you are looking at. I can confirm that there is no package chapterThreeSecure in the examples.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Souvvik Basu
Ranch Hand

Joined: Apr 05, 2010
Posts: 95
Thanks for your help Joe. Yes, there is no package in the downloaded source code called chapterThreeSecure. In that case, can you kindly explain this part of the chapter Three xml file?

I have the source code in front of me, and I can find no folder called chapterThreeSecure or chapterThreePublic

I have attached the folder structure's screenshot. Please let me know what you think of chapterThreeSecure or chapterThreePublic

[Thumbnail for FolderStructure.jpg]

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Packages in Struts 2
Similar Threads
struts2 + json plugin problems
In which package should be a Listener
perplexed by package structure
Default package
eclipse - how to access the default package?