Author: suat
Date: Fri May 18 12:21:54 2012
New Revision: 1340078

URL: http://svn.apache.org/viewvc?rev=1340078&view=rev
Log:
STANBOL-618:\n-Added an item to FAQ for configuring the JerseyEndpoint to 
access header values

Modified:
    incubator/stanbol/site/trunk/content/stanbol/docs/trunk/faq.mdtext

Modified: incubator/stanbol/site/trunk/content/stanbol/docs/trunk/faq.mdtext
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/content/stanbol/docs/trunk/faq.mdtext?rev=1340078&r1=1340077&r2=1340078&view=diff
==============================================================================
--- incubator/stanbol/site/trunk/content/stanbol/docs/trunk/faq.mdtext 
(original)
+++ incubator/stanbol/site/trunk/content/stanbol/docs/trunk/faq.mdtext Fri May 
18 12:21:54 2012
@@ -14,4 +14,9 @@ _[Check "Working with multiple languages
 Yes, Stanbol provides you with and indexing tool for creating appropriate 
indexes for any kind of RDF data, vCard or SKOS vocabularies. _[Check "Using 
custom vocabulary"](customvocabulary.html)_
 
 ## Can I use existing SOLr indexes?
-Yes, just provide a link within the 
org.apache.stanbol.commons.solr.impl.DefaultSolrDirectoryManager.name Bundle to 
a local directory, where you host the SOLr indexes, in order to reuse.
\ No newline at end of file
+Yes, just provide a link within the 
org.apache.stanbol.commons.solr.impl.DefaultSolrDirectoryManager.name Bundle to 
a local directory, where you host the SOLr indexes, in order to reuse.
+
+## How can I get the values of HTTP headers through XMLHttpRequest in response 
of a CORS request?
+In the course of Cross-Origin-Resource-Sharing, once the value of a certain 
HTTP header is desired, the header must be exposed by the server within the 
**Access-Control-Expose-Headers" passed in the response of actual request i.e 
the one following the preflight if there is any. In the scope of Stanbol, the 
header values to be exposed by the server can be configured through the 
**JerseyEndpoint** component which can be found in the OSGi Configuration Panel 
of the Stanbol. Below you can see the figure depicting the JerseyEndpoint 
configuration dialog.
+
+![JerseyEndpoint 
configuration](../../images/faq/jerseyEndpointConfiguration.png "JerseyEndpoint 
configuration dialog")


Reply via email to