| Author |
Can I get actionscript values into a servlet?
|
chaitanya karthikk
Ranch Hand
Joined: Sep 15, 2009
Posts: 588
|
|
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.
The aim of education is to not score marks. Is to build knowledge. Education is a never ending process.
|
 |
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: 588
|
|
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: 588
|
|
|
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: 588
|
|
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: 588
|
|
|
I know little flash actionscripting, I don't know anything about flex.
|
 |
chaitanya karthikk
Ranch Hand
Joined: Sep 15, 2009
Posts: 588
|
|
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
|
 |
 |
|
|
subject: Can I get actionscript values into a servlet?
|
|
|