Generic Naws War for Glassfish for Cross Domain Issues in Ajax

  2 posts   Feedicon  
Replies: 1 - Last Post: January 09, 2009 12:25
by: digitalrinaldo
showing 1 - 2 of 2
 
Posted: January 08, 2009 01:24 by digitalrinaldo
There are a number of work arounds for this this issue, it would be so much easier if we just used Java in the browser, but we have to wait for that train to come back. I have been looking at providing a kit in naws, probably a war that gives you the services found in the jmaki addon and the classic approach of redirecting to a local page and then just fetching and returning the content that way. Here are the approaches I have considered and rejected in favor of using naws proxy.

{list}
{*}jmaki cross domain handler ( doesn't handle headers, cookies properly and ssl)
{*}calling a local file and using the include handler hard to control the content. Stephen suggested we add something like return this value
{*}Developing a custom servlet and writing to that url, that is similar to naws and since naws has it working why rewrite all that code. This approach would suffer from the Java issue with setrequestmethod in the current implementation of HttpUrlConnection. You can't post MKCOL methods.
{/list}

I am trying to configure the MultipartProxyHandler and I understand soon there will be a WebMount Handler with more features. However I am very late on the second iteration of my WebDav from Javascript client side library using davclient.js

I would like all requests to a local url starting with davtests to redirect to another https site. I am starting with the login process which uses Basic Authentication, don't ask me why they don't support digest.

My first question is what is this message about?


LOG: 4 9092-server: proxy.: proxies: {http://https://storage.network.com//=/davtests/, http://https://yyyy.zzzz.com/:80/=/davtests/}

Can't I start on http and go to http from the proxy side?

 
Posted: January 09, 2009 12:25 by digitalrinaldo
This post should really move to the Glassfish project. I posted a high level blog entry about htis http://digiorgio.com/blog/?p=197
Replies: 1 - Last Post: January 09, 2009 12:25
by: digitalrinaldo
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close