Search:

Type: Posts; User: jocdrew21

Page 1 of 14 1 2 3 4

Search: Search took 0.63 seconds.

  1. Replies
    2
    Views
    135

    [SOLVED] Re: JSTL giving me an error

    Issue solved. There were two JSTL jar files in the J2EE lib folder causing a conflict.
  2. Replies
    2
    Views
    135

    [SOLVED] Re: JSTL giving me an error

    UPDATE:

    I am getting the following error:


    /fistJSTL.jsp (line: 32, column: 0) The value for the useBean class attribute beans.Bean is invalid.

    However this error makes not sense to me...
  3. Replies
    2
    Views
    66

    Java 1.5 to 1.7

    I have spent serval days on a issue that I have now realized might due to the fact that I have javeEE 1.5 not 1.7. Therefore I went to Oracle pages to download it Java EE - Downloads: GlassFish and...
  4. Replies
    2
    Views
    135

    [SOLVED] JSTL giving me an error

    Below is the Error I am getting from the following code:

    I have added the jar file to the class path and in the tomcat lib folder. I have cleaned the project. I read several sources on the...
  5. Replies
    0
    Views
    138

    Missing Server file in Project Explorer

    I have been chasing my tail trying to deploy a servlet onto tomcat. I have done so several times but all of a sudden I ran into issue after issue. I then noticed today my entire server folder is...
  6. Replies
    0
    Views
    162

    Forms and JSP

    I am trying to submit a form to a servlet with a JSP. I have the correct URL to the servlet, I double checked by running the servlet and copying it. When I run the JSP nothing happens.


    ...
  7. Replies
    1
    Views
    126

    Scala and Play:

    I recently been jumping in JavaEE and I noticed java Play framework. I even found out that Twitter uses it to handle all of its complicated backend computations.

    I just wanted some opinions on...
  8. Replies
    3
    Views
    93

    Re: Creating a graph

    I have tried that, naturally I google my issue like I am sure all of us do here. Here is an example of what I did:



    private ArrayList<List<JButton[]>>connections[][];

    Graph(int x, int y){...
  9. Replies
    3
    Views
    93

    Creating a graph

    I am trying to create a graph so I am hopefully get my Depth First Search / Depth First Search to work. I am going to do it like the following:



    ArrayList<JButton[]>connections[][];
    ...
  10. Replies
    0
    Views
    191

    Connecting to more then one DB

    From my understanding Thread pooling is done for me and all I have to do it alter the "META-INF/context.xml" file. Here is the question:

    Do I all of the databases information here:


    <Context>...
  11. Replies
    8
    Views
    118

    [SOLVED] Re: Hashtable counting words

    Solved:

    If case this is ever googled here is the correct code. It counts the occurrence of a word using a Hashtable. Thanks for the help norm...



    package frequency;

    import...
  12. Replies
    8
    Views
    118

    [SOLVED] Re: Hashtable counting words

    No it is not solved. I want to put in several words and see how many times a certain word occurred.
  13. Replies
    8
    Views
    118

    [SOLVED] Re: Hashtable counting words

    containsKey works when I use it but contains should do the same. I read the API, and looked at tutorials. However it leads me to another question. If I send a the value "Drew" as a key and then send...
  14. Replies
    8
    Views
    118

    [SOLVED] Re: Hashtable counting words

    Now I am even more confused, which makes me realize I need more practice with hashtables. I added a few statements but I keep getting Word does not exist even when it obviously does.



    public...
  15. Replies
    8
    Views
    118

    [SOLVED] Hashtable counting words

    I was browsing around and I found a question asking to find how many times a word occurred in a sentence. I am using a hashtable, over kill yes but I need to use them more. However my counter is not...
  16. Replies
    3
    Views
    228

    Re: MVC and JSPs:

    Is the reason you have not touched this is because there is a better way???
  17. Replies
    3
    Views
    228

    Re: MVC and JSPs:

    MVC is the projects name...

    I am learning JSPs before I jump into JavaEE and Springframe work.
  18. Replies
    3
    Views
    228

    MVC and JSPs:

    I am getting a 404 error in my Tomcat browser in Eclipse. I am trying to implement a MVC design and I cannot figure why I get the following error:


    HTTP ERROR 404

    Problem accessing...
  19. Replies
    0
    Views
    351

    CountDownLatch Question:

    I been doing some thread research and find it really neat that there are so many thread safes classes. Taking them one at a time but I find this interesting:

    If I do this is works fine, as...
  20. Re: Practice with synchronized but dropping a number:

    It most certainly was. Thank you. Attention to detail while cut and pasting is something I need to work on.. Thank you Cornix
  21. Practice with synchronized but dropping a number:

    I am just playing around with threads here but found some weird output.



    Starting....
    List1 size 2000 list2 size1999
    End time: 2667


    Both lists should be 2000, I am having a hard time...
  22. Replies
    3
    Views
    295

    Re: First JSP program Error

    I read what you posted and found the jar file you were referring to and it still did not work. Then I hovered over one of the packages and it said I could import java servlet.jar file 8.0 from...
  23. Replies
    3
    Views
    295

    First JSP program Error

    This is my first JSP program and I used the wizard. I am getting errors on all the imports and many of the methods. Normally I just hover over the error and I can import the desired package but...
  24. Thread: kindly help

    by jocdrew21
    Replies
    2
    Views
    126

    Re: kindly help

    Please put your code using the proper code tags



    static String g;

    public void trying()
    {

    b=(a==10)?20:30;
  25. Replies
    3
    Views
    151

    Re: Program with hashset

    To create the setter and getter it is just like any other. Inside the setter do something along these lines:

    Java - The HashSet Class

    Really great and easy to understand tutorial above.
Results 1 to 25 of 346
Page 1 of 14 1 2 3 4