Identifying string validity

hi i have a problem creating a class for identify string validity
example a string would be invalid if
String xx = "abcdef'abde";
theres an '
how would i detect any illegal expressions in a string

It all of course depends upon what you define as "invalid". Having said that, for great flexibility in checking strings, matching strings, replacing substrings, etc... look into Java's implementation of Regular Expressions. This is a large and complex subject requiring quite a bit of effort if you are new at it, but the effort pays off in the long run. Have a look here
[http://java.sun.com/docs/books/tutorial/essential/regex/index.html]

Similar Messages

  • Supporting maxChars on editable ComboBox, string validator null out input once max is reached

    I have a ComboBox in a form set to editable, so it acts like a text input but as drop down values as well.
    The data here is required and I want to limit the number of characters that can be entered, normally under a TextInput control you would just set the maxChars.
    I have created a string validator, required is based on seletedLabel so that working as I would expect.
    I set a maximum character limit in the validator which does not limit the text but prevents validation if the count is over, so far so good.
    Now the issue, imagine you set this to 10 characters  maximum, type the 11th character the validator correctly invalidates the control and the standard message pops up and prevent form submission.
    But if the user is still typing as soon as you enter one character over the limit in this example the 12th character the input nulls out to empty string.
    I want to limit the the number of characters that can be typed or the validator to not null out, giving the user a chance to back space instead of clearing the input.
    Any ideas?
    TIA
    flash.

    I am probably missing something with all the scrolling up and down and back and forth, but I can't see how that line can throw an NPE. Or the constructor which it calls.
    What is the exact runtime message?

  • I need dynamic form string validation?

    hai friends,
    dynamic form string validation for
    below code
    var  
    resdata1:ArrayCollection=event.result.RES1; 
    for(i=0;i<resdata1.length;i++){
    pn.visible=
    false; 
    var formlabel:String= resdata1[i].spk_name; 
    frmitem =
    new FormItem();frmitem.direction =
    "horizontal";frmitem.required=
    true;frmitem.label = formlabel;
    if(resdata1[i].hasOptionsList==null){
    txtinput =
    new TextInput();txtinput.id= "txt"+resdata1[i].spk_name;
    frmitem.addChild(txtinput);
    else
    newcb=
    new ComboBox(); 
    var tempdata:ArrayCollection=resdata1[i].ruleName; 
    //newcb.dataProvider=bindata;
    newcb.dataProvider=tempdata;
    newcb.labelField=
    "spko_value";frmitem.addChild(newcb);
    FormContainer.addChild(frmitem);
    pn.visible=
    true;pn.title=resdata1[0].ProfileName;

    Hi,
    Try this. Hopefully this will help you.
    private function createDynamicForm():void{
                    var myForm:Form=new Form();
                    var frmNameItem:FormItem=new FormItem();
                    frmNameItem.label = "Name";
                    var myText:TextInput = new TextInput();
                    frmNameItem.addChild(myText);
                    myForm.addChild(frmNameItem);
                    var myButton:Button=new Button();
                    myButton.label = "Save";
                    myForm.addChild(myButton);
                    this.addChild(myForm);

  • Check string validity with pattern

    hello,
    I want to check the validity of strings given by the user. The only characters authorized are : 'a' to 'z', 'A' to 'Z', '0' to '9', '.', '-', '_', '*', '@' and ' ' (space)
    i want to check this string with a pattern but it does not work.
    Somebody can help me for the pattern because the API javadoc is poor and i have a limited web access in my agency.
    Thanks
       String regex = "[a-zA-Z0-9.*-_@]";
       System.out.println(regex);
       boolean bol = Pattern.matches(regex, field);
       System.out.println(bol);
       ->> result always false for string field="Indy jones";

    try this:
    import java.sql.*;
    import java.io.*;
    import java.util.regex.*;
    import java.util.*;
    public class RegExTest2 {
    public static void main (String args[]) {
    Pattern pat = null;
    Matcher m = null;
    String patternToMatch = "^[a-zA-Z0-9\\.\\*\\-\\_@\\s]+$";
    String line1 = "IndianaJones";
    String line2 = "Indiana Jones";
    String line3 = "Indiana - Jones";
    String line4 = "Indiana&Jones";
    String line5 = "Indiana & Jones";
    String line6 = "  Indiana Jones  ";
    String line7 = "Indiana Jones =";
    pat = Pattern.compile(patternToMatch);
    System.out.println("Pattern to match = " + patternToMatch);
    boolean bol = Pattern.matches(patternToMatch, line1);  
    System.out.println("line1 : expected true and got " + bol);
    bol = Pattern.matches(patternToMatch, line2);  
    System.out.println("line2 : expected true and got " + bol);
    bol = Pattern.matches(patternToMatch, line3);  
    System.out.println("line3 : expected true and got " + bol);
    bol = Pattern.matches(patternToMatch, line4);  
    System.out.println("line4 : expected false and got " + bol);
    bol = Pattern.matches(patternToMatch, line5);  
    System.out.println("line5 : expected false and got " + bol);
    bol = Pattern.matches(patternToMatch, line6);  
    System.out.println("line6 : expected true and got " + bol);
    bol = Pattern.matches(patternToMatch, line7);  
    System.out.println("line7 : expected false and got " + bol);
      } // end main
    } //End Class RegExTest2

  • Xs:duration  string validation using java

    I want to validate the string whether it is valid xs:duration type or not ?
    The time interval is specified in the following form "PnYnMnDTnHnMnS"
    P indicates the period (required)
    nY indicates the number of years
    nM indicates the number of months
    nD indicates the number of days
    T indicates the start of a time section (required if you are going to specify hours, minutes, or seconds)
    nH indicates the number of hours
    nM indicates the number of minutes
    nS indicates the number of seconds
    The following is an example of a duration declaration in a schema:
    P5Y
    P5Y2M10D
    P5Y2M10DT15H
    PT15H
    -P10D(To specify a negative duration, enter a minus sign before the P)

    String.matches("-?P(?=\\d+|T)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d+)(\\d+H)?(\\d+M)?(\\d+S)?)?");will give :
    "P5Y" : true
    "P5Y2M10D" : true
    "P5Y2M10DT15H" : true
    "PT15H" : true
    "-P10D" : true
    "P2M10D5Y" : false
    "" : false
    "P" : false
    "T" : false
    "PT" : false
    "P5YT" : false
    "5Y" : false
    "ABC" : false
    Regards

  • Line string validation and ORA-13349 on polygons

    Hi all,
    We are having the following problem:
    Our application accepts linestrings and connects them to create polygons. Each individual line validates TRUE but some polygons validate with ORA-13349. The problem is caused by lines that we call Lightning bolts. These are lines that cut back very sharp on themselves so that one or more points are within tolerance distance of a line segment.
    An example:
    mdsys.sdo_geometry(2002
    ,null
    ,null
    ,mdsys.sdo_elem_info_array(1, 2, 1)
    ,MDSYS.SDO_ORDINATE_ARRAY(258699.59,472878.73
    ,258688.58,472879.66
    ,258688.589,472879.659));
    Oracle spatial seems to be very tolerant in validating these lines but once they are used in a polygon they are not accepted.
    Why is this ?
    Also we are looking for is a way to detect these lines before the polygons are created.
    thanks, Rene

    Hi,
    To detect the "lightning bolts" this procedure seems promising.
    Do a self intersect of the geometry.
    Determine de spatial relationship between the original and the self intersect.
    If the spatial relationship is not "EQUAL" you have you lightning.
    Here is a real life example:
    declare
    l_geo1 mdsys.sdo_geometry := mdsys.sdo_geometry(2002
    ,90112
    ,null
    ,mdsys.sdo_elem_info_array(1, 2, 1)
    ,mdsys.sdo_ordinate_array(258727.255
    ,472853.276
    ,258724.984
    ,472848.338
    ,258714.12
    ,472852.98
    ,258709.61
    ,472854.55
    ,258710.89
    ,472859.11
    ,258712.41
    ,472865.36
    ,258712.3
    ,472868.37
    ,258711.51
    ,472871.47
    ,258709.83
    ,472874.33
    ,258704.77
    ,472877.1
    ,258699.59
    ,472878.73
    ,258688.58
    ,472879.66
    ,258688.589
    ,472879.659));
    l_geo2 mdsys.sdo_geometry;
    l_result varchar2(100);
    l_tolerance number := 0.0005;
    begin
    l_geo2 := mdsys.sdo_geom.sdo_intersection(l_geo1, l_geo1, l_tolerance);
    l_result := sdo_geom.relate(l_geo1, 'mask=determine', l_geo2, l_tolerance);
    dbms_output.put_line(l_result);
    end;
    This example returns an unknown mask 100110001 which I believe should be a OVERLAPBDYDISJOINT. But it is definitely not an EQUAL.
    I will have to go and find some more examples to test this method.
    thanks Rene

  • String validation without regular expressions

    Hello all
    I'm facing a little problem, basically i have to make a method that validates an input String "a name"
    Numbers and symbols are not allowed, but white spaces are.
    The method has to be implemented without the use of JFormattedTextField or regular expressions.
    What i'm doing right now is this:
    public boolean validate(String name){
       char[] arr=name.toCharArray();
        for(Char c:arr){
          if(!Character.isLetter(c)){
           return false;
      return true;
    }That isLetter() method is very useful but it sees the white spaces are "non letters".
    I am a bit lost at this point, i'm trying a lot of methods of String and Character but nothing seems to work
    do you have any advice?
    Thx

    enrico wrote:
    That isLetter() method is very useful but it sees the white spaces are "non letters".
    I am a bit lost at this point, i'm trying a lot of methods of String and Character but nothing seems to work
    do you have any advice?Yes: don't try to do it all in one expression. 'If' statements allow you to use '&&' and '||' to connect expressions, so use them.
    Second: Work out what you want to do BEFORE you start programming.
    In this case, you need to know exactly which characters you want to allow, +and when+ (see baftos' examples above).
    Third:for(Char c:arr){is meaningless (unless you've defined a class called 'Char').
    Accuracy is important.
    Winston

  • Getting an Object Identifier String given a line of source code? HELP!

    (forgot to close the code tag on that last one!)
    Hi there,
    I am in desparate need of getting the object identifier given a particular line of source code. I need this for the debugger I'm writing, and since the jdb forum never gets reponses; just more unanswered questions.
    Right so, here's my problem in more detail. I can find out when a method is called in the Java virtual machine, and what its name is, and arguments and values and such like - using the Java Debugging Interface. BUT: unfortunately I cannot get the object identifier used in the source code that generated this call. I can however get a unique long id that identifies this object .. if that helps?(thinking hashtables here maybe?!)
    So, I may know that the constructor of EddClass has been called, and this the following line generated this call:
    EddClass edd = new EddClass();.. so what I need is a fail safe way of finding out "edd" from this - given all types of method calls.
    This is quite tricky because there are loads of ways methods can be called e.g.
    tty.getClassExclusions(); // Here I would know getClassExclusions had been called, and I would need to find out the object identifier "tty" called it
    Temp a, b, c;
    a = b = c = new Temp(); // Here I would know the constructor for Temp had been called, but now I would just want to know "c"
    AnotherEg ae = (new Egg()).getAnotherEg(); // and in this last case if I had found out that the Egg constructor had been called, I don't want to find out any object identifier from this line of code - since the object is anonymous; however if I had found out that getAnotherEg() had been called I would want "ae"Ok, well - please help: I'm making a Java Animator that will be freely available - that serves to graphically animate the execution of another java program. It'd be cool if one of you guys could help make it really cool. Plus there are Dukes available!!
    - Edd.

    this is quite a complicated question I think!
    I'm not sure but you maybe need to know just about the whole java lang. spec to do this.
    I'm sure there are plenty of free java parsers around, so unless you have a lot of time available its probably best to download one, figure some way to feed it a single line from within a code block, and extract its symbol table.
    Once you have the symbol table, there will probably be some other data available from the parser to say which are identifiers.
    Its then up to your debugger to figure out which one is the interesting one!
    sorry this is so vague but I think you've asked for something that is quite involved!
    asjf

  • LTRIM and RTRIM syntax to identify string between commas

    My [Locations] field is a character field that contains <addresses> separated by commas
    ie: (1 University Avenue, 3 Maple Street, 575 Commonwealth Avenue,,,,,,,)
    I want to select the <address> between the 2nd and the 3rd comma ......575 Commonwealth Avenue
    Can someone please help me with the syntax for writing this select statement.
    I've tried some due diligence, but am having problems.
    In another scenario, I'm also going to need to update the address by specifying its location in the textstring.
    Thanks in advance for your help.
    -Gary

    Let me explain ->
    Since, you didn't provide any table structure - so i need to prepare one virtual table.
    -----My Dummy Table With Data Part ------
    satyaki>with pp
      2  as
      3    (
      4      select '1 University Avenue, 3 Maple Street, 575 Commonwealth Avenue,,,,,,,' cola from dual
      5    )
    ------End Of My Dummy Table With Data Part--------
      6  select trim(substr(cola,instr(cola,',',1,2)+1,instr(cola,',',1,3) - instr(cola,',',1,2)-1)) res
      7  from pp;In your case,
    You can only use the select statement. cola - will be your data column name.
    Now, talking about INSTR function ->
    instr(cola,',',1,2)As you can see the digit in bold part, it will find the ',' with 2nd occurrence inside your string.
    Similarly, instr(cola,',',1,3) - this will find the third occurrence of ',' inside you string.
    Now,
    You have to see the substr function.
    In substr, you have to pass the column name on which you want to extract the required data, then you have to pass the starting position of the character from where you want extract the data, then you have to pass the number of character you want to cut from the start position.
    So, i've used ->
    substr(cola,instr(cola,',',1,2)+1,instr(cola,',',1,3) - instr(cola,',',1,2)-1)cola -> Source String
    instr(cola,',',1,2) -> Start position of the String
    instr(cola,',',1,3) - instr(cola,',',1,2)-1 -> Total number character you want extract from your string.
    Regards.
    Satyaki De.

  • String validation

    i need help:
    I need to validate three values in a string using regular expressions
    eg:
    private String state();
    State can only have the following values: wait_Reply, Accept_Reject, chat
    how can i make sure that state ONLY has those values?
    thanks

    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#matches(java.lang.String)
    Then the regex "^one$|^two$|^three$"

  • String validation [ Please dont use StringTokenized or parsing methods]

    Hi
    String strValue = "ENUMORD1:CLEAR;ENUMORD12:NOCLEAR;ENUMEXE1:CLEAR;ENUMEXE2:NOCLEAR;"
    ENUMORD1:CLEAR; ( ends with semi colon)
    I need only ENUMORD1, ENUMORD12, ENUMEXE1, ENUMEXE2. I know how to use StringTokenizer class. However, I wanted to use only String methods only.
    anyone help .. Greatly Appreciated.
    thanks

    Vrishali.Bobade wrote:
    String.split(...) internally does use the regular expression, after all. But if you wish to incorporate more flexibility in your program then Pattern and Matcher class are more suitable. They provide ways to iterate over the result instead of storing them in an array as is the case of String.split.Six months late and adding little to the discussion. Don't you think the OP might have finished his project by now?

  • Turning string into Identifier

    I want to create a jsp instanceof tag taht will take a string as an argument and turn it into tan identifier to test against. e.g.
    String input = "java.lang.String";
    // do somethinng to convert input to identifier object
    boolean isInstance = anotherInputVariable instanceof new Identifier(input);
    Is there a simple way to do this?
    I also want to be able to cast the secondary input into the class represented by the identifier string.. e.g.
    String g = (input) anotherInputVariable;
    How would I do that as well?
    Sorry if this is somewhat coherant... Im on a deathmarch coding project and my brain is awash.

    I want to create a jsp instanceof tag taht will take a
    string as an argument and turn it into tan identifier
    to test against. e.g.
    String input = "java.lang.String";
    // do somethinng to convert input to identifier objectSomething like this?Class c = Class.forName(input);
    boolean isInstance = anotherInputVariable instanceof new Identifier(input);You can't use the instanceof operator, but the Class class has methods that will do what you want - check the API. However, use of these techniques is usually a sign of a bad design.
    Is there a simple way to do this?
    I also want to be able to cast the secondary input
    into the class represented by the identifier string..
    e.g.
    String g = (input) anotherInputVariable;
    How would I do that as well?Impossible - there is no runtime type casting. And it wouldn't do you any good anyway, because at complie time (when you're writing your code) the only information you would have available is that it's an Object, so those are the only methods you could use.

  • Validation Process

    I have a java code that is calculating the marks of students and giving them there average. I just cant seem to make a validation process run. I need it to allow them to only enter in a number between 1-100, and no letters. this is what i have in the way of code, if you could help me work a validation process to do that into it. thx
    import java.awt.*;
    import hsa.Console;
    public class ASMT11_LemireE
    static Console c; // The output console
    public static void main (String[] args)
    c = new Console (); //'c' is the output console
    // Place your program here:
    // Place your program here:
    //Identifiers
    String name;
    String mark1;
    String mark2;
    String mark3;
    String mark4;
    //Name of student
    c.setTextColor(Color.red);
    c.print("Please Enter Full Name:");
    c.setTextColor(Color.blue);
    name = c.readLine ();
    //First Term Marks
    c.setTextColor(Color.green);
    c.println("First Term Marks:");
    //Mark 1
    c.setTextColor(Color.red);
    c.print("Please enter mark for first course:"); //Question
    c.setTextColor(Color.blue);
    mark1 = c.readLine (); //response
    //Mark 2
    c.setTextColor(Color.red);
    c.print("Please enter mark for second coruse:");
    c.setTextColor(Color.blue);
    mark2 = c.readLine ();
    //Mark 3
    c.setTextColor(Color.red);
    c.print ("Please enter mark for third course:");
    c.setTextColor(Color.blue);
    mark3 = c.readLine ();
    //Mark 4
    c.setTextColor(Color.red);
    c.print ("Please enter mark for fourth course:");
    c.setTextColor(Color.blue);
    mark4 = c.readLine ();
    //Clear the screen
    c.setTextColor(Color.green);
    c.println("Press any key to see the marks you got");
    c.getChar();
    c.clear();
    //System.out.println("This is the second page");
    //Show marks
    c.setTextColor(Color.green);
    c.println("These are your marks:");
    //Print Marks
    c.setColor (Color.blue);
    c.drawString ("First Course:" + mark1, 10, 40);
    c.drawString ("Second Course:" + mark2, 10, 60);
    c.drawString ("Third Course:" + mark3, 10, 80);
    c.drawString ("Fourth Course:" + mark4, 10, 100);

    do{
       //Mark 1
      c.setTextColor(Color.red);
      c.print("Please enter mark for first course:"); //Question
      c.setTextColor(Color.blue);
      mark1 = c.readLine (); //response
    }while(!checkMark(mark1));and
    public static boolean checkMark(String mark) {
              try {
                   int m = Integer.parseInt(mark);
                   if (m < 1 || m > 100) {
                        return false;
              } catch (NumberFormatException e) {
                   return false;
              return true;
    }

  • What is "missing bundle identifier"

    Hi. I'm curious about something. If I run either of these commands from the command-line:
    softwareupdate --list
    pkgutil --pkgs
    I get several lines referring to packages in /Library/Receipts that say:
    PackageKit: * Missing bundle identifier
    So, my questions (I want to understand what's happening):
    What is PackageKit?
    What is a "missing bundle identifier", how does the bundle identifier end up missing, and what to do about it?

    http://developer.apple.com/library/mac/#DOCUMENTATION/CoreFoundation/Conceptual/ CFBundles/BundleTypes/BundleTypes.html
    he bundle identifier string identifies your application to the system. This string must be a uniform
    type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen , and period (.)
    characters. The string should also be in reverse-DNS format. For example, if your company’s domain
    is Ajax.com and you create an application named Hello, you could assign the string com.Ajax.Hello
    as your application’s bundle identifier. The bundle identifier is used in validating the application
    signature.
    you may also want to look at:
    http://developer.apple.com/library/ios/#technotes/tn2009/tn2242.html
    Message was edited by: Nils C. Anderson

  • XAML editor failes, Package failed updates, dependency or conflict validation.Windows cannot install package App

    Hi,
    I have just installed Visual Studio Express 2013 update on Windows 8.1 OS, and started a new Windows Phone App project. When I'm opening a new XAML editor window, it fails with the following error message:
    System.Exception
    Package failed updates, dependency or conflict validation.
    Windows cannot install package App.af631a335.af069.a4bf5.a81c7.af4c34f85cb29 because this package depends on another package that could not be found. This package requires
    minimum version 0.0.0.0 of framework Microsoft.VCLibs.120.00.Debug published by any publisher to install. Provide the framework along with this package.
       at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary
    environmentVariables, Int32& processId, Object& processData)
       at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary,
    AppDomainSetup appDomainInfo, FrameworkName targetFramework, String identifier, String baseDirectory)
       at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
       at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
       at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()
       at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
       at Microsoft.Expression.DesignHost.Isolation.IsolatedObjectFactory.Initialize()
       at Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog)
       at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
       at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry&
    entry)
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
       at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
       at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa`1.<StartTask>b__6()
       at System.Threading.Tasks.Task`1.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    I Have tried repairing visual studio But no use.
    I have unistalled all the things and installed again but no use . Please anybody resolve this issue..

    Hello amanojkumar24,
    I see a related error thread from here:
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/b6a66a5a-e3b4-4f1a-848e-c1a6b7668b31/desgin-mode-breaks-down-during-windows-store-application-windows-8?forum=toolsforwinapps
    As you've already repaired Visual Studio but Visual Studio still reports the error for you, we need to look into the error info:
    This package requires minimum version 0.0.0.0 of framework Microsoft.VCLibs.120.00.Debug published by any publisher to install.
    So here we need this package "Microsoft.VCLibs.120.00.Debug"
    Please do the following:
    1. Check your installation that you have enabled VC++ components. If you haven't or if you are not sure of it, please check this blog:
    http://blogs.msdn.com/b/vcblog/archive/2014/08/01/c-runtime-for-sideloaded-windows-8-1-apps.aspx
    Then you can download and install the package from
    here.
    2. You can also make sure you've registered and already have the license:
    http://stackoverflow.com/questions/20010421/vs-2013-xaml-editor-and-microsoft-vclibs-120-00-debug
    Someone fixed it by using this solution.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Account 640001 requires an assignment to a CO object

    Hi,    While i am using this GL 640001, the following error is coming " . This GL is assigned in OKB9 with Profit Center is mandatory (3)  & cost center also assinged for this GL with several profit center. suppose if i assigned any cost center in KA

  • Using Tabstrip update the database table

    Hi Guy's, I created two screens(100 & 110). Click 1 pushbutton HRP1000 related information is displayed. Click 2 pushbutton it displays HRP1001 relatd information. worked to read the data from the Database tables and output displayed sucessfuly .   H

  • Unable to deploy EJB application

    Hi iam getting the following exception while deploying an EJB application in WebLogic 8.1 Exception:weblogic.management.ApplicationException: prepare failed for Addition Module: Addition Error: Exception preparing module: EJBModule(Addition,status=NE

  • Ejb-local-refs not showing up in webapp

    I have an EAR that has a WAR and an EJBJAR inside (nothing new here). I have my WAR reference several local ejbs from the EJBJAR. All of my local-ejb-ref entries in web.xml are not appearing in the console. Are there any restrictions on this? Thanks

  • IPad 3rd gen not charging via wall socket

    Ok I'm really annoyed right now, my iPad 3rd gen has suddenly decided not to charge when plugged via adapter to the wall socket. I thought it was the cables fault so I went into the currys store and bought an apple charger, came home and I have the s