read the following link [closed]

2019-08-06 11:16发布

i want to go to next page of the following link

<a href="javascript: __doPostBack('ctl00$PlaceHolderMain$g_781eb52f_faa9_4d59_9cae_2baec06ac484','dvt_firstrow={51};dvt_startposition={Paged=TRUE&amp;p_Created_x0020_Date=6%2f9%2f2009%208%3a33%3a19%20AM&amp;p_ID=216}');">
<img src="/_layouts/images/next.gif" border="0" alt="Next"></a></td></tr></table></div></td>

how can i go next in java program

3条回答
老娘就宠你
2楼-- · 2019-08-06 12:03

Paged=TRUE&p_Created_x0020_Date=6%2f9%2f2009%208%3a33%3a19%20AM&p_ID=216

I guess Paged,p_Created_Date,p_ID are parameters you need to pass, to go to next page.

查看更多
祖国的老花朵
3楼-- · 2019-08-06 12:05

Have you tried HttpUnit? It has API for some basic JavaScript

查看更多
家丑人穷心不美
4楼-- · 2019-08-06 12:14

This is just an observation... but from the code you have given, the link is a postback, not an actual "link" in the traditional sense. You will need to click on the link, in the page, in context, for it to do anything meaningful.

Using the code out of context will not (should not) work. The codebehind for that page will determine exactly what will happen when the postback is sent.

In all likeliness, your session has expired and the postback will do nothing...

Do you own/control the page's code? If you do, can you post the ASP and codebehind?

查看更多
登录 后发表回答