Problem in HTMLB..Please Help...urgent....:(

Hello All,
Please refer to the below code:
package com.sap.NewOrderAssignment;
import java.io.Serializable;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
import java.util.GregorianCalendar;
import com.sapportals.htmlb.*;
import com.sapportals.htmlb.enum.TableColumnType;
import com.sapportals.htmlb.table.DefaultTableViewModel;
import com.sapportals.htmlb.table.TableColumn;
public class BeanOrderDetails implements Serializable
{     public Date toDay, orderDate;
     public String toDayAsString;
     public IListModel deliveryAddress;
     public TextEdit address;
     public DefaultTableViewModel orderLines;
     public Locale locale;
     public String poNumber, model, qty;
     public Object colTitle[] = {"Model","Description","Qty (pcs)","AD Price","Net Price","Total amount","Indication ETA","12 NC","Part Del","GIM","# A-box","Pcd/A-box"};
     public BeanOrderDetails()
     {     Calendar cal = new GregorianCalendar();
          toDay = cal.getTime();
          String year = String.valueOf(cal.get(Calendar.YEAR));
          String month = String.valueOf(cal.get(Calendar.MONTH)+1);
          String day = String.valueOf(cal.get(Calendar.DAY_OF_MONTH));
          toDayAsString = year"-"month"-"day;
          deliveryAddress = new DefaultListModel();
          deliveryAddress.setSingleSelection(true);
          deliveryAddress.addItem("1", "Delivery Address1");
          deliveryAddress.addItem("2", "Delivery Address2");
          deliveryAddress.addItem("3", "Delivery Address3");
          //company address
          address = new TextEdit("Company Address");
          address.setRows(4);
          address.setCols(40);
          String line1 = "KPIT Cummins Infosystems Ltd.";
          String line2 = "MIDC, Hinjewadi";
          String line3 = "Pune, India";
          address.setText(line1line2line3);
          address.setEnabled(true);
          //Table creation
          Object data[][] = {{"HQ8894","Sensotec Dry Rota Shaver","500","1,512.00","1,498.00","749.00","08-08-2005","885889401710","N","Y","","50"}};
          orderLines = new DefaultTableViewModel(data, colTitle);     
          TableColumn columnModel = orderLines.getColumnAt(1);
          TableColumn columnDesciption = orderLines.getColumnAt(2);
          TableColumn columnQty = orderLines.getColumnAt(3);
          TableColumn columnADPrice = orderLines.getColumnAt(4);
          TableColumn columnNetPrice = orderLines.getColumnAt(5);
          TableColumn columnTotalAmunt = orderLines.getColumnAt(6);
          TableColumn columnETA = orderLines.getColumnAt(7);
          TableColumn column12NC = orderLines.getColumnAt(8);
          TableColumn columnPartDel = orderLines.getColumnAt(9);
          TableColumn columnGIM = orderLines.getColumnAt(10);
          TableColumn columnABox = orderLines.getColumnAt(11);
          TableColumn columnAmountInBox = orderLines.getColumnAt(11);
          TableColumn columnPcsBox = orderLines.getColumnAt(12);
          columnModel.setType(TableColumnType.INPUT);
          columnModel.setWidth("150");
          columnQty.setType(TableColumnType.INPUT);
          columnDesciption.setWidth("300");
     public void setLocale(Locale l)
     {     locale = l;
     public Locale getLocale()
     {     return locale;
     public void setOrderDate(Date od)
     {     orderDate = od;
     public Date getOrderDate()
     {     return orderDate;
     public void setOrderLines(DefaultTableViewModel mm)
     {     orderLines = mm;
     public DefaultTableViewModel getOrderLines()
     {     return orderLines;
     public void setAddress(String adr)
     {     address.setText(adr);
     public void setTextEditAddress(TextEdit adr)
     {     address = adr;
     public TextEdit getTextEditAddress()
     {     return address;
     public String getAddress()
     {     return address.getText();
     public void setDeliveryAdresses(IListModel model)
     {     deliveryAddress = model;
     public IListModel getdeliveryAddresses()
     {     return deliveryAddress;
     public void setPoNumber(String pon)
     {     this.poNumber = pon;
     public String getPoNumber()
     {     return this.poNumber;
     public void setModel(String m)
     {     this.model = m;
     public void setQty(String quantity)
     {     this.qty = quantity;
     public void getNewRow()
     {     Object data[][] = { {"","Sensotec Dry Rota Shaver ABC","","1,512.00","1,498.00","749.00","08-08-2005","885889401710","N","Y","","50"}};
          this.setQty("");
          this.setModel("");          
          TableColumn columnModel = orderLines.getColumnAt(1);
          TableColumn columnDesciption = orderLines.getColumnAt(2);
          TableColumn columnQty = orderLines.getColumnAt(3);
          TableColumn columnADPrice = orderLines.getColumnAt(4);
          TableColumn columnNetPrice = orderLines.getColumnAt(5);
          TableColumn columnTotalAmunt = orderLines.getColumnAt(6);
          TableColumn columnETA = orderLines.getColumnAt(7);
          TableColumn column12NC = orderLines.getColumnAt(8);
          TableColumn columnPartDel = orderLines.getColumnAt(9);
          TableColumn columnGIM = orderLines.getColumnAt(10);
          TableColumn columnABox = orderLines.getColumnAt(11);
          TableColumn columnAmountInBox = orderLines.getColumnAt(11);
          TableColumn columnPcsBox = orderLines.getColumnAt(12);
          columnModel.setType(TableColumnType.INPUT);
          columnModel.setWidth("150");
          columnQty.setType(TableColumnType.INPUT);
          columnDesciption.setWidth("300");
The above code creates a table. It actually maps the various fields as the TableColumn.
<b><u>Question:</u></b>
I have added a button which appears below this table.
Name of button = AddNewLine
Now, when this button is clicked, a new empy row should appear in the table.
<i><b>My stmts in method - getNewRow() are not working.</b></i>
Please help me do so.
Please help...its kinda urgent.
Thanks and Warm Regards,
Ritu R Hunjan

Hi Ritu,
         First up all I don't see any code where exactly you have added a button in the table.
         Secondly as a general thing,looking on to ur scenario you have initialize the table on the event of clicking the button ie)in ur getNewRow() just initialize your code for building an empty row of the table.
Regards,
guru

Similar Messages

  • Sorting problem in TreeMap, please help urgent :-((

    Hi
    Following is a program, please execute it to see the problem. I am adding four elements in the TreeMap. The problem is when I add the elements it never compares the newly added element with the first element. I was sick of it so to test the TreeMap I created my own small class and defined a Comparator for that class. Following is the code which shows the problem in TreeMap. Am I doing something wrong? Please help its urgent.
    import java.util.*;
    public class SortingCollection {
         public static void main(String[] args) {
              SortingCollection sortingCollection = new SortingCollection();
              sortingCollection.sortingTest();
         public void sortingTest() {
              TreeMap treeMap = new TreeMap();
              treeMap.put(new Test("Bhushan", 1022), new Integer(1022));
              treeMap.put(new Test("Wasil", 1023), new Integer(1023));
              treeMap.put(new Test("Ifti", 1020), new Integer(1020));
              treeMap.put(new Test("Roshan", 1021), new Integer(1021));
              System.out.println(treeMap);
              Test test = new Test("Bhushan", 1028);
              treeMap.put(test, new Integer(1022));
              System.out.println(treeMap);
         public class Test implements Comparable {
              public String name;
              public int age;
              public Test(String name, int age) {
                   this.name = name;
                   this.age = age;
              public int compareTo(Object toBeCompared) {
                   Test casted = (Test) toBeCompared;
                   if (name.equals(casted.name)) {
                        System.out.println("Returning 0 for " + name + " " + casted.name);
                        return 0;
                   System.out.println("Returning -1 for " + name + " " + casted.name);
                   return -1;
              public String toString() {
                   return "[" + name + ", " + age + "]";
    }

    If you are using TreeMap, you should want the keys to be immutable. You can't change the state of the keys of a Map such that their natural order will change, or chaos will happen.
    If the key is the GateKeeperInfo class (which has host, port, and # of users as its data members) and the value is "some other object reference which you need", and this reference is closely tied to the GateKeeperInfo, have you considered making it a member of the GateKeeperInfo?
    That way you don't need this TreeMap business. You can have the natural ordering imposed on the GateKeeperInfo class (which is apparently comparing the host and port only). You can also have a Comparator object that can compare these objects in a different way (# of users, for instance).
    public class MyClass implements Comparable
       String host;
       int    port;
       int    currNumUsers;
       Object someOtherObjectReferenceINeed;
       // or if the object reference you need is an Integer, make that last member
       // an int...
       // Also, let's keep a Comparator in here for comparing # of users.
       // See further down for actual implementation...
       public static final Comparator BY_NUM_USERS = new NumUsersComparator();
         // Use the equal methods to determine whether or not host and port matches
       public boolean equals( Object obj )
       // Use the compareTo method to compare 2 instances in terms of host and port
       public int compareTo( Object obj )
         // Make this object take care of changing # of users, outside of the
         // Comparable interface.
         public int getNumUsers();
         public int bumpNumUsers( int byThisAmount ); // changes # of users...
         // Beef up this object to take advantage of someOtherObjectReferenceINeed
    // Use this Comparator object to compare 2 instances of MyClass
    // according to # of users.
    public class NumUsersComparator implements Comparator
         public int compare( Object a, Object b )
              MyClass left      = (MyClass)a;
              MyClass right      = (MyClass)b;
              // I am assuming both # of users are of the same sign...positive
              return ( right.getNumUsers() - left.getNumUsers() );
    // Now when you need to compare, you can do it 2 different ways...
    // You can use whatever Collection you fits, List, Set, ...
    // I am going to use List in this case
    List gateways = new ArrayList;
    // add the objects...
    gateways.add( /* . . . */ );
    // Now let's sort in terms of user/port
    Collections.sort( gateways );
    // Let's sort in terms of number of users...
    Collections.sort( gateways, MyClass.BY_NUM_USERS );
    // I am going to mix them around now...
    Collections.shuffle( gateways );
    // Now let's find the gateway w/ the largest # of users...
    MyClass currMaxGateway = Collections.max( gateways, MyClass.BY_NUM_USERS );
    .

  • Wired problems... please help urgent!!!

    Hi all, recently I´m having wired problems in my computer... This describes the problem:
    Laste weak:
    -Computer ´not starting: it was allways hanging up in the Platinum screen at startup;
    -next when it started after reboots, one of my dvdrw drives didnt work (the tray didnt open and windows was unable to show the drive in My Computer... this happened a few times before after installing nvidia ide drivers, but after i unninstalled them, it happened a few times 1 or 2 times again);
    -2 or 3 times the computer didnt start again couse it didnt boot and this message appeared (disk not found please insert system disk or something like that)
    -After changing IDE cable in the hard drive the problem was gone for one day or two.
    Yesterday:
    -computer started giving those blue screens of death after being a while in windows (happened several times);
    -the disk when working like hell (making disk defragmentation and other things) reached critical tempereatures (42 ºc showed in HDD Heath) making wired noises turning on and off
    -after restart it wouldnt start windows (started NVIDIA mac adress client or something like that) the boot in bios has the HD in the 1st priority.
    Can someone help me? Im going crazy with my computer...  im suspectin about my hard drime but... dont know...
    this is my rig:
    Amd Athlon 64 2800+ not overclocked
    MSI k8n Neo platinum nForce3 250Gb whith 5.11 nvidia drivers
    1 Gb memory 2x512Mhz 400 kingston
    ATI Radeon 9600xt with Omega drivers Catalyst 5.12
    120 Gb Samsung HD sp1203n
    450w Power supply 

    Hola,
    I'm affraid I have no good news for you as it looks like your computer's Hard Drives is going down.
    URGENT ATTENTION : Backup all your data inmediatly as it's on high risk of being lost.
    Once you have done this, try (if you can) to test that hard drive in another computer. If you get the same
    results in other computer (clicking and spinning up and down) then the hard drive is damaged for sure.
    NOTE:
    Be sure to test it well, because if may seem to work fine for several minutes or even hours. But if the drive
    is indeed damaged, the problems will be back sooner or later.
    For best results, download (from your hard drive manufacturer's support page) the appropiate diagnostic tool,
    and once you have it, run it from DOS. Your hard drive manufacturer, should have instructions on how to use
    the tool, please read them carefully and follow them correctly in order to get the most accurate results once
    you run the tool.
    In the case the hard drive is faulty, then replace it as soon as you can.
    If not, then remove the cable you're using to connect your hard drive to your mainboard and use a new one,
    and see if the problem persists or not.
    Let us know how it goes ok ?
    Be well and good luck 

  • Constant Problems with flash, Please help Urgent for University work

    Hello Im having problems, my 1st frame code is
    stop();
    import flash.events.MouseEvent;
    sync_btn.addEventListener(MouseEvent.CLICK, onClick);
    function onClick (e:MouseEvent):void{
    gotoAndStop(2);
    This seems to work fine, and get my to the 2nd frame, which is where i have problems, my aim is to make a button to continue, and a button to go back to the first frame i p much copied what you used.
    stop();
    SyncMusic_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler1);
    function mouseDownHandler1(event:MouseEvent):void {
    gotoAndStop(3);
    BktoConfig_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler2);
    function mouseDownHandler2(event:MouseEvent):void {
    gotoAndStop(1);
    The instance names were copied straight from where i named them so they are right, this is making me mad because ive been working on cs5.5 at uni, and on cs4 at home and my cs4 doesnt run my cs5.5 work i had made a start on (where all this was working)
    I keep getting the error :
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Untitled_fla::MainTimeline/frame2()
    at flash.display::MovieClip/gotoAndStop()
    at Untitled_fla::MainTimeline/onClick()
    And the button going back doesnt work, Im in urgent need of help because this assignment is due next week, and ive been working on it for at least 2 weeks now and nothing i can do seems to be working.

    The 1009 error indicates that one of the objects being targeted by your code is out of scope.  This could mean that the object....
    - is not in the display list
    - doesn't have an instance name (or the instance name is mispelled)
    - does not exist in the frame where that code is trying to talk to it
    - is animated into place but is not assigned instance names in every keyframe for it
    - is one of two or more consecutive keyframes of the same objects with no name assigned in the preceding frame(s).
    If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.

  • Problem in Deserializing Please Help [Urgent]

    //Pseudo Code
    Class A{
         private ClassB b;
         WriteObject(){
                // I serialize object    member  b    and then store that byte stream in Database.
              This is done successfully.
         readObject(){
               Here i get stream from database and then
               read object b
               b = (ClassB)in.readObject();
    //This also is successful.
    If i print some member field of b it is similar to the 1 which i had saved.
    BUT THE PROBLEM IS HERE:
    if(b == null)
         System.out.println("HOW CAN 'B'  object BE NULL");
    }Class test{
    public static void main(String args[]){
    First i write Object.
    and then Read Object.
    OutPut is
    HOW CAN 'B' object BE NULL

    There could be errors in your code, or B could have been null when it was written out.

  • I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT

    I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT

    If you have a rescue email address on your account then you can use that - follow steps 1 to 5 half-way down this page will give you a reset link on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact Support in your country to get the questions reset : http://support.apple.com/kb/HT5699

  • Starting tomcat problem, please help urgent

    I installed jwsdp on windowsXP . The log file gives this following error when i try to start tomcat:
    java.util.zip.ZipException: Access is denied
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:127)
         at java.util.jar.JarFile.<init>(JarFile.java:138)
         at java.util.jar.JarFile.<init>(JarFile.java:80)
         at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1081)
         at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
         at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:141)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    Bootstrap: Class loader creation threw exception
    java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: Access is denied
         at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1109)
         at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
         at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:141)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    PLEASE HELP ,URGENTLY NEEDED TO SHOW SOME WORK ON THIS.
    THANKS
    jim

    Hi,
    I have a similar problem, i try to deploy a JAR file built on AIX 5.2 platform (jvm 14.1) into Tomcat 5.5.7 running on Windows platform when i try start Tomcat it's fail with the fellowing message
    SEVERE: Error deploying web application directory usi
    java.lang.IllegalArgumentException
         at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:299)
         at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:238)
         at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:73)
         at java.util.jar.JarInputStream.<init>(JarInputStream.java:58)
         at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
         at org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:368)
         at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:187)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3942)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:909)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:872)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1106)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1019)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)

  • Please Help - Urgent

    Hi everyone, I�m having problems with Java Mail, I have just installed it along with the java activation framework, they are located in the following directories:
    JavaMail: C:\jdk1.3.1\lib\javamail-1_2[1]
    Java activation framework: C:\jdk1.3.1\lib\jaf1_0_1[1]
    I have the classpath set as: C:\jdk1.3.1\lib\mail.jar;C:\jdk1.3.1\lib\activation.jar
    When I try to compile the sample code provided with these packages, msgsend.java using Jbuilder 2 I get the following errors:
    Error (36): cannot access directory javax\mail.
    Error (37): cannot access directory javax\mail\internet.
    Error (209): class message not found in class msgsend.
    Error (210): class MessagingException not found in class msgsend
    Error (134): class Session not found in class msgsend
    Error (134): variable Session not found in class msgsend
    Error (139): class Message not found in class msgsend
    Error (139): class MimeMessage not found in class msgsend
    Error (141): class InternetAddress not found in class msgsend
    Error (145): cannot access class Message.RecipientType;neither class nor source found for Message.RecipientType.
    Error (146): Variable InternetAddress not found in class msgsend
    Error (148): cannot access class Message.RecipientType;neither class nor source found for Message.RecipientType.
    Error (149): Variable InternetAddress not found in class msgsend
    Error (151): cannot access class Message.RecipientType;neither class nor source found for Message.RecipientType.
    Error (152): Variable InternetAddress not found in class msgsend
    Error (162): Variable Transport not found in class msgsend
    Error (170): class Store not found in class msgsend
    Error (172): class URLName not found in class msgsend
    Error (172): class URLName not found in class msgsend
    Error (189): class Folder not found in class msgsend
    Error (195): Variable Folder not found in class msgsend
    Error (197): class Message not found in class msgsend
    Error (197): class Message not found in class msgsend
    If I try to use another Java package to compile it I get even more errors (52), I cannot compile it by using the Javac command line compiler, it just says �Bad command or file name�.
    Can anyone tell me Why this is happening and how I might be able to fix it please, I need to start learning Java Mail quickly but at the moment I can�t even begin to do this until I can understand how to get this sample code to work.
    Thanks Everyone
    Noel

    First of all... don't post with topics like "Please Help - Urgent". The topic is supposed to reflect what the question is about.
    Secondly... think for a second. If mail.jar is in C:\jdk1.3.1\lib\javamail-1_2[1]... why are you with your classpath saying that mail.jar is in C:\jdk1.3.1\lib ?
    You classpath is supposed to point directly at you jar-files.
    /Michael

  • I am not able to launch FF everytime i tr to open it, it says FF has to submit a crash report, i even tried doing that and the report was submitted too, but stiil FF did not start, and the problem still persists, please help me solve this issue in English

    Question
    I am not able to launch FF everytime i try to open it, it says FF has to submit a crash report,and restore yr tabs. I even tried doing that and the report was submitted too, but still FF did not start, and the problem still persists, please help me solve this issue
    '''(in English)'''

    Hi Danny,
    Per my understanding that you can't get the expect result by using the expression "=Count(Fields!TICKET_STATUS.Value=4) " to count the the TICKET_STATUS which value is 4, the result will returns the count of all the TICKET_STATUS values(206)
    but not 180, right?
    I have tested on my local environment and can reproduce the issue, the issue caused by you are using the count() function in the incorrect way, please modify the expression as below and have a test:
    =COUNT(IIF(Fields!TICKET_STATUS.Value=4 ,1,Nothing))
    or
    =SUM(IIF(Fields!TICKET_STATUS=4,1,0))
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • PASSWORD FOR FLODERS  PLEAse  HELP URGENT

    HI ALL
    please tell me the method of implementing password
    provision for some folders/files in the system.
    it should ask for password authentification before
    opening when i click on the folder.
    please help urgent
    thanks
    belur

    Hi Swaroopba,
    It can be very well done thru Form based Authentication.
    For eg let me explain with respect to Tomcat.
    Go to
    $TOMCAT_HOME/webapps/examples/WEB-INF directory.
    Please add the following code in it.
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Protected Area </web-resource-name>
    <!-- Define the context URL's to be protected -->
    <url-pattern>/jsp/security/protected</url-pattern>
    </web-resource-collection>
    </security-constraint>
    Please add the following code in it. And you have to specify the roles for it.
    I hope this will be helpful for you.
    Or if you want it in an application, please let me know.
    Thanks
    Bakrudeen

  • HT201263 my ipad give me the apple sign without running up it appears all the time in the screen , i tries to reset my ipad , but still in this problem , can you please help me?

    my ipad give me the apple sign without running up it appears all the time in the screen , i tries to reset my ipad , but still in this problem , can you please help me?

    You may want to look at this about using recovery mode to restore your iPad.
    http://support.apple.com/kb/ht4097

  • Please help URGENT : Chinese handwriting doesn't seem to work on Lion OSX. the handwriting trackpad appears but anything i write in Chinese doesn't appear in word, chrome,..... HELP PLEASE

    please help URGENT : Chinese handwriting doesn't seem to work on Lion OSX. the handwriting trackpad appears but anything i write in Chinese doesn't appear in word, chrome,..... HELP PLEASE
    And in system prefs/language and text/input languages, simplified chinese and traditional chinese are ticked as usual with handwriting options on !!!!

    Please search the forum for "chinese" to find the many other earlier posts about your issue, like
    https://discussions.apple.com/message/15746805#15746805

  • I bought an iphone 5 on 01 February 2013 from your store to use in Turkey. But the phone is sim-locked. What can I do now?  Please help urgently.

    I bought an iphone 5 from apple store in Geneva to use in Turkey. But it is sim-locked. What can I do now. Please help urgently.

    Return it to the store where you purchased & get your money back. Either that, or call the store. No one here can help you, as there is no one from Apple here.

  • How to download garageband old version? i mean version 1.0 to install it on iphone 4s with ios 6.0.1??? please help urgently, how to download garageband old version? i mean version 1.0 to install it on iphone 4s with ios 6.0.1??? please help urgently

    how to download garageband old version? i mean version 1.0 to install it on iphone 4s with ios 6.0.1??? please help urgently, how to download garageband old version? i mean version 1.0 to install it on iphone 4s with ios 6.0.1??? please help urgently

    I did this a few weeks ago to be sure it was going to work for a young person I was giving my ipod to.  Then I reset the information for her and now it will not load.  Very sad.  She is so talented and she really needs this.   Anyone know?

  • I received an iCloud backup notification on my ipad mini but tapping "OK" does not remove it and therefore I am unable to do any activity on my ipad mini. please help urgent.

    I received an iCloud backup notification on my ipad mini but tapping "OK" does not remove it and therefore I am unable to do any activity on my ipad mini. please help urgent.??

    Have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • It won't let me drag an effect from the browser all of a sudden. I have always been able to do before. I am using effects from favorites bin and when I try to drag it, it won't move. I have never had this problem before. Please help.

    It won't let me drag an effect from the browser all of a sudden. I have always been able to do before. I am using effects from favorites bin and when I try to drag it to the timeline, it won't move. I have never had this problem before. Please help.
    P.S. I have tried other effects including transitions and it still won't let me drag.

    Wow that was really quick, thank you so much.  Im not sure at all which version it was because i said it was around 4 years ago he bought it.  I know it isn't under his username, since he's a PC person (ugh) so i know its probably registered to one of our actual names.  isn't there some way to look it up since we did register it, because I'm not even sure where the disks are from when we bought it (we've moved a lot and also have two storage lockers, i know i would have kept it with other disks) but my cd rom drive is actually broken on my computer as well ( i think it got stepped on and is now squished and won't eject or run disks.)
    So is there anyway they can look up that its registered to one of our names since we did register it when we bought and installed it, or do i really have to find the disk with some sort of proof of purchase (i know there would be no receipt after all this time)
    either way, ill do what you suggested to the best of my abilities and thank you so much for answering my questions, i can't even open the program as its incompatible and find out the info from that) so I'm in a bit of a pickle and your response was so thorough and it didn't seem to be posted long enough to even write a well researched response, thanks, all the best,
    sarucia

Maybe you are looking for