Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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
Live ordinary life in an extraordinary way. Details embedded in this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic