This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Packages in Struts 2" Watch "Packages in Struts 2" New topic
Author

Packages in Struts 2

Souvvik Basu
Ranch Hand

Joined: Apr 05, 2010
Posts: 96
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
Bartender

Joined: Oct 29, 2001
Posts: 8877
    
    8

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: 96
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]

 
Don't get me started about those stupid light bulbs.
 
subject: Packages in Struts 2