Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Can't find examples mentioned in JavaWSTutorial? :confused:

Ranch Hand
Posts: 1011
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded the "jwsdp-1_3_01-tutorial" and read your PDF tutorial.
On Chapter 24 "Security",
You are using examples in <INSTALL>/jwstutorial13/examples/security/formbasedauth/web/WEB-INF/web.xml.
But in the downloaded file I can't find this "formbasedauth" directory at all.
Where can I find it?
Tong Chen
Ranch Hand
Posts: 1011
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got a response from Sun Microsystem. I post it here just in case somebody has the same question I had:
Thank you for writing regarding the tutorial. There are two possible answers to this questions, so I'll send them both.
First of all, if you are reading the tutorial online, you need to download the tutorial to your local system in order to get the example code. You can download the tutorial from
Second, if you've already downloaded the tutorial, you will notice that the examples in the Security chapter reference the incorrect directory for the example applications. Here is a list of the location specified in the tutorial vs. the actual location of the example files.

<INSTALL>/jwstutorial13/examples/security/formbasedauth is actually located in <INSTALL>/jwstutorial13/examples/security/login
<INSTALL>/jwstutorial13/examples/security/basicauth and basicauthclient are actually located in <INSTALL>/jwstutorial13/examples/jaxrpc/basicauth
<INSTALL>/jwstutorial13/examples/security/mutualauth and mutualauthclient are actually located in <INSTALL>/jwstutorial13/examples/jaxrpc/mutualauth
We apologize for the inconvenience. Thank you pointing out this error in our documentation.
Debbie Carson
JWSDP Docs Team
Let nothing stop you! Not even this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic