Posts

Showing posts from February 20, 2019

Only if you come, will I go out

Image
0 Is a comma necessary in the above sentence? My teacher was not able to explain why there should be a comma in this sentence whereas she asked me not to put a comma in this sentence- Only if you are a member can you borrow books. Could someone please explain the logic behind this? punctuation share | improve this question asked 3 hours ago Master Maxx Master Maxx 6 1 add a comment  | 

Apache Solr Options method preflight issue

Image
0 I am using solr directly from angular, and faced cross issue. I solved it by adding cross filter <filter> <filter-name>cross-origin</filter-name> <filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class> <init-param> <param-name>allowedOrigins</param-name> <param-value>*</param-value> </init-param> <init-param> <param-name>allowedMethods</param-name> <param-value>GET,POST,OPTIONS,DELETE,PUT,HEAD</param-value> </init-param> <init-param> <param-name>allowedHeaders</param-name> <param-value>origin, content-type, accept</param-value> </init-param> </filter> <filter-mapping> &l