Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


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

 
GeeCON Prague 2014
 
subject: Packages in Struts 2