|
|
 |
| Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Pro JSP section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

October 13th, 2009, 05:41 AM
|
|
Registered User
|
|
Join Date: Oct 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
call Java GUI from JSP
for example this is java file:TestingUI.java
Code:
package sample.sham.ui;
import java.awt.*;
public class TestingUI {
Label label1;
public TestingUI() {
label1 = new Label("Testing label");
}
public void init(){
TestingUI testingUI = new TestingUI();
}
}
how i wan call this Label from JSP??
|

October 13th, 2009, 07:41 AM
|
|
Friend of Wrox
|
|
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
|
|
If its an Applet/JApplet, I think you will have access to it [access to methods in it] using Java script!
|

October 13th, 2009, 11:08 PM
|
|
Registered User
|
|
Join Date: Oct 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by rakesh_mscit
If its an Applet/JApplet, I think you will have access to it [access to methods in it] using Java script!
|
wahh.. using javascript..??? hmmm.. actually i wan make it as a widget.. then any jsp can call it..
|

October 14th, 2009, 01:46 AM
|
|
Friend of Wrox
|
|
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Is it possible for you to define the problem you are trying to solve! It gives scope for people here to fine some solutions! Including me :-)
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |