A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Flash and JSP....Is it possible?????

  1. #1
    Member
    Join Date
    Aug 2000
    Posts
    69

    Flash and JSP....Is it possible?????

    Hi guys!

    can flash be used with JSP???

    any one knows of any tutorials for complete dumbos on JSP integration with flash????

    We have an application thats developed in JSP/J2E and the client now wants flash as the front end. The database is SQL server

    Basically all the data from the JSP needs to be displayed on a flashMX User interface.

    Can flash send values to a JSp files???

    Any help in this direction is very much appriciated.

    thank you for your time and help.
    faith_love_hope
    www.surfunion.com

  2. #2
    say no more loydall's Avatar
    Join Date
    Feb 2001
    Location
    London
    Posts
    1,261
    I know nothing about JSP but I'm guessing it has similar capabilities to ASP ??

    I also assume you can output strings of data, grabbed from SQL server, displayed on a JSP page?? If you can then you can get flash to read these values in exactly the same way you would with any other variable that flash can grab:

    &variable1=value......

    You could also output your data from SQL Server formatted as an XML document which would give you greater control in flash.

    As far as sending data from flash to jsp goes - as long as you have a method of retrieving posted data in JSP then it's possible.

    In ASP I use Request("variableName") to grab data posted to that page from another web page or indeed flash.

    I'm sure you must be able to do the same thing in JSP.

    Sorry I can't give you any examples, like I say, I don't know anything about JSP. Look into how flash grabs variables i.e loadVariables and find out how JSP can output data in a format that flash can understand and also find out about retrieving data posted to a JSP page..

    Hope that helps

  3. #3
    poet and narcisist argonauta's Avatar
    Join Date
    Nov 2001
    Location
    Under the bed
    Posts
    2,080
    http://www.openamf.org/

    openamf. is for java what amfphp is for php.
    my blog: blog.innocuo
    Sponsored by your mom.

  4. #4
    Member
    Join Date
    Aug 2000
    Posts
    69

    Thanks

    Thanks loydall 7 argonauta.

    hey argonauta i didnt get any flash-jsp tuts on that link
    dont know if i missed on something.

    I am desperately looking at some easy tuts,s omething as simple as getting data from jsp and displaying in flash

    eg.
    Emp Name | Age
    john | 32
    jane | 26
    xyx | 40

    any one know any tuts?

    thanks again for ur time and help
    P.S. im a total newbie when it comes to JSP, but yes there is a guy who is working with me and knows jsp but does not know to use flash thats where i come in with my limited action script knowledge
    faith_love_hope
    www.surfunion.com

  5. #5
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    are you familiar with flash and text files, then?
    You could have a flash movie that accepts a text file
    &name0=john&age0=32&name1=jane&age1=26&name2=xyz&a ge2=40&count=3

    You could also have a flash movie that reads an xml like
    <employees>
    <employee name="john" age="32" />
    <employee name="jane" age="26" />
    </employees>

    Choose whichever you prefer, make it work with a text file, and then give that textfile to the jsp programmer

    Musicman

  6. #6
    Member
    Join Date
    Aug 2000
    Posts
    69

    hi

    Thanks for ur help Music Man.

    The problem is that these guys already have created the JSP pages and they dont want to do all the rework of getting the data onto a text file or an XML as its additional work for them

    thanks for you help.

    Any one have any easy examples of just reading and writng to a jsp file?
    faith_love_hope
    www.surfunion.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center