Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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: 42954
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
Have you tried LearnNowOnline?
subject: How to use Applets in JSP?