This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Flex and the fly likes Can I get actionscript values into a servlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Flex
Reply 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: 779

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: 779

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: 779

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: 779

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: 779

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

Joined: Sep 15, 2009
Posts: 779

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Can I get actionscript values into a servlet?
 
Similar Threads
Comparing RIA technologies
How to pass jsp values to flash?
j2ee and flash
Dreamweaver/Flash
FLASH