Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
Can't call the url action with the json,please help,thanks!
24/10/2012
15:14
Avatar
catyu
New Member
Members
Forum Posts: 1
Member Since:
24/10/2012
sp_UserOfflineSmall Offline

Can't call the action with the json,please help,thanks!

i want't get the data from server instead of local,so i set the datatype to "json",the url to the action on the server "<c:url value='/car/jqGrid_getJsonData.action' />",the action is confirm correct,there is test on browser,also i change the action url

"http://localhost:8080/eapsoft/car/jqGrid_getJsonData.action",open in the browser it's correct and return data,but with the jqGrid url ,it's invalid,not call!

please help,what's the problem? thanks all!Frown

here is the code:

<link href="/eapsoft/css/core/jqGrid/ui.jqgrid.css" rel="stylesheet" type="text/css" />

<link href="/eapsoft/css/core/jqGrid/ui-lightness/jquery-ui-1.9.0.custom.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="/eapsoft/js/jqGrid/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="/eapsoft/js/jqGrid/i18n/grid.locale-en.js" ></script>

<script type="text/javascript" src="/eapsoft/js/jqGrid/jquery.jqGrid.min.js"></script>

 $("#gridTable").jqGrid({  

        url:"<c:url value='/car/jqGrid_getJsonData.action' />",  

       datatype: "json",  

       mtype: "get",          

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
17 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information