Search:

Type: Posts; User: tangara

Page 1 of 2 1 2

Search: Search took 0.86 seconds.

  1. 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...
  2. 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...
  3. Replies
    14
    Views
    1,205

    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...
  4. Replies
    14
    Views
    1,205

    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?
  5. Replies
    14
    Views
    1,205

    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...
  6. Replies
    14
    Views
    1,205

    Re: java.lang.NullPointerException

    Hi Syedbhai,

    <code>

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

    </code>
  7. 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();
    member.setFullName(strName);
  8. 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...
  9. Replies
    14
    Views
    1,205

    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...
  10. Replies
    14
    Views
    1,205

    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.
  11. Replies
    14
    Views
    1,205

    Re: java.lang.NullPointerException

    At line58, my line is:

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

    And I've put a printlns :
    out.println(strName);

    at the DoPost servlet there but it is not giving me...
  12. Replies
    14
    Views
    1,205

    java.lang.NullPointerException

    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.
  13. 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....
  14. 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...
  15. javax.naming.NameNotFoundException: Name abcODBC1 is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingConte xt.java:770)

    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:

    <web-app...
  16. 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...
  17. Replies
    0
    Views
    235

    Java Connection Pooling

    Hi,

    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....
  18. What is the flow like in integrating shopping cart with paypal?

    Hi,

    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...
  19. 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. :(


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

    Here's my code:



    public static void main(String[]args){

    try{
    FileReader fileReader = new FileReader("data_file/Contact.txt");
    ...
  21. 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...
  22. how to configure Launch4j the jre bundle and find my JRE version etc?

    Hi,

    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...
  23. Any free jar to exe free ware there to use?

    Hi,

    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...
  24. Re: How to make JOptionPane.MessageDialog appear with a vertical bar when it calls for a constructor from a java class?

    Pardon my stupidity, after my futile attempt...it's not working...

    I tried to put these lines at my getResult() method at Test.java.



    JTextArea jta = new JTextArea(result);
    ...
  25. How to make JOptionPane.MessageDialog appear with a vertical bar when it calls for a constructor from a java class?

    Hi,

    I have a mini java swing program where by it has 3 separate classes.

    - application.java
    - question.java
    - test.java

    Now, the application.java is the main application that will invoke...
Results 1 to 25 of 45
Page 1 of 2 1 2