tomcat - Getting 403 error with Curl for calling java web application with jsessionId -
i running curl command in centos release 6.4 (final) line below, , requested pages java web application pages hosted on tomcat7.
curl http://10.1.1.140:8080/tmp/tmp2000
in response sessionid request next page this:
curl http://10.1.1.140:8080/tmp/pages/next;jsessionid=71a6fc0d190ab25a63938dfcbee26025?cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled
but in response this:
<html><head><title>apache tomcat/7.0.26 - error report</title><style><!--h1 {font-family:tahoma,arial,sans-serif;color:white;background-color:#525d76;font-size:22px;} h2 {font-family:tahoma,arial,sans-serif;color:white;background-color:#525d76;font-size:16px;} h3 {font-family:tahoma,arial,sans-serif;color:white;background-color:#525d76;font-size:14px;} body {font-family:tahoma,arial,sans-serif;color:black;background-color:white;} b {font-family:tahoma,arial,sans-serif;color:white;background-color:#525d76;} p {font-family:tahoma,arial,sans-serif;background:white;color:black;font-size:12px;}a {color : black;}a.name {color : black;}hr {color : #525d76;}--></style> </head><body><h1>http status 403 - </h1><hr size="1" noshade="noshade"><p><b>type</b> status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>access specified resource () has been forbidden.</u></p><hr size="1" noshade="noshade"><h3>apache tomcat/7.0.26</h3></body></html>
which error of "http status 403".
Comments
Post a Comment