Flex to Java
Hi Everyone:
I have been looking for an example application and/or
instructions on how to package a simple flex application, deploying
it to a war file for deployment.
In simple words, create flex application --> package it
----> add flex application to an existing war file --->
deploy.
I have the hello world flex application created. Need to know
how to deploy to a war file. What dependencies do I need to make
sure it runs.
Any suggestions? The documentation is very sparse on this.
have a look at the Flex tag library:
http://labs.adobe.com/wiki/index.php/Flex_2_Tag_Library_for_JSP
Allthough, I get an error when using it on JBoss portal (see
my post on Flex on JBoss Portal). Might be interesting to know if
you get the error as well.
Similar Messages
-
Sample application of Flex using java
Can anybody tell or send any URL regarding sample applcation i.e.
developed using Flex and java
I am confused abt web.xml
means how to integrate that flex application.Thx Dear,
At least I got some reply from someone.
Actually I m trying to search it but not getting any help.
My prob is.
I want to develop sample application using Flex and Spring framework.
Let say there is form called
Employee.mxml & there are 2 text boxes for username & password .I want to read values entered by user in these text boxes from flex form using Spring framework.
so can u send me any URL sothat i can get help for this.
Please help me ASAP. -
Hi
We are having this requirement , we want to develop a
application using flex for adobe AIR runtime which will communicate
with java in the desktop, we are not having any servers here, so
flex application want to communicate with java classes with out the
help of any server so I can't use httpservice, webservice or
remoting .
I like to know the ways to communicate from flex 3.0(Adobe
AIR) to java files (java takes care of splitting PowerPoint
files and converting it into serious of jpeg files, and
creating ppt files from the objects returned from flex ).
Is there any other way to communicate form between flex and
java in the desktop ??? please give inputs
ThiruHi,
you could use XMLSocket or Socket classes depending on the
type of communication you want to stablish.
I have been testing this for a while although not for a
project.
However my impression is that you need to install the AIR app
which is self-extracted and installed, but in second hand, you have
to install the Java app, that acts as a server, and it must be
executed every time your AIR app is, and the other way around.
Untill now I haven't got any idea on doing this without too
much work, but you can take a look at the Merapi project.
Manu -
Flex with Ruby or Flex with Java
Hi,
I need to use SNMP/SLP protocols in my application.
So i have plan to develop the Applcation using Flex and Ruby or Flex and Java(HttpServices). In future the applicaiton may need enhanced.
please any one of you help me , which one is the bset way to develop the applcation.
Thanks,
RaviI would go with whatever backend is more familiar to the developers and to the ones who will have to updates the application.
-
Flex - BlazeDS - Java: int are set to 0 when they should be kept to NULL.
Hi everyone, I'm having an issue with Flex -> BlazeDS -> Java.
When I pass an object to Java through BlazeDS, my variables of type int are automatically set to 0 if they are NULL or NAN. Is there a way to keep them as NULL ?
Thanks everyone.Please refer to --
https://bugs.adobe.com/jira/browse/BLZ-305 -
I have a variable in the flex-type byte array.
I send this variable to java through RemoteObject (BlazeDS), but do not know what type the variable should be the parameter passed to the java.
Has anyone worked with picture between flex and java shooting in the database?I have a variable in the flex-type byte array.
I send this variable to java through RemoteObject (BlazeDS), but do not know what type the variable should be the parameter passed to the java.
Has anyone worked with picture between flex and java shooting in the database? -
I am creating an application that will use Flex2/Data
Services and Java/Spring. Communication will be via RPC.
I will be using Eclipse with the Flex2 plugin.
Should I create 2 separate projects. One for Flex and one for
Java?
Can the source code for the Flex part and Java part be in the
same directory structure or should I contain each project
separately and deploy each project separately?
I haven't been able to find any info on this so if you can
point me to some I would appreciate it.
ThanksHi,
i would reccomnd using only 1 project and put all your code
into it. You can use maven2 to build/deploy your application that
way. Furthermore you will have all syntax highlighting available to
you this way.
if you are interested, you can download my (
http://www.wowww.nl/wordpress/?p=58)
example project. It is fully based upon a maven2 structure and
combines the flex and java parts into 1 project.
regards,
Marc -
[svn] 1376: eclipse projects: added a flex-flextasks Java project
Revision: 1376
Author: [email protected]
Date: 2008-04-23 17:22:58 -0700 (Wed, 23 Apr 2008)
Log Message:
eclipse projects: added a flex-flextasks Java project
* If you are going to work on flex-flextasks, you need an additional Classpath variable: ANT17_JAR which should point to an appropriate ant.jar on your system (since we don't keep an ant.jar checked into lib).
Modified Paths:
flex/sdk/trunk/development/eclipse/readme.txt
Added Paths:
flex/sdk/trunk/development/eclipse/java/flex-flextasks/
flex/sdk/trunk/development/eclipse/java/flex-flextasks/.classpath
flex/sdk/trunk/development/eclipse/java/flex-flextasks/.projectHi Yair
It appears that WLS only supports mapping a directory to a jar in APP-INF/lib/
C\:/runtime-New_configuration/Common/bin = APP-INF/lib/Common.jar
but NOT to a jar in WEB-INF/lib.
Engineering will look into it sometime to fix it.
Workaround Suggested:
As a workaround, you can include the Java/Utility project as part of the EAR and set as dependent J2EE module to the Web project.
Hope this helps.
Vimala- -
Getting Started with Flex and Java RPC for Free?
Good Morning,
Please forgive me if this is the wrong place to post- I'm
just having trouble wrapping my head around what is and what isn't
available for free in the Adobe Flex world.
I've been working on an application for the last few months
using Open Laszlo (
http://www.openlaszlo.org/),
but I've been running into frustrations with their lack of
up-to-date documentation, and I've found it difficult to bring new
people into the project, since the set of users who know it is so
small.
While I do like that I can compile to DHTML, that's not
enough to hold me there.
I've been looking into Adobe Flex, and it seems like a good
alternative- I'm comfortable paying $500 for the IDE-
I use Eclipse currently, so having a plugin for it sounds
ideal. That said, when I look into ways to talk to a Java backend,
everything points to Flex Data services, which is now part of some
larger package costing tens of thousands of dollars.
I don't need advanced messages, or data synchronization, as
nice as it would be.. All I really need is the ability to call a
Java method, and get an object back, which I can then work with in
Flex.
I see the forum message that asks
"How
do I 'do' Flash for free?, but this only talks about RPC very
broadly. Given that the message is from over a year ago, I thought
it would be better form to start a new topic, than replying to it.
Can someone explain to me what components I'd need, both on
the client side and the server side?
Is there a set of manuals that explain how to do Flex RPC
from Java?
Can Flex compile to any versions of flash earlier than 9?
(Flash 6/7 is still in wide deployment)
Do I want to start using Flex 2, or Flex 3? Are the
components compatible? Will the F3 docs be ready?
Finally, where can I purchase the Charting components? The
ability to create charts such as
this
overcome a decent price barrier.
Thank you for any insight you can offer, and direction you
can provide.quote:
Originally posted by:
cunparis2day
On our project they made a proxy in java where they passed in
the name of the method as a string, and an array of objects for the
parameters. The proxy then sent the request via RMI and returned
the result. Kind of a hack but they say it worked (I wasn't here
when they did it).
What did the RMI talk to? Are there docs on this?
quote:
Another approach, generate the proxy from the java
interfaces. Or better yet, generate it dynamically with CGLIB.
quote:
Finally, I'm investigating using Mule for the integration.
Let me know what you think about those suggestions.
We have our own messages, but how would MULE translate them
to Flex?
You know quite a bit more about this, can you take a step
back, and explain? -
Flex for Java Developer?
I am working on flex 1.5 from last 7 months.Ealier i hv
worked on Java (1.5 Yr)
I hv created an application in flex sucessfully.
My Qtn is:
Whether i have to continue with flex or move to another
technologies like Struts etc.
Because i have nil knowlwge of FLASH.
or
I hv to start learning FLASH MX. Is it necessary for
Flex/Java Developer.
I am comfortable with action script if uses for Business
Application but
unable to produce better designs using it.
Please Suggest.
with Regards
Vinaywell vinay if u r thinking about -- Flex Front End to Your
Struts Applications
then ,,
Struts is an open source framework that facilitates the
development of web applications based on Java servlets and other
related technologies. Because it provides a solution to many of the
common problems developers face when building these applications,
Struts has been widely adopted in a large variety of development
efforts, from small projects to large-scale enterprise
applications.
Although Struts greatly facilitates the task of developers,
it doesn't do much to improve the end-user experience: the
end-result is still an application delivered in HTML and using the
traditional HTTP request/response mechanism.
Developers—and organizations in general—are
increasingly looking for solutions to provide their applications
with a more engaging user experience that overcomes the limitations
of HTML.
Macromedia Flex is a presentation server that addresses this
requirement and allows developers to build a new generation of Rich
Internet Applications (RIAs) that combine the usability of desktop
applications with the reach of traditional web applications. -
hi
i have done flex project which contains a videoplayer and some informations.
i have used j2ee server using lcds.
when i run a build.xml file that time the following error occurs
Buildfile: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build.xml
Trying to override old definition of datatype resources
prepare:
[mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build
[mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\WEB-INF
[mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\WEB-INF\classes
[mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\html
[copy] Warning: META-INF\MANIFEST.MF modified in the future.
[copy] Warning: WEB-INF\flex\messaging-config.xml modified in the future.
[copy] Warning: WEB-INF\flex\proxy-config.xml modified in the future.
[copy] Warning: WEB-INF\flex\remoting-config.xml modified in the future.
[copy] Warning: WEB-INF\flex\services-config.xml modified in the future.
[copy] Warning: WEB-INF\lib\backport-util-concurrent.jar modified in the future.
[copy] Warning: WEB-INF\lib\cfgatewayadapter.jar modified in the future.
[copy] Warning: WEB-INF\lib\commons-codec-1.3.jar modified in the future.
[copy] Warning: WEB-INF\lib\commons-fileupload-1.2.1.jar modified in the future.
[copy] Warning: WEB-INF\lib\commons-httpclient-3.0.1.jar modified in the future.
[copy] Warning: WEB-INF\lib\commons-io-1.4.jar modified in the future.
[copy] Warning: WEB-INF\lib\commons-logging.jar modified in the future.
[copy] Warning: WEB-INF\lib\concurrent.jar modified in the future.
[copy] Warning: WEB-INF\lib\flex-messaging-common.jar modified in the future.
[copy] Warning: WEB-INF\lib\flex-messaging-core.jar modified in the future.
[copy] Warning: WEB-INF\lib\flex-messaging-opt.jar modified in the future.
[copy] Warning: WEB-INF\lib\flex-messaging-proxy.jar modified in the future.
[copy] Warning: WEB-INF\lib\flex-messaging-remoting.jar modified in the future.
[copy] Warning: WEB-INF\lib\mxmlc.jar modified in the future.
[copy] Warning: WEB-INF\lib\xalan.jar modified in the future.
[copy] Warning: WEB-INF\web.xml modified in the future.
[copy] Warning: modified in the future.
[copy] Warning: META-INF modified in the future.
[copy] Warning: WEB-INF modified in the future.
[copy] Warning: WEB-INF\classes modified in the future.
[copy] Warning: WEB-INF\flex modified in the future.
[copy] Warning: WEB-INF\lib modified in the future.
[copy] Warning: WEB-INF\src modified in the future.
[copy] Copying 24 files to E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build
[copy] Copied 9 empty directories to 1 empty directory under E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build
[copy] Warning: AC_OETags.js modified in the future.
[copy] Warning: assets\namastecue.flv modified in the future.
[copy] Warning: history\history.css modified in the future.
[copy] Warning: history\history.js modified in the future.
[copy] Warning: history\historyFrame.html modified in the future.
[copy] Warning: icons\16calendar.gif modified in the future.
[copy] Warning: icons\16chat.gif modified in the future.
[copy] Warning: icons\16clock.gif modified in the future.
[copy] Warning: icons\16dairy.gif modified in the future.
[copy] Warning: icons\16files.gif modified in the future.
[copy] Warning: icons\16mail.gif modified in the future.
[copy] Warning: icons\16minus.gif modified in the future.
[copy] Warning: icons\16minus.png modified in the future.
[copy] Warning: icons\16news.gif modified in the future.
[copy] Warning: icons\16next.gif modified in the future.
[copy] Warning: icons\16pad.gif modified in the future.
[copy] Warning: icons\16percent.gif modified in the future.
[copy] Warning: icons\16percent.png modified in the future.
[copy] Warning: icons\16plus.gif modified in the future.
[copy] Warning: icons\16plus.png modified in the future.
[copy] Warning: icons\16previous.gif modified in the future.
[copy] Warning: icons\16previous.png modified in the future.
[copy] Warning: icons\16tag.gif modified in the future.
[copy] Warning: icons\16tag.png modified in the future.
[copy] Warning: icons\32calendar.gif modified in the future.
[copy] Warning: icons\32calendar.png modified in the future.
[copy] Warning: icons\32chat.gif modified in the future.
[copy] Warning: icons\32chat.png modified in the future.
[copy] Warning: icons\32clock.gif modified in the future.
[copy] Warning: icons\32clock.png modified in the future.
[copy] Warning: icons\32dairy.gif modified in the future.
[copy] Warning: icons\32dairy.png modified in the future.
[copy] Warning: icons\32files.gif modified in the future.
[copy] Warning: icons\32files.png modified in the future.
[copy] Warning: icons\32mail.gif modified in the future.
[copy] Warning: icons\32mail.png modified in the future.
[copy] Warning: icons\32minus.gif modified in the future.
[copy] Warning: icons\32minus.png modified in the future.
[copy] Warning: icons\32news.gif modified in the future.
[copy] Warning: icons\32news.png modified in the future.
[copy] Warning: icons\32next.gif modified in the future.
[copy] Warning: icons\32next.png modified in the future.
[copy] Warning: icons\32pad.gif modified in the future.
[copy] Warning: icons\32pad.png modified in the future.
[copy] Warning: icons\32percent.gif modified in the future.
[copy] Warning: icons\32percent.png modified in the future.
[copy] Warning: icons\32plus.gif modified in the future.
[copy] Warning: icons\32plus.png modified in the future.
[copy] Warning: icons\32previous.gif modified in the future.
[copy] Warning: icons\32previous.png modified in the future.
[copy] Warning: icons\32tag.gif modified in the future.
[copy] Warning: icons\32tag.png modified in the future.
[copy] Warning: icons\Thumbs.db modified in the future.
[copy] Warning: icons\alternative_energy.gif modified in the future.
[copy] Warning: icons\alternative_energy.png modified in the future.
[copy] Warning: icons\butterfly.gif modified in the future.
[copy] Warning: icons\butterfly.png modified in the future.
[copy] Warning: icons\cloud.gif modified in the future.
[copy] Warning: icons\forward.png modified in the future.
[copy] Warning: icons\icon_profile_graduate.gif modified in the future.
[copy] Warning: icons\icon_profile_graduate.png modified in the future.
[copy] Warning: icons\icon_profile_man_emp.gif modified in the future.
[copy] Warning: icons\icon_profile_man_emp.png modified in the future.
[copy] Warning: icons\icon_profile_woman_emp.gif modified in the future.
[copy] Warning: icons\icon_profile_woman_emp.png modified in the future.
[copy] Warning: icons\icon_progress.gif modified in the future.
[copy] Warning: icons\icon_progress.png modified in the future.
[copy] Warning: icons\idea_icon.gif modified in the future.
[copy] Warning: icons\idea_icon.png modified in the future.
[copy] Warning: icons\imagelast1.png modified in the future.
[copy] Warning: icons\leaf.gif modified in the future.
[copy] Warning: icons\leaf.png modified in the future.
[copy] Warning: icons\mute.png modified in the future.
[copy] Warning: icons\next .png modified in the future.
[copy] Warning: icons\pause.png modified in the future.
[copy] Warning: icons\pause_grey.png modified in the future.
[copy] Warning: icons\pausenew.png modified in the future.
[copy] Warning: icons\play.png modified in the future.
[copy] Warning: icons\play_big.png modified in the future.
[copy] Warning: icons\play_grey.png modified in the future.
[copy] Warning: icons\playicon.png modified in the future.
[copy] Warning: icons\prev.png modified in the future.
[copy] Warning: icons\repeat.png modified in the future.
[copy] Warning: icons\replay.png modified in the future.
[copy] Warning: icons\rewind.png modified in the future.
[copy] Warning: icons\save_fuel.gif modified in the future.
[copy] Warning: icons\stop.png modified in the future.
[copy] Warning: index.html modified in the future.
[copy] Warning: playerProductInstall.swf modified in the future.
[copy] Warning: modified in the future.
[copy] Warning: assets modified in the future.
[copy] Warning: history modified in the future.
[copy] Warning: icons modified in the future.
[copy] Copying 89 files to E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\html
build:
[javac] Warning: vid\DAOException.java modified in the future.
[javac] Warning: videocue\videoServiceDAO.java modified in the future.
[javac] Warning: videocue\videoVO.java modified in the future.
[javac] Compiling 3 source files to E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\WEB-INF\classes
BUILD FAILED
E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build.xml:79: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "E:\Program Files\Adobe\Adobe Flash Builder 4\jre"
Total time: 500 milliseconds
how i rectify this problem
regards
athiHi,
Please fallow following link
http://www.adobe.com/devnet/flex/articles/flashbuilder_blazeds.html
thanks,
atul ([email protected]) -
I have an java object which returns a map and its a stand
alone application how can i call java object in a flex application.
any sample code is really helpfull for me.
Thanks in advance
Poorna.BlazeDS is your best bet. Try this tutorial,
http://www.flexlive.net/?p=92 -
Flex with Java - DB data access
Hello, folks,
I am developing a Java application and realized that I need
some advice. My application is simple:
I have a MSSQL server, tomcat 5.5 ,flex data services.
In my application , i have two combo boxes.. country, town..
i have populated the country combobox with the values from
DB(country table) obtained using the fill(List ListArgs) in
Assembler Class.
Now, based on the country selected in have to populate my
town combobox from (town table)
How can i populate the town combobox from the DB based on the
country code?
Is there any function to pass the selected index and populate
the town combo box..????
My code is as below:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" >
<mx:DataService id="ds" destination="quick-search-country"
autoCommit="false" autoSyncEnabled="false"/>
<mx:DataService id="tds" destination="quick-search-town"
autoCommit="false" autoSyncEnabled="false"/>
<mx:ArrayCollection id="cntry_list"/>
<mx:ArrayCollection id="town_list"/>
mx:Panel layout="absolute" backgroundColor="#c6daf5"
verticalCenter="0" horizontalCenter="0">
<mx:Form id="SearchForm">
<mx:TabNavigator >
<mx:Canvas label="Hotel" width="339" height="234"
backgroundColor="#ffffff">
<mx:Label x="10" y="91" text="Country :" alpha="0.12"
/>
<mx:ComboBox x="93" y="89" fontSize="10" id="Country"
dataProvider="{cntry_list}"
labelField="countryName"
creationComplete="ds.fill(cntry_list)"
change="tds.getItem(Country.selectedItem)" prompt="United
Kingdom" >
</mx:ComboBox>
<mx:Label x="10" y="126" text="Town / City :"
fontFamily="Georgia" alpha="0.12"/>
<mx:ComboBox id="town" x="94" y="124" fontSize="10"
dataProvider="{town_list}"
labelField="townName" prompt="London WC1" >
</mx:ComboBox>
</mx:Canvas>
</mx:TabNavigator>
</mx:Form>
</mx:Panel>
</mx:Application>
this is my main.mxml . I have CountryAssembler to fill the
country combo and a DAO class . Have a Town assembler..
Please advice me on how to populate the town combo based on
country selected from the DB...
I am really stuck up... and also dont have any documentation
on Flex data services with Java support..
please give me some suggestions on this.
Thanks in Advance,
AmbiliHi Mete,
Thanks for ur reply , Mete. Your reply helped me a lot. Am
using FDS 2.0.
I have a doubt in combo box area itself.
I have two tables by name country_list and town_list
country_list consists of identity column , country_name and
country_code
town_list has identity column, country_code, town_code and
town_name
Normally while we use combobox in jsp, we have key value
pairs for combo box..
For eg:- if we have a Country combo , we have the country
name(United States) as text displayed and its country code (US) as
key.
So if i select the United States , i will be returned with
the value 'US' so that i can use it in query directly as
Select town_name, town_code from town_list where country_code
='US'
But while using flex , am not able to retieve the
country_code from country combo. its only returning the text and
the id.
Here am forced to write a nested query as follows
Select town_name, town_code from town_list where country_code
=( Select country_code from country_list where country_name='United
States')
Is there any way to get the country_code as key while i
select the country from country combo .
And also how to keep 'United States' as selected during the
intial load of the page.
<mx:ArrayCollection id="cntry_list"/>
<mx:ComboBox x="93" y="89" fontSize="10" id="Country"
dataProvider="{cntry_list}"
labelField="countryName"
creationComplete="ds.fill(cntry_list)"
prompt="Select Country" />
please give me some suggestions on this.
Thanks in Advance,
Ambili -
Dear Experts,
I would like to develop one small CRM Product using JAVA Programming Language, However which concepts of Java to be used for development is still on it's way to Identify. recently I heared of Adobe Flex concept and have done enough research to explore the use and it's quite interesting.
I though to Use Adobe Flex (Flash Builder) as an User Interface (UI) for my application for attractive look and feel, where as business logic should be in JAVA program. UI has to receive User commands from front-end and process to back-end application logic for processing.
Can anybody kindly advise on bellow of my doubts:
1. Is Flex Professional user License is just enough to build my application or anyother components to buy to integrate with JAVA/J2EE Code i.e. Live Cycle Services?
2. Use of Live Cycle Services and it's Cost per User/CPU?
3. Validity period of Flex Builder License (Life time or Specific period)
4. How can I get more detailed information on Product, Services etc., from Adobe and it's contact number. as I'm in India.
Kindly advise on my above queries and it would be a great help.. Many Thanks in advance.
Best regards,
SrujanHi,
Please fallow following link
http://www.adobe.com/devnet/flex/articles/flashbuilder_blazeds.html
thanks,
atul ([email protected]) -
Using Flex Performance Profiler for Profiling Flex with Java Applications
Hi , I am planning to use Flex Profiler to profile my Application .
I have developed a sample Application using Flex MXML ,some ActionScript classes for Events and Cairngorm , Java , Oracle as database and Blazeds .
Can i use Flex Performance Profiler to Profile my Application . ?? I am asking this question as i ad read the below line from Adobe site and My Application includes java Methods
"You can use the profiler to profile ActionScript 3.0 applications " Can anybody please tell me What does this mean ?? and can i use the Flex Performnace Profiler . Please suggets me .Thanks Karl for the prompt response .
I am making a call to a Java Method from my Action Script function , or getting data from Java Method into the ActionScript function .
So my question is , will the Flex Profiler will be applicable in this case as it internally calls Java Methods . -
I18N, Sending from flex to Java server
Hi
I'm doing a flex application for client and Java for server
side.
i want to send the name of the user to the server.
<Code>
var loader:URLLoader = new URLLoader();
var vars:URLVariables = new URLVariables();
vars.name = name <-or-> vars.name = escape(name)
var req:URLRequest = new URLRequest(URL_SERVLET);
req.data = metaDataVars;
loader.load(req)
</Code>
When i get the parameters in the server i get them in gybrish
if some
enters it's name in for example Chinease, or Arabic.
the Java function URLDecoder.decode(name) doesn't help
what should i do?
thanks,
-arkiHi
I'm doing a flex application for client and Java for server
side.
i want to send the name of the user to the server.
<Code>
var loader:URLLoader = new URLLoader();
var vars:URLVariables = new URLVariables();
vars.name = name <-or-> vars.name = escape(name)
var req:URLRequest = new URLRequest(URL_SERVLET);
req.data = metaDataVars;
loader.load(req)
</Code>
When i get the parameters in the server i get them in gybrish
if some
enters it's name in for example Chinease, or Arabic.
the Java function URLDecoder.decode(name) doesn't help
what should i do?
thanks,
-arki
Maybe you are looking for
-
ADF BC: range paging on dynamic view object
hi! i have a dynamically generated sql query and i want to get the results one page at a time. for this to work i create at runtime a view object and try to use range paging: String sql = "SELECT ..."; ViewObject vo = appModule.createViewObjectFromQu
-
I've had iTunes 7 for awhile now, and it wasn't till recently that I started to experience problems. When I try to open iTunes, it registers that iTunes.exe is running in the Task Manager, but then it stops. They iTunes.exe prog disappears. There is
-
Recovering data from Temp file following transfer failure
Hey everyone, I'm wondering if anyone knows anything about recovering Lightroom data from temp files. Last month I made a serious, serious error while transferring my files in Lightroom. I was off-loading a month's worth of material off of one hard d
-
How do i clone bootcamp running windows 7
I am trying to clone a windows 7 bootcamp partition running on Lion. I have not been able to find any solutions so far online. Anyone have any advice?
-
After the recent upgrade my print button disappeared from the Menu Bar. I tried to customize the menu bar by adding back the print button but the button does not appear in the list of 'Additional Tools and Features' in the left hand window. I cant lo