wood burning stoves 2.0*
The moose likes Flex and the fly likes Can I get actionscript values into a servlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Can I get actionscript values into a servlet?" Watch "Can I get actionscript values into a servlet?" New topic
Author

Can I get actionscript values into a servlet?

chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

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.


Love all, trust a few, do wrong to none.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Yes. Adobe Flex is probably the technology you are looking for.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

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

Joined: Sep 15, 2009
Posts: 800

Can anyone help me?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Did you look at Flex?
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

Paul Sturrock wrote:Did you look at Flex?


Ya I have taken a look, I din't understand anything.
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

I know little flash actionscripting, I don't know anything about flex.
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 800

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I get actionscript values into a servlet?