iPlanet- urgent

2002-11-17 Thread vishwa
Could anyone please tell me the maximum number of users supported by iPlanet web 
Server 6.0. Please reply soon its urgent

thanks, 
Vishwa Ranjan

==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:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



JSP session.

2000-08-30 Thread Vishwa

Hello all,

We are having problem with session creation in jsp. The compiled java file
by default creates the predefined session object this way :

HttpSession session = request.getSession(true);

Is there anyway to change the default argument value to false ?, We need to
avoid users directly accessing the JSP without accessing the initial web
pages.

We tried setting the @page session to false, it doesn't seem to change the
way the session object is being created.

Regards,
Vishwa

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



JSP - Session

2000-08-30 Thread Vishwa

Hello all,

We are having problem with session creation in jsp. The compiled java file
by default creates the predefined session object this way :

HttpSession session = request.getSession(true);

Is there anyway to change the default argument value to false ?, We need to
avoid users directly accessing the JSP without accessing the initial web
pages.

We tried setting the @page session to false, it doesn't seem to change the
way the session object is being created.

Thanks in advance,
Vishwa

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: A javascript question.....please help

2000-05-04 Thread Vishwa

hi,

 did you check

  document.form_name.text_field.value ???

that should give you the value of the field, even if you have a dot in
it.

vishwa

Divya M A wrote:

I have an input box in a form with the name having a dot in it,;i.e; a
 name like "abc.txt". I want to read the value of this input box in a
 javascript function. How do I do it?
 Thanx in advance,
 Divya.

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Import problem

2000-05-04 Thread Vishwa

Hello all,

I have to import a package 'util.*' in my jsp. I have coded the import
like this

%@page import="util.*" %
%jsp:usebean id="props" class="PropertyFileBean" %
%jsp:setProperty name="props" property="FileName" param="df" %

But I am getting an error that the JSP engine is not able to locate the
package, where should i copy the package to. ?. Or how should i set the
classpath.

I am using javawebserver2.0.

Regards,
vishwa

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: A javascript question.....please help

2000-05-04 Thread Vishwa

sorry i got the question wrong.

apologies...

Vishwa wrote:

 hi,

  did you check

   document.form_name.text_field.value ???

 that should give you the value of the field, even if you have a dot in
 it.

 vishwa

 Divya M A wrote:
 
 I have an input box in a form with the name having a dot in it,;i.e; a
  name like "abc.txt". I want to read the value of this input box in a
  javascript function. How do I do it?
  Thanx in advance,
  Divya.
 
  ===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
  Some relevant FAQs on JSP/Servlets can be found at:
 
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.html
   http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
   http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Import problem

2000-05-04 Thread Vishwa

Hi,

Thanks for your reply.

util package is my own package, as it is not yet released like
com.something.util, i have named it as just util.

Thanks
vishwa

Ritesh Sinha wrote:

 I think you need to specify java.util.*  there.
 like:

 %@page import="java.util.*" %
 %jsp:usebean id="props" class="PropertyFileBean" %
 %jsp:setProperty name="props" property="FileName" param="df" %

 HTH,
 ritesh sinha

 Vishwa [EMAIL PROTECTED] on 05/04/2000 10:24:36 PM

 Please respond to A mailing list about Java Server Pages specification and
   reference [EMAIL PROTECTED]

 To:   [EMAIL PROTECTED]
 cc:(bcc: Sinha Ritesh-SWD-ITIL-UB/Itilmail)

 Subject:  Import problem

 Hello all,

 I have to import a package 'util.*' in my jsp. I have coded the import
 like this

 %@page import="util.*" %
 %jsp:usebean id="props" class="PropertyFileBean" %
 %jsp:setProperty name="props" property="FileName" param="df" %

 But I am getting an error that the JSP engine is not able to locate the
 package, where should i copy the package to. ?. Or how should i set the
 classpath.

 I am using javawebserver2.0.

 Regards,
 vishwa

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Compliation problem, please help

2000-04-28 Thread Vishwa

Hello,

I am using Javawebserver and i am trying to compile the following jsp.
It imports the class Explorer which is in util.file package. I have
copied the util/file folder to the servlets directory.

But i am getting this error :
---
500 Internal Server Error

Java Server Page Translation Error

Error during compilation :

C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_upload.java:15:
Package util.file not found in import.
import util.file.*;
   ^
1 error

Code:
--

%@page info="Upload page"%
html
body
bRbrbr
%@page import="java.io.*,util.file.*" %
%! private static final String
DOC_ROOT="c:\\javawebserver2.0\\public_html"; %
% String[] files;
   Explorer explorer = new Explorer(DOC_ROOT);
if(explorer!=null)
  files=explorer.listFiles();
%
form name='Upload' action='/servlet/UploadTest' method='post'
enctype='multipart/form-data'
b File to upload : input name='userfile' type='file'
brbr
binput type='Submit' value='Upload'/b
/form
/body

Regards,
vishwa

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Compliation problem, please help

2000-04-28 Thread Vishwa

Hi Piotr,

  i am importing my own package util.file. As it is not part of standard
release we are yet to  make it com.something.util.file.

thanks
vishwa

Piotr Wierzbicki wrote:

 Hi,
 Try this:
 %@page import="java.io.*,java.util.file.*" % // -- java.util.file.*

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Vishwa
 Sent: Friday, April 28, 2000 13:41
 To: [EMAIL PROTECTED]
 Subject: Compliation problem, please help

 Hello,

 I am using Javawebserver and i am trying to compile the following jsp.
 It imports the class Explorer which is in util.file package. I have
 copied the util/file folder to the servlets directory.

 But i am getting this error :
 ---
 500 Internal Server Error

 Java Server Page Translation Error

 Error during compilation :

 C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_upload.java:15:
 Package util.file not found in import.
 import util.file.*;
^
 1 error

 Code:
 --

 %@page info="Upload page"%
 html
 body
 bRbrbr
 %@page import="java.io.*,util.file.*" %
 %! private static final String
 DOC_ROOT="c:\\javawebserver2.0\\public_html"; %
 % String[] files;
Explorer explorer = new Explorer(DOC_ROOT);
 if(explorer!=null)
   files=explorer.listFiles();
 %
 form name='Upload' action='/servlet/UploadTest' method='post'
 enctype='multipart/form-data'
 b File to upload : input name='userfile' type='file'
 brbr
 binput type='Submit' value='Upload'/b
 /form
 /body

 Regards,
 vishwa

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



test

2000-04-27 Thread Vishwa

test

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: name of file?

2000-04-27 Thread Vishwa

Hi,

request.getRequestURI() may be of some help in this regard :

POST /some/path.html HTTP/1.1   /some/path.html
GET http://foo.bar/a.html HTTP/1.0 http://foo.bar/a.html

Though i have not tried this should work for jsp pages also.

hope it helps,
vishwa

Nathan Hoover wrote:

 How can I get the name of the currently executing JSP file?

 Thanks
 N

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: name of file?

2000-04-27 Thread Vishwa

 Hi,

 request.getRequestURI() may be of some help in this regard :

 POST /some/path.html HTTP/1.1   /some/path.html
 GET http://foo.bar/a.html HTTP/1.0 http://foo.bar/a.html

 Though i have not tried this should work for jsp pages also.

 hope it helps,
 vishwa

 Nathan Hoover wrote:
 
  How can I get the name of the currently executing JSP file?
 
  Thanks
  N
 
 
===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
  Some relevant FAQs on JSP/Servlets can be found at:
 
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.html
   http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
   http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: name of file?

2000-04-27 Thread Vishwa

Hi,

request.getRequestURI() may be of some help in this regard :

POST /some/path.html HTTP/1.1   /some/path.html
GET http://foo.bar/a.html HTTP/1.0 http://foo.bar/a.html

Though i have not tried this should work for jsp pages also.

hope it helps,
vishwa


Nathan Hoover wrote:

 How can I get the name of the currently executing JSP file?

 Thanks
 N

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Error ! please help.

2000-04-27 Thread Vishwa

Hello all,

I am new to JSP, but have been working with servlets. I am trying to
instantiate an object in my jsp page. But I get a page compilation
error,

code:

%@page info="General query jsp"%
html
body
%! private DataManager dbManager;
public void init() {
dbManager = new DataManager("newTTSource",null,null);
}
%
%=request.getParameter("query")%
form name='testForm' action='/query.jsp' method='get'
input type=text name='query' size=50/input
input type=submit
/form
/body
/html

error:

Error during compilation :

C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_query.java:25: Class
pagecompile.jsp.DataManager not found in type declaration.
private DataManager dbManager;
 ^
C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_query.java:27: Class
pagecompile.jsp.DataManager not found in type declaration.
dbManager = new
DataManager("newTTSource",null,null);
    ^
2 errors

regards
vishwa

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Error ! please help.

2000-04-27 Thread Vishwa

Hi Rathinavel,

  The class is not in any package as such. I have copied the class file
on to the public_html folder. Should I put the DataManager class in a
package and import it ?.

Thanks
vishwa

Rathinavel P wrote:

 Sorry! just the basic question, have you imported the DataManager class ??

 with regards,
  rathna.

 Vishwa wrote:

  Hello all,
 
  I am new to JSP, but have been working with servlets. I am trying to
  instantiate an object in my jsp page. But I get a page compilation
  error,
 
  code:
 
  %@page info="General query jsp"%
  html
  body
  %! private DataManager dbManager;
  public void init() {
  dbManager = new DataManager("newTTSource",null,null);
  }
  %
  %=request.getParameter("query")%
  form name='testForm' action='/query.jsp' method='get'
  input type=text name='query' size=50/input
  input type=submit
  /form
  /body
  /html
 
  error:
 
  Error during compilation :
 
  C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_query.java:25: Class
  pagecompile.jsp.DataManager not found in type declaration.
  private DataManager dbManager;
   ^
  C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_query.java:27: Class
  pagecompile.jsp.DataManager not found in type declaration.
  dbManager = new
  DataManager("newTTSource",null,null);
      ^
  2 errors
 
  regards
  vishwa
 
  ===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
  Some relevant FAQs on JSP/Servlets can be found at:
 
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.html
   http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
   http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How to read the files within a directory?

2000-04-27 Thread Vishwa

hi,

You may have to use :  public File[] listFiles() of the 'java.io.File'
class.

First you have to create a File object for the c:\my_fldr and then get
all the files using the listFiles() method.  Using the array returned by
the listFiles method you can check all the files under that folder.

hope this helps,
vishwa


Divya M A wrote:

 Hi!
 I have a directory named 'c:/my_fldr', which could have a lot of
 different files(gifs, txt, doc, htm). I wish to individually open and read
 all the 'htm' files in this directory. How do I do it? The number of 'htm'
 files in the directory varies from time to time.
 Thanx in advance,
 Divya.

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how to have two submit buttons callingdifferentJSP's

2000-04-25 Thread Vishwa

Hi,

We may also have to submit the form using the javascript code to
explicitly submit the form. Bill, please correct me if i am wrong.

like :
input type="submit" value="Submit 1"
Onclick="this.form.action='submit1.jsp';this.form.submit()"

bye,
vishwa

Bill Lynch wrote:

 By the way, a better way to do that (in javascript) is to use the "this"
 shortcut in the form element:

 input type="sumbit" value="Submit 1"
 onclick="this.form.action='submit1.jsp';"

 That way you don't even need to worry about names of form and form
 elements.

 regards,
 --Bill

 Howard Lee wrote:
 
  Thanks everyone!
 
  -Original Message-
  From: A mailing list about Java Server Pages specification and reference
  [mailto:[EMAIL PROTECTED]]On Behalf Of Nathan Hoover
  Sent: Monday, April 24, 2000 2:02 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [JSP-INTEREST] how to have two submit buttons calling
  different JSP's
 
  You can absolutely have two submit buttons on the same form. Just use this
  code. Assumptions are that your form tag has name=f1.
 
  input type=submit value="Submit 1" onClick="document.f1.action =
  'submit1.jsp';"
  input type=submit value="Submit 2" onClick="document.f1.action =
  'submit2.jsp';"
 
  -Original Message-
  From: A mailing list about Java Server Pages specification and reference
  [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Choe
  Sent: Monday, April 24, 2000 4:06 PM
  To: [EMAIL PROTECTED]
  Subject: Re: how to have two submit buttons calling different JSP's
 
  as far as i know you can only have one submit button per form.  but you can
  have
  more than on form per page.  so, i would say make different forms on the
  page.
 
  peter choe
 
  Howard Lee wrote:
 
   Hi,
  
   I know this is more of an HTML question than JSP's but since many people
  on
   here are web gurus, I thought I asked here. How would you have two submit
   buttons to have two different URLs? I have two input type="submit"
   buttons, and each calling different JSP's. Because I can only have one
   action in form, I couldn't see how I can do that. How would I have two
   submit buttons to have two different URL's? Thank you very much!
  
   howard

 --
  Bill Lynch -- [EMAIL PROTECTED]  -
 CoolServlets.com  -- http://www.coolservlets.com
 ServletForum.com  -- http://www.servletforum.com
 ServletSource.com -- http://www.servletsource.com
  --

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: where is the Java Mailing list ?

2000-04-23 Thread Vishwa

if you have internet access, log on to the java developer connection at
this URL, you can post your questions on java.
http://forum.java.sun.com/

bye
vishwa

Vijay Mali wrote:

 These r the java mailing list,

 For Subscribing send blank mail to
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

 Bye
 Vijay

 - Original Message -
 From: Vineet Sethi [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, April 23, 2000 1:00 AM
 Subject: where is the Java Mailing list ?

  hi
  I am looking for a java mailing list to post questions regarding handling
  files , specifically IO and copy of files / folders..
 
  can someone please point me in the right direction
 
  thanks
  Vineet
 
 
 ===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
  Some relevant FAQs on JSP/Servlets can be found at:
 
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.html
   http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
   http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
 

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets