Last Auto Increment

2002-07-24 Thread Duc Nguyen
Hi all, When I insert a record into mysql table I want to obtain the LastAutoIncrement ID, how do i do this in JSP.  I have tried this. INSERT INTO formula (Formula_Code, Formula_Name) VALUES ('Test2','Test Formula2')   Select LAST_INSERT_ID();   If I used those two statement in one line I got the

Form Collection

2002-07-11 Thread Duc Nguyen
Hi all, I have an HTML form that generate on the fly depending on the number of record that returned from the database.  For each record I will generate a check box for user to select.  My question is when the user submit the form on my processing page how do I find out which check box was checked.

Set up Development environment.

2002-06-12 Thread Duc Nguyen
Hi all, I have a web application that I developed using JSP + Servlet.  I'ts working fine in Window 2000 ( this is the plat form I've used to developed in).  Now my boss want me to deploy this application in SlackWare which is Linux Stuff.  I've tried to install JDK1.4 which I have no problem. I am

Tomcat 4.0.3Problem

2002-06-06 Thread Duc Nguyen
Hi all, I have a question I have a bean Called ProductBean have the package of Product.ProductBean.  In my jsp page I've used this statement  <%@ page import="Product.ProductBean"%> to import the product bean. In my jsp page if I do something like this it would give me an error say that it can't f

JSP Help Please

2002-06-04 Thread Duc Nguyen
Hi All, I have a servlet that query out some record and forward it to a jsp page to display.  I got an error which I have no clue what it's complaint about.  here is my code. package Product; import javax.servlet.*;import javax.servlet.http.*;import java.io.*;import java.sql.*;import java.util.*; p

JSP Problem

2002-06-02 Thread Duc Nguyen
Hi all, I am having a weird problem with my jsp page when I try to do the following. 1 I have a form where user can input some information  2 When the form submit I handle the request by a servlet and store the information into a bean. org.apache.jasper.JasperException: Cannot find any i

JSP Problem

2002-06-02 Thread Duc Nguyen
Hi all, I am having a weird problem with my jsp page when I try to do the following. 1 I have a form where user can input some information   Join the world’s largest e-mail service with MSN Hotmail. Click Here === To

Lunix Box For Production

2002-05-21 Thread Duc Nguyen
Hi all, The company I am working for asking me to develop for them a web site that will run in Lunix Box.  I am know some JSP and Servlets, but I am not familiar with the Lunix Environment.  Most of my java experiences was in W2K Professional.  My question is if I am developing this application in

Re: Loading pdf files - urjent

2002-02-28 Thread Duc Nguyen
There is a toolkit you can download from Adobe website. Good luck. Duc >From: "Shahata, Ashraf" <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Loading pdf files - urjent >Date: Thu, 28 Feb 20

Re: jboss v. tomcat v. ?

2002-02-20 Thread Duc Nguyen
Tom , JBOSS is Application Server that running your EJB stuff, and Tomcat is JSP & Servlets Engine they are not the same.  I've used Tomcat and Jboss before it's easy to setup so I would recommend this. Duc >From: Tom Duffy <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages spe

Re: JSP, J2EE

2001-12-18 Thread Duc Nguyen
Hi Chad, I am new to this stuff too, but I think you are very lost beacause of the following reasons: 1 JSP is not an application server. 2    JSP is part of the whole J2EE. 3    If you write pure JSP without using any building object from JRUN you should be able to run it any where else. 4  

Re: How to create a report in JSP

2001-10-19 Thread Duc Nguyen
Are you looking for something like this?http://www.inetsoftware.de/English/produkte/crystalclear/Default.htm good lucks, Duc >From: Nguyen Tra Linh <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject

ASP vs JSP

2001-08-14 Thread Duc Nguyen
I've done a lot of stuff in ASP and I love it.  Recently I've start to learn JSP working with some java bean, Servlets, and Starting to learn EJB too.  Also I am going to attend the .NET trainning course next week in PA. My Get your FREE download of MSN Explorer at http://explorer.msn.com

ASP vs JSP

2001-08-14 Thread Duc Nguyen
I've done a lot of stuff in ASP and I love it.  Recently I've start to learn JSP working with some java bean, Servlets, and Starting to learn EJB too.  Also I am going to attend the .NET trainning course next week in PA. My points is Get your FREE download of MSN Explorer at http://explorer.msn.com

ASP vs JSP

2001-08-14 Thread Duc Nguyen
I've done a lot of stuff in ASP and I love it.  Recently I've start to learn JSP working with some java bean, Servlets, and Starting to learn EJB too.  Also I am going to attend the .NET trainning course next week in PA. My points is Why Try to limit yourself from one particular language?  Why no

Connection to The Database

2001-08-09 Thread Duc Nguyen
Hi all, I am trying to make connection to Oracle DataBase Using Oracle JDBC Thin And UserName = "Scott", Password="tiger"   And I got this Error Message   io exception: Connection refused(DESCRIPTION=(TMP=)(SVNNUM=135294976)(ERROR=(CODE=12505)(EMFI=4   Can someone help me out on this please.  

Re: Pronounciation?

2001-08-01 Thread Duc Nguyen
Hello Hoang Nguyen, I am Duc Nguyen are we borther? or half brother.  Anyways why do you want to know how to pronoun these term for?  Email me back if you like I am at [EMAIL PROTECTED] Duc >From: DuocChua <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages speci

Oracle JDBC

2001-07-19 Thread Duc Nguyen
Hi all, I am new to java and JDBC, I am trying to run the example from mine oracle 8.1.5 Server.  I am getting this error: Exception in thread "main" java.lang.Unsatisfi    at oracle.jdbc.oci8.OCIDBAccess.make_c    at oracle.jdbc.oci8.OCIDBAccess.logon(    at oracle.jdbc.driver.OracleCo

Re: How to pass variables between an HTML/JSP contained in web-broswer on a VB form and the form itself ??

2001-06-28 Thread Duc Nguyen
Try to use and parse the variable out in JSP. good luck Duc >From: Amar Deep Singh <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: How to pass variables between an HTML/JSP contained in web-bro

path

2001-06-19 Thread Duc Nguyen
Hi, I am new with JSP, I am trying to set up JRUN3.1 Developer Edition to learn Servlet and JSP.  I don't know how to set the path for the servlet.jar so what when I compile servlet I don't have to type in the whole path.  Can anyone help me please.   Thanks, DucGet your FREE download of MSN Explor

What's wrong with this code

2001-02-23 Thread Duc Nguyen
Hi, I am new to JSP, I have this code to query out a recordset and display it on the screen.   Manage Products<%@ page import="java.sql.*"%> <% ResultSet objRs = product.getCategory();%> <%  String cat; cat = request.getParameter("cat"); if (cat=="Home"){ %> Home <% } else{%> Home <% }%> <% while

JSP & Servlets Combination

2001-02-21 Thread Duc Nguyen
Hi, I am new to JSP, I know that I can separate JSP and Business Logic by assign some work for Servlet as a middle tier.  Does anyone know any good online tutorials talking about this kind of architecture???   Thanks, DucGet your FREE download of MSN Explorer at http://explorer.msn.com ===

global file

2001-02-20 Thread Duc Nguyen
Hi, I am new to JSP, I've been developing ASP now I am trying to learn JSP.  I am wondering if there any method in JSP that allow me to initialize all the global variable or object etc.  Something that similar to global.asa file. Thanks, DucGet your FREE download of MSN Explorer at http://explore

Re: Java Bean

2001-02-14 Thread Duc Nguyen
What you might have to do is to store your bean.class in Web-INF\Classes\ that would do it. Good luck, Duc >From: Quang Tran <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Java Bean >Date: Wed,

Re: A little Grasshopper + JSP ???

2001-02-12 Thread Duc Nguyen
Hi Joe, I am an ASP programmer and recently I am trying to learn JSP your project sound like a good practice for me if you don't mind that I am new to this stuff give me your spec and tell me exactly what you want me to help you with.  You can email me at [EMAIL PROTECTED] thanks, Duc >From: Jsp

Re: sendRedirect(URL)

2001-02-09 Thread Duc Nguyen
This sound like you need an html form with a submitt button.  I suggest look into form. Good luck. Duc>From: Thuy Murphy <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: sendRedirect(URL)

Re: Problem running JSP using bean in JRun

2001-02-06 Thread Duc Nguyen
I think bean class have to be in Classes directory. good luck Duc >From: "Gowda, Prasad" <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Problem running JSP using bean in JRun >Date: Tue, 6 Feb

Re: pass parameters to other jsp file

2001-01-29 Thread Duc Nguyen
Hello Phuong I think you have one extra /> try this to see if it work let me know. >  >  >  >  THE WAY YOU HAVE ON THE FIRST LINE WAS I hope this would help Duc, >From: nguyen dinh loan phuong <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and

quick question

2001-01-17 Thread Duc Nguyen
Hi, I am new to JSP I just wonder if I can call store procedure in JSP or I have to rewrite my store procedure into EJB. thank you, DucGet your FREE download of MSN Explorer at http://explorer.msn.com === To unsubscribe: mailt

JSP with Bean

2000-10-25 Thread Duc Nguyen
Hi, I am new to JSP. I created a jsp page that display a content of a table in my data base which work fine. I took a further step to create a java bean to handle all of mine connection and Sql task. It complied fine, and everything great however when I call a bean from my jsp I got a compilatio