[Helma-user] Java File Upload Applet to Helma intergration
Julian Tree
julian.tree at gmail.com
Tue Aug 15 07:33:54 CEST 2006
Hmm, thanks Mark, some how I don't think JVM in the browser is the
issue. I check the browser JVM at
http://www.javatester.org/version.html
They all said Java Version 1.5.0_06 from Apple Computer, Inc.
I am developing helma on the same machine, it is also running the
latest JVM from apple.
I can certainly make the the modified source code available as
soonest I finish. My main goal was to create a generic free
multifile uploader. To be honest I mostly took away features.
Features such as
-default to allow view all file instead of just image files.
- took away the cropping option.
- took away the warning box if jpegtran for cropping is not available.
- change the script where gallery is pointing to
"gallery_remote2.php" to plain gallery_remote
Things I did learn are
- how to integrate GR into another web application.
- how to compile the project checked out from repository.
I will try to write down the process in an email and send out alone
with the source code in case it can be of use to anyone.
Julian
On Aug 15, 2006, at 12:58 AM, Maksim Lin for technical support
mailling lists wrote:
> Hi Julian,
>
> Do you mean the same thing doesn't happen with the applet running
> inside Camino and fireofx, or the webbrowsers don't produce the
> ipv6 address like safari does?
> I would expect that the applet, running inside a JVM would use the
> JVMs normal entwork library, rather then the one the browser uses,
> so maybe the JVM the broser is using to run the applet is not
> configured for ipv6 ?
> I'd also recommedn checking to see if the JVM used by Firefox is
> the same version as the one being used by Safari...
>
> hoep that helps...
>
> Maks.
> ps. would you consider making your code changes to gallery applet
> available?
>
> From: helma-user-bounces at helma.org [mailto:helma-user-
> bounces at helma.org] On Behalf Of Julian Tree
> Sent: Tuesday, 15 August 2006 12:11 PM
> To: Helma User Mailing List
> Subject: [Helma-user] Java File Upload Applet to Helma intergration
>
> Here is a two part question. I am trying to interegrate Gallery Remote
> Applet from the php gallery project into a helma application. I have
> modified the galelry code enough that it almost work except for the
> following problems I have encountered in Safari, I think the question
> invovest how helma obtains the http_remotehost
>
> When the browser first hit helma the http_remotehost is reconized as
> http_remotehost=0:0:0:0:0:0:0:1%0
>
> but when the the Applet hits the server the server sees the remote
> host as
> http_remotehost=127.0.0.1
>
> That ip address is then append to the session.cookie I assume.
>
> This cause a problem, because it views the applet and the web page as
> two different sessions.
>
> This problem is NOT happening in FireFox or Camino, so it could be a
> browser issue.
>
> using mac os Tiger
>
> there is a v6 IP mapping in my /etc/hosts file such as
> ::1 localhost filepress.local
>
>
> If anyone has any ideas please let me know. I think this has to do
> with how helma resolved hostname to ip address....
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
>
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://helma.org/pipermail/helma-user/attachments/20060815/dc5a15b1/attachment-0001.html
More information about the Helma-user
mailing list