Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro JSP
|
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 Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 13th, 2009, 04:41 AM
Registered User
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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??
 
Old October 13th, 2009, 06:41 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

If its an Applet/JApplet, I think you will have access to it [access to methods in it] using Java script!
__________________
- Rakesh
http://iam-rakesh.blogspot.com
 
Old October 13th, 2009, 10:08 PM
Registered User
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rakesh_mscit View Post
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..
 
Old October 14th, 2009, 12:46 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

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 :-)
__________________
- Rakesh
http://iam-rakesh.blogspot.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
is there a useful java gui design tool? yulin11 Java GUI 4 September 2nd, 2008 10:20 PM
HTML GUI for java abhinayak Java GUI 1 February 1st, 2008 03:38 AM
call java file method to do something in JSP ypsmag JSP Basics 1 October 11th, 2006 01:43 PM
To put my GUI in JSP? Befekadu Pro JSP 0 March 10th, 2005 12:42 PM
Java GUI /Input linfakngiau BOOK: Beginning Java 2 0 October 19th, 2003 03:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.