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 ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • 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
Hi,
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?
Thanks!
 
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 http://java.sun.com/webservices/downloads/webservicestutorial.html.
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.
Sincerely,
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
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic