(struts in action ) looking for the artimus sql file

2003-02-18 Thread sufi malak
Hi, I just bought the book "Struts in Action" where can I find the sql file to create the database and tables for artimus application. thanks _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy

lucene question

2003-02-16 Thread sufi malak
Hi, I am trying lucene example, but I am alywas getting an error : I'm sorry I couldn't find what you were looking for Could you please help. thanks _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?p

how to create database in oracle8 ???

2003-02-02 Thread sufi malak
Hi, I just installed oracle 8.1.5.0.0 in windows2000 and I called the default database "test" , could you please show me how to create another new database, is there any article step by step on how to do it ? thanks, your help is appreciated. _

[no subject]

2003-02-02 Thread sufi malak
Hi, I just installed oracle 8.1.5.0.0 in windows2000 and I called the default database "test" , could you please show me how to create another new database, is there any article step by step on how to do it ? thanks, your help is appreciated.

insert retrieve (text, image) jsp oracle ??

2003-01-21 Thread sufi malak
Hi, I want to upload images and text document to an oracle database , and then retrieve them from the database , 1)how to do it in JSP ? 2) is there any taglib for doing that ? thank you, your help is appreciated. sufi _ MSN 8 helps

java + oracle question ?

2003-01-21 Thread sufi malak
I have installed oracle 8i in windows2000, and have a java class to connect to the oracle database, compiled it but when run it I got an exception : oracle.jdbc.driver.OracleDriver Question : Do I need to download a driver for oracle or it comes with the instatllation ?? Here is the code : import

need struts example insert, retrieve blob in a database ??

2003-01-19 Thread sufi malak
Hi, 1)I am trying to insert text documents and images in oracle using a form ? 2)And have a jsp page to view a particular form (by it ID) ? Have you ever done this using struts, please I will appreciate if you can show me how to do it or send me a small example. Thanks Sufi _

No action instance for path /register could be created

2003-01-09 Thread sufi malak
I am learning struts, I bought the book "Struts in Action" but when I tried the first example register.jsp , when I submit I got this error : HTTP Status 500 - No action instance for path /register could be created The server encountered an internal error (No action instance for path /register cou

j2ee tutorial (NoSuchMethodError) ???

2002-12-16 Thread sufi malak
Hi, I am trying to learn from SUN J2EE tutorial, I just installed j2ee in windows2000, but when I tryied to run the server I got this : D:\j2sdkee1.3.1\bin>j2ee -verbose J2EE server listen port: 1050 Naming service started:1050 Exception in thread "main" java.lang.NoSuchMethodError at com.s

[no subject]

2002-12-16 Thread sufi malak
Hi, I am trying to learn from SUN J2EE tutorial, I just installed j2ee in windows2000, but when I tryied to run the server I got this : D:\j2sdkee1.3.1\bin>j2ee -verbose J2EE server listen port: 1050 Naming service started:1050 Exception in thread "main" java.lang.NoSuchMethodError at com.s

Re: off topic (form, javascript question)

2002-06-04 Thread sufi malak
>To: [EMAIL PROTECTED] >Subject: Re: off topic (form, javascript question) >Date: Tue, 4 Jun 2002 14:35:04 -0700 > >sufi malak <[EMAIL PROTECTED]> wrote: > > > I'm working on a form , they would like to provide an incentive to > > users to get them to fill out

off topic (form, javascript question)

2002-06-04 Thread sufi malak
I'm working on a form , they would like to provide an incentive to users to get them to fill out these forms. Can anyone suggest a way that a random user could get a message letting them know that they have won something (prize to be determined at a later time) this would probably occur monthly.

websphere portal ??

2002-05-28 Thread sufi malak
Hi, We will start using websphere portal next month, I don't have any idea what is that, please could you help me : 1)what should I read to prepare for that ? 2)where in IBM or other sites can I go ? Thanks your help is appreciated ___

off topic ( How to refresh opener window ) ??

2002-05-23 Thread sufi malak
I have a main window main.jsp and when I click in a link child.jsp popup, in child.jsp I am doing some database transactions, how after closing child.jsp (or after an action finishs in child.jsp) refresh the main.jsp page. thanks

can we assign to a variable ??

2002-05-22 Thread sufi malak
can we assign of DBtag to a variable ?? thanks _ Send and receive Hotmail on your mobile device: http://mobile.msn.com === To unsubscribe: mailto [EMAIL PRO

Re: how to use wasEmpt and rowCount of DBtaglib ??

2002-05-22 Thread sufi malak
Hi, thank you, I think maybe the way I am posting questions is not clear, what I meant is to get the number and put it in a variable, so for example if there is a row I will update it, if not I will add it, the way they are showing in there examples is only for display. thanks >From: Richard Y

Re: how to use wasEmpt and rowCount of DBtaglib ??

2002-05-21 Thread sufi malak
Hi, No that was for wasNull, what I am asking for is rowCount and wasEmpty. thank you anyway. >From: Richard Yee <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: how to use wasEmpt and rowCo

how to use wasEmpt and rowCount of DBtaglib ??

2002-05-21 Thread sufi malak
I want to have a test if a row exist or not ( for insert or update) select * from history where name="var1" and person="var2" In the DBtaglib in the documentation it said use wasEmpty or rowCount, could you please show me how to use it. thanks, your help is appreciated ___

off topic ( javascript question ??

2002-05-20 Thread sufi malak
How to call a function in a function in javascripts : Here is what I did, but it does not work : function gotoFunction() { var parameter = form.emplyee.options[form.employee.selectedIndex].value; return parameter; } function faction(target) { if(target == 0) documen

off topic 9two submit buttons in a form) ??

2002-05-16 Thread sufi malak
Hi, I have a form in a jsp file that has : 1)Drop down list (for names) 2)textarea ( for comment) I want to have two submit buttons (chekin, checkout), who to do it please ? thanks _ Get your FREE download of MSN Explorer at ht

off topic (javascript :var from main to popup window)

2002-05-15 Thread sufi malak
I have main.jsp window that has a link : history And I want to popup a window history.jsp when clicking in the link. How to do it ? How to pass the variable name to history.jsp. thanks, your help is appreciated. _ Join the world

DBtaglib quotes problem ?

2002-05-15 Thread sufi malak
Hi, I am using DBtaglib from Apache, but whenever I try to display data that has a single quote or double quotes , the display of data in the other fields of the row is a massy : could you please help. thanks _ MSN Photos is the ea

how to catch exception in DBtag ?? please help.

2002-05-06 Thread sufi malak
I am using DBtag from jakarta project taglibs, if you are inserting a row that has fields ( filed1 ( primary key), field2, field3), if the value of the field1 that you are inserting already exist, an exception got thrown, could you please tell me how to catch this exception and tell the user that

DBtags insert exception ??

2002-05-06 Thread sufi malak
Hi, I am using DBTags, how to catch an exception when the user try to insert the same field ( that is a pimary key) and show the user that the field already exist ? Here is what I have, I was trying to insert a new row with an IP_Address that already exist, but I got an exception : <%-- set t

javax/sql/DataSource ???

2002-04-09 Thread sufi malak
I got this error , could you please tell me what could be the error : Error: 500 Location: /dotJ/test.jsp Internal Servlet Error: javax.servlet.ServletException: javax/sql/DataSource at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508) at javax.servlet.http.HttpSe

Exception initializing application (struts) ??

2002-03-18 Thread sufi malak
Hi, I just started to experiment with struts framework, but I got this error : Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The ser

NT login name from IP address

2002-02-27 Thread sufi malak
Is there any way to obtain the NT login name from an IP address, using java, c or C++ thanks _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com ==

HTTP 400, 401, 403 ??

