Re: How to iterate with pagination ??

2006-07-07 Thread Emmanuel Eze
Hi, Check out http://jsptags.com/tags/navigation/pager/pager-taglib-2.0.html Good luck. * Emmanuel Eze* Home Page http://emma.ukrosoft.com: http://emma.ukrosoft.com /With the right attitude - we can achieve the seemingly impossible! /A. Lotfi wrote: Hi, I have a formbean in a seesion, in my

Re: How to iterate with pagination ??

2006-07-07 Thread Emmanuel Eze
Try http://www.getafreelancer.com/projects/by-job/J-EE.html Good luck, Emmanuel Eze Home Page: http://emma.ukrosoft.com With the right attitude - we can achieve the seemingly impossible! Babar Abbas wrote: Hi! check out http://displaytag.sourceforge.net/11/ downolad

Re: jsp cached in Netbeans

2006-07-03 Thread Emmanuel Eze
Doesn't sound like a NetBeans issue. The issue probably lies with the Application Server you are running on. Make sure that your updated jsp pages are recompiled by your container. Cheers, Emmanuel Eze http://emma.ukrosoft.com A. Lotfi wrote: Hi, I am using Neatbeans 5 in windows XP, when I

Re: Sending an Array to a stored procedure:pls help

2006-06-28 Thread Emmanuel Eze
Check out http://asktom.oracle.com/pls/ask/f?p=4950:8:F4950_P8_DISPLAYID:3696816290928 Good luck, Emmanuel Eze http://emma.ukrosoft.com [Kiran Kumar Vedula] wrote: hi I need help on how to send a Array as an input to a stored procedure.Please let me know. I am stuck

Re: passing form field to an xml document

2005-03-07 Thread Emmanuel Eze
You post is not very clear. Do u want to serialize the form fields to an XML document? Where is this XML doc - in memory/database/file system? Give us more details pls. Cheers Emmanuel - Original Message - From: Shahata, Ash [EMAIL PROTECTED] To: JSP-INTEREST@JAVA.SUN.COM Sent: Monday,

Re: passing form field to an xml document

2005-03-07 Thread Emmanuel Eze
-Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED] Behalf Of Emmanuel Eze Sent: 07 March 2005 13:51 To: JSP-INTEREST@JAVA.SUN.COM Subject: Re: passing form field to an xml document You post is not very clear. Do u want to serialize

Re: An issue with response.getOutputStream()

2004-09-21 Thread Emmanuel Eze
Use a servlet instead. Quoting [Your Full Name] [EMAIL PROTECTED]: Hello all, I am getting Illegal State Exception while using response.getOutputStream() in my JSP...Its executing fine..But at the end I am getting java.lang.IllegalStateException. I am using this

Re: how to display image from mysql using jsp

2004-07-03 Thread Emmanuel Eze
. eg javax.servlet.ServletOutputStream cout = response.getOutputStream(); I assume u know u must set response.setContentType() to the right mime type. Hope this helps? Cheers! Emmanuel Eze Quoting lee hwaying [EMAIL PROTECTED]: hi. i have search on the net for 3 days for sample code

Re: Adding up all values in a column.

2003-05-31 Thread Emmanuel Eze
select sum(column_name) from table_name -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED] Behalf Of Ed Ventura Sent: Friday, May 30, 2003 6:08 PM To: [EMAIL PROTECTED] Subject: Adding up all values in a column. How

Re: MS SQL Server JDBC Driver

2003-03-03 Thread Emmanuel Eze
visit http://www.microsoft.com/sql/downloads/default.asp Emma -Original Message- From: Peter Dolukhanov [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 2:10 PM To: [EMAIL PROTECTED] Subject: MS SQL Server JDBC Driver Hello, I was wondering, if from experience, someone could

Re: Off-topic: JSP and MySQL

2002-11-25 Thread Emmanuel Eze
Why not try this approach: try ( conn.setAutoCommit(false); stmt.execute(.); stmt.execute(.); stmt.exexute(); conn.commit(); ) catch (SQLException slqe) { conn.rollback(); } finally { conn.setAutoCommit(true);

Re: Can anyone help.......??

2002-11-15 Thread Emmanuel Eze
Does Apache Tomcat has support EJB? Can anyone please tell an application server supports JSP, Servlet, EJB. Thanks Emma -Original Message- From: Karr, David [mailto:david.karr;ATTWS.COM] Sent: Friday, November 15, 2002 12:39 AM To: [EMAIL PROTECTED] Subject: Re: Can anyone

Encode a JPEG Image

2002-10-03 Thread Emmanuel Eze
Hi, Can someone please advise me on how to serve a JPEG image that is stored as a binary stream in a database? Thanks === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL

Problem with getParameterValues()

2002-09-10 Thread Emmanuel Eze
Hi All, I am having problems getting the TEXT value of my html SELECT tag using getParamater() or getParameterValues(). I noticed that both methods returns just the Value of the selected option and not both the value and the text which I expected getParameterValues() should have returned. For

off topic:HTML encoding

2002-09-04 Thread Emmanuel Eze
Hi All, In my JSP I dynamically generate a hyperlink say: 'vstatus.jsp?rand=wAnIVSMoAAA9dcu49TPn=Qcode=TRANstaffno=92012trancode=T Trid=2002-09-04' Pls note that the parameter trancode has TT as its value. How can I encode the url so that my JSP page cannot see T as a separate parameter.

Re: off topic:HTML encoding

2002-09-04 Thread Emmanuel Eze
thanks -Original Message- From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 1:30 PM To: [EMAIL PROTECTED] Subject: Re: off topic:HTML encoding -Original Message- From: Emmanuel Eze [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04

Daemon Thread

2002-09-03 Thread Emmanuel Eze
Hi All, I need to develop a daemon thread that wakes up at a defined interval to send email based on some conditions. My web application is purely written in JSP. I am trying to choose between writing the daemon as a Servlet or a Java Application. I need to get this daemon running as soon as

Re: JavaMail

2002-08-20 Thread Emmanuel Eze
why don't u use JavaMail API? -Original Message- From: Jan Arenö [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 10:07 AM To: [EMAIL PROTECTED] Subject: JavaMail Hi I have a function that sends a JavaMail. (import sun.net.smtp.SmtpClient;) SmtpClient client = new

Re: Declaration blocks and JSP

2002-08-19 Thread Emmanuel Eze
you'll need to pass them explicitly to ur method -Original Message- From: Campano, Troy [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 3:19 PM To: [EMAIL PROTECTED] Subject: Declaration blocks and JSP When I use a declaration block to write a method like this: %! public

Re: Declaration blocks and JSP

2002-08-19 Thread Emmanuel Eze
an example? thank you! Troy Campano -Original Message- From: Emmanuel Eze [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 8:28 AM To: [EMAIL PROTECTED] Subject: Re: Declaration blocks and JSP you'll need to pass them explicitly to ur method -Original Message- From: Campano

Re: Declaration blocks and JSP

2002-08-19 Thread Emmanuel Eze
} Any ideas? -Original Message- From: Emmanuel Eze [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 8:47 AM To: [EMAIL PROTECTED] Subject: Re: Declaration blocks and JSP use: public String AuthenticateUser(Connection conn, String username,HttpServletRequest request

Re: Declaration blocks and JSP

2002-08-19 Thread Emmanuel Eze
, response, out); % /body /html %! public String AuthenticateUser(HttpServletRequest request, HttpServletResponse response, JspWriter out) throws Exception { out.println(This is working with JSPWRITER out.); return hello; } % thanks! -Original Message- From: Emmanuel Eze

Re: Basic question: repeating code in JSP pages?

2002-08-15 Thread Emmanuel Eze
Hans wrote: If you promise to move the code to a servlet/bean/action later, I tell you how ;-) You can use a JSP declaration to declare a method: %! private String createColumnClause(String column, String value) { ... return clause; } % Note that the method has

Re: Basic question: repeating code in JSP pages?

2002-08-15 Thread Emmanuel Eze
values, see if that can be used to solve your problem. Try to avoid syncronisation - it slows things down and is also a rich source of difficult to fix bugs. -Original Message- From: Emmanuel Eze [SMTP:[EMAIL PROTECTED]] Sent: 15 August 2002 09:15 To: [EMAIL PROTECTED] Subject

Re: Basic question: repeating code in JSP pages?

2002-08-15 Thread Emmanuel Eze
those objects / arrays were created. -Original Message- From: Emmanuel Eze [SMTP:[EMAIL PROTECTED]] Sent: 15 August 2002 09:56 To: [EMAIL PROTECTED] Subject: Re: Basic question: repeating code in JSP pages? Are u saying that I do not need to synchronize my methods so long as I'm

Get Client's IP Address/Machine name

2002-08-15 Thread Emmanuel Eze
Hi All, Can anybody tell me how I can get the client's machine name/ip address from JSP? Emma === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body:

Re: Get Client's IP Address/Machine name

2002-08-15 Thread Emmanuel Eze
hi, You can get the ipaddress using the request object as follows. request.getRemoteAddr(); Regardz, N.RAVISANKAR On Thu, 15 Aug 2002, Emmanuel Eze wrote: Hi All, Can anybody tell me how I can get the client's machine name/ip address from JSP? Emma

Re: Get Client's IP Address/Machine name

2002-08-15 Thread Emmanuel Eze
- From: Emmanuel Eze [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 9:58 AM To: [EMAIL PROTECTED] Subject: Re: Get Client's IP Address/Machine name Is there really anything I can do about it? I guess there's nothing I can do. -Original Message- From: Zerbe John W [mailto:[EMAIL

Pls Help

2002-08-12 Thread Emmanuel Eze
Hi All: We need to implement an asynchronous connection to an application which resides outside of our architecture (another organization) and need to maintain that connection forever. We need to have this connection open all the time as important data about clients logging in would reside in

Re: Pls Help

2002-08-12 Thread Emmanuel Eze
application), if this is the Case then go for Java Messaging Service (JMS) asynchronous Model, it will definitely solve your purpose. Regards, Mittal S.Bhiogade GE-Supply. -Original Message- From: Emmanuel Eze [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 11:05 AM To: [EMAIL

Re: Variable i may not have been initialized. for ( int i = 0; i fc2List.size(); i++ ) ...... Please help

2002-07-09 Thread Emmanuel Eze
Are u sure u are not using the variable i anywhere outside the for() loop? Emma -Original Message- From: Lisa Xu [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 8:59 AM To: [EMAIL PROTECTED] Subject: Re: Variable i may not have been initialized. for ( int i = 0; i

Re: isNaN not working

2002-07-09 Thread Emmanuel Eze
The correct syntax is : if (isNaN(emp)) But emp must be a number if emp is probably a text/string; Try using if (isNaN(parseInt(emp, 10))) I assume u are working in base 10. Eze, Emmanuel U. Systems Development SystemSpecs Limited 5th-8th Floors, 136 Lewis Street, Lagos Phone:

off topic: Download Microsoft's ODBC Driver

2002-06-27 Thread Emmanuel Eze
Hi all, Does anyone know where I can download Microsoft's ODBC Driver? Emma -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Dolukhanov Sent: Wednesday, June 26, 2002 10:08 AM To: [EMAIL PROTECTED]

Re: data type conversion

2002-06-26 Thread Emmanuel Eze
long -- String myStringVariable = String.valueOf(myLongVariable); String -- long myLongVariable = Long.parseLong(myStringVariable); Emma SystemSpecs Lagos - Nigeria -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL

Re: off topic ( javascript question ??

2002-05-20 Thread Emmanuel Eze
Rewrite the faction function as follows: function faction(target) { if(target == 0) document.form.action=insertOutdate.jsp? + gotoFunction(); if(target == 1) document.form.action=insertIndate.jsp? + gotoFunction(); } OR function faction(target) { var employee=gotoFunction(); if(target

Re: Passing array parameters from one page to another

2002-05-17 Thread Emmanuel Eze
list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] On Behalf Of Emmanuel Eze Sent: 16 May 2002 15:08 To: [EMAIL PROTECTED] Subject: Re: Passing array parameters from one page to another Hi all, Does anyone know any java class or method that will enable me repeat

Re: Passing array parameters from one page to another

2002-05-16 Thread Emmanuel Eze
Hi all, Does anyone know any java class or method that will enable me repeat a character n times? Example: if I want **, I will call methodname('*',6). Thanks in advance Emma === To unsubscribe: mailto [EMAIL

Re: JDBC connection failing to Oracle 8i with Tomcat3.3

2002-05-13 Thread Emmanuel Eze
Try to extract your driver jar file into your web server default class directory. That way it will surely see the classes. -Original Message- From: Gare, Tref [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 10:23 AM To: [EMAIL PROTECTED] Subject: JDBC connection failing to Oracle

sql Date

2002-05-07 Thread Emmanuel Eze
Hi all, Can somebody pls tell me how I can insert a Date type into a database table with a Date datatype? I have the year, month, and day as integer values. I need to convert these values into an sql Date object so I can now insert the Date object into the table, right? I have the following

Re: sql Date

2002-05-07 Thread Emmanuel Eze
be java.util.Date birthday = null; as the Calendar.getTime() method returns a util date object. -Original Message- From: Emmanuel Eze [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 1:34 PM To: [EMAIL PROTECTED] Subject: sql Date Hi all, Can somebody pls tell me how I can insert

Re: sql Date

2002-05-07 Thread Emmanuel Eze
-Original Message- From: Emmanuel Eze [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 1:46 PM To: [EMAIL PROTECTED] Subject: Re: sql Date Even if I do that, how do I then convert the java.util.Date to java.sql.Date? -Original Message- From: Bhushan_Bhangale [mailto

Re: sql Date

2002-05-07 Thread Emmanuel Eze
Yes I have. -Original Message- From: Bhushan_Bhangale [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 12:12 PM To: [EMAIL PROTECTED] Subject: Re: sql Date It returns java.util.Date and not long. By the Emmanuel Eze have you found the solution for your problem yet

Re: sql Date

2002-05-07 Thread Emmanuel Eze
- which cannot be cast to any type of Date. Change your code to: birthday = new java.sql.Date ( cbirthday.getTime() ); -Original Message- From: Emmanuel Eze [SMTP:[EMAIL PROTECTED]] Sent: 07 May 2002 10:50 To: [EMAIL PROTECTED] Subject: Re: sql Date how do I acheive

PreparedStatement Error

2002-05-07 Thread Emmanuel Eze
I get the following error message when i call the setDate() method of the PreparedStatement: [Microsoft][ODBC SQL Server Driver]Optional feature not implemented I am connecting to an MS SQL Server 2000 using JDBC-ODBC brige. Does anyone know a fix? Emma

[Microsoft][ODBC Driver Manager] Function sequence error

2002-05-03 Thread Emmanuel Eze
Hi all, I have a JSP page that reads a fairly large resultset of about 200 rows. I Occasionally get the following error message when I access the page: [Microsoft][ODBC Driver Manager] Function sequence error Everything runs smoothly on some other occasions. Can anyone pls give me a