2014年5月26日星期一

There is such a demand for cross-domain backfill

There is a list of a list when I checked it , click on a button to open another site , and the backfill column data selected to form at this site can not be achieved ?
------ Solution - -------------------------------------------
you simulate his data request parameters , himself wrote in the background , and then return back to the front desk .
------ Solution -------------------------------------- ------
If the front without a login , you can use JS JS middleware made ​​by stitching or HTTP request .
or
with JSP / JAVA submit it in the background . java.net.HttpURLConnection
------ Solution ---------------------------------- ----------
backfill if JS can not do alone , need java.net.HttpURLConnection read each page, and then write HTML parser , the other in the background to get the feedback content that, after the feedback on your own page.
------ For reference only -------------------------------------- -
another website ? Cross-domain yet / ?
------ For reference only -------------------------------------- -
Yes, one of our systems , that site is a registered trademark of Network
------ For reference only ------------------- --------------------
cross-domain , and on the downright . See if you can be a proxy.
------ For reference only -------------------------------------- -
Well, thank you, ah , there is no information ?
------ For reference only -------------------------------------- -
protected void gdvData_RowCommand (object sender, GridViewCommandEventArgs e)
{
String sID = this.gdvData.Rows [int.Parse (e.CommandArgument.ToString ())] Cells [0] Text.ToString ()..;
case "Edit":
Response.Redirect (+ you want to pass parameters + "" name you want to jump to the interface aspx id =.? ");
break;}
grid which has a rowcommand event , you try it !
------ For reference only -------------------------------------- -
toss half a day , or not . Feel difficult to achieve ah
------ For reference only --------------------------------- ------
may be able to achieve using iframe

------ For reference only ---------------------------------- -----
now is the iframe, because it is a different domain , so we have to achieve cross-domain , more trouble
------ For reference only ----------- ----------------------------
ajax jsonp but must be able to judge by the interceptor
------ For reference only --------------------------------------- < br> n more information on the investigation , most of the sound is not directly modify dom iframe inside Outland seems jsoup can be simulated through access , access to html, and then back again to modify the html front display , but there is not the right path to submit ,
------ For reference only ---------------------------------------
Results posted to now , does not cross field notes a similar way to the proper way to be a cloud in the browser favorites , open the need to backfill the site, open the Favorites , Favorites is a segment js, then you can send the request , so it is not a cross-domain

没有评论:

发表评论