wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 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
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

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]

 
wood burning stoves
 
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?