Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by duncanb7
at 2024-04-14 02:51:22
Point:500 Replies:10 POST_ID:828473USER_ID:11059
Topic:
Java Programming Language;;
Recently, I have purchase one software and it use Java applet to display the data for me
and let me to download its data and stored it a file through its software pop download menu
in Java Application. But it is really painful to click 50 files or times to download what I need.
Is there any method I could use to see the exact the download file path and filename so I could have all files
through xmlhttp request by javascript without too many clicking its download popup menu and message box .
Is there Java debugger like Firefox firebug to know where is download file path and name ?
If I know the exact path and file name, could I user xmlhttp ajax to extract all data from the software site.
People say it is not possilbe t do xmlhttp request if the javascript and request file is not in the same domain
Cross-domin xmlhttp request is impossilbe . Is it true for Ajax ?
Please advise
Duncan
and let me to download its data and stored it a file through its software pop download menu
in Java Application. But it is really painful to click 50 files or times to download what I need.
Is there any method I could use to see the exact the download file path and filename so I could have all files
through xmlhttp request by javascript without too many clicking its download popup menu and message box .
Is there Java debugger like Firefox firebug to know where is download file path and name ?
If I know the exact path and file name, could I user xmlhttp ajax to extract all data from the software site.
People say it is not possilbe t do xmlhttp request if the javascript and request file is not in the same domain
Cross-domin xmlhttp request is impossilbe . Is it true for Ajax ?
Please advise
Duncan
Expert: CEHJ replied at 2024-04-30 06:13:18
:)
Author: duncanb7 replied at 2024-04-30 04:46:41
Thanks for your reply.
I am using Fiddler before for
http proxy but it can't detect
link from Java Applet click.
And Charles could detect exact Java Applet click link and http full path
Finally the link is not a file and that
is stream data and send to Java Applet. And I need to store in Window from the meomry.
At least I know software vendor
won't give us exact file path but
it at least it give us the stream data
link path.
I am using Fiddler before for
http proxy but it can't detect
link from Java Applet click.
And Charles could detect exact Java Applet click link and http full path
Finally the link is not a file and that
is stream data and send to Java Applet. And I need to store in Window from the meomry.
At least I know software vendor
won't give us exact file path but
it at least it give us the stream data
link path.
Author: duncanb7 replied at 2024-04-14 03:31:31
Give me sometimes, I am close to get the final answer , tomorrow,
You guys is too fast to reply mail
You guys is too fast to reply mail
Expert: colr__ replied at 2024-04-14 03:24:31
... thats not true, you asked 2 questions and we answered them both. One of the questions you asked was "... Is it true for Ajax" which was answered above - it depends on the browser. I have also answered with a solution to determining the file path buy using a packet sniffer.
Expert: CEHJ replied at 2024-04-14 03:22:35
It will be a lot easier to debug http/ftp via a proxy than packet sniffing
Author: duncanb7 replied at 2024-04-14 03:21:08
know more thing before this thread. Everything is possible if move forward
I will search all of you suggestion in google first
I will search all of you suggestion in google first
Expert: colr__ replied at 2024-04-14 03:16:55
I think I mgiht have got it the wrong way round - Firefox lets you do cross domain ajax, and IE will not.
Assisted Solution
Expert: colr__ replied at 2024-04-14 03:15:16
80 points EXCELLENT
Internet explorer will let you do cross-domain ajax request, but Firefox will not, so you will be able to do this depending on the broser you use.
Since the applet is a client-side app the files will be requested from your machine, so it will be possible to use something like Wireshark packet-sniffer to sniff the traffic to and from our machine to determine where the files are coming from. It will be a bit of a hunt (working with wireshark is always fun ;) ) but it should be doable.
Since the applet is a client-side app the files will be requested from your machine, so it will be possible to use something like Wireshark packet-sniffer to sniff the traffic to and from our machine to determine where the files are coming from. It will be a bit of a hunt (working with wireshark is always fun ;) ) but it should be doable.
Assisted Solution
Expert: for_yan replied at 2024-04-14 03:02:58
80 points EXCELLENT
I'm not sure I understood you correctly, but if you are dealing with
Java applet, then is not quite like JavaScript - the applet which you purchased most probably
came to you without Java source code, only as compiled binary class files.
There is a lot of Java debuggers and IDE's like Eclipse, NetBeans, Intelij Idea, JDeveloper
but they all require to have Java source code.
Even though in general you can decompile applet
classes, but this is not always useful and most probably your vendor
has some precaution so that you would not be able to do it easily.
Probably best of all to contact your vendor and ask them
to make modifications which you need.
Java applet, then is not quite like JavaScript - the applet which you purchased most probably
came to you without Java source code, only as compiled binary class files.
There is a lot of Java debuggers and IDE's like Eclipse, NetBeans, Intelij Idea, JDeveloper
but they all require to have Java source code.
Even though in general you can decompile applet
classes, but this is not always useful and most probably your vendor
has some precaution so that you would not be able to do it easily.
Probably best of all to contact your vendor and ask them
to make modifications which you need.
Accepted Solution
Expert: CEHJ replied at 2024-04-14 03:01:36
340 points EXCELLENT
Try running through a debugging proxy like Charles http://www.charlesproxy.com/ That will tell you where you're connecting to