generation of textbox thro' java script

2001-11-02 Thread Badrinarayan K. Melkote
Hi, I have a small problem. Can anyone tell me how to generate a textbox in a form (HTML) using Java Scripts. i.e when i click on a button. i need a text box to be generated in the same form. I tried out document.write('input=text name=textbx'). but it just does not work. with regards, Badri

How to make tomcat to work in port 80 not 8080

2001-11-02 Thread Rama
Hi, I have installed tomcat 4.0.1 in my pc and it worked perfectly. I wonder how to make tomcat to work with apache server in port 80. I couldn't find any information about this one, even in Wrox books. Thanks, Rama _ Do You Yahoo!?

Re: How to make tomcat to work in port 80 not 8080

2001-11-02 Thread Gochwal Meenu
look into ur tomact dir/doc/tomcat-apache-howto.html -Original Message- From: Rama [SMTP:[EMAIL PROTECTED]] Sent: Friday, November 02, 2001 3:20 PM To: [EMAIL PROTECTED] Subject: How to make tomcat to work in port 80 not 8080 Hi, I have installed tomcat 4.0.1 in my pc

Re: generation of textbox thro' java script

2001-11-02 Thread Gochwal Meenu
why don't u make the textbox invisible and then make it visible on the click of the button -Original Message- From: Badrinarayan K. Melkote [SMTP:[EMAIL PROTECTED]] Sent: Friday, November 02, 2001 3:16 PM To: [EMAIL PROTECTED] Subject: generation of textbox thro' java script

Re: How to make tomcat to work in port 80 not 8080

2001-11-02 Thread Rama
Hi, I've downloaded both .zip and .exe tomcat files but I couldn't find the html Can you send me the html file or explain it? Thanks, Rama -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] On Behalf Of Gochwal

Re: generation of textbox thro' java script

2001-11-02 Thread Badrinarayan K. Melkote
the no. of text boxes i will have to generate in the form is dependent on the no of clicks of the button. hence I cannot keep the test box invisible. Badri - Original Message - From: Gochwal Meenu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 02, 2001 3:17 PM Subject:

SV: Re : single quote problem

2001-11-02 Thread Jan Arenö
Why dont use : pstmt = conn.prepareStatement(select name,subj_id,reply,subject, + timefrom post where subject like '%?%'); pstmt.setString(1, search); rs = pstmt.executeQuery(); while(rs.next()) { } Is there a reason? // Jan Arenö -Ursprungligt meddelande- Från: A mailing list

Apache and PWS (Maybe OT)

2001-11-02 Thread Theo Starr
Hi Everyone I know it is possible to have Apache and PWS running on the same machine but I find they clash where they are both running at the same time and you use localhost Is it possible to give one or both a different address such as apache and pws where both are exclusive addresses? such

JSP, JRun and PWS

2001-11-02 Thread Theo Starr
Hello Everybody Is it possible to run JSP with JRun on Personal Web Server?? Has anyone done this with success?? Theo Starr Almityand-Mega Multimedia WWW: http://www.ozemail.com.au/~almity1 email: [EMAIL PROTECTED] ===

Re: JSP, JRun and PWS

2001-11-02 Thread Paul Foxton
yes. When you set up jrun to connect to a webserver theres a PWS option, it works fine. cheers Paul -Original Message- From: Theo Starr [mailto:[EMAIL PROTECTED]] Sent: 02 November 2001 11:40 To: [EMAIL PROTECTED] Subject: JSP, JRun and PWS Hello Everybody Is it possible to

Re: JSP, JRun and PWS

2001-11-02 Thread Theo Starr
Thanks Paul Just another question in line with a previous posting If you have Apache and PWS will JRun allow for this and install the required components for both servers??? I wont know till tomorrow when I should have a copy of JRun in my hands Theo Starr Almityand-Mega Multimedia WWW:

Re: Thanks

2001-11-02 Thread srinivas tadikonda
HI, Thanks for your suggesion. Now I am trying what You gave... Thnaks alot. Regards Srinivas From: Jean-Francois Pinero <[EMAIL PROTECTED]> Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: help me Date: Thu,

414 status code:Request-URI Too Large

2001-11-02 Thread ding wang
Hi, Anybody know how to config the Apache Server to get over the limitation of length of URI. Actually, I am using GET method and I need to pass fairly long query_string. My thought is that now the env variable QUERY_STRING is beyond the limit of length on the Server host. Is there any way to

Re: JSP, JRun and PWS

2001-11-02 Thread Daryani Santosh
Yes , its possible . I was doing it on my PC , but I was using Jrun 2.3. It was a while back , haven't tried it with Jrun 3.0. I was running JSPs on PWS on port 8100. santosh Theo Starr [EMAIL PROTECTED] on 11/02/2001 06:39:32 AM Please respond to A mailing list about Java

Re: JSP, JRun and PWS

2001-11-02 Thread Haseltine, Celeste
Yes, you just configure JRUN to work in conjunction with PWS, just as you would if you were running MS IIS 4.0/5.0. I am assuming that you are using Windows 95 as your operating system. If you are using NT 4.0 or above, I strongly suggest that you download IIS 4.0 from MS web site, instead of

Re: 414 status code:Request-URI Too Large

2001-11-02 Thread ding wang
FYI, problem solved. Thanks, Ding ding wang wrote: Hi, Anybody know how to config the Apache Server to get over the limitation of length of URI. Actually, I am using GET method and I need to pass fairly long query_string. My thought is that now the env variable QUERY_STRING is beyond

Re: single quote problem

2001-11-02 Thread Joe Cheng
Doesn't too few parameters usually mean you've spelled one of the table/field names incorrectly? Are you sure it's the single quotes that's the problem... try removing the WHERE clause entirely. There's no reason your code shouldn't work, unless the variable search itself contains single

Re: single quote problem

2001-11-02 Thread Jean-Francois Pinero
Title: RE: single quote problem I thought too few parameters meant you are not passing enough variables... -Original Message- From: Joe Cheng [mailto:[EMAIL PROTECTED]] Sent: Friday, November 02, 2001 11:37 AM To: [EMAIL PROTECTED] Subject: Re: single quote problem Doesn't too

javax.servlet.http.* not found

2001-11-02 Thread Praveen Potineni
Hi all, I'm getting this error javax.servlet.http.* not found. I'm trying to compile java files while writing code for session management and login authentication... please check my classpath i have set in environment variables. I'm using Tomcat 4.0. %CLASSPATH%;C:\Program

Re: single quote problem

2001-11-02 Thread Chen, Gin
Title: RE: single quote problem I get the error when I forget to supply a username and password for my database connections. I think Joe is right.. I dont think it has anything to do with the actual statement. I've done queries like that a thousand times and I've never had a problem with them.

test

2001-11-02 Thread Kevin Gutch
test === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some relevant FAQs on JSP/Servlets can be found at:

Re: single quote problem

2001-11-02 Thread Joe Cheng
Title: RE: single quote problem I thought "too few parameters" meant you are not passing enough variables... You'd think so, wouldn't you? I just tried querying my own Access db, "SELECT foo, bar, useridFROM users;". The table "users" and field "userid" exist but foo, bar don't. The error I

Re: javax.servlet.http.* not found

2001-11-02 Thread Joe Cheng
I wonder if the spaces in the classpath pose a problem... try using the shortnames for Program Files and Adaptive Server Anywhere 6.0... because servlet.jar is where those classes should live. === To unsubscribe: mailto

Re: javax.servlet.http.* not found

2001-11-02 Thread Panagiotis Konstantinidis
I thought the jar file that contains all the Servlet classes was called jsdk.jar... Anyhow. Your classpath seems right. Are you trying to compile the Servlets you are writing? You can run them directly from the web browser, so you would not have to worry about compiling as it will be done by the

Re: http post to two differnet pages...is it possible.

2001-11-02 Thread Joe Cheng
just change the submit button's call to doublePost to customize it. use this.name (no quotes because its a variable) to post to the current window or frame. When you put '_blank' it will open a new window. I don't know if it's really necessary, but you also may want to have the doublePost

Re: generation of textbox thro' java script

2001-11-02 Thread Joe Cheng
If you can get away with targeting IE only, you can append the HTML to the .innerHtml property (a property of many objects including div and span). === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff

Re: Apache and PWS (Maybe OT)

2001-11-02 Thread Chris Tucker
This is possible, though it'll take a little buggering about on your part. You'll have more luck asking a question like this on an Apache (or PWS) list: I don't know about PWS, but for Apache you need to be looking at the idea of virtual hosts -- there's a load of good docs/mailing list archives

Re: javax.servlet.http.* not found

2001-11-02 Thread Jonathan Daniel
try just: C:\jakarta-tomcat-4.0\common\lib\servlet.jar and see if you can compile basic servlets of course the obvious... make sure this is the path to servlet.jar -Original Message-From: Praveen Potineni [mailto:[EMAIL PROTECTED]]Sent: Friday, November 02, 2001 11:46 AMTo:

show country / region integrate with getRemoteAddr() ?

2001-11-02 Thread Miao, Franco CAWS:EX
how to show country / region information in Jsp by getting remote IP address with getRemoteAddr() ? Like the system get a remote IP address, and Jsp can show up it from where. Thanks! Franco === To unsubscribe: mailto

Re: How to make tomcat to work in port 80 not 8080

2001-11-02 Thread McKain, James (DPYUS)
Title: RE: How to make tomcat to work in port 80 not 8080 There are some docs at http://jakarta.apache.org I also found the simplest directions at the bottom of server.xml (40 lines from the bottom) located on your local Tomcat 4 download at %CATALINA_HOME%\conf\server.xml Open it in a

Tomcat configuration (urgent !!!)

2001-11-02 Thread Juan Carlos Alvarez
I have some classes and some jsp pages that worked with another server. What should I do to run the classes and jsp's pages to work with tomcat ?? Thanks Juan. === To unsubscribe: mailto [EMAIL PROTECTED] with body:

Re: Tomcat configuration (urgent !!!)

2001-11-02 Thread Chen, Gin
Beauty of Java. Unless u seriously mess up.. you can just copy the application from the application root folder of ur application server to the webapps folder of Tomcat. Only exception to this is if ur using EJBs. In which case, you need a few additional steps but that doesnt matter as Tomcat

Re: Tomcat configuration (urgent !!!)

2001-11-02 Thread horwat
If your server was compliant with the jsp and servlet specs then your application should be portable across servers. Justy - Original Message - From: Juan Carlos Alvarez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 02, 2001 10:51 AM Subject: Tomcat configuration

Directory Chooser

2001-11-02 Thread Kevin Gutch
Is it possible to create a Directory Chooser within JSP? I know how to use HTML's File Chooser but want to create a Directory Chooser maybe using some Scripting or Java? === To unsubscribe: mailto [EMAIL PROTECTED] with

Re: Directory Chooser

2001-11-02 Thread Pete Freitag
You would have to use a Signed control to do this, since this is a security issue, if you could write web pages that could browse people's hard drives, it would be bad. _ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM Web Developer Resources

Re: Directory Chooser

2001-11-02 Thread Kevin Gutch
Not to disagree but how i it any different then an Input Type=file? Pete Freitag [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent by: A cc: mailing listSubject: Re:

Re: Directory Chooser

2001-11-02 Thread Chen, Gin
Its not.. any HTML code will work in a JSP page. In fact, I've used the input type method before. What Pete is talking about is probably using File IO from an applet. Cause that is the only time that I ever needed signed control or digital certs. It all depends on what you are doing with the

Re: Directory Chooser

2001-11-02 Thread Kevin Gutch
I only need it to pass it to a string to another file that the user will download. Currently I just have then type in the directory. === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest:

Re: Directory Chooser

2001-11-02 Thread Pete Freitag
I was under the impression that you wanted to write your own control that did the same thing as input type=file but with a different interface. Could you please clarify, are you going to choose a directory on the Server, or on the Client's computer. If you want them to pick a directory on a

Re: Directory Chooser

2001-11-02 Thread Kevin Gutch
Yes. I want an interface exactly like input type=file but only need to navigate to a directory and not a specific file. Pete Freitag [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent by: A cc:

Re: Directory Chooser

2001-11-02 Thread Pete Freitag
Yes I don't think that's possible without a signed control. _ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM Web Developer Resources http://www.cfdev.com/ Check out ActivEdit a WYSIWYG HTML Editor that works like a Textarea

Re: JSP editor

2001-11-02 Thread Ashish Shrestha
Haseltine, Celeste wrote: Forte is also very resource intensive, if I remember correctly. I believe it requires 64K of memory to run. now 64K isn't really resource intensive. even my pda has 4MB. i must say this is the finest ide. which version are you running? mine takes 128MB (min).

Re: help me

2001-11-02 Thread Ashish Shrestha
what about pushlets. I don't remember the url right now, why not do a search in google. but i guess the basic idea was to use the http 1.1 keep alive and use dynamic html to refresh the section on the page. ashish shrestha