URLConnection + session

2002-01-09 Thread Peter Palombi
Hi all, i have one troble with the read of two html pages I think , it^s a session problem. I have to read the first page and send to this page (POST) username and password .. than i have the permission to read other html page. I have to tried to use two time URLConnection with two URL.. but it^

URLConnection and Password and Username

2001-12-11 Thread Peter Palombi
hi all, i have one troble with the read of a html page. The page is protected by username and password. I must first go in one html page where i must insert username and password and than i can go to the html page (second page) that i have to read. When i go directly to the second page , i rec

Re: JSP and (XML/HTML)

2001-12-08 Thread Peter Palombi
efore double quotes? (\\\") > > -Original Message- > From: Peter Palombi [mailto:[EMAIL PROTECTED]] > Sent: Saturday, December 08, 2001 8:52 PM > To: [EMAIL PROTECTED] > Subject: JSP and (XML/HTML) > > > Hi all, > > I need to made a parsing of a HTML page to e

JSP and (XML/HTML)

2001-12-08 Thread Peter Palombi
Hi all, I need to made a parsing of a HTML page to extract same value in a table. I have thought to use URLConnection to read the page html and insert the html code in one String for example String str = \"VAL\"; and now use a XML parser to extract the \"VAL\"! I don´t know if it´s a good ide

Date CompareTo

2001-12-03 Thread Peter Palombi
hi all, i have a troble with a compare two date. i have made this code cx.setTime(sdf1.parse(datains)); String DataV = sdf2.format(cx.getTime()); // to display the same format DataV and id if (DataV.compareTo(id) > 0){ } but itn\'t work correctly with this code i compare the first two caratcter

JSP and SQL between \"

2001-11-30 Thread Peter Palombi
hi all, I have a troble with jsp and a query on access table. i have to made a select for example select count(*) from table where Data between \"01/01/2001\" and \"30/01/2001\" when i try to insert in the jsp code String queric = \"SELECT Count(*) FROM Attivazioni WHERE Attivazioni.DataINS Be

CHART and JSP

2001-11-26 Thread Peter Palombi
Hi all, I would found a example code for jsp and chart(Excel) thanks for the help Peter - This mail sent through IMP: http://web.horde.org/imp/ === To unsubscribe: mailto

Jsp and Excle

2001-11-21 Thread Peter Palombi
Hi all, i have made a jsp programm to import the excel file via ODBC and save the rows in a DB. My trouble is when i(the program) found a field with the value for example (12A ) one number plus a letter .. when i try to exctract the value I reveice null value ! if the value in file excel i

R: free web space with jsp and java

2001-05-15 Thread Peter Palombi
install the patches along with tomcat...u can find all the relevant details at apache official website regards, namitha -Original Message- From: Peter Palombi [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 8:12 PM To: [EMAIL PROTECTED] Subject: Hi all, someone .. know a server

No Subject

2001-05-14 Thread Peter Palombi
Hi all, someone .. know a server web free with jsp and java .. i would publish my pg jsp and some programs on internet thanks Peter === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest

mailing java+applet

2001-05-08 Thread Peter Palombi
hi all, Where can i found a mailing list about java and applet thanks for tour help Peter === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set

hex in ascii string

2001-03-28 Thread Peter Palombi
hi all, how can i convert one string in hex to one ascii string thanks for your help Peter === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set

authentication

2001-03-12 Thread Peter Palombi
hi all, How can i look the username and the password with String authorization = request.getHeader("Authorization"); if(authorization == null) { response.setStatus(response.SC_UNAUTHORIZED); response.setHeader("WWW-Authenticate", "BASIC realm=\"TEST\""); return; } else {... how i can print the u

R: OT:rs.first()

2001-03-05 Thread Peter Palombi
hi all, when i use this command rset.first(); i receive a error "Unsupported feature" i make a connection with a oracle db and i use classes111.zip the code is : ResultSet rset = stmt.executeQuery(query); while(rset.next()) { } and than rset.first(); where is the troble? thanks for the help

ResultSet and next()

2001-03-02 Thread Peter Palombi
Hi all, i have made a jsp programm to access to a db. i use .. ResultSet rs = select.executeQuery("SELECT * FROM table"); and than i use while ( rs.next()) { .. } to extract all date of the query. i'm at the end of the query now. than i would now go at the head of the date(query(the query is

as/400 and jsp

2001-03-01 Thread Peter Palombi
hi all, i have made a jsp page to access to as/400 db. ..but it don't work correctly. in the as/400 there is table ANCL200F unter the lybrary A2_DNET and so i have wrote: connection = DriverManager.getConnection("jdbc:as400://" + system,"","xxx"); ResultSet rs = select.executeQuery("SELECT

Jrun3.0

2001-02-27 Thread Peter Palombi
Hi all, I use Jrun 3.0 to do the jsp page. I would make a access to oracle db. I have download the classess111.zip I wrote this code try { Class.forName("oracle.jdbc.driver.OracleDriver"); out.println("OK "); } catch ( Exception E) { out.println(E.getMessage());

jsp and AS/400

2001-02-26 Thread Peter Palombi
Hi all, Someone have a exmperince in the access to the database as/400 with jsp? Is possible to access with odbc drivers? Where can i found some documentations? Thanks for your help Peter === To unsubscribe: mailto [EMAI

Stupid Question

2001-01-30 Thread Peter Palombi
Hi all, i don't remember how can i insert in a array two string the example is String met[][][] = new String [50][50][50]; i would insert in met[0][0] -> "a" and "b" i can use met[0][0][0] = "a"; and met[0][0][1] = "b"; but i would use met[0][0] = {"a","b"}; but i receive a error where

substutition in JSP

2001-01-15 Thread Peter Palombi
Hi all, how function(jsp) can i use to make a substitution .. for example i would all a to b change Thanks Peter === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROT