Skip to content

Conversation

@AndrienkoAleksandr
Copy link

Hi, Hmkcode!!! I fixed some problems in your project java-servlet-json. This is commit fixs problems with charset. In your original code doesn't work symbol from another language (ukrainian, japanese...). I added new servlet method doGet() and new javascript function getData(), which rebuild list of articles after reloading of page. Because after reloading pages list of articles would clear up. And in pom.xml we use war not jar archive for web project. I am sorry, for me English.
P.S: Thank you for your articles. They are very useful!!!

…isplayed wrong. This is commit fixs this problems with charset. Added new servlet method get and new javascript function getData(), which rebuid list of articles after reloading page

function getData() {
//get all articles after reload page
$.get("jsonservlet", function (data) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy Issue found: "$" is not defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants