Type: Posts; User: tangara

Page 1 of 2 1 2

Search: Search took 0.28 seconds.

  1. Replies

    Why is my 2nd insert not working ?

    Dear expert,

    I am trying to get the servlet to read the values in this case 'subject' from my html and insert into MySQL database.
    The column subject is supposed to have more than 1 subject or...
  2. how do I insert into many-to-many-relationship tables with JDBC and DAO?

    Dear expert,

    I just learnt DAO.

    However, I have no experience in inserting into many-to-many tables using the DAO pattern.

    table1 : tutor
    table2 : subject
    table 3 : tutor-subject (this is...
  3. Problem in installing JDBC ODBC driver in Netbean

    I'm running my web application on Netbean 7 with apache Tomcat.

    Now, I'm using microsoft access so I'd need to use a My SQL JDBC ODBC connector driver.

    After google around the web, I got this...
  4. My data got posted into my database but there's no message shown to user on broswer.

    I have a Post servlet which will inform user that the information is captured.

    After the form is submitted, my browser is all blank. It is supposed to give me a message.

    The data was captured...
  5. Replies

    Re: java.lang.NullPointerException

    But, I already mentioned I have done the above for countless times......more than 100 or more times....:(((
    And I'm still awaiting how to restart tomcat server inside Netbean....What I notice though...
  6. Replies

    Re: java.lang.NullPointerException

    Here's what I have put:

    <form id="frmData" name="frmData" action="ProcessRegistration" method="post" >

    But, the problem is still there. :(((

    How do I restart Tomcat inside Netbean?
  7. Replies

    Re: java.lang.NullPointerException

    Hi Syed,

    I have followed your instruction to change to the form to match the beans. But, it's still not working. :(((

    Tomcat is still reading the memory thing.

    Can you teach me how to...
  8. Replies

    Re: java.lang.NullPointerException

    Hi Syedbhai,


    <td>Full Name</td>
    <td><input type="text" id="FullName" name="FullName"></td>

  9. Re: Why my POJO is not working in my doPost servlet?

    Thank you angstream, after ammend my line as below, there's no more error (for the time being).

    MembersBean member = new MembersBean();
  10. Why my POJO is not working in my doPost servlet?

    I am trying to add POJO onto my existing doPost servlet cos I think this is the acceptable standard and want to try things out.

    So, what I did was to emulate after a POJO sample I found on the...
  11. Replies

    Re: java.lang.NullPointerException

    Hi Jps,

    Yap. I have put the println not immediately after that line but somewhere at the part where I generate a message "Successful registration".

    At the Tomcat HTTP server monitor, I see...
  12. Replies

    Re: java.lang.NullPointerException

    Sorry to have confused you but I just tested and tested.
    My latest test shows the same Null PointerException. =((

    Please advise how to stop the exception. Thank you.
  13. Replies

    Re: java.lang.NullPointerException

    At line58, my line is:

    String strName = request.getParameter("Fullname").trim();

    And I've put a printlns :

    at the DoPost servlet there but it is not giving me...
  14. Replies


    Dear forum members,

    I try to use back my old doPost codes which used to work fine but now giving me NullPointerException.

    Hope someone can tell me what's going on.
  15. Re: ava.lang.ClassNotFoundException: jdbc:odbc:ABCODBC1

    Hi Syed,

    Thank you so much for your reply.

    Am now reverting to my old code without the JNDI stuff anymore. And now facing another problem which I believe I have to post on a separate thread....
  16. ava.lang.ClassNotFoundException: jdbc:odbc:ABCODBC1

    I'm trying to test out certain coding and I'm receiving the following error.

    Database - MsAccess.

    I've double check on the ODBC DataSource Administrator that I've set things correctly but yet...
  17. javax.naming.NameNotFoundException: Name abcODBC1 is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingConte

    I've tried out the connection pooling. Unfortunately, I'm getting an error which impede my progress. :(

    Am using local host and Ms Access to test out.

    Here's my xml in Context.xml:

  18. Is connection pooling meant for retrieving data only?

    Dear forum users,

    I'd tested out the connection pooling only to realise that it is meant for retrieving data. After putting the connection pooling coding, creating the xml file under META-INI, I...
  19. Replies

    Java Connection Pooling


    Recently, I discovered that it's a good practice to use Connection Pooling.

    However, I'm new to this and the tutorial I have showed a JNDI to connect to database which is alien topic to me....
  20. What is the flow like in integrating shopping cart with paypal?


    I'm about to start my paypal project again after been lapsed for so many countless month. And I'm still very confused and helpless in integrating with Paypal............

    Hence, I hope to...
  21. Re: How do I print out the whole of my text file?

    OK. I heed your advice and added the StringBuilder but I still get the txt in 2 goes; not appearing once in the JOption. :(

    FileReader fileReader = new...
  22. How do I print out the whole of my text file?

    Here's my code:

    public static void main(String[]args){

    FileReader fileReader = new FileReader("data_file/Contact.txt");
  23. Re: how to configure Launch4j the jre bundle and find my JRE version etc?

    Got it. But, after entering the version and making the exe file, the file won't run at all cos it says my jar is corrupted! However, it works perfectly in NetBean IDE. Any idea how to make it...
  24. how to configure Launch4j the jre bundle and find my JRE version etc?


    I've tried to used this Launch4j to test out my mini Java SE programs.

    However, I'm stuck at the JRE bundle.

    What happened was that I've entered all the necessary action required by...
  25. Any free jar to exe free ware there to use?


    I've got a tiny java SE file that I want to create an exe file so that anybody can execute and run it on windows based system.

    I did a google but still can't any free wares to convert a...
Results 1 to 25 of 47
Page 1 of 2 1 2