wood burning stoves 2.0*
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
JavaRanch » Java Forums » Java » JSP
Bookmark "How to use Applets in JSP?" Watch "How to use Applets in JSP?" New topic
Author

How to use Applets in JSP?

Karthikeyan Ravindran
Ranch Hand

Joined: Nov 20, 2007
Posts: 32
Friends,
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
Marshal

Joined: Mar 22, 2005
Posts: 42611
    
  65
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.


Ping & DNS - my free Android networking tools app
Ben Souther
Sheriff

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to use Applets in JSP?