here is the challenge:  The service-/business layer has a REST (JSON) interface. There are two kinds of clients which can call the API: The webapp, which is running in a browser and a mobile-app (Android). Both of them are public. Everyone who uses t...
i am developing a web application with angular 4 and java. I am using server sent events to send some text data to the frontend. In the backend i am using jersey and this is my backend code  eventOutput.write(new OutboundEvent.Builder()        .id(de...
I have a AngularJS webapplication with a Jersey Backend Application.  Now everything is working fine using ngResource to access REST resource out of AngularJS. The only problem is with the DELETE option.  I have the following code to delete a course...
When the mouse starts hovering over an element because of scrolling (either by wheel, or by keyboard scrolling), it does not trigger a mouseover event on the elements it is hovering (Chrome 6 on OSX). What would be an elegant way to trigger the mouse...
I have an AngularJS web application with a RESTful Jersey Api as Backend.  I'm developing and testing this api in order to create user:  function Create(user) {         return $http.post('http://localhost:8080/NobelGrid/api/users/create/'...
I am trying to generate Exel using apache-poi in my JAX-RS Service, and sending application/vnd.ms-excel response to angularJs application. file is successfully gets downloaded, but data inside is encoded.    @POST @Path("getExelStreamDocDB")...
I am trying to implement SSE using jersey in server side. I have multiple issues here :  My server code is as follows :  @GET @Path("message") @Produces(SseFeature.SERVER_SENT_EVENTS) public EventOutput getMessage() {      final EventOutput o...
We have a legacy application built using jQuery and Jersey.  I have added a new JSP page. A servlet sets a session variable and then opens the JSP page. The JSP page displays the variable correctly.  <div id="my_div_id"> <%= session....
I've downloaded a pdf from a Jersey GET service that produces "application/pdf", in JS I set the response in a new Blob(), retrieved an url from createObjectURL and displayed the pdf in the page. Now how can I reverse the process and retu...
I want to create a webpage where a user sets up a  profile via a form; form data is sent to my server  and creates requisite nodes in neo4j. I want to do this in a way that does as much as possible to prevent people arbitrarily sending commands to my...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.