Search:

Type: Posts; User: abani

Search: Search took 0.08 seconds.

  1. Replies
    0
    Views
    1,162

    portal and portlet

    Hi,
    I am new to Portals and Portlets , any help is welcome for learning this , is there any opensource book pdf or something available.
    Please let me know.

    I do not know is it right place to...
  2. Replies
    2
    Views
    1,844

    servlet init param

    Hi,
    I am creating a web application using some init param for servlet.
    I am using tomcat 6.
    When I am using a '&' character in init param value tag I am getting error.
    What may be the reason.
    ...
  3. Thread: hi

    by abani
    Replies
    2
    Views
    895

    Re: hi

    Hi,
    What kind of help do you need please tell ?

    bean factory
  4. [SOLVED] Re: unable to store, display date and time from db to extjs grid

    Hi,
    Please try format as dd-MM-yyyy'T'HH:mm:ss

    bean factory
  5. Replies
    2
    Views
    1,177

    Re: Error I cannot figure out for the life of me

    Hi,
    Problem is in the bellow code
    // Get inventory value
    public double getInventoryValue() {


    Inventory myInventory = new Inventory();


    myInventory.addToInventory(new DVD(1, "Remember...
  6. Replies
    31
    Views
    5,156

    Re: string==null or string.equals(null) problem

    Hi,
    Please make a test before that condition,
    System.out.println("str ="+str);

    I think this value is null in your case so you are getting the null pointer exception.

    bean factory
  7. Replies
    2
    Views
    1,255

    [SOLVED] Re: java.lang.NullPointerException

    Hi,
    Can you show here what is the null pointer error you are getting and from which line ?

    bean factory
  8. Thread: General Question

    by abani
    Replies
    6
    Views
    2,406

    Re: General Question

    Hi,
    If you are using Set as collection directly you can use contain method of set to test if that object present in that collection.

    bean factory
  9. Replies
    3
    Views
    2,096

    Re: why i can't upload file to database

    Hi,
    Please check that file path exist or not and second thing you can change this path to other directory as sometime there may be file permission issue .

    bean factory
  10. Replies
    3
    Views
    2,023

    Re: will pay 20$ for a web app

    Hi,
    I would like to know what the requirement detail for your web app then I may agree.

    bean factory
  11. Thread: session in jsp

    by abani
    Replies
    3
    Views
    2,247

    Re: session in jsp

    Hi,
    Is this an information or question ?

    bean factory
  12. Replies
    3
    Views
    2,196

    Re: Win 1000$ now [Java WebApp]

    Hi,
    I have very good experience in spring,hibernate,jquery,html,css
    You can contact me on patra.abani@gmail.com .

    bean factory
  13. Replies
    15
    Views
    21,787

    Sticky: Re: Make money today as a Java freelancer

    Hi,
    How I can earn for freelancing for spring,j2ee,hibernate etc.
  14. Re: IllegalStateException: getOutputStream() has already been called for this respons

    Hi,
    I ll suggest not to use while loop for reading the file data rather create a byte array of file data then at one time write that to response.

    bean factory
  15. Re: "com.mysql.jdbc.exceptions.jdbc4.Communication sExc eption: Communications link fa

    Hi,
    Please check the version of database and use the correct jar , I think that may be the cause.
  16. Re: Loading different version of jar lib from servlet

    Hi,
    I ll suggest better you use maven project for such requirement.

    bean factory
  17. Re: Removing Unnecessary Characters from Servlet class

    Hi,
    I think there is some content type issue is there in your jsp.

    bean factory
  18. Re: Tomcat can't find class that is placed directly under classes folder

    Hi,
    I think in your case the import will be directly the file name without any package .
    Please try it
    <%@ page import="Content" %>

    bean factory
  19. Replies
    4
    Views
    6,821

    Re: Upload File - JSP + Servlet + Netbeans

    Hi,
    For file uploading you have to use enctype="multipart/form-data" attribute in form tag.
    and have to provide the path to servlet in action.
    Then have to use a input filed with type file.
    ...
  20. Replies
    6
    Views
    10,282

    Re: converting array into arraylist

    Hi,
    You have to use:
    Integer[] test for this.

    bean factory
  21. Replies
    3
    Views
    6,350

    Re: PhoneBook entries with ArrayList problem

    Hi,
    The modified code will as follow:
    for adding the object in the list,

    entries.add(new PhoneBook("Jim","478-124-7235"));

    bean factory
  22. Replies
    5
    Views
    1,981

    Re: Can't Fix Array Out of Bounds

    Hi,
    I think you need to change your code.
    for <<<
    public static void faceValueOfDie(int numberOfDieRolls)
    {
    Random random = new Random();

    int [] faceVal = new int...
  23. Replies
    4
    Views
    3,110

    Re: Finding Multiple Equal Max Values in an Array

    Hi,
    I think for a better solution a generic class should be created for this to solve it using Reflection too.

    bean factory
  24. Replies
    4
    Views
    9,408

    Re: Eliminating Duplicates in an Array

    hi,
    I am also agree that Set should be used for this what duplicate you do not want just use set of that object.

    bean factory
  25. Replies
    2
    Views
    1,804

    [SOLVED] Re: Iterating through an ArrayList

    Hi,
    I would like to ask you to use Array List of Integer type so the declaration will be
    as follow:

    List<Integer> list= new ArrayList<Integer>();

    Then iterate it using java 5 for loop like...
Results 1 to 25 of 25