File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes How to use Applets in JSP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to use Applets in JSP?" Watch "How to use Applets in JSP?" New topic

How to use Applets in JSP?

Karthikeyan Ravindran
Ranch Hand

Joined: Nov 20, 2007
Posts: 32
i am doing my academic project now(final year project). i want to know wherther i can use Applets in jsp. If yes, what is the procedure?
Can anyone guide me?

Thank you
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
That depends on what you mean by "use Applets in jsp". Applets are not part of JSPs, but they can be part of the HTML page that's generated by a JSP. If that's what you mean, simply generate an applet tag and it should work fine. See this for more details about the tag.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Also look at the jsp:plugin action.
This action will generate the necessary client side tags for you.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
It is sorta covered in the JavaRanch Style Guide.
subject: How to use Applets in JSP?
It's not a secret anymore!