How to Work Jquery Rating Stars Using in Java Application? -


in java application have concept of show rating star.

and java application giving integer value ex:4, i'm show rating stars four.

so how 1 jquery?

and display star mean giving image tag other wise write css create star?

give me suggestion create star , display java value stars?

first of question not clear! hope developing web application using java! i'll give concept send values front end.

write web service front end can use .get or .ajax method call , data.

get necessary rating using code , put hash map identifiable key. send hash map using json ( use googles gson plugin in java program ).

catch using .ajax or .get response , manipulate id using hash map key.

example service url /getrating.

$.ajax({     url:"/getrating",     type: "get",     datatype: "json",     success : function(response){         //manipulate response received ajax here. (probably change css according value received.)     } }); 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -