|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Re: GridSphere and appletFollowing the discussion on applet, I gathered : - in the jsp, I should be including something like: <jsp:plugin type="applet" code="test.TestApplet" archive="test.jar" codebase="." width="500" height="500" jreversion="1.6"> <!-- <jsp:param arguments for my applet removed here> --> </jsp:plugin> - I should have the applet code in a jar called test.jar ------------------------------------------------------------------ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. Este mensaje y los ficheros adjuntos pueden contener informacion confidencial destinada solamente a la(s) persona(s) mencionadas anteriormente. Pueden estar protegidos por secreto profesional Si usted recibe este correo electronico por error, gracias de informar inmediatamente al remitente y destruir el mensaje. Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin no se hace responsable por su contenido. Su contenido no constituye ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes. Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor no puede garantizar nada al respecto y no sera responsable de cualesquiera danos que puedan resultar de una transmision de virus ------------------------------------------------------------------ _______________________________________________ Gridsphere-users mailing list Gridsphere-users@... http://lists.gridsphere.org/mailman/listinfo/gridsphere-users |
|
|
Re: GridSphere and appletHello,
Following the discussion on applets, I gathered : - in the jsp, I should be including something like: <jsp:plugin type="applet" code="test.TestApplet" archive="test.jar" codebase="." width="500" height="500" jreversion="1.6"> <!-- <jsp:param arguments for my applet removed here> --> </jsp:plugin> - I should have the applet code (containing test.TestApplet) in a jar called test.jar placed in tomcat/webapps/ROOT/ My question is simple: how does the applet call back the portal? Should I POST or GET? How do I form the url of the servlet? The html code I have in a simple portlet with a button looks like: <form action="http://127.0.0.1:8090/gridsphere/gridsphere/loggedin/12/r/" method="post" id="form1" name="form1" onsubmit="return validate( form1 );" > <input class="portlet-form-button" type="submit" name="gs_action=buttonHit" value="Hit this button"/> </form> How was the url ".../gridsphere/gridsphere/loggedin/12/r/" formed ? Thanks for helping! Regards Igor ============ Mona Wong-Barnum , Wed Oct 10 10:45:30 PDT 2007 ========== I fixed my GridSphere and applet problem and wanted to post it in case it can help someone else. Paul Jamason's solution required Apache and I did not want to involve another server and just use Tomcat instead. His solution gave me a great place to start, thanks Paul. Here is that worked for me: 1. The JSP file contained: <jsp:plugin type="applet" code="weka.gui.applet.WekaApplet" archive="Weka.jar" codebase="." width="500" height="500" jreversion="1.6"> </jsp:plugin> 2. I put the Weka.jar in tomcat/webapps/ROOT/ cheers, Mona ********************************************************* Mona Wong-Barnum Data Services Portal Developer San Diego Supercomputer Center http://datacentral.sdsc.edu Believing we are in control is an illusion that brings suffering. ********************************************************* ------------------------------------------------------------------ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. Este mensaje y los ficheros adjuntos pueden contener informacion confidencial destinada solamente a la(s) persona(s) mencionadas anteriormente. Pueden estar protegidos por secreto profesional Si usted recibe este correo electronico por error, gracias de informar inmediatamente al remitente y destruir el mensaje. Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin no se hace responsable por su contenido. Su contenido no constituye ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes. Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor no puede garantizar nada al respecto y no sera responsable de cualesquiera danos que puedan resultar de una transmision de virus ------------------------------------------------------------------ _______________________________________________ Gridsphere-users mailing list Gridsphere-users@... http://lists.gridsphere.org/mailman/listinfo/gridsphere-users |
|
|
Re: GridSphere and applet
Hi Igor:
We punted on using the applet in our GS portal because there is a bigger problem for us than applet to portal communication...if the user navigates to another portlet and then returns to the applet portlet, the applet is restarted/reinitialized! This will not work for our needs. Consider that before you move forward with the applet. If you wish to continue the applet route, I think you can pass the URL part to the applet as an argument. If you are concerned with security for your applet, be aware that your applet can be launched by a URL call, even outside the portal so you should do something to ensure that it won't startup if not launched from your portal with proper authentication. Good luck! cheers, Mona ********************************************************* Mona Wong-Barnum Data Services Portal Developer San Diego Supercomputer Center Better to be a pilgrim without a destination, than to cross the wrong threshold every day. Sy Safransky The Sun magazine ********************************************************* _______________________________________________ Gridsphere-users mailing list Gridsphere-users@... http://lists.gridsphere.org/mailman/listinfo/gridsphere-users |
|
|
RE: GridSphere and appletHello,
I use GS 3.0.8, over apache tomcat 5.5.20. I'm trying to write an applet to integrate in gridsphere. I've got the applet paths fine, and the applet starts alright. But now I don't know how the applet can call back gridsphere. I guess the best way is to pass to the applet, as a parameter, the recall url pointing to the portal. I was expecting the following (all within the jsp page) to work: <ui:actionlink var="myaction" action="doSomething">Click</ui:actionlink> <% String recallURL = myaction ; %> Let me cite the doc of http://docs.gridsphere.org/pages/viewpage.action?pageId=396 " The var attribute creates an exported link that can be used elsewhere in the JSP page. " So I thought the Java variable recallURL would be set to the url of the method called "doSomething". But I get the following error: "Unable to compile class for JSP An error occurred at line: 35 in the jsp file: /jsp/test/test.jsp Generated servlet error: myaction cannot be resolved" I looked at the gridsphere java source, and getVar/setVar are only defined in ActionTag.java, and in TextTag.java. Might there some kind of problem with inheritence for the Action & Render Tags? Main question is : how do people pass the callback url to their applets in GS 3.0.8? The whole point is for the applet to produce something, then call back the portal with this result! Regards Igor ================= From: Mona Wong [mailto:mona@...] Sent: viernes, 20 de junio de 2008 23:48 To: Igor Rosenberg Cc: gridsphere-users Subject: Re: GridSphere and applet Hi Igor: We punted on using the applet in =ur GS portal because there is a bigger problem for us than applet to =ortal communication...if the user navigates to another portlet and then =eturns to the applet portlet, the applet is restarted/reinitialized! =A0This will not work for our needs. Consider that before you move =orward with the applet. If you =ish to continue the applet route, I think you can pass the URL part to =he applet as an argument. If you =re concerned with security for your applet, be aware that your applet =an be launched by a URL call, even outside the portal so you should do =omething to ensure that it won't startup if not launched from your =ortal with proper authentication. Good =uck! cheers, Mona http://datacentral.sdsc.edu =div> Better =o be a pilgrim without a destination, than to cross =he wrong threshold every day. = Sy Safransky = The Sun =agazine *******************************************************=* =/div> = ------------------------------------------------------------------ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. Este mensaje y los ficheros adjuntos pueden contener informacion confidencial destinada solamente a la(s) persona(s) mencionadas anteriormente. Pueden estar protegidos por secreto profesional Si usted recibe este correo electronico por error, gracias de informar inmediatamente al remitente y destruir el mensaje. Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin no se hace responsable por su contenido. Su contenido no constituye ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes. Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor no puede garantizar nada al respecto y no sera responsable de cualesquiera danos que puedan resultar de una transmision de virus ------------------------------------------------------------------ _______________________________________________ Gridsphere-users mailing list Gridsphere-users@... http://lists.gridsphere.org/mailman/listinfo/gridsphere-users |
| Free Forum Powered by Nabble | Forum Help |