blackcompe's Profile User Rating: *****

Reputation: 1156 Grandmaster
Group:
Mentors
Active Posts:
2,557 (0.73 per day)
Joined:
05-May 05
Profile Views:
39,825
Last Active:
User is offline Nov 05 2014 11:23 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
Playstation
Your Car:
Who Cares
Dream Kudos:
150
Expert In:
Java

Latest Visitors

Icon   blackcompe has not set their status

Posts I've Made

  1. In Topic: Linked Lists in C++

    Posted 5 Nov 2014

    1. Parsing the file and modifying the list is a separate issue from creating a linked list, so concentrate on creating the list first.
    2. Assuming you have to create the list from scratch, then should start looking through examples of how to do so. It's not that hard.
    The concepts are straight-forward. You just need to turn it into code. Where's your code at?
    3. You can either make a function-based or class-based list (you probably want the latter).
    4. Technically, you should be able to use references, but I'd suggest using pointers. If you don't know how they work, there are plenty of tutorials.
    5. If you're completely lost, I'd suggest just find the most basic linked list code you can, add it to your project, and learn how to interface with it.
  2. In Topic: Need help on reading a nested for loop!

    Posted 5 Nov 2014

    @lulumars: You can start by editing your post to reflect what the correct output should look like. Use [CODE] tags if the editor doesn't preserve white space.
  3. In Topic: java.sql.SQLException: No suitable driver found for jdbc/jspTotor

    Posted 23 Oct 2014

    Have you included the JAR file for the driver in the build path?
  4. In Topic: Keep selected options on form submit

    Posted 17 Oct 2014

    You simply need to generate a checked dropdown option if that particular option was one of the ones submitted in the form.


    <%
    	String[] opts = //... 
    	String[] selectOpts = request.getParameterValues("dropdownName"); 
    	Arrays.sort(selectOpts);
    %>
    <select name="dropdownName">
    <% for(String o: opts) %>
    	<option value="<%=o%>" <%= Arrays.binarySearch(selectOpts, o) != -1 ? "selected" : "" %>>
    		<%=o%>
    	</option>
    </select>
    
    


    I'm not familiar with the specifics of the HTML you're using, but this should exemplify the logic.
  5. In Topic: Request Dispatcher forward and request attribute

    Posted 26 Sep 2014

    The request has the POST/GET parameter, so if you pass it to the dispatcher, it'll still be there (I think anyways). No need to use sessions. If you do however, it's:

    HttpServletRequest.getSession.setAttribute()
    
    


    The session variable maintains its information throughout the entire browsing session.

My Information

Member Title:
D.I.C Lover
Age:
Age Unknown
Birthday:
August 22
Gender:
Interests:
Programming, PC Hardware, Cars, Running, Basketball, Weight lifting, Good Music, Video Games
Years Programming:
7
Programming Languages:
Java, C\C++, HTML, SQL, MIPS Assembly, PHP, Javascript, Octave, Ruby, Java EE, Eclipse, CodeBlocks

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Comments

Page 1 of 1
  1. Photo

    jon.kiparsky Icon

    11 Jul 2013 - 07:32
    Hey, good to see you again. Hope you've been well.
  2. Photo

    WolverineX Icon

    13 Nov 2012 - 12:20
    Cool!
  3. Photo

    vbabey Icon

    14 Aug 2012 - 21:21
    Thank you for your advice on file handling question I asked...
  4. Photo

    karniv0re Icon

    14 Apr 2012 - 21:24
    thanks man, if it wasn't for you pointing out that line in the exception message, i might have been stuck forever!!
  5. Photo

    smohd Icon

    31 Jan 2012 - 04:00
    Congratulation for the promotion, well deserved :)
  6. Photo

    jon.kiparsky Icon

    27 Dec 2011 - 08:26
    I've been meaning to say - good stuff in the Java forum. You know your stuff and you tell it well. It's a pleasure to read - keep it up.
  7. Photo

    anonymous26 Icon

    01 Oct 2011 - 12:46
    Excellent! :)
  8. Photo

    anonymous26 Icon

    28 Sep 2011 - 12:59
    Wow! We have the same birth date! Congrats on the Expert badge. :)
Page 1 of 1