This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
my main_form is a normal java class and not any servlet or JSP.
i dont know whether this would be the right approach but if i call the Runtime execution in my JSP and execute the program my passing the command line string to execue my java class file..then will it not work...?
I don't have much idea about it..
Is it possible that i make my java class file an exe .. and then run the exe on my button click in JSP...???
Originally posted by Paul Sturrock ---------------------------------- What does your main_form class do? ----------------------------------
oops, looks like Paul beat me to it
Joined: Jan 29, 2004
ok..it was just some thing new that i was trying on a test basis and its working now.
I have this jsp page where their are many links and around 6 buttons. On each button click the page gets fwd to another JSP page. For the last button.. i.e. the change personal information button i wanted to call a GUI form which i created through the main_form.class .. and in this form the users personal details are displayed where if he wants he can change it.
Well i have been able to call the class form on the button click in my JSP. Now im facing only one problem .. hope some one out there can help me..
When i click on the button, the form is opened, but it doesnot come as the top most form. It is minimized. But on subsequent click on the Button that is there in my JSP, the form is displayed on screen.
Can any one tell me, how can i make my class form to come in front of the user, rather than it being displayed in minimized way.
Joined: Jan 29, 2004
Im facing another problem. When i click on the JSP button on MY pc ... every thing seems to be working fine, but now when i try to access the JSP page from another persons PC.. then , at that time, If i try to access the GUI form, it opens on MY PC and not on the users Pc. Y is it so..???
If you want to combine a Java GUI (Swing or AWT) with HTML in a web environment, you will need to use applets. It's working on your own machine because the webapp and the gui code are on the same machine. How would a client fire up a GUI screen if the application is not on their machine?