Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I get actionscript values into a servlet?

 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody, I am Chaitanya, I am new to designing, I have been practicing designing web pages using html, css and javascript. Now I am using flash.

Suppose I designed a form using flash, upon submitting the flash button the request must be redirected to a servlet.

Is this possible?

Then in the servlet I must be able to read the flash values.

Is this possible?

Can anyone please help. Thank you all in advance.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. Adobe Flex is probably the technology you are looking for.
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mr.Paul can you please help me? Where can i find the basic information.

Suppose I have a textinput in the actionscript, suppose I named the component as userID, how to get value into the servlet and how to request the servlet.

To read html form values we have request.getParameter("something");

How can I do with flash?

Thank you in advance.
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone help me?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you look at Flex?
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Sturrock wrote:Did you look at Flex?


Ya I have taken a look, I din't understand anything.
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know little flash actionscripting, I don't know anything about flex.
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody, I solved the problem, this is how I done it, I used a flash file and a jsp just to simulate it.

sample1.jsp--------------this includes the actual flash file.

sample2.jsp----------------this jsp prints the request parameters

sample.swf-----------------actionscript code

In the flash file I have created a button component on frame 1 and gave it an instance "btn". The actionscript code also goes on the frame 1.

Thank you guys
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic