[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-26 Thread Fabian Lange
On Tue, Aug 25, 2009 at 8:44 PM, rosbrbaraza...@gmail.com wrote: where package name is (applet) and my class name is Mysocket.class You should have told us before that applet is your package. because the package makes up the folder structure and your codebase needs to point at the path where

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-25 Thread Lee Bolding
Actually, it should just be MyApplet. The Java interpreter knows it's a .class file. If you add .class, the JVM will attempt to load/find MyApplet/class.class On 24 Aug 2009, at 22:18, Sid Bachtiar wrote: Don't use the 'web' directory Instead of /web/MyApplet.class it should be just

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-25 Thread Fabian Lange
I wonder why noone checks the html documentation of choice before posting. The correct usage is: applet code=MySocket.class width=350 height=80 codebase=/applet/ /applet put MySocket.class to web/applet and no need to play with .htaccess, because there should be the rule that checks if the file

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-25 Thread rosb
Well, Thanks everybody for all your answers. Fabian excuse me for my basic POST, but neither using your recommendation works. But. finally i found the correct way, at least for my case. applet code=applet.MySocket width=300 height=100 codebase=/ /applet I´m using Eclipse Java EE IDE for Web

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-24 Thread rosb
Hi, Thanks very much for the ticks. But nothing happen, i still getting the errors. I got this one in Server Log File: 127.0.0.1 - - [24/Aug/2009:15:00:52 -0400] GET /frontend_dev.php/ socketmodule/MySocket/class.class HTTP/1.1 500 16051 I'm going to open another link with new subject.

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-24 Thread Eno
On Mon, 24 Aug 2009, rosb wrote: Hi, Thanks very much for the ticks. But nothing happen, i still getting the errors. I got this one in Server Log File: 127.0.0.1 - - [24/Aug/2009:15:00:52 -0400] GET /frontend_dev.php/ socketmodule/MySocket/class.class HTTP/1.1 500 16051 I'm going to

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-24 Thread rosb
I did the follow test: TEST 1: applet code=MyApplet.class width=150 height=80 / applet on /web/MyApplet.class directory JavaConsole: java.lang.ClassNotFoundException: MyApplet.class Caused by:java.io.IOException: open HTTP connection failed:

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-24 Thread rosb
Yes i do. this is my .htaccess now: Options +FollowSymLinks +ExecCGI IfModule mod_rewrite.c RewriteEngine On # uncomment the following line, if you are having trouble # getting no_script_name to work #RewriteBase / # we skip all files with .something #RewriteCond %{REQUEST_URI}

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-24 Thread Sid Bachtiar
Did you change the htaccess as I pointed out? On Tue, Aug 25, 2009 at 7:51 AM, rosbrbaraza...@gmail.com wrote: Hi, Thanks very much for the ticks. But nothing happen, i still getting the errors. I got this one in Server Log File: 127.0.0.1 - - [24/Aug/2009:15:00:52 -0400] GET

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-24 Thread Sid Bachtiar
Don't use the 'web' directory Instead of /web/MyApplet.class it should be just /MyApplet.class On Tue, Aug 25, 2009 at 9:13 AM, rosbrbaraza...@gmail.com wrote: Yes i do. this is my .htaccess now: Options +FollowSymLinks +ExecCGI IfModule mod_rewrite.c  RewriteEngine On  # uncomment the

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-24 Thread rosb
I mean, MyApplet.class is in my web dicrectory. Just /MyApplet.class for web browser --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-22 Thread Lee Bolding
Your applet tag is effectively asking for 'applet.MySocket' - whereas the classpath for your applet is simply 'MySocket'. If you move MySocket.class into web/ it should work On 22 Aug 2009, at 04:56, rosb wrote: In a ShowSuccess.php i call the applete using this: applet

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-22 Thread rosb
Thanks very much, but i already tried it before with no result. I found follow: If i use this one: applet code=MySocket.class width=350 height=80 /applet and my applet class on /web directory. java.Lang.ClassNotFoundException:Mysocket.class Caused by: java.IOException: open HTTP connection

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-22 Thread Sid Bachtiar
You need to change the .htaccess Try adding: RewriteCond %{REQUEST_URI} \.class$ Before this line: RewriteRule .* - [L] On Sun, Aug 23, 2009 at 2:37 PM, rosbrbaraza...@gmail.com wrote: Thanks very much, but i already tried it before with no result. I found follow: If i use this one:

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-22 Thread Sid Bachtiar
And try adding / before MySocket.class applet code=/MySocket.class width=350 height=80 /applet On Sun, Aug 23, 2009 at 3:43 PM, Sid Bachtiarsid.bacht...@gmail.com wrote: You need to change the .htaccess Try adding:  RewriteCond %{REQUEST_URI} \.class$ Before this line:  RewriteRule .* -