Hi all,
I want to use Flash with Servlets within my GWT application/
project. In my application/project,When a GWTButton is clicked,I am
calling a flash[.fla/.swf] application which is placed in "public"
folder within my project. It works fine upto this point[Hence, Flash
contents are visible].
Here,my flash application contains images. From flash,I am
calling Java servlets placed in "com/project/server/servlet" folder
within my GWT project to store/retreive data between Flash & database
respectively and this is what the servlets do. I have deployed
servlets in Tomcat server.
When I execute the application and click on GWTButton, flash
contents appears fine. When I click on the contents of Flash file,a
servlet should be called.But, the servlet is not getting called.
Instead, it shows an error in a diaog box which belongs to Flash as:
[B]Error #2044: Unhandled ioError:. text=Error #2032: Stream Error.
URL: http://localhost/webapps/ROOT/servlet/xmlServlet?viewid=2
at DynaAccess_fla::MainTimeline/createXML()
at DynaAccess_fla::MainTimeline/onChecked()[/B]
Note: These are the details of my application:
Servlets are deployed in /Tomcat6.0/ROOT folder
Servlets source code is present in com/project/server/
servlet folder
web.xml is placed at \Tomcat 6.0\webapps\ROOT\WEB-INF folder
In web.xml file, I have placed url-pattern for my servlets as:
...bla ...bla
<servlet>
<servlet-name>XmlServlet</servlet-name>
<servlet-class>com.project.server.servlet.XmlServlet</servlet-
class>
</servlet>
<servlet-mapping>
<servlet-name>XmlServlet</servlet-name>
<url-pattern>/servlet/xmlServlet</url-pattern>
</servlet-mapping>
...bla ...bla
In flash application, I have mentioned a servlet-url as [B]"http://
localhost/servlet/xmlServlet"[B]. But, it displays the same error
which is mentioned above[viz., Error# 2044...].
Why I am unable to call the servlet?
Please can anyone reply me with a solution or atleast cause for this
problem...
Thanks in advance..
Waiting for your replies...
Srihari.Ch
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---