Only 49 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



    Bookmark Topic Watch Topic
  • New Topic

How to call jsp in applet??  RSS feed

 
yathish Gatty
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I would like to know how to call a jsp page from an applet.

This should be called by clicking a button on an applet.

Thanks.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
In the ActionListener for the button on the applet you'll need to create a URL object with the URL to the JSP, and then call getContent() (and cast to a String) to get the raw HTML produced by the JSP.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
yathish, please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please continue any discussion of this topic here.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!