EasyUI Forum
December 14, 2024, 04:25:57 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Problem configuring examples  (Read 43156 times)
lavanyadeepak
Newbie
*
Posts: 4


View Profile WWW
« on: March 19, 2013, 08:31:34 AM »

I created a virtual directory for JEasyUI examples with IIS however the grid components are not loading. When checked with Fiddler, I find that URLs like http://localhost/jeasyui/demo/treegrid/treegrid_data2.json are failing with a 405 error message.

I do have a MimeType for JSON but JSON being a static it is accepted for GET request only. How do I need to re-configure it for POST and what handler do you need me to point the same at?
Logged
lavanyadeepak
Newbie
*
Posts: 4


View Profile WWW
« Reply #1 on: March 19, 2013, 08:40:51 AM »

I solved it myself as below:

  • Handler Mapping to .json as application/json
  • Script Mapping to *.json to asp.dll
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!