struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musom...@aol.com
Subject Re: Forwarding to a Java Application
Date Wed, 30 Dec 2009 06:39:12 GMT

The <Object> tag previously referred to is where you can launch  a java app from 
a jsp (or even an ordinary html page). Check out Java Web Start.
Your java app can be an ordinary swing app and the server sends
a .jnlp file with instructions to the browser to download the necessary classes.
Your client needs to either have a full JDK installed (not just a JRE) or have
Java Web Start installed.



Chris



-----Original Message-----
From: Rafael Muneton <rafael_muneton@hotmail.com>
To: Struts Mailing list <user@struts.apache.org>
Sent: Mon, Dec 28, 2009 12:39 pm
Subject: RE: Forwarding to a Java Application



i Wes:
 
Thanks for your answer.
I am a little bit confused now.
What I am trying to do is uncommon?????
The fact that I want to launch a Java class(Nor a Servlet) from a Java Server 
age is something odd???
Or is it against the rules of Struts????
The question is now ===>  How would you do something like that????
 
Thanks again.
 
Rafael.

 Date: Thu, 24 Dec 2009 13:48:49 -0500
 Subject: Re: Forwarding to a Java Application
 From: wesw@wantii.com
 To: user@struts.apache.org
 
 On Thu, Dec 24, 2009 at 12:52 PM, Rafael Muneton
 <rafael_muneton@hotmail.com> wrote:
 >
 > Hi Vitor:
 >
 > What I am trying to achieve is that , after a user can log in to the Web 
pplication, this user receives the MainMenu screen of the Application, where 
here are several options, that he/she can choose from.This MainMenu is a Java 
pplication not a Servlet.
 >
 > And after reading your answer, I think that maybe I need to upgrade to 
truts 2.
 >
 > I am using Struts 1.1
 >
 
 I don't think an upgrade is necessary. I think you just need to
 understand a little better how things work in a JSP/Servlet
 environment... The page that launches the MainMenu application is
 bound to have either an <applet... or <object... tag. It has been a
 while for me, I can't remember which. But, if there is information
 that needs passed to the MainMenu, then you need to make that
 information into params. Then, when the page that launches the
 MainMenu is rendered, pass the information to the MainMenu by
 rendering the appropriate <param... tags.
 
 -Wes
 
 
 
 -- 
 Wes Wannemacher
 
 Head Engineer, WanTii, Inc.
 Need Training? Struts, Spring, Maven, Tomcat...
 Ask me for a quote!
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
 For additional commands, e-mail: user-help@struts.apache.org
 
                     
________________________________________________________________
indows Live: Keep your friends up to date with what you do online.
ttp://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010=


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message