AGS 10.2.2 - tokens/generate-token-html.jsp fix

2580
2
06-16-2014 07:40 AM
chandesrisbasile1
Occasional Contributor
The stylesheet http://localhost/arcgis/tokens/generate-token-html.jsp/css/main.css was not loaded because its MIME type, "text/html", is not "text/css".

<link href="http://localhost/arcgis/tokens/generate-token-html.jsp/css/main.css" rel="stylesheet" type="text/css"/>
http://localhost/arcgis/tokens/generate-token-html/css/main.css
=> java.lang.NullPointerException: Input stream is null.

C:\Program Files\ArcGIS\Server\framework\runtime\tomcat\webapps\arcgis#tokens\generate-token-html.jsp
<link href="<%=cpath %>/css/main.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="<%=cpath %>/js/BigInt.js"></script>
<script type="text/javascript" src="<%=cpath %>/js/Barrett.js"></script>
<script type="text/javascript" src="<%=cpath %>/js/RSA.js"></script>
<script type="text/javascript" src="<%=cpath %>/js/admin.js"></script>

<link href="<%=cpath %>/../css/main.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="<%=cpath %>/../js/BigInt.js"></script>
<script type="text/javascript" src="<%=cpath %>/../js/Barrett.js"></script>
<script type="text/javascript" src="<%=cpath %>/../js/RSA.js"></script>
<script type="text/javascript" src="<%=cpath %>/../js/admin.js"></script>
Tags (2)
0 Kudos
2 Replies
NicoleSulzberger
Occasional Contributor

Dear Esri team, in which version has this been fixed? Would it be ok in 10.6.1? In 10.4.1 it was still broken.

https://myarcgisserver/arcgis/tokens/generateToken 

https://myarcgisserver/arcgis/tokens/css/main.css 

I have tried it out on 10.8.1, and there it looks fine.

0 Kudos
NicoleSulzberger
Occasional Contributor

Dear Esri Team

I still have this issue with 10.4.1, but not on version 10.8.1. On which version has it been fixed? Would it be ok with 10.6.1?

https://myarcgisserver/arcgis/tokens/css/main.css

0 Kudos