Lovro Bilješković

1

votes
2

answer
1.2k

views

How to reload a URL without refreshing the page in ReactJs?

I am trying to reload onto the same route without having to refresh the page. For this specific case, using history.pushState(), but I'm getting an error: TypeError: history.pushState is not a function. Here is my code: import React from 'react'; import PropTypes from 'prop-types'; import { Contai...
Lovro Bilješković
1

votes
1

answer
117

views

Decoding timestamp encoded in ASN.1 (javascript)

I am trying to decode the timestamp which I am receiving from my HTTP post request, but this is a really complex task, I do not even have any proper insight into ASN.1/RFC 3161 so if anyone out there is willing to help me out, I would really be stoked! Code: import { Action } from 'kawax-js'; import...
Lovro Bilješković
1

votes
2

answer
330

views

How to print out ArrayList of objects vertically in JSP page?

So I'm having problems with printing out my ArrayList of objects vertically in JSP. This is my code: The output is: 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Is there any way that you can print it out in a column rather than a row?
1

votes
1

answer
58

views

js2xmlparser custom XML body

I am trying to create a XML body with js2xmlparser module which looks like this: Some method name Some value Some value my object for parsing: var obj = { 'methodName': 'TsaInfoHandler.getIppCert', 'params': { 'param': [ {value: { string: this.projectPartnerNumber } } , {value: { string: this.projec...
Lovro Bilješković