Search:

Type: Posts; User: jocdrew21

Page 1 of 19 1 2 3 4

Search: Search took 0.41 seconds.

  1. Re: Java 1 Assignment - Imperial/Metric BMI Calculator

    import java.util.Scanner;
    public class Assignment5
    {
    public static void main(String[] args)
    {
    int choice;
    double weightKG;
    double weightLB;
    double heightM;
    double heightIN;
  2. Re: ------NEW SITE COMING--------------------

    If others on this site are skilled in AngularJS, Spring-Boot, Maven and OSGI contact me. Lets make sure this never happens again!
  3. ------NEW SITE COMING--------------------

    Because I love this site so much I am going to make a whole new one!!!!!!!!!!!!!!!!!!

    This site has helped me in the past and I want this to continue. I hate that this has been hacked and the...
  4. Replies
    2
    Views
    225

    HACKED!!!!!!!!!!!!!!!!

    This site has been hacked and putting malware on machines BEWARE!!!!!!!!!!

    Why the hell would someone do this to this site!!!!!
  5. Replies
    3
    Views
    193

    Re: how can i solve this problem?

    Big-O Algorithm Complexity Cheat Sheet

    Google around if you want an answer given to you. If you are a CS major and want to get a job afterwards learn to brainstorm now. If not, have fun in an...
  6. Replies
    1
    Views
    166

    Re: Https certificate exception

    Sure Spring Framework
    https://spring.io/
  7. Replies
    2
    Views
    166

    Re: Big Problem with java

    This post made me laugh a little. Come on man, post something so we can help you. What have you tired. You didn't even write the requirements.

    When you do post please, post the code and a question...
  8. Replies
    2
    Views
    208

    Re: NOOB QUESTION ANDROID GAME DEVELOPMENT

    Hey man you are not really asking a question here. You need to buy a book, read tutorials or go to https://www.udemy.com/ to take a course.
  9. Replies
    2
    Views
    288

    Re: SO Close, Rainfall Array probelm

    public class Source1
    {

    public static void main(String[] args)
    {
    int[] month = new int [12];
    double[] rain = new double [12];

    Scanner keyboard = new Scanner(System.in);
  10. Replies
    4
    Views
    213

    Re: your valuable response

    Please read the instructions prior to posting. You need to add
    before pasting your code and be sure to close it.

    [code]
    import java.awt.*;

    import java.util.*;

    public class SumArray...
  11. Thread: Interface

    by jocdrew21
    Replies
    5
    Views
    211

    Re: Interface

    Google is your friend....



    https://stackoverflow.com/questions/4436087/what-is-the-actual-use-of-interface-in-java
  12. Re: ArrayList&Constructor beginner needs help fast!

    You could do something like:




    Dog d2 = new Dog("Mira", "Miniature Schnauzer", 1, 8);
    Dog d3 = new Dog("Jack", "Jack Russell", 3, 6);
    Dog d4 = new Dog("Charlie", "Pug", 5, 5);
    Dog...
  13. No mapping found for HTTP request with URI [/spring/index] in DispatcherServlet with name 'offers'

    I have been at this for hours and I cannot figure out why this is not working. I keep getting a 404 error in my browser and a error message in the console saying


    No mapping found for HTTP...
  14. Re: Adding global exception handling using JSF 2.x ExceptionHandler

    This site is not very good for posting questions about frameworks. However it is great for JavaSE questions of general theory. I would suggest asking this on Stack overflow.

    I do not know JSF's...
  15. [SOLVED] Re: The element type "meta" must be terminated by the matching end-tag "". Using Thymeleaf and Spring-Boot

    There were several issues here!

    1) I had to close the <meta> tags ie.

    <meta charset="UTF-8" />

    2) I have to commit out the login page because it was not ready to be rendered and lucky for...
  16. [SOLVED] The element type "meta" must be terminated by the matching end-tag "". Using Thymeleaf and Spring-Boot

    I am making a simple app that is suppose to display a Index.html page which has a href that redirects to a form. However spring security intercepts it and has the user log in. Once they are logged in...
  17. Thread: DELETED

    by jocdrew21
    Replies
    0
    Views
    554

    DELETED

    DELETED DUE TO NO RESPONSE
  18. Replies
    7
    Views
    630

    Re: Compiling on the command line on my mac

    An IDE is your best friend. Knowing unix/linux terminal commands are very useful especially when it comes to using things like GIT, frameworks or looking deeper into you system. However you don't...
  19. Replies
    20
    Views
    791

    Re: Java Test Failing

    I have plenty of other tests written and no I have not tested the findone method directly. I have however printed out what it is returning on this current test. The findone method is an out of the...
  20. Replies
    20
    Views
    791

    Re: Java Test Failing

    Yes:
    It just says:


    java.lang.AssertionError:
    Expected :2
    Actual :1
  21. Replies
    20
    Views
    791

    Re: Java Test Failing

    I am able to test the query but calling it in the rest controller:



    /**
    * GET /materials/:id -> get the "id" material.
    */
    @RequestMapping(value = "/materials/{id}",
    ...
  22. Replies
    20
    Views
    791

    Re: Java Test Failing

    See example 10.4
    https://openjpa.apache.org/builds/1.2.3/apache-openjpa/docs/jpa_overview_query.html

    I used the query in the rest controller and it worked, this is why I am confused. I even tried...
  23. Replies
    20
    Views
    791

    Re: Java Test Failing

    Ok so I confirmed the update query is working but the test is still failing. I tried your suggestion and it still failed with the same error


    java.lang.AssertionError:
    Expected :2
    Actual :1...
  24. Replies
    20
    Views
    791

    Re: Java Test Failing

    JPA can calls collections on entity beans which maps the database tables.


    I know you have admin right, can you move this thread? I just thought this area would be correct since the test was not...
  25. Replies
    20
    Views
    791

    Re: Java Test Failing

    Component
    public class MaterialEJB {

    @Inject
    private MaterialRepository materialRepository;

    public MaterialEJB(){

    }
Results 1 to 25 of 454
Page 1 of 19 1 2 3 4