[ReWire] How to use Logic's MIDI channels only

Sorry for the rather vague subject title, but I can't come up with a better one.
Let me explain the situation:
I'm working on a project with several audio and MIDI tracks and also two ReWired Reason4 instruments, all routed to their corresponding Reason device. (the MIDI information is coming out of Logic and being routed to Reason and the audio is then routed back into Logic)
My problem is with Logic's own MIDI channels. When I record enable one of these (Logic) channels and I play my MIDI keyboard, Reason also responds to that and plays one of the instruments.
So I hear the Logic instrument as well as the Reason instrument. To put it in the easiest way possible, I don't want that.
Is there a way to make Logic stop sending out MIDI information to it's ReWire slave, when a non-rewire channel is record enabled?
Thanks in advance for your help

Hmm that makes perfectly sense... that I haven't thought of that myself
I will try tonight. Thanks!

Similar Messages

  • How to use Logical database in function module?

    I will create a function module in HR.
    but how to use Logical database  in function module ?  Logical database PNP always show screen.in function (RFC) code , it is a matter.

    You cannot attach the LDB to the main program of the function group.
    - So you may [SUBMIT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=submit&adv=false&sortby=cm_rnd_rankvalue] a report which use the LDB and get back the data (export/import), by default in the syntax of SUBMIT the selection-screen will not be displayed
    - Use [LDB_PROCESS|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=ldb_process&cat=sdn_all], fill a structured table for selection, and get data back in another table
    - Use [HR function modules to read Infotypes|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=hrfunctionmodulestoread+Infotypes&adv=false&sortby=cm_rnd_rankvalue].
    Regards

  • Does anyone know if apple's one-to-one program would be a good way to learn how to use logic pro or am I better off going to school to learn audio engineering or something?

    Of course going to school would be a good option, but I want to know if one-to-one is also a good way to learn how to use logic pro. Has anyone been through the one-to-one program for logic pro and can say that they learned how to use logic pro well because of it?

    For sure, one to one training, if given by a tutor who is capable, will hand you the means to build up self-confidence  and will therefore let you operate the hard/software in an intelligent manner, instead of going for the trial and error method which has its pro's and con's too. Once you've passed this beginners phase you will make your own decisions intelligently and then you will also start to get experience and learn even from your mistakes. Something like that in theory and the rest is up to you!
    Have a nice day

  • Req any examples of how to use a USB midi controller​/keyboards with Labview TIA

    Req any examples of how to use a USB midi controller/keyboards with Labview TIA

    Hi,
    To access the MIDI ports you will need to call the Windows SDK. To send MIDI commands is relatively easy, here is an example that shows you how to send data to a MIDI controller or keyboard.
    As far as input goes, this is the hard part. There are a series of functions that you need to call to open up the device, set some buffers and and possibly a callback to get notifications on the incoming data.
    Reading MIDI data will not be an easy task, your best bet will be to implement this in a DLL and call that DLL in LabVIEW, there should be some code available o the web.
    = "http://msdn.microsoft.com/library/default.asp?url​=/library/en-us/multimed/htm/_win32_multimedia_... is a link to the Windows multimedia functions that you could use for MIDI input.
    Let me know if you have any further questions.
    Regards,
    Juan Carlos
    N.I.

  • HOW TO USE LOGICAL AND OR CONDITION TOGETHER

    Please do not post subject in ALL CAPITALS
    Hi All there,
    How to use logical and or condition together
    I wanted to use logical AND OR condition together in where clause of Select Query.
    eg where xyz and or abc
    Regards
    Sagar
    Edited by: Matt on Mar 17, 2009 1:05 PM
    Edited by: Matt on Mar 17, 2009 1:05 PM

    hi,
      You cannot use the logical and  or condition together at the same time in SQL statement. Sachin is correct while using the and and or in the same condition. You can get the data using or condition in SQL statement, and then use the delete statement of internal table using the end condition. please find the following code for the same.
    select *
      from dtab
    where cond1 eq 'A1'
         or cond2 eq 'A2'.
    if sy-subrc eq 0.
      delete itab where cond1 eq 'A1' and 'A2'.
    endif.
    regards,
    Veeresh

  • Why and how we use Logical Database?

    Can anybody explain with example why and how we use logical database?
    Regards,
    Rajan

    Hello,
    SAP comes loaded with all the extras. Among the extras that are most helpful to IT managers are all the access routines needed to pull any business object that managers can think of out of SAP databases. However, SAP has not thought of everything where your particular applications are concerned. SAP organizes its standard database tables to service business units based on conventional business applications. Itu2019s likely your business requires something new, perhaps even something exotic. In that case, you will need to create a new database, using information from different places. Basically, you need a logical database. You need to create a virtual business data object repository consisting of a new kind of record or table that suits your purposes. In addition, the repository should be composed of information that is actually stored in a number of different locations, none of them necessarily logically associated with one another. Letu2019s take a closer look at creating logical databases.
    A case for a logical database
    Suppose my company manufactures widgets of the most obscure variety, and they are components of other widgets. I sell my widgets as raw material for the more sophisticated widgets built by others, but in some cases I actually partner with other manufacturers in creating yet another class of widget. Now, in my world, I consequently have customers who are also partners. I sell to them and I partner with them in manufacturing and distribution. Also, I need an application that uses both of these dual-use relationships.
    Essentially, I have a customer database and a partner database. Neither contains records that are structured to contain the identifying particulars of the other. Thus, I need a hybrid database that gives me tables detailing these hybrid relationships. What can I do? I can go the long way around and write a new database, pulling information from both and creating new objects with a customized program that I write by hand. However, this process is cumbersome and contains maintenance issues. On the other hand, I can use SAPu2019s logical database facility, create my logical database in a couple of minutes, and have no maintenance issues at all.
    Logical database structures
    There are three defining entities in an SAP logical database. You must be clear on all three in order to create and use one.
    u2022     Table structure: Your logical database includes data from specified tables in SAP. There is a hierarchy among these tables defined by their foreign keys (all known to SAP), and you are going to define a customized relationship between select tables. This structure is unique and must be defined and saved.
    u2022     Data selection: You may not want or need every item in the referenced tables that contributes to your customized database. There is a selection screen that permits you to pick and choose.
    u2022     Database access programming: Once youu2019ve defined your logical database, SAP will generate the access subroutines needed to pull the data in the way you want it pulled.
    Creating your own logical database
    ABAP/4 (Advanced Business Application Programming language, version 4) is the language created by SAP for implementation and customization of its R/3 system. ABAP/4 comes loaded with many predefined logical databases that can construct and table just about any conventional business objects you might need in any canned SAP application. However, you can also create your own logical databases to construct any custom objects you care to define, as your application requires in ABAP/4. Hereu2019s a step-by-step guide:
    1.     Call up transaction SLDB (or transaction SE36). The path you want is Tools | ABAP Workbench | Development | Programming Environment | Logical Databases. This screen is called Logical Database Builder.
    2.     Enter an appropriate name in the logical database name field. You have three options on this screen: Create, Display, and Change. Choose Create.
    3.     Youu2019ll be prompted for a short text description of your new logical database. Enter one. Youu2019ll then be prompted to specify a development class.
    4.     Now comes the fun part! You must specify a root node, or a parent table, as the basis of your logical database structure. You can now place subsequent tables under the root table as needed to assemble the data object you want. You can access this tree from this point forward, to add additional tables, by selecting that root node and following the path Edit | Node | Create. Once youu2019ve saved the structure you define in this step, the system will generate the programming necessary to access your logical database. The best part is you donu2019t have to write a single line of code.
    Regards
    Arindam

  • Corresponding Logic 16 Midi channels to Korg Triton 16 midi channels

    Heyyy---- I use to use protools, but I switched over to Logic. What I do is, I recorded all my beats inside my triton., using all 16 tracks in my triton. When I finish I would then slave my triton to pro tools. Then I would create 16 midi channels in pro tools. I would then arm all 16 channels(Channel 1 in protools reads only what is in track 1 one on the triton, Channel 2 in PT only reads track 2 in the triton and so on till 16). Since my triton is now using protool's midi clock---When I hit record on Pro Tools..it then records midi data from the triton onto the Pro tools midi channels, each unique to the tritons specifications datawise.(1to1,2to2,3to3....). hahaha its a funny way to make beats, but yeah...I still like to make beats inside the keyboard. My question is, In Logic how do you set this up in the environment with one keyboard--- like I previously did in protools! Million Dollar Question. Thank you very much!!!

    Okay, thank you very much Bee Jay. my ID seems to have switched on me. Heres the thing...Where do I find the Multiplayer Record mode button. Not only that. By multi instrument.... do you mean mult-timberal external midi????? also...Do I need to change my environment??? Thank you very much, how do I name a whole group to be triton...so when ever i am opening a new session...there is automatically 16 tracks for triton...and 16 for something else...you know..all midi...thank you veryyy much

  • How to use environment for 16 channels?

    Hi all, after much seeking I now believe I can set up one IAC Bus and it will carry 16 MIDI channels to the environment where a channel splitter can de-mix the 16 and I need only 4. How do I set up a transformer to change the the channels to MIDI cc's? or does the channel splitter do that for me?

    Hi again Vacheto, many thanks for sharing your knowledge. Don't worry about the time difference making us wait for replies-when someone in California responds it takes even longer. I did write "So, no, Demix and playback is what I need now", but eventually it will be recorded so if you still have some time my next question is 'what do I change in your Environment sample below your text to make the set up record the whole thing. I will gratefully take your advice about not needing a multi instr. as I see that the channel splitter does it more efficiently.
    My desire is to record in a new app that ,now, only runs from the the terminal[I hope the IAC can use an app in the terminal as an input source! ] and then, no, the recording takes place in Logic, the new app in the terminal adjusts the MIDI velocity curves, then sends to IAC Bus. I can't express my gratitude for so much good help, thanks again. I was surfing the net and came across an amazing piece of softwarewhich is being used by another forum member who is also getting great help from you,I emailed them and asked if they will have an app that will do for a solo melody line as the HCX does for piano solos, so the link here is to timewarp the maker of the HCX. http://www.timewarptech.com/Pages/Products/HCX/HCXVideoDemo.html
    I do want to record the solo parts of several pieces in Logic and have the tap tempo or beat-mapping record my tempo fluctuations and then record the accompaniment that is in the Logic score [piano or string ensemble ] and see if the result is not too tasteless, some tell me I expect too much from a MIDI file-I think the software makers need to get up to date with the music xml platform.

  • How to make Logic auto-select channel when external instrument is selected?

    I recently upgraded hardware and now have to upgrade the OS 9 software (MOTU FreeStyle) I've been using and join the 21st century. I asked a Guitar Center employee about what package to buy and stressed that I wanted the software to auto-select the midi channel since that was a major benefit (for me) in using FreeStyle. I was informed that all of the newer DAW software did this (which made sense to me, after all FreeStyle was already at least 10 years old, although no longer under development (hence OS 9.) Logic Express was specifically recommended.
    Sadly, I don't see this capability in Logic Express. I don't understand why, if I have 15 instruments set up, and I select a new one, I have to manually look at each of the other instruments (assuming I don't have their channels memorized) and see what channels have been used so that I don't accidentally reuse the same one for the new instrument. Doesn't the computer already know what channels are unused??
    In FreeStyle could have 25 instruments set up for a 16 channel keyboard, and as long as there was never more than 16 voices playing at any particular time, the software just managed the channels for me. I don't know what happens if you go over 16 for a 16 channel instrument, I don't think I ever did (I never had voices cut out anyway.)
    Not to berate Logic Express, there's lots of cool stuff in it that I'm looking forward to exploring, and it sounds like you have to jump through hoops even to get MOTU's Digital Performer to emulate the same behavior and I suspect it's as much of a hassle to set it up as to just do it on the fly (from previous experience of "what a salesman says" vs. "what is real.") I'm just trying to figure out how to make the computer do the computer work so that I can do the music work.
    I have lots of partial (and even some complete!) projects to port over and not nearly as much spare time as I'd like to spend playing. I'd rather spend my meager spare time composing, not fighting with the technology.
    Any ideas?
    Thanks,
    -David

    Hi bunker,
    I can't test it at the moment but I think that can be achieved by slightly changing the code like so:
    *<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>*
    *<script type="text/javascript">*
    *$(document).ready(function(){*
    *$("td.GFPFilter span input").focus(function(event){*
    this.select();
    this.value = '';
    *</script>*
    Also, if you found my posts helpful or correct could you apply those labels to the relevant posts?
    Cheers,
    J
    Edited by: J Kremer on 20-Apr-2011 19:23
    Edited by: J Kremer on 20-Apr-2011 19:30

  • **How to use Logic as a sound module with an MPC?!?!**

    So I'm new to Logic, I love the program but don't know a thing about the environment... I've seen people discuss this a lot on the forums but I still haven't been able to figure it out.
    Basically, I am using an MPC 2500 and would like to use Logic as a sound module.
    I know you have to create a new multi track instrument in the environment but as a newbie I just can't seem to put the pieces together. I tried and tried but when I create a new instrument all I get is a box with 16 channels!?
    Does someone have a similar setup? Would anyone mind sending me their environement?
    MacBook Pro   Mac OS X (10.4.7)  

    Pictures worth a thousand words and stuff:
    http://bj.angeltowns.com/images/log_cs.jpg
    Here I've disconnected the physical input object from the sequencer object (called "to recording & thru")
    I've created a channel splitter object, and cabled the physical input object to it. I'm now in the process of option-clicking the channel splitter's output cables (one for each MIDI channel) - ()option-clicking the output cables is a shortcut way to cable to objects on different layers) - and selecting channel 1 (and thus cable 1) to go to Audio Instrument 1, channel 2 (cable 2) to Audio Instrument 2 etc.
    So the MIDI comes in to Logic, gets split into individual channels, and each channel goes to it's own audio instrument via a cable, which you can put any plugins on.
    You can't record into Logic this way now, as we've bypassed the sequencer, but I think you need it simple at this stage

  • How do you change the midi channels of a region?

    Lets say i have a region recorded on midi channel 1, how do I change the notes to be midi channel 2? Thanks

    Depends.
    First of all, are you talking about a MIDI region or an Audio region (Audio regions can "be on a MIDI channel", so to speak, if they contain controllers, i.e., volume, pan, etc.).
    So let's say you're talking about MIDI regions for now.
    The first order of business is to recognize that the actual channel of the MIDI events contained in the region is determined primarily by the MIDI channel that your controller is sending on. For simplicity sake, let's say your controller sends on channel 1, and the track you're recording on is set to play MySynth on channel 1.
    If you're wanting to change the channel from 1 to 2, chances are you want to do this to assign this part to play a different sound on a multi-timbral synth. Let's say that the MySynth object -- as seen in the Environment -- is indeed a multi-timbral synth. If the synth selected for that track is currently assigned to play MySynth 1 (i.e., channel 1), just change it to MySynth 2 (from the track's menu).
    Now, if you opened the Event Editor, you'd see that the channel of the MIDI data is still on channel 1! This is normal. Logic is able to "channelize" the data when you select a destination instrument that is on a different MIDI channel from the one that the data was recorded on. So if your track is now set to play MySynth 2, you can go into the Event Editor all day and change the MIDI channel of the data, but it will still be channelized to channel 2 because that track is assigned to play MySynth on channel 2.
    There are many many reasons why you might still want to change the MIDI channel of the data in the Event Editor despite the channelizing that goes on. But without going into a whole shpiel about these kinds of applications, just know that the primary way to change the MIDI channel is to select an instrument on the desired MIDI channel.

  • How to use a specific MIDI controller to control instruments loudness?

    Hi, I just started using Logic, so it's possible I will find the answer to this question by myself over time, but maybe somebody can point me to the answer right now...
    I want to control the loudness (volume) of a software instruments over time, for a given note, using a MIDI controller channel. The note velocity only controls the loudness of the attack.
    Of course this is not applicable for an instruments such as the piano, but it is quite important for string or wind instruments where you can attack a note very softly but keep playing louder on the same note.
    The MIDI controller to control that could be after touch. In my case, it would be CC2 (breath control), as I use a wind controller.
    My experiment so far is that Logic sees the value of CC2 correctly, but whatever its value, the loudness of the note sound never changes.
    I understand that the answer to that question might depend on the instrument under consideration. Then an example would be of great help.
    Many thanks.
    JD

    Jean-Denis Muys wrote:
    My experiment so far is that Logic sees the value of CC2 correctly, but whatever its value, the loudness of the note sound never changes.
    As it was suggested you can try CC11 or you can transform your existing CC2 to CC11. Patch a transformer between the Physical Input and the Sequencer Input in Click & Ports Environment layer and make the next settings in the transformer:
    Conditions
    Status=Control
    Data Byte 1 (= 2)
    Operations
    Data Byte 1 (Fix 11)
    It this scenario your incoming CC2 will be transformed into CC11 and you can control the Expression (CC11) of a software instrument if it responds to that controller at all ( some software instruments must be mapped previously to have such respond ). Note you will be able to control only the selected track this way.
    You can try to use the Controller Assignment dialog and learn CC2 to control the "level" parameter of an instrument or its channel strip level fader, gainer plugin (which can be inserted in the top plugin slot) etc as well.
    !http://img59.imageshack.us/img59/4967/aglogo45.gif!

  • How Can I separate my MIDI Channels with layered instruments in MainStage 2 With my Axiom 61?

    I have been at it for 3 days straight. I want to play an internal instrument (EVB3 for example) and trigger samples with the EXS24 without triggering notes from the other instrument. I have my keyboard set to MIy help meDI channel 1 and my drum pads set to MIDI channel 10. The still play together. I've tried changing MIDI input on both channel strips to multitimbral, Channel 1 for the keyboard and channel 10 for the drum pads. Still playing together. I've tried changing attributes in the Mapping screen. Still...
    I don't think its the Axiom. I've tried changing MIDI CC numbers but then it won't talk to either instrument. I'm currently using MIDI cables into a 3rd generation M-Box. I've tried using USB as well. Please, somebody help me!!

    Sorry for the late responce, I've been in program mode and haven't had a chance to come back to this.
    I figured it out. It was an option that I had over looked in the Assignments & Mapping tab in Edit Mode. At the bottom of the window that says All Devices. In that menu there is another tab that says Channel 1-16. If you click where it says Unassigned, down in the Screen Control Inspector there is a checked box that says "Send unassigned MIDI to all Channel Strips". If you uncheck that box then everything works perfectly. It is a little extra work having to assign the keyboard everytime you ad a channel strip but when you have to do some serious programming it's worth it.
    Anyone who needs to program with multiple devices should uncheck this right out of the gate. It will save you from pulling your hair out.
    Thank you Bruno for your help. It is much appreciated.

  • How can I manually enter MIDI channel number in Control Surface expert Value Change field?

    I am creating a software interface for a multidimensional controller which can transmit many linear values at the same time. I can not use Learn mode because it always sends data from all sources, but I can split them by MIDI channels. I would like to manually enter controlling values into Control Surface expert view.
    I seem to be able only to input the message, but not MIDI channel on which it is transmitted.

    Stupid me, it's hex... so 80 is Note Off ch 1, 90 Note On ch 1 etc

  • How to use logic:present tag in struts el tag

    Hi
    I am trying to use struts el tags in the jsp page.I am struggling with the following exception: Cannot find bean: "result" in any scope.I couldn't understand why this error is coming even i had the property "result" in my ActionForm.
    ActionForm:
    package com.finocus.cam.struts.bean;
    import java.util.List;
    import javax.servlet.http.HttpServletRequest;
    import org.apache.struts.action.ActionError;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionMapping;
    import com.finocus.cam.common.ValidateFormat;
    public class DetailsForm extends org.apache.struts.action.ActionForm {
         private final static String LOG_TAG = DetailsForm.class.getName() + ".";
         private static final long serialVersionUID = 1L;
         // VARIABLES DECLARATION
         private String name = null;
         private String searchField = null;
         private String searchCriteria = null;
         private String phonenumber = "";
         private String email = "";
         private List results = null;
         private String adminUserName = "";
         private String adminUserEmail = "";
         public DetailsForm() {
         // GETTER AND SETTER METHODS
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
         public String getSearchCriteria() {
              return searchCriteria;
         public void setSearchCriteria(String searchCriteria) {
              this.searchCriteria = searchCriteria;
         public String getSearchField() {
              return searchField;
         public void setSearchField(String searchField) {
              this.searchField = searchField;
         public String getEmail() {
              return email;
         public void setEmail(String email) {
              this.email = email;
         public List getResults() {
              return results;
         public void setResults(List results) {
              this.results = results;
         public String getPhonenumber() {
              return phonenumber;
         public void setPhonenumber(String phonenumber) {
              this.phonenumber = phonenumber;
         public String getAdminUserEmail() {
              return adminUserEmail;
         public void setAdminUserEmail(String adminUserEmail) {
              this.adminUserEmail = adminUserEmail;
         public String getAdminUserName() {
              return adminUserName;
         public void setAdminUserName(String adminUserName) {
              this.adminUserName = adminUserName;
         // DUMPING THE VALUES IN THE CONSOLE
         public void dumpValues() {
              StringBuffer sb = new StringBuffer();
              sb.append("Name'");
              sb.append(name);
              sb.append("SearchField");
              sb.append(searchField);
              sb.append("searchCriteria");
              sb.append(searchCriteria);
              sb.append("'");
              sb.append(" ");
              System.out.println(sb.toString());
         // RESET() METHOD IS USED FOR STORE FORM'S CURRENT VARIABLES DECLARATION
         public void reset(ActionMapping actionMapping, HttpServletRequest request) {
              System.out.println("reset() method is called");
              this.email = null;
              this.searchCriteria = null;
              this.searchField = null;
              this.results = null;
         // VALIDATE() METHOD IS USED TO VALIDATE THE FORM DATA
         public ActionErrors validate(ActionMapping actionMapping,
                   HttpServletRequest request) {
              ActionErrors errors = new ActionErrors();
              System.out.println("Validate()is called");
              // Determine if name has been entered.
              if (getName() == null || getName().length() == 0
                        || getName().equals(" ")) {
                   errors.add("accountText", new ActionError("searchText.error"));
              } else if ((getSearchField().equals("name") == true)
                        && (ValidateFormat.isValidText(getName()) == false)) {
                   errors.add("validAccountName", new ActionError("validName.error"));
              if (getSearchField() == null || getSearchField().length() == 0) {
                   errors.add("accountSearchField", new ActionError(
                             "searchField.error"));
              } else if ((getSearchField().equals("email") == true)
                        && (ValidateFormat.isValidEmail(getName()) == false)) {
                   errors
                             .add("validAccountEmail", new ActionError(
                                       "validEmail.error"));
              } else if ((getSearchField().equals("phonenumber") == true)
                        && (ValidateFormat.isValidPhoneNoFormat(getName()) == false)) {
                   errors.add("validPhoneFormat", new ActionError(
                             "validPhoneFormat.error"));
              if ((getSearchField().equals("searchallfields"))
                        && ((ValidateFormat.isValidText(getName()) == false)
                                  && (ValidateFormat.isValidEmail(getName()) == false) && (ValidateFormat
                                  .isValidPhoneNoFormat(getName()) == false))) {
                   errors.add("validNameEmail",
                             new ActionError("validNameEmail.error"));
              return errors;
    Action class:
    package com.finocus.cam.struts.action;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import com.finocus.cam.db.CAMDbAccess;
    import com.finocus.cam.struts.bean.DetailsForm;
    public class DetailsAction extends org.apache.struts.action.Action implements
              com.finocus.cam.common.CAMConstants {
         private final static String LOG_TAG = DetailsAction.class.getName() + ".";
         // Global Forwards
         public static final String GLOBAL_FORWARD_search = "login";
         // Local Forwards
         public static final String SUCCESS_search = "success";
         private boolean dumpRequestParams = true;
         public DetailsAction() {
         public ActionForward execute(ActionMapping mapping, ActionForm form,
                   HttpServletRequest request, HttpServletResponse response)
                   throws Exception {
              System.out.println("SearchAccount execute() is called");
              HttpSession session = request.getSession(true);
              ArrayList results = null;
              DetailsForm search = (DetailsForm) form;
              String name = search.getName();
              String searchField = search.getSearchField();
              String searchCriteria = search.getSearchCriteria();
              // Dumping the values of input patameters
              if (dumpRequestParams == true) {
                   request.setAttribute("SearchCriteria", searchCriteria);
                   request.setAttribute("SearchField", searchField);
                   request.setAttribute("Text", name);
                   search.dumpValues();
              // Perform search based on what criteria and search Field was entered.
              CAMDbAccess dbAccess = CAMDbAccess.getInstance();
              if (null != searchCriteria && searchField != null) {
                   System.out.println("Search Criteria =" + searchCriteria
                             + "Selected Option =" + searchField);
                   if (searchCriteria.equals(Search_Account) && searchField != null) {
                        results = dbAccess.searchByAccountInfo(name, searchCriteria,
                                  searchField);
                        System.out.println(" Search criteria :Exact Match was selected.<BR>");
              // Place search results in SearchForm for access by JSP.
              search.setResults(results);
              // Forward control to this Action's input page.
              return mapping.findForward(SUCCESS_search);
    My jsp page:
    <%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean" %>
    <%@ taglib prefix="logic" uri="http://struts.apache.org/tags-logic-el" %>
    <%@ taglib uri="/WEB-INF/tld/struts-html" prefix="html" %>
    <html:html>
    <head>
    <title>Search Page</title>
    </head>
    <body colorants="LightGreen">
         <table width="100%" bgcolor="LightGreen">
              <tr>
                   <td align="left"><font color="brown"><h3><b>Search Info</b></h3></font><hr></td>
              </tr>
                   <tr>
              <td align="left"><h4><font color="brown"><b>Search Text:</b></font><%=request.getAttribute("Text")%></h4></td>
                   </tr><tr>
              <td align="left"><h4><font color="brown"><b>Search Field:</b></font><%=request.getAttribute("SearchField")%></h4></td>
              </tr><tr>
                   <td align="left"><h4><font color="brown"><b>Search Criteria:</b></font><%=request.getAttribute("SearchCriteria")%></h4></td>
                   </tr><tr>
                   <html:form action="/results.do">
                        <td><center><html:submit value="AllSearchOptions " /></center></td>
                        </html:form>
                   </tr>
              <tr>
                   <td align="left"><font color="brown"><hr><h2><b>Search Results</b></h2></font></td>
              </tr>
              <tr>
              <td>
              <table border="1" cellspacing="1" cellpadding="3" width="70%"
                   bgcolor="white">
                   <logic:present name="searchbyaccount" property="results">
                   Results exists
                        <c:if test="${size==0 }">
                   <center><font color="red"><b>No Results Found</b></font></center>
                   </c:if>
                   <br>
                        <c:if test="${size>0}">
                        Size is greater than ZERO
                             <table border="1" cellspacing="1" cellpadding="3" width="70%"
                                  bgcolor="white">
                                  <tr>
                                      <th>Customerid</th>
                                       <th>First Name</th>
                                       <th>Last Name</th>
                                       <th>Email</th>
                                       <th>phone Number</th>
                                       <th>Details</th>
                                  </tr>
                                       <c:forEach var="result" items="${results}">
                                        <c:out value="${result}"/>
                                       <tr>
                                            <td><bean:write name="result" property="customerid"></bean:write></td>
                                            <td><bean:write name="result"
                                                 property="accountAdminFirstName"></bean:write></td>
                                            <td><bean:write name="result"
                                                 property="accountAdminLastName" /></td>
                                            <td><bean:write name="result" property="accountability" /></td>
                                            <td><bean:write name="result" property="accountAdminPhone" /></td>
                                            <td><html:form action="/accountDetails.do">
                                                      <html:submit value="Details" />
                                            </html:form></td>
                                       </tr>
                                  </c:forEach>
                             </table>
                        </c:if>
              </logic:present>
              </table>
              </td>
              </tr>
         </table>
    </body>
    </html:html> Please refer me where i done a mistake.Thanks in Advance

    hi all,
    I am doing programs in sturts. My program
    My program purpose is to retrieve data from the
    database.My database is MySql. I know that we can
    write connection code in Action Class, it is ok for
    some less prog's if i want to use the sane connection
    code in more Action Classes it is vasting time and
    so.I don't think it's a good idea to put database code in Action classes. (That's one of the biggest drawbacks of Struts - it's completely tied to Actions, HTTP, and the Web.) Better to move that code into plain old Java objects and let the Actions call them.
    You'll be able to test them without the container or Struts, and you'll be able to reuse those objects in other, non-Web contexts.
    So i want to use <data-sources> tag that is available
    in struts-config.xml. I know that thre is tag withThis is the wrong place to configure a connection pool, too. Struts should have nothing to do with it. What if you change Web frameworks to WebWork or Spring? The connection pool should be configured in the container that hosts your app, not Struts.
    this name, but the problem is i don't know how to use
    this tag. If any budy know how to use this please
    tell me the syntax or any example.
    plese... reply soon..Don't do it. Think about doing it in your container, not Struts.
    %

Maybe you are looking for