| |

VerySource

 Forgot password?
 Register
Search
View: 882|Reply: 5

struts + applet project, how to debug the applet in the webpage?

[Copy link]

1

Threads

5

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-2-9 19:30:01
| Show all posts |Read mode
This project is quite perverted. In applets in struts, data is passed between applets and actions, connected via URLConnection, and then getInputstream is used to get results or pass values; setOutputstream is passed to actions. At the same time, this applet is inherited from the framework A class of JApplet, an applet we write must inherit it. Therefore, we cannot debug the applet in the appletview alone, we must start the web application, and the applet is typed into a jar file. How does this happen? You can also debug applets with breakpoints when running struts. Are there any tools that support debugging this way? Idea or eclipse plugin I have not heard of this feature.
Reply

Use magic Report

0

Threads

8

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-4-9 18:30:02
| Show all posts
Packaged into a jar file can also set breakpoints to debug applets at runtime?
The landlord, it should not work.
Reply

Use magic Report

0

Threads

18

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-4-11 11:15:01
| Show all posts
under eclipse
Add package under the path
Reply

Use magic Report

1

Threads

5

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 Unknown

 Author| Post time: 2020-4-28 19:45:02
| Show all posts
Upstairs, what plug-in is needed?
Reply

Use magic Report

1

Threads

5

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-5-15 12:15:01
| Show all posts
It's not easy to use. Now I use 2 projects, one is applet project A. Here I only write applet and generate jar for web project B to call. I introduced jar into eclipse classpath in project A , And set a breakpoint in a method, but when starting B, did not stop.
Reply

Use magic Report

1

Threads

5

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-8-17 10:45:01
| Show all posts
It's not easy to use, but things that call the background can be stopped at a breakpoint in the background, but the program in the applet does not work. Fortunately, logic is generally processed in the background.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list