Is it possible to view the source code of a servlet?
I'm trying to get all of the courses for a college though:
http://ohiostate.bncollege.com/webapp/wcs/stores/servlet/TBDropDownView?jspStoreDir=ohiostate&deptId=&campusId=30747395&catalogId=10001&dojo.transport=xmlhttp&termId=44357427
And I was wondering if there was a way I could do t开发者_运维问答his, like can I search the source code, or the database that it's accessing to display the classes?
No.
If you could, it would be a major security hole.
Imagine a similar servlet that stores credit card numbers for a shopping site (eg, Amazon).
Instead, you can contact the college and ask them for an API.
精彩评论