2002-02-19 Thread sufi malak
Hi, In this code : ... try { URL u = new URL("http://"; + hostname + ":" + stringport); Socket s = new Socket(u.getHost(),port); OutputStream theOutput = s.getOutputStream(); // no autoflushing PrintWriter pw = new PrintWriter(theOutput,false); pw.print(

Re: reading text file ?

2002-02-14 Thread sufi malak
I tried trim(), but it does not work, it looks like it's a format problem, since if I hit enter in each line then take off the line created, how to do this for the string in the class ? thanks >From: Richard Yee <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification

reading text file ?

2002-02-14 Thread sufi malak
Hi, I have a text file that has more than 800 lines, I wrote a program to read line by line and process it, the file is like this : 15510862 15510863 155108610 .. But when read it it looks like every line has something appended to , maybe an end of line. When I go to the end of each line

(Off Topic )How to get rid of \n from a string ??

2002-02-12 Thread sufi malak
I am getting responsees from differents servers by requesting GET , and because the response has several lines of information, I took only one line from them, but when I try to print it out to a file, I got in the file lot of empty lines before the line that I want to print out in the file, I am u

Re: FileWriter question

2002-02-12 Thread sufi malak
out Java Server Pages specification and reference >[mailto:[EMAIL PROTECTED]]On Behalf Of sufi malak >Sent: Tuesday, February 12, 2002 5:43 PM >To: [EMAIL PROTECTED] >Subject: FileWriter question > > >Hi, >I want to output some results to a text file using FileWriter : >

FileWriter question

2002-02-12 Thread sufi malak
Hi, I want to output some results to a text file using FileWriter : FileWriter writer = new FileWriter(fname, true); writer.write("string1"); writer.write("\t"); // or writer.write(";"); writer.write("string2"); but it does not write tab or ";" thanks ___

Re: How to convert hostname to IP address ? what are u talking about ?

2002-02-07 Thread sufi malak
ne might be interested in this site. >Granted most of the things on here is easily obtainable though request >headers meta data and such but it so easy to write a scrap for this that >why >bother finding all the variables to check? > > http://www.netcraft.com/ > >-Ti

How to gets all local machine IP addresses ?

2002-02-07 Thread sufi malak
Hi, I wrote a port scanner, it's working fine, but the two nested for loop : final int start = 0; final int end = 255; for (int i = start; i <= end; i++) { for (int j = start + 1; j <= end - 1; j++) { ... take too long, how can I all local machine IP

Re: How to convert hostname to IP address ?

2002-02-06 Thread sufi malak
It looks like you misundersand my question, I meant how to convert hostname to Ip address programatically, for example to convert the ip address to hosname you can do : InetAddress ia = InetAddress.getByName(ip); String hostname = ia.getHostName(); But how about the opposite, from hostname ti IP

How to convert hostname to IP address ?

2002-02-06 Thread sufi malak
Hi, how to convert a hostname to an IP address ?? thanks _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com === To unsubscribe

Re: Type of web server from socket ?? you want to know why ?

2002-02-05 Thread sufi malak
So you want to know why I want this, my company has more than 18000 employees, lot of servers are running everywhere, this is new for me too, I have never done a java networking program, so my boss want me to write an application that can scans all our ip addresses for certain commun ports (80, 80

Re: Type of web server from socket ??

2002-02-05 Thread sufi malak
Hello, I got surprised, some people said fishy, other is worried about virus, anyway here is a piece of code that is scanning a set of IP addresses for ports : ports 80, 8000, 8080 : public static void scan(InetAddress remote) { int[] ports = {80,8000, 8080}; String hostname = remote.get

Type of web server from socket ??

2002-02-04 Thread sufi malak
Ho to get the name of the server running in a port in a host, for example I write a program that scan all the ip address that start from 155.108.000.000 for the port 80, how to know if the web server that is running is IIS, Apache or Tomcat. thanks ___

Re: increment IP address ??

2002-02-04 Thread sufi malak
thanks, I got this error : C:\>javac MajidPortScanner2.java MajidPortScanner2.java:15: cannot resolve symbol symbol : constructor String (int) location: class java.lang.String String IPAddress = (new String(octet4)) + "." + (new String(octet3)) + " ." + (new String(octet2)) + "." + (new

increment IP address ??

2002-02-04 Thread sufi malak
I wrote a java program that scan port, I gave ip addresses from the command line, for example I want to know if port 80 is running in ip1 ip2 ip3 : java scan ip1 ip2 ip3 and I get the resault ( it's working fine), now because the ip address of all the machines has this form : 155.108.xxx.xxx, my q

<% if (user.length() == 0) { %> Exception ???

2002-02-04 Thread sufi malak
oops! when I use : <% if (user.length() == 0) { %> I got an exception : Error: 500 Location: /pcinfo/add.jsp Internal Servlet Error: javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459) at _0002fadd_0002ejspadd

Re: simple question please

2002-02-04 Thread sufi malak
ss")%>"> >Hope that helps. >Have a nice day. >With regards, >Sachin S. Khanna >http://www.emailanorder.com > >- Original Message - >From: sufi malak <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, February 04, 2002 9:53 PM >Subject:

simple question please

2002-02-04 Thread sufi malak
HI, I have a form, I want if this form is not processed, the fields missing change the color ( this is done using style html), but I don't know why the other fields entered have gone, here is the form : Please add a new entry, don't leave any field empty <%=request.getParameter("ipaddres

Tomcat + Apache

2002-01-22 Thread sufi malak
Hi, I was using Tomcat alone, but I heard that I have to add apache with it, because Tomcat is for dynamic pages like jsp and servlets and Apache make ststic pages load faster So now I installed Tomcat and Apache using the connector mod_webapp, my question now is : Do I have to work like before

Re: Tomcat App installation

2001-12-18 Thread sufi malak
I think you have to call your servlet like this : From: "Ramanujan, Madhusudhan" <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Tomcat App installati

install apache with tomcat4 ?

2001-12-17 Thread sufi malak
is the installation of apache with tomcat322 is the same as apache and tomcat4 ? If not, where can I find the steps to follow to install Apache with tomcat4 in windows2000 ? Thanks _ Send and receive Hotmail on your mobile device:

how to run iPlanet4.1 samples ??

2001-12-17 Thread sufi malak
Hi, could you please show me how to run the samples that come with iPlanet4.1 . iPlanet4.1 is installed in a Unix box, and I have a ftp access to it from windows2000, I found this servlet example here : /usr/local/web/iplanet/webserver/plugins/samples/servlets/servlets/Simple1/SimpleServlet Jus

Web Application Structure iplanet4.1 ??

2001-12-12 Thread sufi malak
what is the Web Application Structure for iPlanet4.1, I did not find anything in the doc, thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

off topic ( How to know which Service pack in win2k)

2001-12-12 Thread sufi malak
Hi, could you please tell me how to know what Service pack in windows and in unix ? Thanks _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx

WEB-INF in iPlanet ???

2001-12-10 Thread sufi malak
HI, I have a question please, using tomcat everything is working fine, but now when I started for the first time working in iPlanet, every jsp file that has a taglib does not work, does iPlanet has the structure WEB-INF like tomcat or not ? Thanks _

where to put jsp, classes in Iplanet ???

2001-12-04 Thread sufi malak
Hi, with tomcat whenever I want to create a new application, I create a new directory : tomcat\webapps\mydirectory tomcat\webapps\mydirectory\WEB-INF\classes tomcat\webapps\mydirectory\WEB-INF\lib Now it's my first day with Iplanet under Unix, Please I will appreciate if you can show me the steps

Re: path question

2001-12-03 Thread sufi malak
ubject: Re: path question >Date: Mon, 3 Dec 2001 12:39:55 -0800 > >Try either: > >String[] files = >files={"C:\\file1.txt","C:\\file2.txt","C:\\file3.txt","C:\\file4.txt","C:\\ >file5.txt"}; > >or > >String[] files =

path question

2001-12-03 Thread sufi malak
I have a jsp file that has this line : String[] files={"/path/to/file1.txt","/path/to/file2.txt","/path/to/file3.txt","/path/to/file4.txt","/path/to/file5.txt"}; I tried to write the path to those files like : String[] files={"C:\file1.txt","C:file2.txt","C:file3.txt","C:file4.txt","C:file5.txt"

Tomcat4 problem ??

2001-11-29 Thread sufi malak
Now tomcat4 is running, the web.xml of my new application activeuser : tomcat4\webapps\activeuser\WEB-INF\web.xml is like this : http://java.sun.com/j2ee/dtds/web-app_2.3.dtd";> com.stardeveloper.web.listener.SessionCounter

tomcat4.0, ad new context ??

2001-11-29 Thread sufi malak
gt; >does your Server Startup now? > >/KK >----- Original Message - >From: "sufi malak" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, November 29, 2001 11:48 AM >Subject: Re: tomcat4.0, how to ad new co

Re: tomcat4.0, how to ad new context ??

2001-11-29 Thread sufi malak
you still have any problems. Then we shall oproceed to deploy the >app. > >Thanks > >/KK > >- Original Message - >From: "sufi malak" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, November 29, 2001 10:50 AM >Subject: to

tomcat4.0, how to ad new context ??

2001-11-29 Thread sufi malak
Hi, It's my first time using Tomcat4, so I created an application called activeuser and put it in webapps and then I added in server.xml this : When I try to start tomcat4 server it does not, but whenever I take it of tomcat4 start by showing catalina.e. thanks ___

url from servlet ??

2001-11-28 Thread sufi malak
Hi, I am writing a servlet, and trying to displat a url, for example : stringbuffer.append("" + "" + www.yahoo.com + "\n "); But it does not work, and this is the link that shows when I put the mose over www.yahoo.com : http://gisgo:8080/demo/servlet/www.yahoo.com Please help _

Re: how to copile with com directory ?

2001-11-19 Thread sufi malak
EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: how to copile with com directory ? >Date: Mon, 19 Nov 2001 16:49:36 - > >javac -classpath Main.java > >19/11/2001 16:45:12, sufi malak <[EMAIL PROTECTED]> wrote: > > >I have a class Main.java that is i

how to copile with com directory ?

2001-11-19 Thread sufi malak
I have a class Main.java that is importing classes from a directory called com : root\Main.java root\com How to compile Main.java with com ? thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ==

sendRedirect ???

2001-10-31 Thread sufi malak
I have this line in a servlet : httpservletresponse.sendRedirect(s4 + "?name=" +s); But when I go to the jsp file s4, <%=request.getParameter("name")%> return always null Thanks _ Get your FREE download of MSN Explorer at http://ex

question

2001-10-30 Thread sufi malak
I have a question please, insertform.jsp : <%session.setAttribute("lastname", lastname);%> <%response.sendRedirect("wasAdded.jsp");%> wasAdded.jsp : http://mil2wwds13:8080/abovebeyond/servlet/UploadServlet?C:\tomcat323\webapps\abovebeyond\upconf.txt";> in the text file upconf I have th

Re: Would like to know....

2001-10-24 Thread sufi malak
Just put mySQL driver in tomcat_dir\lib and restart tomcat, it works for me. >From: Praveen Potineni <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Would like to know >Date: Wed, 24

Re: How to compare month DB & System ?

2001-10-23 Thread sufi malak
e month DB & System ? >Date: Tue, 23 Oct 2001 19:14:52 +0530 > >Use Months between and get the int as return value >- Original Message - >From: "sufi malak" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Tuesday, October 23, 2001 7:00 PM &

How to compare month DB & System ?

2001-10-23 Thread sufi malak
I am trying to display some data for the last month rewards, this is a web application for rewarding employees, so if for example some employees got rewards for this month the user will see data corresponding, if nobody was rearded for this month, the page displays reward for the previous month, a

Re: DBtag with StringTokenizer ?????????????????????????????

2001-10-22 Thread sufi malak
? >Date: Mon, 22 Oct 2001 09:56:49 -0700 > >What happens when you try it? > (*Chris*) > >- Original Message - >From: "sufi malak" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, October 22, 2001 9:40 AM >Subject: Re: [JSP-INTER

Re: StringTokenizer(); ?????????

2001-10-22 Thread sufi malak
, 22 Oct 2001 09:38:21 -0700 > >It's code to create a StringTokenizer that will tokenize the value returned >from column 6 of an sql query by looking for spaces, tabs, new lines, >carriage returns or form feeds. It looks right to me, how is it working? > (*Chris*) > >--

Re: DBtag with StringTokenizer ?????????????????????????????

2001-10-22 Thread sufi malak
IL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: DBtag with StringTokenizer ?? >Date: Mon, 22 Oct 2001 09:31:50 -0700 > >All the constructors for StringTokenizer require a parameter. You have to >tell it what to tokenize. > (*Chris*) > >- Original Message -

StringTokenizer(); ???

2001-10-22 Thread sufi malak
Could you please tell me wht this : StringTokenizer(); is wrong ? Thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp === To uns

Re: DBtag with StringTokenizer ??

2001-10-22 Thread sufi malak
gTokenizer st = new StringTokenizer(); ^ 2 errors >From: sufi malak <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: DBtag with StringTokenizer ?? >Date: Mon

DBtag with StringTokenizer ??

2001-10-22 Thread sufi malak
Hi, I am using DBtag in tomcat with Mysql, one of the fields of a table in the database is a TEXT field, I want to display only the three first word of that field as a link, here is what I did : select * from reward <% StringTokenizer st = new StringTokenizer();

display first three words ???

2001-10-18 Thread sufi malak
Hi, I am using DBtag, and amongst the fields in the table I have a TEXT field, I want to display all the fields and only the three words of the column that is a TEXT field. could you please help. Thanks lot. _ Get your FREE download

server down page ??

2001-10-04 Thread sufi malak
I want if tomcat server is down the user get a page that said "Sorry the Server is down now", could please tell me how to do it ? Thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ==

Re: query image to my database and showing in jsp

2001-09-22 Thread sufi malak
Hi Vikramjit Could you please send me an example of code (java, jsp) for for inserting and displaying images from database (oracle or Mysql). Thanks lot your help is appreciated. Sufi >From: Vikramjit Singh <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and

Re: DBtag (delete) ???????????

2001-09-18 Thread sufi malak
I am trying to delete from a display page that show all the records with a delete link for each one. >From: Richard Yee <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: DBtag (delete) ?

DBtag (delete) ???????????

2001-09-18 Thread sufi malak
Hi, I spent long time to delete a record from a table using the taglin DBtag from Apache, but it does not work, I don't know what's wrong in this query : delete from pcinfo where New_Name ='<%=request.getParameter("newname")%>' Here is the complete code : <%@ taglib uri="http://jakarta.apach

parameter question

2001-09-13 Thread sufi malak
When I click the link "Modify", allthe fields in update2.jsp show null, please what's wrong whith my files ? Thanks pager-jdbc.jsp : . Modify .. update2.jsp : <%@ taglib uri="http://jakarta.apache.org/taglibs/jdbc"; prefix="sql" %> <% String update = request.getParameter("update");

Re: DBtag delete ??

2001-09-12 Thread sufi malak
0 > >This may be a bug. I think your question would be better answered on the >jakarta taglibs users mailing list: > >[EMAIL PROTECTED] > >Justy > >- Original Message - >From: "sufi malak" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >S

DBtag delete ??

2001-09-12 Thread sufi malak
I am using DBtag for deleting rows from a table, here is the jsp action file : <%@ taglib uri="http://jakarta.apache.org/taglibs/jdbc"; prefix="sql" %> <%String deletename =request.getParameter("newname");%> jdbc:mysql://mil2wwds10:3306/test org.gjt.mm.mysql.Driver delete from pcinf

if empy & null question again ?

2001-09-12 Thread sufi malak
Hi, I asked the same question last week, please what's wrong with this if statment : <% String ipaddress = request.getParameter("ipaddress"); System.out.println("ipaddress ??" + ipaddress); String user = request.getParameter("user"); String newname = request.getParameter("newname");

Re: Column index out of range ???

2001-09-10 Thread sufi malak
's to position="1". > (*Chris*) > >- Original Message - >From: "sufi malak" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, September 10, 2001 12:08 PM >Subject: Re: [JSP-INTEREST] Column index out of range ??? > &

Re: Column index out of range ???

2001-09-10 Thread sufi malak
ing a column named "distinct user" I'm not sure if >that is part of the SQL standard or not, however it is very common among >relational databases. > > >Joseph Karau >Kingland Systems >[EMAIL PROTECTED] >507-536-3629 >AIM: jkara3629 > > >-Ori

Re: Column index out of range ???

2001-09-10 Thread sufi malak
land Systems >[EMAIL PROTECTED] >507-536-3629 >AIM: jkara3629 > > >-Original Message- >From: sufi malak [mailto:[EMAIL PROTECTED]] >Sent: Monday, September 10, 2001 1:36 PM >To: [EMAIL PROTECTED] >Subject: Re: Column index out of range ??? > > >No, it'

Re: Column index out of range ???

2001-09-10 Thread sufi malak
> >To: [EMAIL PROTECTED] >Subject: Re: Column index out of range ??? >Date: Mon, 10 Sep 2001 13:04:56 -0500 > >That means u are referring to a cloumn that is not present in the result >set >you have obtained.. > >-Original Message- >From: sufi malak [mailt

Re: Column index out of range ???

2001-09-10 Thread sufi malak
> >sounds like a error at the database level. > >what database engine? > >-Original Message- >From: sufi malak [mailto:[EMAIL PROTECTED]] >Sent: Monday, September 10, 2001 2:04 PM >To: [EMAIL PROTECTED] >Subject: Column index out of range ??? > > >Cou

Column index out of range ???

2001-09-10 Thread sufi malak
Could you please tell me what this error means : Error: 500 Location: /pcinfo/pager-jdbc.jsp Internal Servlet Error: javax.servlet.ServletException: java.sql.SQLException: Column index out of range. Thanks _ Get your FREE downlo

DBtag query question ??

2001-09-10 Thread sufi malak
Hi, I am using DBtag , when I put : select * from pcinfo order by User It works, BUT when I put : select User from pcinfo order by User It does not. thanks. _ Get your FREE download of MSN Explorer at ht

DBtag in option VALUE ??

2001-09-06 Thread sufi malak
Hi, I am using the DBtag from jakarta project, could you please tell me what's wrong with : IN : > Thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp =

if with null ??

2001-09-06 Thread sufi malak
I have a file called add.jsp, the form that has the input fields and the action processing are all in this file, what I want is : when this file is for the first time displayed it will not be processed but only show the form, The problem is when I filled up all the fields and I submit the if statm

monitor from IP addresses ??

2001-09-05 Thread sufi malak
Is it possible to know from the IP address if host is alive or not,I have all the IP addrsses in my company, and I am trying to have a status that says : Host is alive OR No answer OR Cheking OR Unknown host What utility in JSP can help me do it ? thanks lot

Re: jdbc taglib question ?? urgent

2001-09-05 Thread sufi malak
ry !=null) && !(category.equals("ALL")) ) { category = (String)request.getParameter("category"); %> select * from pcinfo where User = '<%=category%>' <% } else if ((category ==null) || (category.equals("ALL")) ){ %&

jdbc taglib question ??

2001-09-05 Thread sufi malak
Hi, I am using the jdbc taglib , could you please show me what's wrong here : select * from pcinfo where User = '<% =category %>' Thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ==

simple compiling question

2001-09-04 Thread sufi malak
Hi, I have a java file called db.java: C:\mydownload\dir1\dir2\unjar\db.java db.java needs classes already compiled in : C:\mydownload\dir1\dir2\unjar\com\dir3\java classes C:\mydownload\dir1\dir2\unjar\com\dir4\java classes 1)How to compile db.java ? 2) I have jbuilder, but never use it, what

slide framework question ???

2001-08-30 Thread sufi malak
Hi, I just downloaded and installed Slide in tomcat321, but when I started tomcat I got this : == !!! Unable to start Slide Servlet !!! -- You are using using an incorrect older XML parser that

Namespace not supported by SAXParser ??

2001-08-29 Thread sufi malak
Hi, I have this line in a jsp file : transformer=factory.newTransformer(new StreamSource(new File("E:/webapps/xmlsundar/emp1.xsl"))); but I got this error : Error: 500 Location: /xmlsundar/XslViews.jsp Internal Servlet Error: javax.servlet.ServletException: Namespace not supported by SAXParser

Re: Error 500 ??? (Sealing Violation)

2001-08-29 Thread sufi malak
could you please explain more how did you solve it ? thanks >From: lee hwaying <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Error 500 ??? (Sealing Violation) >Date: Wed, 29 Aug 2001 16:

Re: Error 500 ??? (Sealing Violation)

2001-08-29 Thread sufi malak
here is how I declared the variable xmldoc : <%@page import="javax.xml.transform.stream.*,javax.xml.transform.dom.*,javax.xml.transform.*, java.io.*, jspbeans.*" %> XSL Transformations <% String view=request.getParameter("view"); XMLDocBean xmldoc = new XMLDocBean(); org.w3c.dom.Docume

Re: Eroor 500 ???

2001-08-28 Thread sufi malak
: TransformerFactory factory=TransformerFactory.newInstance(); Could you please help, thanks lot >From: sufi malak <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Eroor 500 ??? &g

  1   2   3   4   >