• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Code for https?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Code for https?


  • Subject: Code for https?
  • From: Dale Stanbrough <email@hidden>
  • Date: Tue, 09 Sep 2003 13:29:03 +1000

I've attempted to create a https page using the code from Jesse Fieler's book, but
it won't compile when it is placed in Application.java (despite claims to the contrary),
and when I place it in Session.java and run it, it doesn't do much.


Is the code correct, and what else would I need to set up to test https connections on
my development system?


public void appendToResponse (WOResponse aResponse, WOContext aContext) {
aResponse.setHeader (
"https://"; +
this.context ().request ().headerForKey ("host") +
this.context ().componentActionURL(),
"location");
}



Thanks, Dale _______________________________________________ webobjects-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Code for https?
      • From: Chuck Hill <email@hidden>
References: 
 >Re: variable return-classes (From: jacques couzteau <email@hidden>)

  • Prev by Date: Re: Any WO news on Java 1.4.1
  • Next by Date: Re: identify the EOF exception
  • Previous by thread: Re: variable return-classes
  • Next by thread: Re: Code for https?
  • Index(es):
    • Date
    • Thread