Flex with JAVA - Query?

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,
Srujan

Hi,
Please fallow following link
http://www.adobe.com/devnet/flex/articles/flashbuilder_blazeds.html
thanks,
atul ([email protected])

Similar Messages

  • 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,
    Ambili

    Hi 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

  • 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,
    Ravi

    I would go with whatever backend is more familiar to the developers and to the ones who will have to updates the application.

  • Need Help With Java Query String

    I'm new to Java and I'm passing data via a URL to another page(I'm not using a form). I have been succesfull in decoding the string to return the name value below:
    <SCRIPT LANGUAGE="JavaScript">
    function decodeSearchString() {
    var nameValue = new Array();
    var searchStr = unescape(location.search.substring(1));
    if (searchStr) {
    var formElement = searchStr.split("&");
    var tmpArray = new Array();
    for (k = 0; k < formElement.length; k++) {
    tmpArray = formElement[k].split("=");
    nameValue[tmpArray[0]] = tmpArray[1];
    return nameValue
    var srchData = decodeSearchString();
    </SCRIPT>
    However, now I need to add the value returned from the above srcipt to the Java script listed below:
    <SCRIPT Language="Javascript" SRC="#srchData.link#?open&pID=PAR"> </SCRIPT>
    This above script if working will add the HTML from the URL query to the page, but I keep getting a Java Error with this script. Please Help !

    I assume you are using a JSP page and not just solely doing Javascript. IF you are using JSP, then read on. Otherwise, I can revisit your script.
    To obtain the value of the query string, you would use a method call such as:
    String strQuery = request.getQueryString()
    Or, to get a single parameter off the query string, you can call:
    String strSearchData = request.getParameter("paramname");
    Or, if you want all the parameters and values instead of just one long string you can call:
    Enumeration enumParamNames = request.getParameterNames();
    You can use the above enumeration in combination with getParameter() to get the values.
    In order to build your script line and add the query string, you would then do something like this:
    <SCRIPT Language="Javascript" SRC="#<%=strSearchData%>.link#?open&pID=PAR"> </SCRIPT>
    Notice the <%= %> block in the above code.
    I hope that is what you were looking for. Your example is somewhat confusing so I may have answered wrong.
    Mike

  • Adobe Flex with Java webdynpro

    Hello,
    I like to use Adobe flex applications for my webdynpro java projects which then later I can use in portals. I need some learning materials for that. I was looking from google but I haven't found many sources. if you guys can help me out then It would be great.
    Regards,
    NK

    Hi Bala,
    Adobe Flex is not similar to Java Webdynpro. You can get more information from the Adobe Webpage and also a trial version. Adobe Flex is part of Visual Composer Compiler capabilities. At SAP TechEd in Munich was an interessting demo of rendering webdynpro with Flex during the Demo Jam. For more information you can download the Demo Jam Video <a href="http://www.sapteched.com/emea/activities/videos/DemoJam.wmv">here.</a>
    Best Regards,
    Marcel

  • Login security in flex with Java

    Hi ,
    I am looking for login secruity with session in flex.
    Thanks,
    Alok

    If you want to use Java as the back end, you have BlazeDS and
    LiveCycle Data services to make your programming simpler. BlazeDS
    and LCDS will allow you to invoke the Java classes from the Flex
    application. For more details on BlazeDS and LCDS visit the URLs
    below.
    http://www.adobe.com/products/livecycle/dataservices/
    http://opensource.adobe.com/wiki/display/blazeds/BlazeDS
    Hope this helps.

  • Flex with java compilation

    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
    athi

    Hi,
    Please fallow following link
    http://www.adobe.com/devnet/flex/articles/flashbuilder_blazeds.html
    thanks,
    atul ([email protected])

  • FLEX with java

    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

  • 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 .

  • Communicate flex with java offline

    Hi, i have a java desktop application and a flex desktop application.
    I want to incude the java proyect into the flex proyect, without blazeDS or any other service.
    I need it to be offline. Is it possible?
    Thanks!

    Hi,
    Please fallow following link
    http://www.adobe.com/devnet/flex/articles/flashbuilder_blazeds.html
    thanks,
    atul ([email protected])

  • More problems with java query API - getExcerpt fails

    If I write my code this way, everything works:
    mySearchRequest.setQuery(new oracle.ultrasearch.query.Contains(searchString, metadata));
    But if I do this, Document.getExcerpt() starts returning null for the same search hits:
    mySearchRequest.setQuery(
    new oracle.ultrasearch.query.And(
    new oracle.ultrasearch.query.Contains(searchString, metadata),
    new oracle.ultrasearch.query.From(metadata.getGroup(groupToSearch))
    Does anybody know how to make this work? I need to limit my searches by groups so that I don't have to create a new UltraSearch Instance for every single web site that has to be crawled (I have several).
    Troy

    Well, I finally discovered he solution on my own, by reverse-engineering Oracle's own search.jsp (which does not use Oracle's custom tag library, btw) (probably because same doesn't really work, or at least it doesn't what's in the documentation doesn't work) (which isn't surprising).
    You have to do the "From" part of the query as an "attribute filter".
    oracle.ultrasearch.query.Query searchQuery=
    new oracle.ultrasearch.query.Contains(searchString, metadata);
    oracle.ultrasearch.query.Query attrQuery=
    new oracle.ultrasearch.query.From(metadata.getGroup(groupToSearch));
    oracle.ultrasearch.query.Request searchRequest=new oracle.ultrasearch.query.Request();
    searchRequest.setQuery(searchQuery);
    searchRequest.setFilter (attrQuery);
    Maybe that will do somebody some good somewhere...
    Troy

  • Flex with Jboss

    Hi Friends
    I'm developing Flex with java using Blaze-DS under the
    Spring MVC. I've problem in using Jboss, Based on BlazeDS
    Installation guide
    http://opensource.adobe.com/wiki/display/blazeds/Installation+Guide
    configure the jboss with Flex.There is no problem with Flex running
    in Jboss but it couldn't establish connection and business logic
    with java, The Jboss server couldn't through any errors. These same
    war file run under the tomcat server. So please help me to solve
    this problem.
    Thanks&Regrads
    Prakasam

    I don't have any experience with Spring MVC but I was using
    JBoss with Blaze-DS without a problem.
    so my next question is, can you make a echo to work??
    eg, make a function that returns the input string back to the
    flex client.
    Ries

  • How to use Flex with EJB3?

    Anybody know how to integrate Flex with Java?
    I have a EJB3 project with JPA etc...
    Have to use Eclipse with Flex plugin or can i use Flex Builder and Eclipse only for java classes? (preferring the second option)
    I'm getting crazy, because need this for my college work, too fast as possible.
    Please any explanation or sample.
    Thanks everyone.

    Matt you say, i do not need to write servlet, create wsdl...
    But if i dont do this, my Java Business Rules will be visible to client ?
    If yes...
    1- I need to write Servlet to use HTTP protocol to connect with Flex, then create wsdl of my EJB3.
    2- This wsdl will create client side of my application, then i create my Flex interface normally using HTTP Blaze DS ?

  • Problem with java and flex web service

    Hi,
    I have a basic web service written in java using jax ws 2.1
    ri. I need to call it from Flex using the WebService class
    Annotations for the java web method :
    @WebMethod
    public void Login(
    @WebParam(name="server") String serverURL,
    @WebParam(name=AUTHENTICATE_HEADER,header=true,mode=WebParam.Mode.INOUTHolder<Authenticate Header>
    authHeader)
    When I try and call the service from Flex , it can't find the
    login method and attempts to call it fail. If I set the web service
    to RPC based using @SOAPBinding , the method is found but then
    there are issues with the authentication header.
    What do I need to do to get flex web services communicating
    succesfully with java ?
    Are there are any known compatibility issues ? Or guidelines
    for going about this ?
    Any help would be appreciated

    well Shay,
    i've used JDev's tools to developer and to deploy the web service: the war and ear files are automatically generates you to the end of the process.
    I have included all the files java and the compiled classes, but I do not have files jar.
    But don't works: if i create only one java class with all code inside then it works fine!!
    Daniele

  • SQL query with Java Server Pages

    Hey,
    I'm trying to read some information from database with SQL Query. How I can put the parameter that I get from previous *.jsp page to SQL query?
    Technologies that I use are WML, JSP and MySQL.
    I can get the parameter by method getParameter() and it is correct.
    But how to but the requested parameter into sql query and complete the sql query?
    Should I read it to some variable before putting it to sql query?
    */ this works fine */
    out.println("<p>periodi"+request.getParameter("periodi"+"loppu</p>");
    /* this doesn't work */
    ResultSet tulokset = lause.executeQuery("select * from kurssi where periodi='+request.getParameter("periodi")+'");
    /* this doesn't work */
    String periodi=request.getParameter("periodi");
    ResultSet tulokset = lause.executeQuery("select * from kurssi where periodi='periodi' '");
    Thanks,
    Rampe

    Hey,
    I'm trying to read some information from database
    se with SQL Query. How I can put the parameter that I
    get from previous *.jsp page to SQL query?
    Technologies that I use are WML, JSP and MySQL.
    I can get the parameter by method getParameter()
    () and it is correct.
    But how to but the requested parameter into sql
    ql query and complete the sql query?
    Should I read it to some variable before putting it
    it to sql query?
    */ this works fine */
    out.println("<p>periodi"+request.getParameter("periodi"
    "loppu</p>");
    /* this doesn't work */
    ResultSet tulokset = lause.executeQuery("select * from
    kurssi where
    periodi='+request.getParameter("periodi")+'");
    /* this doesn't work */
    String periodi=request.getParameter("periodi");
    ResultSet tulokset = lause.executeQuery("select *
    * from kurssi where periodi='periodi' '");
    Thanks,
    RampeTry this
    ResultSet tulokset = lause.executeQuery("select * from kurssi where periodi=" + "'" +request.getParameter("periodi")+"' " );this should work

Maybe you are looking for

  • Problems with Fadeffect in IE

    Hi there, me again with slight problems ;-) I got a gallery on my site. Evertime you watch a picture it should fade in so i need auto fade in. i´ve created the following Js function function bildfader(){ Spry.Effect.AppearFade('fadeobject', {duration

  • Using back button to correct form mistakes?

    I have a form for people to update their contact information on a site. It has client side form validation but in some cases I generate a message after the fact that something is wrong (for example when the image verification key is wrong). I have a

  • Bluetooth Audio in Car broken after 10.1

    Bold 9700 and 9900 had no issues nor did Z10 prior to 10.1 update. Below is the "service option" screen from the Z10 when connected to my car. Phone works fine to call in/out, transfer conacts is nowhere to be found nor is any of the audio serices..

  • OLE Access and JSP

    I have stored an Excel page in Microsoft Access and defined its attribute to be OLE object. My table is called practice and my database is called dissertation. I want to display the Excel file in a table in a JSP page. Please help....

  • My App dose not work, how do I get my money back?

    I purchased a Game Pad Companion App and dose not work, how do I get my money back?