Re: Help Needed: Http Get in java

2006-05-09 Thread Richard Yee

Kiran,
Look at the java.net.HttpURLConnection class.

-Richard

[Kiran Kumar Vedula] wrote:

hi ,
I have to know how do we get a HTTP Get in a standalone code.The
requirement is like get a string from csv file  and pass the particular
string to a JSP page using HTTP GET from a property file.Please let me
know how to do this, any code would be helpful to me


regards
kiran

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com





===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com


Re: Help Needed: Http Get in java

2006-05-09 Thread ACITO GIUSEPPE
 hi ,
 I have to know how do we get a HTTP Get in a 
 standalone code.The
 requirement is like get a string from csv file  and pass the 
 particular

That string is a parameter for the JSP ? For parameter I mean 
something like:
http://host:port/whatever/page.jsp?parameter=value


 string to a JSP page using HTTP GET from a property file.Please let me
 know how to do this, any code would be helpful to me

Ok, let see:
1) you have a property file with all the URLs pointing to JSPs?
   
   Reading a property file is easy, look at the javadocs 
   (hint: java.util.Property, and others)

2) you have a CSV file where you have to get the 

   Are you working on a Windows OS? If that it the case, you have 
   two/three options:
   2.1) using JDBC via ODBC (declaring a DSN)
   2.2) using Jakarta POI, and parsing the csv file like a XLS file
   2.3) Implementing your CSV parser (being just a plain text)

3) then you have to invoke the JSP,handling request and response, right?

There are TONS of ways, years ago I've used HttpClient (I belive it 
comes from Jakarta, but I wouldn't bet on this). 

Ciao!
Giuseppe

PS: i'm very sorry for the disclaimer, it's appened automagically ;)


** Le e-mail provenienti dalla Banca d'Italia sono trasmesse in buona fede e

non comportano alcun vincolo ne' creano obblighi per la Banca stessa,

salvo che cio' non sia espressamente previsto da un accordo scritto.

Questa e-mail e' confidenziale. Qualora l'avesse ricevuta per errore, La

preghiamo di comunicarne via e-mail la ricezione al mittente e di

distruggerne il contenuto. La informiamo inoltre che l'utilizzo non

autorizzato del messaggio o dei suoi allegati potrebbe costituire reato.

Grazie per la collaborazione. 

-- E-mails from the Bank of Italy are sent in good faith but they are neither

binding on the Bank nor to be understood as creating any obligation on its

part except where provided for in a written agreement. This e-mail is

confidential. If you have received it by mistake, please inform the sender

by reply e-mail and delete it from your system. Please also note that the

unauthorized disclosure or use of the message or any attachments could be

an offence. Thank you for your cooperation. ** 

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: Help Needed: Http Get in java

2006-05-09 Thread ACITO GIUSEPPE
 Dear sir,
  Thanks for the immediate response.From your response, how to
 pass the a particular string to a JSP page, I am not clear on this.I
 have read a csv file ,got the string now I am stuck with how 
 to pass it
 as a parameter to a JSP page.Please help me in this.

Basically you have to construct a properly formatted url and invoke the 
Servlet container where the jsp runs.

Have you looked at Jakarta HttpClient, or java.net.URL ?

HTH, 
Giuseppe

PS: please at least CC to JSP-INTEREST


** Le e-mail provenienti dalla Banca d'Italia sono trasmesse in buona fede e

non comportano alcun vincolo ne' creano obblighi per la Banca stessa,

salvo che cio' non sia espressamente previsto da un accordo scritto.

Questa e-mail e' confidenziale. Qualora l'avesse ricevuta per errore, La

preghiamo di comunicarne via e-mail la ricezione al mittente e di

distruggerne il contenuto. La informiamo inoltre che l'utilizzo non

autorizzato del messaggio o dei suoi allegati potrebbe costituire reato.

Grazie per la collaborazione. 

-- E-mails from the Bank of Italy are sent in good faith but they are neither

binding on the Bank nor to be understood as creating any obligation on its

part except where provided for in a written agreement. This e-mail is

confidential. If you have received it by mistake, please inform the sender

by reply e-mail and delete it from your system. Please also note that the

unauthorized disclosure or use of the message or any attachments could be

an offence. Thank you for your cooperation. ** 

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Help Needed: Http Get in java

2006-05-09 Thread [Kiran Kumar Vedula]
I have a requirment to read a csv file which is passed from a property
file , and pass the string to a JSP page.

I am stuck as to how to pass the string from to JSP page from a standalone
code.

The way I coded is here:

Standalone code:

public class URLConnectionReader {
public static void main(String[] args) throws Exception {
  String inputfilename=;
String strLine=;
String strVar=;
   int counter, numberOfTokens = 0;
   inputfilename=args[0];
   try
{
FileReader inputFileReaderdump   = new
FileReader(inputfilename);
BufferedReader inputFile   = new
BufferedReader(inputFileReaderdump);
  while ((strLine =
inputFile.readLine()) != null)
  {
   StringTokenizer
strTokLine = new StringTokenizer(strLine, ,);
   numberOfTokens =
strTokLine.countTokens();

 for (counter = 0 ;counter  numberOfTokens ;counter++ )

 {

  strVar = new String(strTokLine.nextToken());

  strVar=strVar.trim();

  System.out.println(the values of each token is
\t+strVar+\n);

 }
  }
   }
   catch (Exception e)
   {
 e.printStackTrace();
   }
   String XXX_URL
=http://localhost:8080/PGAC/Jsps/JSP/PGACMultiItemCriteriaPage.jsp;;
   URL url = new URL(XXX_URL) ;
   URLConnection urlc = url.openConnection() ;
   urlc.setDoOutput(true);
   urlc.setDoInput(true);
   PrintWriter pw = new PrintWriter(new
OutputStreamWriter(urlc.getOutputStream()), true) ;
   pw.println(strVar) ;

 }
}


and in the jsp page I have added a code as below
InputStream is = req.getInputStream();
 int c=0;
String strVal = new StringBuffer();
 while ((c = is.read()) != -1)
 {strVal.append((char) c);}


But still it is not working, please help me out in this.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: Help Needed: Http Get in java

2006-05-09 Thread Chakravarthy, Sai
Why don't you append directly as a query string to URL and do
request.getParameter() in JSP ?


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED] On Behalf Of [Kiran Kumar Vedula]
Sent: Tuesday, May 09, 2006 6:33 AM
To: JSP-INTEREST@JAVA.SUN.COM
Subject: Help Needed: Http Get in java

I have a requirment to read a csv file which is passed from a property
file , and pass the string to a JSP page.

I am stuck as to how to pass the string from to JSP page from a standalone
code.

The way I coded is here:

Standalone code:

public class URLConnectionReader {
public static void main(String[] args) throws Exception {
  String inputfilename=;
String strLine=;
String strVar=;
   int counter, numberOfTokens = 0;
   inputfilename=args[0];
   try
{
FileReader inputFileReaderdump   = new
FileReader(inputfilename);
BufferedReader inputFile   = new
BufferedReader(inputFileReaderdump);
  while ((strLine =
inputFile.readLine()) != null)
  {
   StringTokenizer
strTokLine = new StringTokenizer(strLine, ,);
   numberOfTokens =
strTokLine.countTokens();

 for (counter = 0 ;counter  numberOfTokens ;counter++ )

 {

  strVar = new String(strTokLine.nextToken());

  strVar=strVar.trim();

  System.out.println(the values of each token is
\t+strVar+\n);

 }
  }
   }
   catch (Exception e)
   {
 e.printStackTrace();
   }
   String XXX_URL
=http://localhost:8080/PGAC/Jsps/JSP/PGACMultiItemCriteriaPage.jsp;;
   URL url = new URL(XXX_URL) ;
   URLConnection urlc = url.openConnection() ;
   urlc.setDoOutput(true);
   urlc.setDoInput(true);
   PrintWriter pw = new PrintWriter(new
OutputStreamWriter(urlc.getOutputStream()), true) ;
   pw.println(strVar) ;

 }
}


and in the jsp page I have added a code as below
InputStream is = req.getInputStream();
 int c=0;
String strVal = new StringBuffer();
 while ((c = is.read()) != -1)
 {strVal.append((char) c);}


But still it is not working, please help me out in this.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: Help Needed: Http Get in java

2006-05-09 Thread Chakravarthy, Sai
If you want to use URLConnection then the data written to the URL will be
available in the URL inputstream... Try this...



   String XXX_URL

=http://localhost:8080/PGAC/Jsps/JSP/PGACMultiItemCriteriaPage.jsp;;

   URL url = new URL(XXX_URL) ;

InputStream is = url.openConnection().getInputStream();

 int c=0;

String strVal = new StringBuffer();

 while ((c = is.read()) != -1)

 {strVal.append((char) c);}





-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED] On Behalf Of [Kiran Kumar Vedula]
Sent: Tuesday, May 09, 2006 6:33 AM
To: JSP-INTEREST@JAVA.SUN.COM
Subject: Help Needed: Http Get in java



I have a requirment to read a csv file which is passed from a property

file , and pass the string to a JSP page.



I am stuck as to how to pass the string from to JSP page from a standalone

code.



The way I coded is here:



Standalone code:



public class URLConnectionReader {

public static void main(String[] args) throws Exception {

  String inputfilename=;

String strLine=;

String strVar=;

   int counter, numberOfTokens = 0;

   inputfilename=args[0];

   try

{

FileReader inputFileReaderdump   = new

FileReader(inputfilename);

BufferedReader inputFile   = new

BufferedReader(inputFileReaderdump);

  while ((strLine =

inputFile.readLine()) != null)

  {

   StringTokenizer

strTokLine = new StringTokenizer(strLine, ,);

   numberOfTokens =

strTokLine.countTokens();



 for (counter = 0 ;counter  numberOfTokens ;counter++ )



 {



  strVar = new String(strTokLine.nextToken());



  strVar=strVar.trim();



  System.out.println(the values of each token is

\t+strVar+\n);



 }

  }

   }

   catch (Exception e)

   {

 e.printStackTrace();

   }

   String XXX_URL

=http://localhost:8080/PGAC/Jsps/JSP/PGACMultiItemCriteriaPage.jsp;;

   URL url = new URL(XXX_URL) ;

   URLConnection urlc = url.openConnection() ;

   urlc.setDoOutput(true);

   urlc.setDoInput(true);

   PrintWriter pw = new PrintWriter(new

OutputStreamWriter(urlc.getOutputStream()), true) ;

   pw.println(strVar) ;



 }

}





and in the jsp page I have added a code as below

InputStream is = req.getInputStream();

 int c=0;

String strVal = new StringBuffer();

 while ((c = is.read()) != -1)

 {strVal.append((char) c);}





But still it is not working, please help me out in this.



===

To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.

For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.



Some relevant archives, FAQs and Forums on JSPs can be found at:



 http://java.sun.com/products/jsp

 http://archives.java.sun.com/jsp-interest.html

 http://forums.java.sun.com

 http://www.jspinsider.com


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Help Needed: Http Get in java

2006-05-08 Thread [Kiran Kumar Vedula]
hi ,
I have to know how do we get a HTTP Get in a standalone code.The
requirement is like get a string from csv file  and pass the particular
string to a JSP page using HTTP GET from a property file.Please let me
know how to do this, any code would be helpful to me


regards
kiran

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: Help needed

2004-03-19 Thread Paul Copeland
You should be able to do this with a combination of onClick and onChange
events, but it is likely to be messy, especially if you have to support
very old versions of browsers. I think using Frames will make it even
more complicated...
- Paul Copeland

JOT Servlets - A Framework for Servlet Applications
http://www.jotobjects.com
 Date:Thu, 18 Mar 2004 13:36:47 -0800 From:Maya menon
 [EMAIL PROTECTED] Subject: Help needed

 All, All suggestions welcome for designing this: 1. Have a web page
 with tabs [4 tabs] in the body and 2 menu links on the left side. The
 requirement is if I modify anything in my page and click on the tabs,
 I should prompt the user to do a form submit before proceeding. But
 on the same time, if I am clicking on the menu links I should do a
 form auto submit. How can I accomplish this ? Thanks

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com


Help needed

2004-03-18 Thread Maya menon
All,
All suggestions welcome for designing this:
1. Have a web page with tabs [4 tabs] in the body and 2 menu links on the left side. 
The requirement is if I modify anything in my page and click on the tabs, I should 
prompt the user to do a form submit before proceeding. But on the same time, if I am 
clicking on the menu links I should do a form auto submit.
How can I accomplish this ?
Thanks


Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: Help needed

2004-03-18 Thread Balamurugan Krishnababu ,Tidel Park - Chennai
hi,

1) Modify your design ,such a way make 2 htmls ,one contains the 4 tabs and
other contains menu links.
2) construct two frames and divide vertically.
3) load the 4 tabs page on the second frame and other page in the first
frame.
4) 4 tabs page,now write your prompt for submit code in a function and call
that on onMouseUp event of body or form.
5) menu link page,now write your auto submit code in a function and call
that on OnMouseUp event of body or form


I hope this will help u to some extent.

Thanks,
Bala


-Original Message-
From: Maya menon [mailto:[EMAIL PROTECTED]
Sent: Friday, March 19, 2004 3:07 AM
To: [EMAIL PROTECTED]
Subject: Help needed


All,
All suggestions welcome for designing this:
1. Have a web page with tabs [4 tabs] in the body and 2 menu links on the
left side. The requirement is if I modify anything in my page and click on
the tabs, I should prompt the user to do a form submit before proceeding.
But on the same time, if I am clicking on the menu links I should do a form
auto submit.
How can I accomplish this ?
Thanks


Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: Urgent JSP Help Needed!

2003-07-31 Thread Dharmendra Sharan
Hi Michael,

  Your function/method signatures do not have the access specifiers, try using 
public and/or as the case may be.

  for eg.

  String search(HttpServletRequest req) {

  ought to be something like :-

  public String search(HttpServletRequest req) {

  Hope this helps,

  Regards,

  Dharmendra

ps: have a nice day!
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED] Behalf Of Michael Rogan
Sent: Tuesday, July 29, 2003 4:27 PM
To: [EMAIL PROTECTED]
Subject: Re: Urgent JSP Help Needed!


The listing is below.  Thanks to anyone that can help!

  Show us the exact listing of the first 2-3 compile errors.  The
  properties file is not necessary.

62. String search(HttpServletRequest req) {


*** Syntax: ; expected instead of this token



62. String search(HttpServletRequest req) {


*** Syntax: ; expected instead of this token



128. String subst( HttpServletRequest req, final String original, final String path)


*** Syntax: ; expected instead of this token



128. String subst( HttpServletRequest req, final String original, final String path)


*** Syntax: ; expected instead of this token

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Urgent JSP Help Needed!

2003-07-29 Thread Michael Rogan
Hello,

Could someone please take a look at the two files below as soon as possible?  
Something is wrong with the code and I am unable to figure it out.  It generates 16 
errors --  mostly expected ;, but from what I can see all the required semicolons 
are there!

If someone more experienced woth JSP could help, I would greatly appreciate it!  This 
is an urgent problem and is frustrating me a great deal.

Thanks in advance!

-Mike

File #1: breadcrumb.jsp

[EMAIL PROTECTED] import=java.util.Properties, java.io.InputStream, 
java.io.IOException%

!-- BreadCrumb maker 1.0 --
%--

Reads a breadcrumb.properties file containing stuff like this:

start=b
end=/b
pre=a href=$path
post=/a
middle=\ gt;
/=home
/cat1=Category 1
/cat2=Category 2
/cat1/index.jsp=nbsp; The main page

For the path 'http://localhost:8080/breadcrumb/cat1/index.jsp', that will create a 
string:

ba href=/breadcrumb/home/a gt;a href=/breadcrumb/cat1Category 1/a 
gt;a href=/breadcrumb/cat1/index.jspnbsp; The main page /a


NOTE: If you change this file, be sure to touch any files including it, or the changes 
won't be picked up.

Jeff Turner [EMAIL PROTECTED]
http://opensource.socialchange.net.au/breadcrumbs/
16/08/2001
$Revision$ $Date$

--%


%! public static final String CONFIG=/ssi/breadcrumb.properties; // if starting 
with '/', will be relative to htdocs. Otherwise, relative to calling page (*not* this 
included page) %
%! public static final int MAX_DEPTH=20; // max number of iterations before we halt 
with an error %
%! public static final String PATH_TOKEN=$path; // If this string is encountered in 
the CONFIG file, it is replaced with the current path  %
%! public static final boolean PRINTERRORS=true; // If false, any errors will result 
in  output. Otherwise, behaviour is determined by COMMENTERRORS %
%! public static final boolean COMMENTERRORS=false; // If true, errors will be 
printed in comments. If false, errors will be visible.  %

%!
/**
 * Method to create a breadcrumb trail (or whatever it's called).
 */
String search(HttpServletRequest req) {
Properties props = new Properties();
try {
InputStream in = 
getServletConfig().getServletContext().getResourceAsStream(CONFIG);
props.load(in);
} catch (Exception e) {

return printErr(could not find or read +CONFIG);
}
try {
String start = (String)props.get(start);
String end = (String)props.get(end);
String post = (String)props.get(post);
String pre = (String)props.get(pre);
String middle = (String)props.get(middle);

StringBuffer result = new StringBuffer();


// Note: this algorithm traverses the path backwards, from the end to the root.
// Hence the ordering of 'post' before 'pre'

int count = 0;
String path = req.getRequestURI().substring( req.getContextPath().length() );  // 
remaining path
String desc = null; // description for current path
boolean inMiddle = false;  // true if we've previously hit a non-null path
boolean last=false;  // true if we're on the last path (/)

while ( true )
{
if (last) path = /;   // we need *some* character for the 
root.. this is as good as any
desc = (String)props.get(path);
if (desc != null)
{
if (inMiddle)
{
result.insert(0, middle);
} else inMiddle = true;
if (post != null)
{
result.insert(0, subst(req, post, path));
}
result.insert(0, subst(req, desc, path));
if (pre != null)
{
result.insert(0, subst(req, pre, path));
}
}

if (last) break;
// set up the path for our next iteration
path = path.substring(0, 
path.lastIndexOf(System.getProperty(file.separator))); // strip from the last '/' 
onwards. In the last case, this will result in 
if (path.equals()) last = true;

// .. because I'm not confident some weird usage won't break the algorithm
count++;
if (count  MAX_DEPTH) {
return printErr(Inifinite loop detected in breadcrumbs);
}
}
result.insert(0, start);
return result.toString();
} catch (Throwable t) {
return printErr(Couldn't generate breadcrumbs: +t);
}
}

/**
 * Replaces all occurrences of tokens in original, with values. In the case of
 * PATH_TOKEN, replaces it with the context path plus the context-relative path.
 */
private static String subst( HttpServletRequest req, final String original, final 
String path)
{
return replaceSubString(original, PATH_TOKEN, req.getContextPath()+path);
}

private static String printErr(String msg)
{
if (!PRINTERRORS) return ;
StringBuffer buf = new StringBuffer();
if (COMMENTERRORS) {
buf.append(!--);
} else {
buf.append(font color='red');
}
buf.append(msg);
if (COMMENTERRORS) {

Re: Urgent JSP Help Needed!

2003-07-29 Thread Michael Rogan
The listing is below.  Thanks to anyone that can help!

  Show us the exact listing of the first 2-3 compile errors.  The
  properties file is not necessary.

62. String search(HttpServletRequest req) {


*** Syntax: ; expected instead of this token



62. String search(HttpServletRequest req) {


*** Syntax: ; expected instead of this token



128. String subst( HttpServletRequest req, final String original, final String path)


*** Syntax: ; expected instead of this token



128. String subst( HttpServletRequest req, final String original, final String path)


*** Syntax: ; expected instead of this token

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Help Needed on SMS Banking.

2003-06-19 Thread Velmurugan (Java Team)
Hi

We have planned to do SMS Banking software for our customer. For this we need the 
architecture/software/hardware/network for above said requirement. Kindly advice us 
how to proceed in this regard.

Thannks

Regards,

Velmurugan P
Java Team.

==To 
unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: Help Needed on SMS Banking.

2003-06-19 Thread Chris Ocello
Firsthop message gateway is easy to use and should give
you all that you need. I had firsthop in production in
three weeks! You will also require a popular
SMSC operator. e.g. Telstra
Velmurugan (Java Team) wrote:

Hi

We have planned to do SMS Banking software for our customer. For this we need the architecture/software/hardware/network for above said requirement. Kindly advice us how to proceed in this regard.

Thannks

Regards,

Velmurugan P
Java Team.

Chris Ocello
Systems  Infrastructure Planner  Developer
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com


Re: help needed(java.sql.SQLException: Invalid Oracle URL specified)

2002-07-11 Thread Ben Steiner

instead of
  conn =
DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST1:oaxapr/oaxapr);
it should work this way...
  conn =
DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST1,
oaxapr,oaxapr);

Ben


 [EMAIL PROTECTED] 07/11/02 07:51AM 
hi,
i am trying to use oracle jdbc driver in my jsp program to connect to
oracle database and i am getting the following error.

java.sql.SQLException: Invalid Oracle URL specified

The following is part of my coding:

%@ page import=java.sql.*,java.io.*, oracle.jdbc.driver.*%
%
Connection conn;
try
{
 Class.forName (oracle.jdbc.driver.OracleDriver);
 conn =
DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST1:oaxapr/oaxapr);
.
%

The following is the set up in my work environment:

Server1: windows 2000, Webserver, ServletExec, JRE, Oracle client
Server2: windows 2000, Oracle database
tnsnames.ora on server1 has the service name BIST1 that refers to
Oracle database on server2.
i downloaded classes12.zip from oracle site into lib of JRE on
server1.

Could somebody please let me know
the correct syntax to specify the Oracle URL?
if the syntax whatever i used is correct, the reason for getting the
above error?
the way i am using the oracle jdbc drivers is correct or not?

thanks in advance,
Ramesh Kadirisani.

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

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



Re: help needed(java.sql.SQLException: Invalid Oracle URL specified)

2002-07-11 Thread Ramesh Kadirisani

Hi Ben,
thanks for the response. i tried the way you suggested. no luck. is
there anything else i have to check?
thanks,
Ramesh Kadirisani.

Ben Steiner wrote:

 instead of
   conn =
 
DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST1:oaxapr/oaxapr);
 it should work this way...
   conn =
 DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST1,
 oaxapr,oaxapr);

 Ben

  [EMAIL PROTECTED] 07/11/02 07:51AM 
 hi,
 i am trying to use oracle jdbc driver in my jsp program to connect to
 oracle database and i am getting the following error.

 java.sql.SQLException: Invalid Oracle URL specified

 The following is part of my coding:

 %@ page import=java.sql.*,java.io.*, oracle.jdbc.driver.*%
 %
 Connection conn;
 try
 {
  Class.forName (oracle.jdbc.driver.OracleDriver);
  conn =
 
DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST1:oaxapr/oaxapr);
 .
 %

 The following is the set up in my work environment:

 Server1: windows 2000, Webserver, ServletExec, JRE, Oracle client
 Server2: windows 2000, Oracle database
 tnsnames.ora on server1 has the service name BIST1 that refers to
 Oracle database on server2.
 i downloaded classes12.zip from oracle site into lib of JRE on
 server1.

 Could somebody please let me know
 the correct syntax to specify the Oracle URL?
 if the syntax whatever i used is correct, the reason for getting the
 above error?
 the way i am using the oracle jdbc drivers is correct or not?

 thanks in advance,
 Ramesh Kadirisani.

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

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

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



Re: help needed(java.sql.SQLException: Invalid Oracle URL specifi ed)

2002-07-11 Thread It, Cockpit (CAP, Contractor)

Dear Ramesh,
You are missing : next to thin...
If you give as follows it will work

try this...

 conn =

DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
1,
 oaxapr,oaxapr);

Yogaraj

-Original Message-
From: Ramesh Kadirisani [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 8:27 PM
To: [EMAIL PROTECTED]
Subject: Re: help needed(java.sql.SQLException: Invalid Oracle URL
specified)


Hi Ben,
thanks for the response. i tried the way you suggested. no luck. is
there anything else i have to check?
thanks,
Ramesh Kadirisani.

Ben Steiner wrote:

 instead of
   conn =

DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
1:oaxapr/oaxapr);
 it should work this way...
   conn =

DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
1,
 oaxapr,oaxapr);

 Ben

  [EMAIL PROTECTED] 07/11/02 07:51AM 
 hi,
 i am trying to use oracle jdbc driver in my jsp program to connect to
 oracle database and i am getting the following error.

 java.sql.SQLException: Invalid Oracle URL specified

 The following is part of my coding:

 %@ page import=java.sql.*,java.io.*, oracle.jdbc.driver.*%
 %
 Connection conn;
 try
 {
  Class.forName (oracle.jdbc.driver.OracleDriver);
  conn =

DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
1:oaxapr/oaxapr);
 .
 %

 The following is the set up in my work environment:

 Server1: windows 2000, Webserver, ServletExec, JRE, Oracle client
 Server2: windows 2000, Oracle database
 tnsnames.ora on server1 has the service name BIST1 that refers to
 Oracle database on server2.
 i downloaded classes12.zip from oracle site into lib of JRE on
 server1.

 Could somebody please let me know
 the correct syntax to specify the Oracle URL?
 if the syntax whatever i used is correct, the reason for getting the
 above error?
 the way i am using the oracle jdbc drivers is correct or not?

 thanks in advance,
 Ramesh Kadirisani.


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


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

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


THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system.

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



Re: help needed(java.sql.SQLException: Invalid Oracle URL specified)

2002-07-11 Thread Ben Steiner

you are correct.  he is missing the : on the right side of 'thin'.

jdbc:oracle:thin:@bis6.xxx.x.xx.xx:1521:BIST1

Ben

 [EMAIL PROTECTED] 07/11/02 08:54AM 
Dear Ramesh,
You are missing : next to thin...
If you give as follows it will work

try this...

 conn =

DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST

1,
 oaxapr,oaxapr);

Yogaraj

-Original Message-
From: Ramesh Kadirisani [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 8:27 PM
To: [EMAIL PROTECTED]
Subject: Re: help needed(java.sql.SQLException: Invalid Oracle URL
specified)


Hi Ben,
thanks for the response. i tried the way you suggested. no luck. is
there anything else i have to check?
thanks,
Ramesh Kadirisani.

Ben Steiner wrote:

 instead of
   conn =

DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST

1:oaxapr/oaxapr);
 it should work this way...
   conn =

DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST

1,
 oaxapr,oaxapr);

 Ben

  [EMAIL PROTECTED] 07/11/02 07:51AM 
 hi,
 i am trying to use oracle jdbc driver in my jsp program to connect
to
 oracle database and i am getting the following error.

 java.sql.SQLException: Invalid Oracle URL specified

 The following is part of my coding:

 %@ page import=java.sql.*,java.io.*, oracle.jdbc.driver.*%
 %
 Connection conn;
 try
 {
  Class.forName (oracle.jdbc.driver.OracleDriver);
  conn =

DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST

1:oaxapr/oaxapr);
 .
 %

 The following is the set up in my work environment:

 Server1: windows 2000, Webserver, ServletExec, JRE, Oracle client
 Server2: windows 2000, Oracle database
 tnsnames.ora on server1 has the service name BIST1 that refers to
 Oracle database on server2.
 i downloaded classes12.zip from oracle site into lib of JRE on
 server1.

 Could somebody please let me know
 the correct syntax to specify the Oracle URL?
 if the syntax whatever i used is correct, the reason for getting the
 above error?
 the way i am using the oracle jdbc drivers is correct or not?

 thanks in advance,
 Ramesh Kadirisani.


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


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

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


THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR
THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system.

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

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



Re: help needed(java.sql.SQLException: Invalid Oracle URL specifi ed)

2002-07-11 Thread Ramesh Kadirisani

Thank you. Thank you.
It worked. thanks a lot.
Ramesh Kadirisani.

It, Cockpit (CAP, Contractor) wrote:

 Dear Ramesh,
 You are missing : next to thin...
 If you give as follows it will work

 try this...

  conn =

 DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
 1,
  oaxapr,oaxapr);

 Yogaraj

 -Original Message-
 From: Ramesh Kadirisani [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, July 11, 2002 8:27 PM
 To: [EMAIL PROTECTED]
 Subject: Re: help needed(java.sql.SQLException: Invalid Oracle URL
 specified)

 Hi Ben,
 thanks for the response. i tried the way you suggested. no luck. is
 there anything else i have to check?
 thanks,
 Ramesh Kadirisani.

 Ben Steiner wrote:
 
  instead of
conn =
 
 DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
 1:oaxapr/oaxapr);
  it should work this way...
conn =
 
 DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
 1,
  oaxapr,oaxapr);
 
  Ben
 
   [EMAIL PROTECTED] 07/11/02 07:51AM 
  hi,
  i am trying to use oracle jdbc driver in my jsp program to connect to
  oracle database and i am getting the following error.
 
  java.sql.SQLException: Invalid Oracle URL specified
 
  The following is part of my coding:
 
  %@ page import=java.sql.*,java.io.*, oracle.jdbc.driver.*%
  %
  Connection conn;
  try
  {
   Class.forName (oracle.jdbc.driver.OracleDriver);
   conn =
 
 DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
 1:oaxapr/oaxapr);
  .
  %
 
  The following is the set up in my work environment:
 
  Server1: windows 2000, Webserver, ServletExec, JRE, Oracle client
  Server2: windows 2000, Oracle database
  tnsnames.ora on server1 has the service name BIST1 that refers to
  Oracle database on server2.
  i downloaded classes12.zip from oracle site into lib of JRE on
  server1.
 
  Could somebody please let me know
  the correct syntax to specify the Oracle URL?
  if the syntax whatever i used is correct, the reason for getting the
  above error?
  the way i am using the oracle jdbc drivers is correct or not?
 
  thanks in advance,
  Ramesh Kadirisani.
 
 
 ===
  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
 
 
 ===
  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

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

 THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
 ADDRESSEE and may contain confidential and privileged information.
 If the reader of this message is not the intended recipient,
 you are notified that any dissemination, distribution or copy of this
 communication is strictly Prohibited.
 If you have received this message by error, please notify us
 immediately, return the original mail to the sender and delete the
 message from your system.

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

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

Re: help needed(java.sql.SQLException: Invalid Oracle URL specified)

2002-07-11 Thread m venkateswara rao

Hi Ramesh..
In your connection line,
conn=DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521
:BIST1, oaxapr,oaxapr);
Pls note the following things..
1)bis6.xxx.x.xx.xx: This should be your Oracle Server host name/IP
address.
Oracle Listener should run at 1521 port only. Other wise change 1521 to the
given port for Oracle server)
2)If you are using thin driver of Oracle, then you must specify the ORACLE
SID at the place of BIST1, not TNS name.
Find out your Oracle SID and replace BIST1 with Oracle SID name.

If you do the above two things, it should work.
Please get back to me, if it does not work..
with rgds,
Rao

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Ramesh Kadirisani
Sent: Thursday, July 11, 2002 8:27 PM
To: [EMAIL PROTECTED]
Subject: Re: help needed(java.sql.SQLException: Invalid Oracle URL
specified)


Hi Ben,
thanks for the response. i tried the way you suggested. no luck. is
there anything else i have to check?
thanks,
Ramesh Kadirisani.

Ben Steiner wrote:

 instead of
   conn =

DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
1:oaxapr/oaxapr);
 it should work this way...
   conn =

DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
1,
 oaxapr,oaxapr);

 Ben

  [EMAIL PROTECTED] 07/11/02 07:51AM 
 hi,
 i am trying to use oracle jdbc driver in my jsp program to connect to
 oracle database and i am getting the following error.

 java.sql.SQLException: Invalid Oracle URL specified

 The following is part of my coding:

 %@ page import=java.sql.*,java.io.*, oracle.jdbc.driver.*%
 %
 Connection conn;
 try
 {
  Class.forName (oracle.jdbc.driver.OracleDriver);
  conn =

DriverManager.getConnection(jdbc:oracle:[EMAIL PROTECTED]:1521:BIST
1:oaxapr/oaxapr);
 .
 %

 The following is the set up in my work environment:

 Server1: windows 2000, Webserver, ServletExec, JRE, Oracle client
 Server2: windows 2000, Oracle database
 tnsnames.ora on server1 has the service name BIST1 that refers to
 Oracle database on server2.
 i downloaded classes12.zip from oracle site into lib of JRE on
 server1.

 Could somebody please let me know
 the correct syntax to specify the Oracle URL?
 if the syntax whatever i used is correct, the reason for getting the
 above error?
 the way i am using the oracle jdbc drivers is correct or not?

 thanks in advance,
 Ramesh Kadirisani.


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


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

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



**Disclaimer


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.


*



Re: Combo : help needed

2002-06-18 Thread David Castro

 I have a jsp page on which I want to populate a HTML combo box from items
 tables. Issue is that, item table has as many as 2 records, I put a
 query to select all records and populate on combo, then nothing comes and it
 times out. How to handle this situation ?

So, let me get this straight. You want to create a combo box with as many as
20,000 items in it? And you actually have a use for something like this? I
can't imagine someone being willing to scroll through 19,421 items to get to
item #19,422. Can you maybe segment them, and have users drill down to
individual items? (Kinda like the categories on Ebay...start at Arts 
Crafts, then choose Scrapbooking, then choose Paper Piecing, and so on.)

If you cannot do this, and if your server has all sorts of unused RAM, and if
these values don't change often, maybe you could create a Vector in the
Application scope. You could set it up to generate the Vector as often as
needed. And then outputting those values on your page won't time out. But
20,000 items is gonna take up a lot of memory!

-David Castro
 email[at]davidcastro[dot]com
 http://jsp.davidcastro.com


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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



Re: Combo : help needed

2002-06-18 Thread James Mitchell

20,000 or 2,000???

Please tell me you are (seriously) *not* going to do this.

I'm not even going to help you figure this outthis would be insane.

I have a better idea.
Why don't you create 20,000 different htm files and then link to each one.
That way it would be faster!
That makes about as much sense.


James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://struts-atlanta.open-tools.org





 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of David Castro
 Sent: Tuesday, June 18, 2002 12:51 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Combo : help needed


  I have a jsp page on which I want to populate a HTML combo box
 from items
  tables. Issue is that, item table has as many as 2 records, I put a
  query to select all records and populate on combo, then nothing
 comes and it
  times out. How to handle this situation ?

 So, let me get this straight. You want to create a combo box with
 as many as
 20,000 items in it? And you actually have a use for something like this? I
 can't imagine someone being willing to scroll through 19,421
 items to get to
 item #19,422. Can you maybe segment them, and have users drill down to
 individual items? (Kinda like the categories on Ebay...start at Arts 
 Crafts, then choose Scrapbooking, then choose Paper Piecing,
 and so on.)

 If you cannot do this, and if your server has all sorts of unused
 RAM, and if
 these values don't change often, maybe you could create a Vector in the
 Application scope. You could set it up to generate the Vector as often as
 needed. And then outputting those values on your page won't time out. But
 20,000 items is gonna take up a lot of memory!

 -David Castro
  email[at]davidcastro[dot]com
  http://jsp.davidcastro.com


 __
 Do You Yahoo!?
 Yahoo! - Official partner of 2002 FIFA World Cup
 http://fifaworldcup.yahoo.com

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


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



Urgent - Help needed for JSP access

2002-06-13 Thread Vasudevan Srinivasan

Hi,

When i try to access the JSP in Tomcat i am getting the following error in the 
browser.Pls. help.

Thanks in advance.

Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error



type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error) that 
prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:484)


root cause

java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger
at org.apache.jasper.Constants.message(Constants.java:244)
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 

Urgent Help needed !

2002-02-14 Thread JOSHY MON M C

Hi All,
Can Anybody help ?

I have a Oracle 9i table named Contacts which contain about 1 records. I
need to show them in a JSP page ordered by last name or first name or in any
other order (as per user request). But only 100 records should be shown at a
time. User can click Previous or Next links to see more records ( as in
Google/Yahoo search )

I have done this by creating a temporary table. Records are sorted and kept
in the temporary table . But this seems to be a very slow and inefficient
method. ( Each request involves a select from the original table, creation
of tempory table, insertion into temp table and finally select from temp
table. ) Can anybody suggest a better approach ?

Thanks
Joshy

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



Re: Urgent Help needed !

2002-02-14 Thread Clayton Nash

Try looking at Oracle's ROWNUM field which will allow you to select specific
rows from a result. Something like

SELECT whatever
FROM (SELECT whatever, RONUM rnum from TABLE order by SOMEFIELD)
WHERE rnum between 11 and 20

will do nicely.

Clayton
- Original Message -
From: JOSHY MON M C [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 14, 2002 8:34 AM
Subject: Urgent Help needed !


 Hi All,
 Can Anybody help ?

 I have a Oracle 9i table named Contacts which contain about 1 records.
I
 need to show them in a JSP page ordered by last name or first name or in
any
 other order (as per user request). But only 100 records should be shown at
a
 time. User can click Previous or Next links to see more records ( as
in
 Google/Yahoo search )

 I have done this by creating a temporary table. Records are sorted and
kept
 in the temporary table . But this seems to be a very slow and inefficient
 method. ( Each request involves a select from the original table, creation
 of tempory table, insertion into temp table and finally select from temp
 table. ) Can anybody suggest a better approach ?

 Thanks
 Joshy


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


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



Re: Urgent Help needed !

2002-02-14 Thread Kishor K

Hi joshy,

U can use the Pager Tag Library available at
http://jsptags.com/tags/navigation/pager/.

it helps  to generate Google style dispaly.

regards
kishor

- Original Message -
From: JOSHY MON M C [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 14, 2002 2:04 PM
Subject: Urgent Help needed !


 Hi All,
 Can Anybody help ?

 I have a Oracle 9i table named Contacts which contain about 1 records.
I
 need to show them in a JSP page ordered by last name or first name or in
any
 other order (as per user request). But only 100 records should be shown at
a
 time. User can click Previous or Next links to see more records ( as
in
 Google/Yahoo search )

 I have done this by creating a temporary table. Records are sorted and
kept
 in the temporary table . But this seems to be a very slow and inefficient
 method. ( Each request involves a select from the original table, creation
 of tempory table, insertion into temp table and finally select from temp
 table. ) Can anybody suggest a better approach ?

 Thanks
 Joshy


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


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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



Re: Urgent Help needed !

2002-02-14 Thread It, Cockpit (CAP, Contractor)

Try to use Oracle Rownum property and you will get a good result.
Say If your query returns 1000 records put another condition in your query
as rownum100 and then for next time put the condition as rownum100 and
rownum200
you will get it solved.
Thanx
Yogaraj

-Original Message-
From: JOSHY MON M C [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 2:04 PM
To: [EMAIL PROTECTED]
Subject: Urgent Help needed !


Hi All,
Can Anybody help ?

I have a Oracle 9i table named Contacts which contain about 1 records. I
need to show them in a JSP page ordered by last name or first name or in any
other order (as per user request). But only 100 records should be shown at a
time. User can click Previous or Next links to see more records ( as in
Google/Yahoo search )

I have done this by creating a temporary table. Records are sorted and kept
in the temporary table . But this seems to be a very slow and inefficient
method. ( Each request involves a select from the original table, creation
of tempory table, insertion into temp table and finally select from temp
table. ) Can anybody suggest a better approach ?

Thanks
Joshy

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


THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system.

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



Re: Urgent Help needed !

2002-02-14 Thread Juan Hernández Gómez

You can use the method setMaxRows(int) of the java.sql.Statement to limit
the number of rows and you can also use the absolute(int) method of the
java.sql.ResultSet to move to a specific row if the ResultSet is scrollable
(that's an option when creating the Statement or PreparedStatement).

With the previous two methods you can obtain the desired rows of a query.

 -Original Message-
 From: JOSHY MON M C [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 14, 2002 2:04 PM
 To: [EMAIL PROTECTED]
 Subject: Urgent Help needed !


 Hi All,
 Can Anybody help ?

 I have a Oracle 9i table named Contacts which contain about 1 records.
I
 need to show them in a JSP page ordered by last name or first name or in
any
 other order (as per user request). But only 100 records should be shown at
a
 time. User can click Previous or Next links to see more records ( as
in
 Google/Yahoo search )

 I have done this by creating a temporary table. Records are sorted and
kept
 in the temporary table . But this seems to be a very slow and inefficient
 method. ( Each request involves a select from the original table, creation
 of tempory table, insertion into temp table and finally select from temp
 table. ) Can anybody suggest a better approach ?

 Thanks
 Joshy


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


 THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
 ADDRESSEE and may contain confidential and privileged information.
 If the reader of this message is not the intended recipient,
 you are notified that any dissemination, distribution or copy of this
 communication is strictly Prohibited.
 If you have received this message by error, please notify us
 immediately, return the original mail to the sender and delete the
 message from your system.


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

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



Re: Urgent Help needed !

2002-02-14 Thread Borislav Iordanov

There are several taglibs that do that automatically
for you, one is TICL from http://www.kobrix.com.

--- JOSHY MON M C [EMAIL PROTECTED] wrote:
 Hi All,
 Can Anybody help ?

 I have a Oracle 9i table named Contacts which
 contain about 1 records. I
 need to show them in a JSP page ordered by last name
 or first name or in any
 other order (as per user request). But only 100
 records should be shown at a
 time. User can click Previous or Next links to
 see more records ( as in
 Google/Yahoo search )

 I have done this by creating a temporary table.
 Records are sorted and kept
 in the temporary table . But this seems to be a very
 slow and inefficient
 method. ( Each request involves a select from the
 original table, creation
 of tempory table, insertion into temp table and
 finally select from temp
 table. ) Can anybody suggest a better approach ?

 Thanks
 Joshy


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


__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

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



Re: Help Needed - Flash Images problem with Netscape 4.61

2001-12-06 Thread Mattias Jiderhamn

This is one of the most off topic post I have seen on this list.
Even so, the poster managed to slip in the three magic letters J, S and
P...
It's nice to see how creative people are ;-)

(Please note the smiley, and don't take this post too seriously)

  Mattias Jiderhamn
  Expert Systems
  [EMAIL PROTECTED]


 -Original Message-
 From: SUBSCRIBE JSP-INTEREST Madhavi C S
 [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 05, 2001 1:24 PM
 Subject: Help Needed - Flash Images problem with Netscape 4.61


 Hi All,

 This is my first posting to this mailing list.

 I have a problem with Flash images loading in Netscape 4.61
 We are displaying the advertisements (Flash image files with shockwave
 plugin 3) in our application. Multiple ads have to be
 displayed on a page.

 It works fine with IE 5. This problem is there only in Netscape.
 Whenever a page that has more than one Advertisements is
 loaded, the ad
 seems to be floating over the top navigation bar. When the page is
 scrolled down, the advertisement would revert to the proper place.

 The flash image is loaded from within JSP.

 Any help in this regard will be higly appreciated.

 Thanx in advance.


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



Help Needed - Flash Images problem with Netscape 4.61

2001-12-05 Thread SUBSCRIBE JSP-INTEREST Madhavi C S

Hi All,

This is my first posting to this mailing list.

I have a problem with Flash images loading in Netscape 4.61
We are displaying the advertisements (Flash image files with shockwave
plugin 3) in our application. Multiple ads have to be displayed on a page.

It works fine with IE 5. This problem is there only in Netscape.
Whenever a page that has more than one Advertisements is loaded, the ad
seems to be floating over the top navigation bar. When the page is
scrolled down, the advertisement would revert to the proper place.

The flash image is loaded from within JSP.

Any help in this regard will be higly appreciated.

Thanx in advance.

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



Re: Help Needed - Flash Images problem with Netscape 4.61

2001-12-05 Thread Mark Currie

The problem isn't with Flash or JSP the problem here is with the browser
and how it handles Flash elements. Flash elements will always punch through
every other element on the page, including other Flash elements (doesn't
really make sense, but it does something wierd when 2 of them are layered on
top of each other). Sadly, there is no real fix for it. In IE if you set the
wtransparentmode to transparent (I'm pretty sure that's what it's called
anyway). Sorry if I'm not much help...
Mark Currie

- Original Message -
From: SUBSCRIBE JSP-INTEREST Madhavi C S [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 05, 2001 8:23 AM
Subject: Help Needed - Flash Images problem with Netscape 4.61


 Hi All,

 This is my first posting to this mailing list.

 I have a problem with Flash images loading in Netscape 4.61
 We are displaying the advertisements (Flash image files with shockwave
 plugin 3) in our application. Multiple ads have to be displayed on a page.

 It works fine with IE 5. This problem is there only in Netscape.
 Whenever a page that has more than one Advertisements is loaded, the ad
 seems to be floating over the top navigation bar. When the page is
 scrolled down, the advertisement would revert to the proper place.

 The flash image is loaded from within JSP.

 Any help in this regard will be higly appreciated.

 Thanx in advance.


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


===
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 Use-Bean help needed

2001-11-20 Thread Mahendra (Indigo)

jsp:usebean id=xyz scope=session class=abc.efg.xyz
this tag is used to instantiate a simple java bean in JSP.
the scope identifier sets the life time of the bean.
scope=page the bean persists for that page only.
scope=request the bean persists for that request.
scope=session  the bean persists for the whole session.

Now my requirement is more than that of request level scope as the
bean will be used for more than one request.
So i'm using session level scope.but the fight is that I've to
kill that object at some point of time even if the session is still
there and the prob is that the object instantiated using usebean tag,
I'm unable to kill using :
session.setAttribute(xyz,null);  //ie setting xyz object to null.
(maybe i'm doing the wrong way)

solutionss considered so far are :
1. make the scope request level,
then as soon as the object is instantiated put it in session
using :
session.setAttribute(objXYZ,xyz);
then i can set it to null using :
session.setAttribute(xyz,null);
(this option is not a very good option as it leads to session mgmt of ur
own + other complications but it works)

2. I actually changed the design of my bean to solve the above prob
(beyond ur scope to tell u the details).
(again this option is also just an alternate method of just making the
JSP to run properly)


IF THERE EXISTS ANY METHOD BY WHICH AN OBJECT INSTANTIATED USING
USEBEAN TAG WITH SCOPE LEVEL SESSION CAN BE DELETED WITHIN THE SAME
SESSION THEN THAT WILL BE THE BEST SOLUTION.

kindly suggest any solution if u have in ur mind.

M

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



Re: JSP Use-Bean help needed

2001-11-20 Thread Chen, Gin

Use Session.removeAttribute(xyz);
-Tim

-Original Message-
From: Mahendra (Indigo) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 20, 2001 4:03 AM
To: [EMAIL PROTECTED]
Subject: JSP Use-Bean help needed


jsp:usebean id=xyz scope=session class=abc.efg.xyz
this tag is used to instantiate a simple java bean in JSP.
the scope identifier sets the life time of the bean.
scope=page the bean persists for that page only.
scope=request the bean persists for that request.
scope=session  the bean persists for the whole session.

Now my requirement is more than that of request level scope as the
bean will be used for more than one request.
So i'm using session level scope.but the fight is that I've to
kill that object at some point of time even if the session is still
there and the prob is that the object instantiated using usebean tag,
I'm unable to kill using :
session.setAttribute(xyz,null);  //ie setting xyz object to null.
(maybe i'm doing the wrong way)

solutionss considered so far are :
1. make the scope request level,
then as soon as the object is instantiated put it in session
using :
session.setAttribute(objXYZ,xyz);
then i can set it to null using :
session.setAttribute(xyz,null);
(this option is not a very good option as it leads to session mgmt of ur
own + other complications but it works)

2. I actually changed the design of my bean to solve the above prob
(beyond ur scope to tell u the details).
(again this option is also just an alternate method of just making the
JSP to run properly)


IF THERE EXISTS ANY METHOD BY WHICH AN OBJECT INSTANTIATED USING
USEBEAN TAG WITH SCOPE LEVEL SESSION CAN BE DELETED WITHIN THE SAME
SESSION THEN THAT WILL BE THE BEST SOLUTION.

kindly suggest any solution if u have in ur mind.

M

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

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



Re: Newbie Question - jsp:useBean help needed.

2001-07-05 Thread Mattias Jiderhamn

 %@ page import='sample.invoice.*' %
 html
 head
 jsp:useBean id='invoice' class='InvoiceBean'/
 jsp:setProperty name='invoice' property='status' value='pending'/
 jsp:scriptlet invoice =
InvoiceRepository.getInstance().getInvoice(1);
 /jsp:scriptlet !-- Here, I am attemtpting to initialise 'invoice'
to
 A new InvoiceBean object is retreived from the repository --

I'll try to explain this and hopefully somebody corrects me if I get
some details wrong. You might need some knowledge about objects and
references/pointers to understand this.

One could say that the beans and the scriplet variables are in different
contexts. When you create a bean you automatically get a scriplet
variable with the same name.
Lets call them invoice[bean] and invoice[scriptlet]

  jsp:useBean id='invoice' class='InvoiceBean'/
  jsp:setProperty name='invoice' property='status' value='pending'/

After these two tags both the bean and the scriptlet variable references
the same object. You could say invoice[bean] = invoice[scriptlet] - an
invoice which is pending.

  % invoice = InvoiceRepository.getInstance().getInvoice(1); %

This affects ONLY the SCRIPTLET variable. So, the scriptlet variable now
point at a different invoice!

  invoice[bean] - an invoice which is pending.
  invoice[scriptlet] - an invoice from the repository.

I believe that you can make the bean point at the same new object by
using:
  pageContext.setAttribute(invoice,invoice); // (beanName, object)
(Anyone please correct me if I'm wrong).

Good luck.

  Mattias Jiderhamn
  Expert Systems
  [EMAIL PROTECTED]

===
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://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: Newbie Question - jsp:useBean help needed.

2001-07-05 Thread Abhijit Hiremagalur

Thank you very much Mattias, the change you suggested seems to have
rectified my problem. As I mentioned in my original message the purpose
of this exercise is to learn more about JSPs. Can you suggest a
webstie/tutorial/book that would mention things such as this? Or are
these the sort of things one learns only by trying something, getting
stuck and asking someone more eperienced?

For the record I am attempting to implement a variation od the example
project discussed by Duane K.Fields in his book 'Web Development with
Java Server Pages'. I'd better go through the book again, maybe there's
somehting in here that I missed.

Thank you once more.

Abhijit.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]] On Behalf Of Mattias Jiderhamn
Sent: Thursday, July 05, 2001 4:45 PM
To: [EMAIL PROTECTED]
Subject: Re: Newbie Question - jsp:useBean help needed.


 %@ page import='sample.invoice.*' %
 html
 head
 jsp:useBean id='invoice' class='InvoiceBean'/ jsp:setProperty
 name='invoice' property='status' value='pending'/ jsp:scriptlet
 invoice =
InvoiceRepository.getInstance().getInvoice(1);
 /jsp:scriptlet !-- Here, I am attemtpting to initialise 'invoice'
to
 A new InvoiceBean object is retreived from the repository --

I'll try to explain this and hopefully somebody corrects me if I get
some details wrong. You might need some knowledge about objects and
references/pointers to understand this.

One could say that the beans and the scriplet variables are in different
contexts. When you create a bean you automatically get a scriplet
variable with the same name. Lets call them invoice[bean] and
invoice[scriptlet]

  jsp:useBean id='invoice' class='InvoiceBean'/
  jsp:setProperty name='invoice' property='status' value='pending'/

After these two tags both the bean and the scriptlet variable references
the same object. You could say invoice[bean] = invoice[scriptlet] - an
invoice which is pending.

  % invoice = InvoiceRepository.getInstance().getInvoice(1); %

This affects ONLY the SCRIPTLET variable. So, the scriptlet variable now
point at a different invoice!

  invoice[bean] - an invoice which is pending.
  invoice[scriptlet] - an invoice from the repository.

I believe that you can make the bean point at the same new object by
using:
  pageContext.setAttribute(invoice,invoice); // (beanName, object)
(Anyone please correct me if I'm wrong).

Good luck.

  Mattias Jiderhamn
  Expert Systems
  [EMAIL PROTECTED]


===
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://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.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
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



Site tips (was RE: Newbie Question - jsp:useBean help needed.)

2001-07-05 Thread Mattias Jiderhamn

 Thank you very much Mattias, the change you suggested seems to have
 rectified my problem. As I mentioned in my original message the
purpose
 of this exercise is to learn more about JSPs. Can you suggest a
 webstie/tutorial/book that would mention things such as this? Or are
 these the sort of things one learns only by trying something, getting
 stuck and asking someone more eperienced?

I believe I learned that from this list :-)
So read on.

I could recommend the tutorials at JSP Insider:
http://www.jspinsider.com/tutorials/jsp.view

Tip site: http://java.oreilly.com/news/jsptips_1100.html

(Also the links at the bottom of each post).

  Mattias Jiderhamn
  Expert Systems
  [EMAIL PROTECTED]

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



Newbie Question - jsp:useBean help needed.

2001-07-04 Thread Abhijit Hiremagalur

Hi All,

I will attempt to make my question as clear as possible, though I am
sure it will sound a little vague given the fact that I am completely
muddled right now. I am conducting a simple exercise to learn about
JSPs. I have a simple database table in MS Access with 1 'Invoice'
record which has a unique ID. I have an InvoiceBean class which
represents a record with the appropriate get/set methods for each field.
I also have an InvoiceRepository class which handles all database access
and has a 'getInvoice' method that accepts the ID(an int) as a parameter
and returns the correspoding record from my database as an InvoiceBean
object.

One of the columns in each record is 'status'.

The value of status for record in my table with the ID=1 is 'complete'

The code for my sample JSP page that interacts with these is as follows:

%@ page import='sample.invoice.*' %
html
head
jsp:useBean id='invoice' class='InvoiceBean'/
jsp:setProperty name='invoice' property='status' value='pending'/
jsp:scriptlet invoice = InvoiceRepository.getInstance().getInvoice(1);
/jsp:scriptlet !-- Here, I am attemtpting to initialise 'invoice' to
A new InvoiceBean object is retreived from the repository --

titleSimple Invoice JSP/title
/head

body
Status for this invoice number using a JSP/XML tag is jsp:getProperty
name='invoice' property='status'/
br
Status for this invoice number using a generic tag is %=
invoice.getStatus() %
/body
/html

This results in the following output:

Status for this invoice number using a JSP tag is pending
Status for this invoice number using a generic tag is complete

The output I expected with this code is:

Status for this invoice number using a JSP tag is complete
Status for this invoice number using a generic tag is complete

It's almost as if I am now dealing with two separate InvoiceBean objects
with the same 'name'
, one which can be accessed by using jsp:setProperty/jsp:getProperty
tags and another that can be accessed by directly calling the
appropriate 'get/set' method in a scriptlet.

I've tried this in Tomcat 3.2.2 and Resin 2.0.0 with the same result so
I'm sure it's something simple(hopefully) that I am doing wrong,
especially since I have NEVER used JSPs prior to this.

Thank you in advance,

Abhijit.

===
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://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: Urgent help needed

2001-06-06 Thread Karau, Joe

I'm not sure if it is the same problem but...

We use VA Java as a development IDE, and in the past we had a problem where
a class that we exported from VA Java could not be loaded by any other JVM.
After working with IBM we found that it is because VA Java had a bug and it
was exporting a java class with invalid byte codes.  The error we'd recieve
when trying to load this class was very similar to what you are getting.
I'd try writing a small test stub that uses the class loaded to load the
class, and test on a couple of different JVM's.  The class file that you
have may be corrupt.  If it fails to load in other JVM's as well, you'll
have to contact the authors of the class and see what can be done.

Hope this helps.

Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629
AIM: jkara3629


-Original Message-
From: M Sankar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 11:16 PM
To: [EMAIL PROTECTED]
Subject: Urgent help needed


Hi all,

I am using Netscape Iplanet Web Server and JSP.I am trying out a
cryptography module. Now my application is made and is working fine
using  Tomcat on a trial basis. But when I put these application on
iPlanet, JSP Compiler is throwing an Classformat error. It is showing
the message for a particular Java class which is used for cryptography.
The specific message is Illegal constant pool type.

Given below is the error message::

 failure ( 4941): Internal error: exception thrown from the servlet
service function (uri=/cryptix/intro.jsp): java.lang.ClassFormatError:
DES (Illegal constant pool type), Stack: java.lang.ClassFormatError: DES
(Illegal constant pool type)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass0(Compiled Code)
at java.lang.ClassLoader.defineClass(Compiled Code)
at java.security.SecureClassLoader.defineClass(Compiled Code)
at java.net.URLClassLoader.defineClass(Compiled Code)
at java.net.URLClassLoader.access$1(Compiled Code)
at java.net.URLClassLoader$1.run(Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Compiled Code)
at java.net.URLClassLoader.findClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClassInternal(Compiled Code)
at Profile.(Profile.java:86)
at Profile.getInstance(Profile.java:65)
at Logintry.createRequest(Compiled Code)
at _jsps._cryptix._intro_jsp._jspService(_intro_jsp.java:91)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
at
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
a:497)

Any help on this would be great.
Thanks
Sankar

===
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://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.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
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: Urgent help needed

2001-06-06 Thread Brad Cox

Try decompiling the .class with jad and compiling the result with javac.

PS: I use the ABA crypto library heavily with VAJ and have never once
experienced this. Besides, ABA comes with source.

At 7:47 AM -0500 06/06/2001, Karau, Joe wrote:
I'm not sure if it is the same problem but...

We use VA Java as a development IDE, and in the past we had a problem where
a class that we exported from VA Java could not be loaded by any other JVM.
After working with IBM we found that it is because VA Java had a bug and it
was exporting a java class with invalid byte codes.  The error we'd recieve
when trying to load this class was very similar to what you are getting.
I'd try writing a small test stub that uses the class loaded to load the
class, and test on a couple of different JVM's.  The class file that you
have may be corrupt.  If it fails to load in other JVM's as well, you'll
have to contact the authors of the class and see what can be done.

Hope this helps.

Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629
AIM: jkara3629


-Original Message-
From: M Sankar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 11:16 PM
To: [EMAIL PROTECTED]
Subject: Urgent help needed


 Hi all,

I am using Netscape Iplanet Web Server and JSP.I am trying out a
cryptography module. Now my application is made and is working fine
using  Tomcat on a trial basis. But when I put these application on
iPlanet, JSP Compiler is throwing an Classformat error. It is showing
the message for a particular Java class which is used for cryptography.
The specific message is Illegal constant pool type.

Given below is the error message::

  failure ( 4941): Internal error: exception thrown from the servlet
service function (uri=/cryptix/intro.jsp): java.lang.ClassFormatError:
DES (Illegal constant pool type), Stack: java.lang.ClassFormatError: DES
(Illegal constant pool type)
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass0(Compiled Code)
 at java.lang.ClassLoader.defineClass(Compiled Code)
 at java.security.SecureClassLoader.defineClass(Compiled Code)
 at java.net.URLClassLoader.defineClass(Compiled Code)
 at java.net.URLClassLoader.access$1(Compiled Code)
 at java.net.URLClassLoader$1.run(Compiled Code)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessController.doPrivileged(Compiled Code)
 at java.net.URLClassLoader.findClass(Compiled Code)
 at java.lang.ClassLoader.loadClass(Compiled Code)
 at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
 at java.lang.ClassLoader.loadClass(Compiled Code)
 at java.lang.ClassLoader.loadClassInternal(Compiled Code)
 at Profile.(Profile.java:86)
 at Profile.getInstance(Profile.java:65)
 at Logintry.createRequest(Compiled Code)
 at _jsps._cryptix._intro_jsp._jspService(_intro_jsp.java:91)
 at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
 at
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
a:497)

Any help on this would be great.
Thanks
Sankar

===
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://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.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
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


--
---
For industrial age goods there were checks and credit cards.
For everything else there is mybank.dom at http://virtualschool.edu/mybank
Brad Cox, PhD; [EMAIL PROTECTED] 703 361 4751

===
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://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: urgent help needed on checkbox property!!!!

2001-04-13 Thread Dean Sacramone

You can probably use javascript or DHTML for this.. but it would entail
using images.

Just use javascript. Have an image that looks like a checkbox,,,when someone
clicks on it, it swaps out the image with one that has an X on itthen it
sets a variable that will be applied to the value of a form element. --
eats a easy solution.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Agarwal, Shekhar (MED,
TCS America)
Sent: Thursday, April 12, 2001 2:31 PM
To: [EMAIL PROTECTED]
Subject: urgent help needed on checkbox property


hi all
i need a javascript function invoking which we can either mark a check
or a cross on a select box .(X or a check mark)
can anyone help me

SHEKHAR  AGARWAL
TATA CONSULTANCY SERVICES
Email : [EMAIL PROTECTED]
Tel:  268-548-2592 (work)
262-798-1052 (home)




-Original Message-
From: Nishit Trivedi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 2:36 PM
To: [EMAIL PROTECTED]
Subject: OT:java.io.StreamCorruptedException


hi.
I am storing serialized objects in a file on my machine..
when i read back the objects from file, it perfectly displays properties
of
object which is read first but when it tries to read second object, it
gives
me java.io.StreamCorruptedException.. I don't know what's the problem...
I appreciate if somebody can help...
I am in desparate need to solve this...
Here is the snippet of my code:

ArrayList al = new ArrayList();
try{
   while((sge = (SerializableGBEntry)ois.readObject()) != null){
   al.add(sge);
  }
  ois.close();
  fis.close();
}
catch(Exception deserializingE){
  deserializingE.printStackTrace();
  out.println("the deserializingE exception
is:"+deserializingE.getMessage());
}

TIA...

Nishit Trivedi
Software Engineer
Planet Access Networks - An InSage Company
973-691-4704 X157


===
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://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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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: urgent help needed on checkbox property!!!!

2001-04-13 Thread Shawn Zhu

I had to ask, what kinda of service does TCS offer?

 -Original Message-
 From: Agarwal, Shekhar (MED, TCS America)
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 2:31 PM
 To: [EMAIL PROTECTED]
 Subject: urgent help needed on checkbox property


 hi all
 i need a javascript function invoking which we can either mark a check
 or a cross on a select box .(X or a check mark)
 can anyone help me

 SHEKHAR  AGARWAL
 TATA CONSULTANCY SERVICES
 Email : [EMAIL PROTECTED]
 Tel:  268-548-2592 (work)
 262-798-1052 (home)




 -Original Message-
 From: Nishit Trivedi [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 12, 2001 2:36 PM
 To: [EMAIL PROTECTED]
 Subject: OT:java.io.StreamCorruptedException


 hi.
 I am storing serialized objects in a file on my machine..
 when i read back the objects from file, it perfectly displays
 properties
 of
 object which is read first but when it tries to read second object, it
 gives
 me java.io.StreamCorruptedException.. I don't know what's the
 problem...
 I appreciate if somebody can help...
 I am in desparate need to solve this...
 Here is the snippet of my code:
 
 ArrayList al = new ArrayList();
 try{
while((sge = (SerializableGBEntry)ois.readObject()) != null){
al.add(sge);
   }
   ois.close();
   fis.close();
 }
 catch(Exception deserializingE){
   deserializingE.printStackTrace();
   out.println("the deserializingE exception
 is:"+deserializingE.getMessage());
 }
 
 TIA...

 Nishit Trivedi
 Software Engineer
 Planet Access Networks - An InSage Company
 973-691-4704 X157

 ==
 ==
 ===
 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://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".
 For digest: mailto [EMAIL PROTECTED] with body: "set
 JSP-INTEREST DIGEST".
 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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



urgent help needed on checkbox property!!!!

2001-04-12 Thread Agarwal, Shekhar (MED, TCS America)

hi all
i need a javascript function invoking which we can either mark a check
or a cross on a select box .(X or a check mark)
can anyone help me

SHEKHAR  AGARWAL
TATA CONSULTANCY SERVICES
Email : [EMAIL PROTECTED]
Tel:  268-548-2592 (work)
262-798-1052 (home)




-Original Message-
From: Nishit Trivedi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 2:36 PM
To: [EMAIL PROTECTED]
Subject: OT:java.io.StreamCorruptedException


hi.
I am storing serialized objects in a file on my machine..
when i read back the objects from file, it perfectly displays properties
of
object which is read first but when it tries to read second object, it
gives
me java.io.StreamCorruptedException.. I don't know what's the problem...
I appreciate if somebody can help...
I am in desparate need to solve this...
Here is the snippet of my code:

ArrayList al = new ArrayList();
try{
   while((sge = (SerializableGBEntry)ois.readObject()) != null){
   al.add(sge);
  }
  ois.close();
  fis.close();
}
catch(Exception deserializingE){
  deserializingE.printStackTrace();
  out.println("the deserializingE exception
is:"+deserializingE.getMessage());
}

TIA...

Nishit Trivedi
Software Engineer
Planet Access Networks - An InSage Company
973-691-4704 X157


===
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://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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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



help needed with Apache-Jserv installer

2000-12-22 Thread Sushma.R

Hi guys,

I have been trying to configure Tomcat and Apache together.It says that I
will have to download a Apache-Jserv installer from the site
http://java.apache.org/jserv/dist/
If i go there I have no idea which to use for Windows-2000 system.
It tells "For Apache JServ 1.0b5 the installer is in the file
Apache-JServ-1.0b5.exe."

Any idea?

Thanks
Sushma

===
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://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: help needed with Apache-Jserv installer

2000-12-22 Thread Straight, Christian

Sushma,

I've been able to successfully install and run Apache/Tomcat on a local NT
box as follows:

1.  download and install Apache
2.  download Tomcat from http://jakarta.apache.org using the Release
Build for Windows: jakarta-tomcat.zip
3.  download the WIN32 connector DLL from the
jakarta-tomcat/release/v3.2.1/bin/win32/i386 folder called
"ApacheModuleJServ.dll"
4.  unzip Tomcat into a directory of choice - I stuck mine in the Apache
Group directory
5.  start Apache
6.  in Command Prompt, navigate to the Tomcat directory and into bin
execute "startup" at the command prompt and if everything's talking to each
other correctly that should be it.  Tomcat listens to port 8080...so test it
by http://localhost(or_servername):8080/


good luck
Christian Straight




-Original Message-
From: Sushma.R [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 22, 2000 12:56 PM
To: [EMAIL PROTECTED]
Subject: help needed with Apache-Jserv installer


Hi guys,

I have been trying to configure Tomcat and Apache together.It says that I
will have to download a Apache-Jserv installer from the site
http://java.apache.org/jserv/dist/
If i go there I have no idea which to use for Windows-2000 system.
It tells "For Apache JServ 1.0b5 the installer is in the file
Apache-JServ-1.0b5.exe."

Any idea?

Thanks
Sushma

===
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://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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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



poplulating string array in combobox -help needed

2000-10-11 Thread Gunaseelan, R.

hi ,

i 'm new to JSP and i hope the probelm i face would be an easy one for many


I have a jsp which returns a java string array. i want to populate this in a
combo box.  when i execute this i get a number of combo boxes with one value
in each.

the code is
 do
   {
   String testa=result1.substring(b1);
   int count=0;


  %
  select NAME="Software_Type" size="1"

  %
  for(int i=0;itesta.length();i++)
   {

 if ( testa.substring(i,i+1).equals(",") )
 {
count++;
  }

  if (count = 2)
  {

 res[i]=testa.substring(i+1);

   %

  option value="%=res[i]%"%=res[i]%/option

  %


 break;

}


 }
   %
 /select
 %
 result1=result1.substring(a,(b1-1));
   b1=result1.lastIndexOf("pmS");

   } while (b1 = a);

===
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: poplulating string array in combobox -help needed

2000-10-11 Thread I Wayan Saryada

You should put you select tag outside you code LOOP

so:
select ..
  do {
  } while()
/select

-Original Message-
From: Gunaseelan, R. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2000 12:12 AM
To: [EMAIL PROTECTED]
Subject: poplulating string array in combobox -help needed


hi ,

i 'm new to JSP and i hope the probelm i face would be an easy one for many


I have a jsp which returns a java string array. i want to populate this in a
combo box.  when i execute this i get a number of combo boxes with one value
in each.

the code is
 do
   {
   String testa=result1.substring(b1);
   int count=0;


  %
  select NAME="Software_Type" size="1"

  %
  for(int i=0;itesta.length();i++)
   {

 if ( testa.substring(i,i+1).equals(",") )
 {
count++;
  }

  if (count = 2)
  {

 res[i]=testa.substring(i+1);

   %

  option value="%=res[i]%"%=res[i]%/option

  %


 break;

}


 }
   %
 /select
 %
 result1=result1.substring(a,(b1-1));
   b1=result1.lastIndexOf("pmS");

   } while (b1 = a);

===
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: poplulating string array in combobox -help needed

2000-10-11 Thread I Wayan Saryada

You missplaced the html select tag, you should put it outside of your first
looping.

so it would be:

select NAME="Software_Type" size="1"
do {
.
.
.
.
} while (b1 = a);
/select

-Original Message-
From: Gunaseelan, R. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2000 12:12 AM
To: [EMAIL PROTECTED]
Subject: poplulating string array in combobox -help needed


hi ,

i 'm new to JSP and i hope the probelm i face would be an easy one for many


I have a jsp which returns a java string array. i want to populate this in a
combo box.  when i execute this i get a number of combo boxes with one value
in each.

the code is
 do
   {
   String testa=result1.substring(b1);
   int count=0;


  %
  select NAME="Software_Type" size="1"

  %
  for(int i=0;itesta.length();i++)
   {

 if ( testa.substring(i,i+1).equals(",") )
 {
count++;
  }

  if (count = 2)
  {

 res[i]=testa.substring(i+1);

   %

  option value="%=res[i]%"%=res[i]%/option

  %


 break;

}


 }
   %
 /select
 %
 result1=result1.substring(a,(b1-1));
   b1=result1.lastIndexOf("pmS");

   } while (b1 = a);

===
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: Help Needed - Max cursor exceeded Exception

2000-10-05 Thread Rathna

thanx to everyone who suggested the solution.i was able to
solve the problem.FYI, it was because of some place i haven't
close the statement after the sql operation.

thanx again 

with regards,
  rathna.

Tai wrote:

 Try:

 1. after executing SQL statement and use the result set. Remember that drop
 the statement and result set to close the cursor :

 stmt.close();
 resultset.close();

 2.  Increase max_cursors parameter in config.ora

 On Wed, 4 Oct 2000 18:38:25 +0530, A mailing list about Java Server Pages
 specification and
   reference wrote:

   hi all,
 
   This is a bit off  topic but i am sure someone in the list would thru
   light on this.
 
   we are developing a internet based application which works fine but when
 
   we keep accessing for some time, at some point in sql query it throws
   "max number of cursors exceeded" , then after wards it stops responding
for all the database operation.i sure we are closing all the statements
   after
   each execution of  query also we have set the maximum cursor as 250.
 
   when would the opened cursor will reach the max limit?
 
   FYI,we are using connection pooling mechanision to maintion the
   connection.
 
   env: Jrun,apache,oracle8.1.6 on NT.
 
   thanx in advance ...
 
   --
   with regards,
rathna
 
 
 ===
   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

 ___
 Say Bye to Slow Internet!
 http://www.home.com/xinbox/signup.html

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



help needed.. working with hardcoded servlets

2000-10-04 Thread GUNASEELAN RAJENDRAN


 Hi

  I'm developig an appln where i have only the logout servlet. I don't have
 the code of the servlet. upon calling logout it logs the user out and gives
 an empty page. i want to redirect it to a jsp page.
 since i don't have the servlet code my options are limited it seems.
 can i create a new jsp file and put jsp:forward logout inside that .

 thanks in advance

 guna

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



Help Needed - Max cursor exceeded Exception

2000-10-04 Thread Rathna

hi all,

This is a bit off  topic but i am sure someone in the list would thru
light on this.

we are developing a internet based application which works fine but when

we keep accessing for some time, at some point in sql query it throws
"max number of cursors exceeded" , then after wards it stops responding
 for all the database operation.i sure we are closing all the statements
after
each execution of  query also we have set the maximum cursor as 250.

when would the opened cursor will reach the max limit?

FYI,we are using connection pooling mechanision to maintion the
connection.

env: Jrun,apache,oracle8.1.6 on NT.

thanx in advance ...

--
with regards,
 rathna

===
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: Help Needed - Max cursor exceeded Exception

2000-10-04 Thread Murphy, Chris (OTS-EDH)

I have seen this on Oracle 7.x databases.  In my case, the dba needed to
increase the MAX_CURSOR_SIZE (or something like it, I can't remember the
exact one) attribute on my database and I was good to go.

-murph

-Original Message-
From: Rathna [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 6:08 AM
To: [EMAIL PROTECTED]
Subject: Help Needed - Max cursor exceeded Exception


hi all,

This is a bit off  topic but i am sure someone in the list would thru
light on this.

we are developing a internet based application which works fine but when

we keep accessing for some time, at some point in sql query it throws
"max number of cursors exceeded" , then after wards it stops responding
 for all the database operation.i sure we are closing all the statements
after
each execution of  query also we have set the maximum cursor as 250.

when would the opened cursor will reach the max limit?

FYI,we are using connection pooling mechanision to maintion the
connection.

env: Jrun,apache,oracle8.1.6 on NT.

thanx in advance ...

--
with regards,
 rathna

===
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: Help Needed - Max cursor exceeded Exception

2000-10-04 Thread Suvinay Sinha

and close your resultsets/statements/preparedStatements.
There is only so much DBA can increase MAX_CURSOR_SIZE to :-)

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Murphy, Chris (OTS-EDH)
 Sent: Wednesday, October 04, 2000 2:00 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Help Needed - Max cursor exceeded Exception


 I have seen this on Oracle 7.x databases.  In my case, the dba needed to
 increase the MAX_CURSOR_SIZE (or something like it, I can't remember the
 exact one) attribute on my database and I was good to go.

 -murph

 -Original Message-
 From: Rathna [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 04, 2000 6:08 AM
 To: [EMAIL PROTECTED]
 Subject: Help Needed - Max cursor exceeded Exception


 hi all,

 This is a bit off  topic but i am sure someone in the list would thru
 light on this.

 we are developing a internet based application which works fine but when

 we keep accessing for some time, at some point in sql query it throws
 "max number of cursors exceeded" , then after wards it stops responding
  for all the database operation.i sure we are closing all the statements
 after
 each execution of  query also we have set the maximum cursor as 250.

 when would the opened cursor will reach the max limit?

 FYI,we are using connection pooling mechanision to maintion the
 connection.

 env: Jrun,apache,oracle8.1.6 on NT.

 thanx in advance ...

 --
 with regards,
  rathna

 ===
 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: Help Needed - Max cursor exceeded Exception

2000-10-04 Thread Duncan Rose

This is a bug in Oracle's Java implementation - it is mentioned somewhere
in their technical web site, but even when you know to look for it it takes
about 5 hours to find (from my experience).

You can work around by making all your embedded sql into prepared
statements:

String sql = "select * from table_name";
PreparedStatement ps = databaseconnection.prepareStatement(sql);
ResultSet rs = ps.executeQuery();

rs.close();
ps.close();
databaseconnection.close();

-Duncan




-Original Message-
From: Rathna [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 2:08 PM
To: [EMAIL PROTECTED]
Subject: Help Needed - Max cursor exceeded Exception


hi all,

This is a bit off  topic but i am sure someone in the list would thru
light on this.

we are developing a internet based application which works fine but when

we keep accessing for some time, at some point in sql query it throws
"max number of cursors exceeded" , then after wards it stops responding
 for all the database operation.i sure we are closing all the statements
after
each execution of  query also we have set the maximum cursor as 250.

when would the opened cursor will reach the max limit?

FYI,we are using connection pooling mechanision to maintion the
connection.

env: Jrun,apache,oracle8.1.6 on NT.

thanx in advance ...

--
with regards,
 rathna

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



Help Needed on Taglibs

2000-10-04 Thread Sanjay Gomes

Hello
Can anybody help me on taglibs


I compiled file 1 containing the tag definition then created a jar file
including this  a taglib.tld file ran the JSP in the
browser , but it said that it couldnt find the .tld file.The documentation
said that I need to have the .tld file in the Meta-inf directory .But when I
prepare the jar using

 jar -cvf mytags.jar taglibs.tld HelloWorld.java

 the .tld file gets included outside the Meta-inf folder which then contains
a manifest.mf file
can somebody help me on this

Regards
Sanjay

===
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: Help Needed - Max cursor exceeded Exception

2000-10-04 Thread Vinod

Increasing MAX_CURSOR-SIZE will  not alone help you. If u r initially
getting the error for abt 50 hits, after increasing MAX_CURSOR_SIZE you will
get the error for every 100 hits. Make sure that every opened
ResultSet/Statement are closed properly. I am pretty sure that you will get
another error like maximum number of processes exceeded, if you leave your
code like that. Have a code walk through and make sure that everything is
fine.

Cheers,
Vinod
[EMAIL PROTECTED]


-Original Message-
From: Murphy, Chris (OTS-EDH) [mailto:[EMAIL PROTECTED]]
Sent: 5 October 2000 4:00
To: [EMAIL PROTECTED]
Subject: Re: Help Needed - Max cursor exceeded Exception


I have seen this on Oracle 7.x databases.  In my case, the dba needed to
increase the MAX_CURSOR_SIZE (or something like it, I can't remember the
exact one) attribute on my database and I was good to go.

-murph

-Original Message-
From: Rathna [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 6:08 AM
To: [EMAIL PROTECTED]
Subject: Help Needed - Max cursor exceeded Exception


hi all,

This is a bit off  topic but i am sure someone in the list would thru
light on this.

we are developing a internet based application which works fine but when

we keep accessing for some time, at some point in sql query it throws
"max number of cursors exceeded" , then after wards it stops responding
 for all the database operation.i sure we are closing all the statements
after
each execution of  query also we have set the maximum cursor as 250.

when would the opened cursor will reach the max limit?

FYI,we are using connection pooling mechanision to maintion the
connection.

env: Jrun,apache,oracle8.1.6 on NT.

thanx in advance ...

--
with regards,
 rathna

===
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: Help needed..design issues..........

2000-09-12 Thread Jacek Laskowski

Raj S wrote:

 Hi,
I am making an address book application.I have some design issues which I
 have not been able to resolve.
 In this application a user would be able to view his personal address
 book,add addresses and modify or delete them.
 I am using JSP's and at the backened LDAP server.
 I have a list of questions regarding all this.

 Do I need to make EJB's in this application to create,retrive or modify
 addresses?

I'm just starting to understand EJB, so I don't know if that's better or
not comparing to JSP/Servlets. If you don't bother with it, keep
reading.

 Can I directly do it through JSP itself.

1. Simple answer: No.

2. Longer one: JSP is very often misused. That happens because people
don't want to write servlets and helper classes as JSP in fact also
becomes servlet. That's true, but it should help people deploying it in
servlet containers, so they don't have to install another software which
could degrade server performance. The key to create yet another
specification based on already known servlet one is that you can
*extend* your desing and stop messing HTML with Java pieces. When you
think about HTML developer who sees Java code and HTML code together,
what do you see ? I'm pretty sure that in most cases that guy won't work
on that project as it shows up as *very bad* design. Once you begin
create HTML pages with Java, you will have to hire not only HTML guru,
but HTML+Java guru which is not easy. Even though HTML is not high level
technology (as EJB) and it's easy to learn, I think to create beatiful
and useful pages you should be an artist. These with cooperation with
Java guru (i.e. JSP/Servlet guru) can merge their power and become
productive team. If each side - HTML and Java are separated, that's
fine, because people can work separately. It's important to create a
team where all parts work together in their own area of knowledge.

So, JSP and servlets can become very productive once you start using it
where they fit in.

 If I can then how do I ensure user authentication?

On each JSP page, put new tag: my:authentication required="true" /.
The tag would check whether a user is logged in or not and forward (not
redirect !) flow to a "login" component, e.g. LoginServlet. The servlet
then will ask about creditentials and put user's information into
session object. At the moment, the flow can go back to the requested
page with one exception: now a user is authenticated and its information
is in session.

Of course, there are several ways to deal with it. LoginServlet can send
HTTP Authentication Required response, so a browser will pop us
login/password window or you can create a form with input's serving as
a place for a login and a password. Yet another way is to use servlet
container authentication and create appropriate entries in
WEB-INF/web.xml deployment descriptor. After that, if you ask for secure
resources, servlet container will ask you about required info. As you
can see, there are a few ways to use.

 Raj.

Jacek Laskowski

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



Help needed..design issues..........

2000-09-11 Thread Raj S

Hi,
   I am making an address book application.I have some design issues which I
have not been able to resolve.
In this application a user would be able to view his personal address
book,add addresses and modify or delete them.
I am using JSP's and at the backened LDAP server.
I have a list of questions regarding all this.

Do I need to make EJB's in this application to create,retrive or modify
addresses?Can I directly do it through JSP itself.
If I can then how do I ensure user authentication?
If I need to use EJB's then would Session be a better option then
Entity,since I do not wish to store data in EJB server,rahter all this
should be done in LDAP server.
This is actually out of topis,but incase any of you have worked on something
like this,then pls help me.

Thanks and Regards,
Raj.

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.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



help needed from javascript gurus

2000-08-10 Thread Samir Gharse

I have a couple of questions:
1. How to disable tabs for images?
2. How to disable the back buttton of browser?
3. How to implement a modal dialog in javascript?
4. When we put input type=image... in a form the form gets submitted
   when you click the image. Is there a way to call a javascript to do
   some modifications to the form properties before submitting theform?

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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



Re: help needed from javascript gurus

2000-08-10 Thread Nathan Revo

Comments to your questions.

1.  What do you mean, "tabs for images".
2.  You can't disable the back button, you can open your page in a new
window with all the toolbars removed.
3.  Don't know.
4.  In your body tag use the onSubmit function  ...
body onSubmit="someFunction()"

The function will be called before the form is submitted.  If you do a
return(false) from your function it will stop the submit.

-Original Message-
From: Samir Gharse [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 10, 2000 12:14 PM
To: [EMAIL PROTECTED]
Subject: help needed from javascript gurus


I have a couple of questions:
1. How to disable tabs for images?
2. How to disable the back buttton of browser?
3. How to implement a modal dialog in javascript?
4. When we put input type=image... in a form the form gets submitted
   when you click the image. Is there a way to call a javascript to do
   some modifications to the form properties before submitting theform?

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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: help needed from javascript gurus

2000-08-10 Thread Naresh Thawani

Reply 4.

FORM name="Form" onSubmit="return validate()" method="POST"
action="/Servlet"   

function validate()
{
var valid = true;
if(!validateS()) valid= false;
if(!checkC()) valid= false;
if(!validateE()) valid= false;

return valid;
}

-Original Message-
From: Nathan Revo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 10, 2000 1:47 PM
To: [EMAIL PROTECTED]
Subject: Re: help needed from javascript gurus


Comments to your questions.

1.  What do you mean, "tabs for images".
2.  You can't disable the back button, you can open your page in a new
window with all the toolbars removed.
3.  Don't know.
4.  In your body tag use the onSubmit function  ...
body onSubmit="someFunction()"

The function will be called before the form is submitted.  If you do a
return(false) from your function it will stop the submit.

-Original Message-
From: Samir Gharse [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 10, 2000 12:14 PM
To: [EMAIL PROTECTED]
Subject: help needed from javascript gurus


I have a couple of questions:
1. How to disable tabs for images?
2. How to disable the back buttton of browser?
3. How to implement a modal dialog in javascript?
4. When we put input type=image... in a form the form gets submitted
   when you click the image. Is there a way to call a javascript to do
   some modifications to the form properties before submitting theform?

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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

===
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: Urgent help needed

2000-07-28 Thread Kachana Ung

I'm still running into this same problem.  However I
noticed that if I hit the test.jsp first, then hit the
servlet, it worked.

Has anyone ran into this problem using Java Web Server
2.0, and servlet 2.1?

TIA,

Kachana

--- Vasudha Deepak [EMAIL PROTECTED] wrote:
 Hi,
  Check the version of servlet.jar.Probably it
 needs the new one ie
 servlet.jar version2.2
 Also verify your classpath. If you have the new
 verison,may be it is
 referring to the old one somewhere.


 Vasudha
 - Original Message -
 From: Kachana Ung [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, July 21, 2000 10:18 AM
 Subject: Urgent help needed


 Hi,

 I tried unsuccessfully to write a servlet that
 simply
 forwards the request to another jsp page (test.jsp)
 to
 be proccessed. The test.jsp is a simple PURE html
 page
 that just prints something.  Here's the code:

 =
 package workflow.servlet;
 import javax.servlet.*;
 import javax.servlet.http.*;
 public class TestServlet extends HttpServlet{
 public  void service (HttpServletRequest req,
 HttpServletResponse res) throws ServletException,
 java.io.IOException{

 RequestDispatcher rd =

getServletContext().getRequestDispatcher("/workflow/test.jsp");
 rd.forward(req, res);

 }
 }
 ===

 I kept getting the following error message:
 ---
 500 Internal Server Error
 The servlet named Test at the requested URL

 http://sabrejspServlet
 reported this exception:
 java.lang.NullPointerException. Please report this
 to
 the administrator of the web server.

 java.lang.NullPointerException at

com.sun.server.http.pagecompile.GenericPageCompileServlet.loadClass(GenericP
 ageCompileServlet.java:517)
 at

com.sun.server.http.pagecompile.jsp.runtime.JspServlet.compileAndLoadServlet
 (JspServlet.java:274)
 at

com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspSer
 vlet.java:254)
 at

com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.ja
 va:97)
 at

javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
 at

com.sun.server.ServletState.callService(ServletState.java:226)
 at

com.sun.server.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:202)
 at

com.sun.server.http.HttpRequestDispatcherImpl.forward(HttpRequestDispatcherI
 mpl.java:249)
 at

com.thevegroup.client.service.workflow.servlet.TestServlet.service(TestServl
 et.java:21)
 at

javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
 at

com.sun.server.ServletState.callService(ServletState.java:226)
 at

com.sun.server.ServletManager.callServletService(ServletManager.java:936)
 at

com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)
 at

com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)
 at

com.sun.server.http.stages.Runner.process(Runner.java:79)
 at

com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294)
 at com.sun.server.Service.process(Service.java:204)
 at

com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java
 :374)
 at

com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java
 :166)
 at

com.sun.server.HandlerThread.run(HandlerThread.java:162)

 ---

 However when I rewrote the servlet to forward the
 request to an html page (test.jsp above saved as
 test.html), the message is displayed correctly.

 Please, help.
 I'm using NT, jws 2.0, and servlets 2.1.


 Thanks,

 Kachana

 __
 Do You Yahoo!?
 Get Yahoo! Mail - Free email you can access from
 anywhere!
 http://mail.yahoo.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


__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.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.

Urgent help needed

2000-07-21 Thread Kachana Ung

Hi,

I tried unsuccessfully to write a servlet that simply
forwards the request to another jsp page (test.jsp) to
be proccessed. The test.jsp is a simple PURE html page
that just prints something.  Here's the code:

=
package workflow.servlet;
import javax.servlet.*;
import javax.servlet.http.*;
public class TestServlet extends HttpServlet{
public  void service (HttpServletRequest req,
HttpServletResponse res) throws ServletException,
java.io.IOException{

RequestDispatcher rd =
getServletContext().getRequestDispatcher("/workflow/test.jsp");
rd.forward(req, res);

}
}
===

I kept getting the following error message:
---
500 Internal Server Error
The servlet named Test at the requested URL

http://sabrejspServlet
reported this exception:
java.lang.NullPointerException. Please report this to
the administrator of the web server.

java.lang.NullPointerException at
com.sun.server.http.pagecompile.GenericPageCompileServlet.loadClass(GenericPageCompileServlet.java:517)
at
com.sun.server.http.pagecompile.jsp.runtime.JspServlet.compileAndLoadServlet(JspServlet.java:274)
at
com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspServlet.java:254)
at
com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.java:97)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.sun.server.ServletState.callService(ServletState.java:226)
at
com.sun.server.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:202)
at
com.sun.server.http.HttpRequestDispatcherImpl.forward(HttpRequestDispatcherImpl.java:249)
at
com.thevegroup.client.service.workflow.servlet.TestServlet.service(TestServlet.java:21)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.sun.server.ServletState.callService(ServletState.java:226)
at
com.sun.server.ServletManager.callServletService(ServletManager.java:936)
at
com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)
at
com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)
at
com.sun.server.http.stages.Runner.process(Runner.java:79)
at
com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294)
at com.sun.server.Service.process(Service.java:204) at
com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374)
at
com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:166)
at
com.sun.server.HandlerThread.run(HandlerThread.java:162)

---

However when I rewrote the servlet to forward the
request to an html page (test.jsp above saved as
test.html), the message is displayed correctly.

Please, help.
I'm using NT, jws 2.0, and servlets 2.1.


Thanks,

Kachana

__
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.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



Re: Urgent help needed

2000-07-21 Thread Joshi, Aparna

There may be a problem in your JSP. Tag not ended properly, etc.

-Original Message-
From: Kachana Ung [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 21, 2000 9:19 AM
To: [EMAIL PROTECTED]
Subject: Urgent help needed


Hi,

I tried unsuccessfully to write a servlet that simply
forwards the request to another jsp page (test.jsp) to
be proccessed. The test.jsp is a simple PURE html page
that just prints something.  Here's the code:

=
package workflow.servlet;
import javax.servlet.*;
import javax.servlet.http.*;
public class TestServlet extends HttpServlet{
public  void service (HttpServletRequest req,
HttpServletResponse res) throws ServletException,
java.io.IOException{

RequestDispatcher rd =
getServletContext().getRequestDispatcher("/workflow/test.jsp");
rd.forward(req, res);

}
}
===

I kept getting the following error message:
---
500 Internal Server Error
The servlet named Test at the requested URL

http://sabrejspServlet
reported this exception:
java.lang.NullPointerException. Please report this to
the administrator of the web server.

java.lang.NullPointerException at
com.sun.server.http.pagecompile.GenericPageCompileServlet.loadClass(GenericP
ageCompileServlet.java:517)
at
com.sun.server.http.pagecompile.jsp.runtime.JspServlet.compileAndLoadServlet
(JspServlet.java:274)
at
com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspSer
vlet.java:254)
at
com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.ja
va:97)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.sun.server.ServletState.callService(ServletState.java:226)
at
com.sun.server.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:202)
at
com.sun.server.http.HttpRequestDispatcherImpl.forward(HttpRequestDispatcherI
mpl.java:249)
at
com.thevegroup.client.service.workflow.servlet.TestServlet.service(TestServl
et.java:21)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.sun.server.ServletState.callService(ServletState.java:226)
at
com.sun.server.ServletManager.callServletService(ServletManager.java:936)
at
com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)
at
com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)
at
com.sun.server.http.stages.Runner.process(Runner.java:79)
at
com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294)
at com.sun.server.Service.process(Service.java:204) at
com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java
:374)
at
com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java
:166)
at
com.sun.server.HandlerThread.run(HandlerThread.java:162)

---

However when I rewrote the servlet to forward the
request to an html page (test.jsp above saved as
test.html), the message is displayed correctly.

Please, help.
I'm using NT, jws 2.0, and servlets 2.1.


Thanks,

Kachana

__
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.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: Urgent help needed

2000-07-21 Thread Kachana Ung

Aparna,

When I directly hit the jsp page, it worked fine.

Thanks,

Kachana
--- "Joshi, Aparna" [EMAIL PROTECTED] wrote:
 There may be a problem in your JSP. Tag not ended
 properly, etc.

 -Original Message-
 From: Kachana Ung [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 21, 2000 9:19 AM
 To: [EMAIL PROTECTED]
 Subject: Urgent help needed


 Hi,

 I tried unsuccessfully to write a servlet that
 simply
 forwards the request to another jsp page (test.jsp)
 to
 be proccessed. The test.jsp is a simple PURE html
 page
 that just prints something.  Here's the code:

 =
 package workflow.servlet;
 import javax.servlet.*;
 import javax.servlet.http.*;
 public class TestServlet extends HttpServlet{
 public  void service (HttpServletRequest req,
 HttpServletResponse res) throws ServletException,
 java.io.IOException{

 RequestDispatcher rd =

getServletContext().getRequestDispatcher("/workflow/test.jsp");
 rd.forward(req, res);

 }
 }
 ===

 I kept getting the following error message:
 ---
 500 Internal Server Error
 The servlet named Test at the requested URL

 http://sabrejspServlet
 reported this exception:
 java.lang.NullPointerException. Please report this
 to
 the administrator of the web server.

 java.lang.NullPointerException at

com.sun.server.http.pagecompile.GenericPageCompileServlet.loadClass(GenericP
 ageCompileServlet.java:517)
 at

com.sun.server.http.pagecompile.jsp.runtime.JspServlet.compileAndLoadServlet
 (JspServlet.java:274)
 at

com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspSer
 vlet.java:254)
 at

com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.ja
 va:97)
 at

javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
 at

com.sun.server.ServletState.callService(ServletState.java:226)
 at

com.sun.server.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:202)
 at

com.sun.server.http.HttpRequestDispatcherImpl.forward(HttpRequestDispatcherI
 mpl.java:249)
 at

com.thevegroup.client.service.workflow.servlet.TestServlet.service(TestServl
 et.java:21)
 at

javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
 at

com.sun.server.ServletState.callService(ServletState.java:226)
 at

com.sun.server.ServletManager.callServletService(ServletManager.java:936)
 at

com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)
 at

com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)
 at

com.sun.server.http.stages.Runner.process(Runner.java:79)
 at

com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294)
 at com.sun.server.Service.process(Service.java:204)
 at

com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java
 :374)
 at

com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java
 :166)
 at

com.sun.server.HandlerThread.run(HandlerThread.java:162)

 ---

 However when I rewrote the servlet to forward the
 request to an html page (test.jsp above saved as
 test.html), the message is displayed correctly.

 Please, help.
 I'm using NT, jws 2.0, and servlets 2.1.


 Thanks,

 Kachana

 __
 Do You Yahoo!?
 Get Yahoo! Mail - Free email you can access from
 anywhere!
 http://mail.yahoo.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


__
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.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



Re: Urgent help needed

2000-07-21 Thread Vasudha Deepak

Hi,
 Check the version of servlet.jar.Probably it needs the new one ie
servlet.jar version2.2
Also verify your classpath. If you have the new verison,may be it is
referring to the old one somewhere.


Vasudha
- Original Message -
From: Kachana Ung [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 21, 2000 10:18 AM
Subject: Urgent help needed


Hi,

I tried unsuccessfully to write a servlet that simply
forwards the request to another jsp page (test.jsp) to
be proccessed. The test.jsp is a simple PURE html page
that just prints something.  Here's the code:

=
package workflow.servlet;
import javax.servlet.*;
import javax.servlet.http.*;
public class TestServlet extends HttpServlet{
public  void service (HttpServletRequest req,
HttpServletResponse res) throws ServletException,
java.io.IOException{

RequestDispatcher rd =
getServletContext().getRequestDispatcher("/workflow/test.jsp");
rd.forward(req, res);

}
}
===

I kept getting the following error message:
---
500 Internal Server Error
The servlet named Test at the requested URL

http://sabrejspServlet
reported this exception:
java.lang.NullPointerException. Please report this to
the administrator of the web server.

java.lang.NullPointerException at
com.sun.server.http.pagecompile.GenericPageCompileServlet.loadClass(GenericP
ageCompileServlet.java:517)
at
com.sun.server.http.pagecompile.jsp.runtime.JspServlet.compileAndLoadServlet
(JspServlet.java:274)
at
com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspSer
vlet.java:254)
at
com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.ja
va:97)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.sun.server.ServletState.callService(ServletState.java:226)
at
com.sun.server.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:202)
at
com.sun.server.http.HttpRequestDispatcherImpl.forward(HttpRequestDispatcherI
mpl.java:249)
at
com.thevegroup.client.service.workflow.servlet.TestServlet.service(TestServl
et.java:21)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.sun.server.ServletState.callService(ServletState.java:226)
at
com.sun.server.ServletManager.callServletService(ServletManager.java:936)
at
com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)
at
com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)
at
com.sun.server.http.stages.Runner.process(Runner.java:79)
at
com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294)
at com.sun.server.Service.process(Service.java:204) at
com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java
:374)
at
com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java
:166)
at
com.sun.server.HandlerThread.run(HandlerThread.java:162)

---

However when I rewrote the servlet to forward the
request to an html page (test.jsp above saved as
test.html), the message is displayed correctly.

Please, help.
I'm using NT, jws 2.0, and servlets 2.1.


Thanks,

Kachana

__
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.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: How to Generate Reports in JSP?.Help needed

2000-05-31 Thread Fernando Ribeiro

Is not a report generator implemented as a bean enough for you?

fribeiro

- Original Message -
From: "Biren Patnaik" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 31, 2000 7:04 AM
Subject: Re: How to Generate Reports in JSP?.Help needed


 Hi Dennis,
 Thanx for ur reply.Do u have any solution of generating reports.I m
 developing an intranet based application in java/jsp .I want to generate
 20 to 30 reports.I don't get any idea of how to generate reports in JSP.I
 m using Oracle 8.0.3 as backend.I want to generate reports on-line, means
 in the browser.Some suggested to go for Oracle web-programming and some
 suggested for Crystal reports and some for Brio.Brio is very expensive.If
 I choose Crystal reports ,it is again a MS Product.Can't I develop it
 solely on jsp/servlet or using any inexpensive tools needed for generating
 reports.Please help
 Looking forward to geeting reply from u at the earliest.
 Biren

 On Wed, 31 May 2000, Dennis Huang wrote:

  Free? No! Brio ask us for $US75,000!
  But I should say Brio is very good. Go to www.brio.com to have a look.
 
  Dennis
 
  -Original Message-
  From: Biren Patnaik [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, 31 May 2000 17:15
  To: [EMAIL PROTECTED]
  Subject: Re: How to Generate Reports in JSP?.Help needed
 
 
  Hi Pradeep,
  Thanx for ur answer.I don't have enough idea about BRIO.Can u please
tell
  me any sites of BRIO.Is it freely available on the net.Please give me
some
  hints about this.Is it a tool for JSP OR Java for report
generation.Please
  help.Awaiting ur reply.
  Thanx in advance
 
  On Tue, 30 May 2000, Pradeep Kumar wrote:
 
   Also, check BRIO...its a pretty good tool for generating web reports
  
   -Pradeep
  
   -Original Message-
   From: Hines, Bill [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, May 30, 2000 5:55 PM
   To: [EMAIL PROTECTED]
   Subject: Re: How to Generate Reports in JSP?.Help needed
  
  
   Crystal Reports, which has always been the to reporting tool, also has
web
   tools. But what we do is to just generate a static HTML page and
invite
  our
   users to use the 'Print' button of the browser.  Bill Hines
  
   -Original Message-
   From: Biren Patnaik [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, May 30, 2000 3:44 AM
   To: [EMAIL PROTECTED]
   Subject: Re: How to Generate Reports in JSP?.Help needed
  
  
   Hi verret,
   Thanks for ur quick answer.Can u please tell me any web-sites which
will
   have a clear understanding about the report server.Any books also?.
  
   On Mon, 29 May 2000, Serge Verret wrote:
  
I think the use of report server from Oracle would be the answer ,
it can generate html or pdf
   
   
- Original Message -
From: Biren Patnaik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 29, 2000 3:50 AM
Subject: How to Generate Reports in JSP?.Help needed
   
   
 Hi,
 Can anyone suggest me How to generate reports in JSP or using
latest
   Java
 Technology .Here My back-end is Oracle 8.0.3.
 Looking forward to geeting reply from tje JSP community sites.
 Thanks in advance
 Biren


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

Re: How to Generate Reports in JSP?.Help needed

2000-05-30 Thread Serge Verret

http://www.oracle.com/datawarehouse/products/bitools/reports/

here a link to oracle web site about reports server


- Original Message -
From: Biren Patnaik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 30, 2000 2:44 AM
Subject: Re: How to Generate Reports in JSP?.Help needed


 Hi verret,
 Thanks for ur quick answer.Can u please tell me any web-sites which will
 have a clear understanding about the report server.Any books also?.

 On Mon, 29 May 2000, Serge Verret wrote:

  I think the use of report server from Oracle would be the answer ,
  it can generate html or pdf
 
 
  - Original Message -
  From: Biren Patnaik [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, May 29, 2000 3:50 AM
  Subject: How to Generate Reports in JSP?.Help needed
 
 
   Hi,
   Can anyone suggest me How to generate reports in JSP or using latest
Java
   Technology .Here My back-end is Oracle 8.0.3.
   Looking forward to geeting reply from tje JSP community sites.
   Thanks in advance
   Biren
  
  
 
===
   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

===
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 Generate Reports in JSP?.Help needed

2000-05-30 Thread Pradeep Kumar

Also, check BRIO...its a pretty good tool for generating web reports

-Pradeep

-Original Message-
From: Hines, Bill [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 30, 2000 5:55 PM
To: [EMAIL PROTECTED]
Subject: Re: How to Generate Reports in JSP?.Help needed


Crystal Reports, which has always been the to reporting tool, also has web
tools. But what we do is to just generate a static HTML page and invite our
users to use the 'Print' button of the browser.  Bill Hines

-Original Message-
From: Biren Patnaik [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 30, 2000 3:44 AM
To: [EMAIL PROTECTED]
Subject: Re: How to Generate Reports in JSP?.Help needed


Hi verret,
Thanks for ur quick answer.Can u please tell me any web-sites which will
have a clear understanding about the report server.Any books also?.

On Mon, 29 May 2000, Serge Verret wrote:

 I think the use of report server from Oracle would be the answer ,
 it can generate html or pdf


 - Original Message -
 From: Biren Patnaik [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, May 29, 2000 3:50 AM
 Subject: How to Generate Reports in JSP?.Help needed


  Hi,
  Can anyone suggest me How to generate reports in JSP or using latest
Java
  Technology .Here My back-end is Oracle 8.0.3.
  Looking forward to geeting reply from tje JSP community sites.
  Thanks in advance
  Biren
 
 

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

===
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 Generate Reports in JSP?.Help needed

2000-05-30 Thread Dennis Huang

Do you know how much does it cost?

Dennis Huang

-Original Message-
From: Serge Verret [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 30 May 2000 23:37
To: [EMAIL PROTECTED]
Subject: Re: How to Generate Reports in JSP?.Help needed


http://www.oracle.com/datawarehouse/products/bitools/reports/

here a link to oracle web site about reports server


- Original Message -
From: Biren Patnaik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 30, 2000 2:44 AM
Subject: Re: How to Generate Reports in JSP?.Help needed


 Hi verret,
 Thanks for ur quick answer.Can u please tell me any web-sites which will
 have a clear understanding about the report server.Any books also?.

 On Mon, 29 May 2000, Serge Verret wrote:

  I think the use of report server from Oracle would be the answer ,
  it can generate html or pdf
 
 
  - Original Message -
  From: Biren Patnaik [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, May 29, 2000 3:50 AM
  Subject: How to Generate Reports in JSP?.Help needed
 
 
   Hi,
   Can anyone suggest me How to generate reports in JSP or using latest
Java
   Technology .Here My back-end is Oracle 8.0.3.
   Looking forward to geeting reply from tje JSP community sites.
   Thanks in advance
   Biren
  
  
 
===
   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

===
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 Generate Reports in JSP?.Help needed

2000-05-30 Thread Biren Patnaik

Hi Pradeep,
Thanx for ur answer.I don't have enough idea about BRIO.Can u please tell
me any sites of BRIO.Is it freely available on the net.Please give me some
hints about this.Is it a tool for JSP OR Java for report generation.Please
help.Awaiting ur reply.
Thanx in advance

On Tue, 30 May 2000, Pradeep Kumar wrote:

 Also, check BRIO...its a pretty good tool for generating web reports

 -Pradeep

 -Original Message-
 From: Hines, Bill [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 30, 2000 5:55 PM
 To: [EMAIL PROTECTED]
 Subject: Re: How to Generate Reports in JSP?.Help needed


 Crystal Reports, which has always been the to reporting tool, also has web
 tools. But what we do is to just generate a static HTML page and invite our
 users to use the 'Print' button of the browser.  Bill Hines

 -Original Message-
 From: Biren Patnaik [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 30, 2000 3:44 AM
 To: [EMAIL PROTECTED]
 Subject: Re: How to Generate Reports in JSP?.Help needed


 Hi verret,
 Thanks for ur quick answer.Can u please tell me any web-sites which will
 have a clear understanding about the report server.Any books also?.

 On Mon, 29 May 2000, Serge Verret wrote:

  I think the use of report server from Oracle would be the answer ,
  it can generate html or pdf
 
 
  - Original Message -
  From: Biren Patnaik [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, May 29, 2000 3:50 AM
  Subject: How to Generate Reports in JSP?.Help needed
 
 
   Hi,
   Can anyone suggest me How to generate reports in JSP or using latest
 Java
   Technology .Here My back-end is Oracle 8.0.3.
   Looking forward to geeting reply from tje JSP community sites.
   Thanks in advance
   Biren
  
  
 
 ===
   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

 ===
 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 Generate Reports in JSP?.Help needed

2000-05-30 Thread Dennis Huang

Free? No! Brio ask us for $US75,000!
But I should say Brio is very good. Go to www.brio.com to have a look.

Dennis

-Original Message-
From: Biren Patnaik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 31 May 2000 17:15
To: [EMAIL PROTECTED]
Subject: Re: How to Generate Reports in JSP?.Help needed


Hi Pradeep,
Thanx for ur answer.I don't have enough idea about BRIO.Can u please tell
me any sites of BRIO.Is it freely available on the net.Please give me some
hints about this.Is it a tool for JSP OR Java for report generation.Please
help.Awaiting ur reply.
Thanx in advance

On Tue, 30 May 2000, Pradeep Kumar wrote:

 Also, check BRIO...its a pretty good tool for generating web reports

 -Pradeep

 -Original Message-
 From: Hines, Bill [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 30, 2000 5:55 PM
 To: [EMAIL PROTECTED]
 Subject: Re: How to Generate Reports in JSP?.Help needed


 Crystal Reports, which has always been the to reporting tool, also has web
 tools. But what we do is to just generate a static HTML page and invite
our
 users to use the 'Print' button of the browser.  Bill Hines

 -Original Message-
 From: Biren Patnaik [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 30, 2000 3:44 AM
 To: [EMAIL PROTECTED]
 Subject: Re: How to Generate Reports in JSP?.Help needed


 Hi verret,
 Thanks for ur quick answer.Can u please tell me any web-sites which will
 have a clear understanding about the report server.Any books also?.

 On Mon, 29 May 2000, Serge Verret wrote:

  I think the use of report server from Oracle would be the answer ,
  it can generate html or pdf
 
 
  - Original Message -
  From: Biren Patnaik [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, May 29, 2000 3:50 AM
  Subject: How to Generate Reports in JSP?.Help needed
 
 
   Hi,
   Can anyone suggest me How to generate reports in JSP or using latest
 Java
   Technology .Here My back-end is Oracle 8.0.3.
   Looking forward to geeting reply from tje JSP community sites.
   Thanks in advance
   Biren
  
  
 

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


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

===
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 Generate Reports in JSP?.Help needed

2000-05-30 Thread Biren Patnaik

Hi Dennis,
Thanx for ur reply.Do u have any solution of generating reports.I m
developing an intranet based application in java/jsp .I want to generate
20 to 30 reports.I don't get any idea of how to generate reports in JSP.I
m using Oracle 8.0.3 as backend.I want to generate reports on-line, means
in the browser.Some suggested to go for Oracle web-programming and some
suggested for Crystal reports and some for Brio.Brio is very expensive.If
I choose Crystal reports ,it is again a MS Product.Can't I develop it
solely on jsp/servlet or using any inexpensive tools needed for generating
reports.Please help
Looking forward to geeting reply from u at the earliest.
Biren

On Wed, 31 May 2000, Dennis Huang wrote:

 Free? No! Brio ask us for $US75,000!
 But I should say Brio is very good. Go to www.brio.com to have a look.

 Dennis

 -Original Message-
 From: Biren Patnaik [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 31 May 2000 17:15
 To: [EMAIL PROTECTED]
 Subject: Re: How to Generate Reports in JSP?.Help needed


 Hi Pradeep,
 Thanx for ur answer.I don't have enough idea about BRIO.Can u please tell
 me any sites of BRIO.Is it freely available on the net.Please give me some
 hints about this.Is it a tool for JSP OR Java for report generation.Please
 help.Awaiting ur reply.
 Thanx in advance

 On Tue, 30 May 2000, Pradeep Kumar wrote:

  Also, check BRIO...its a pretty good tool for generating web reports
 
  -Pradeep
 
  -Original Message-
  From: Hines, Bill [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, May 30, 2000 5:55 PM
  To: [EMAIL PROTECTED]
  Subject: Re: How to Generate Reports in JSP?.Help needed
 
 
  Crystal Reports, which has always been the to reporting tool, also has web
  tools. But what we do is to just generate a static HTML page and invite
 our
  users to use the 'Print' button of the browser.  Bill Hines
 
  -Original Message-
  From: Biren Patnaik [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, May 30, 2000 3:44 AM
  To: [EMAIL PROTECTED]
  Subject: Re: How to Generate Reports in JSP?.Help needed
 
 
  Hi verret,
  Thanks for ur quick answer.Can u please tell me any web-sites which will
  have a clear understanding about the report server.Any books also?.
 
  On Mon, 29 May 2000, Serge Verret wrote:
 
   I think the use of report server from Oracle would be the answer ,
   it can generate html or pdf
  
  
   - Original Message -
   From: Biren Patnaik [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Monday, May 29, 2000 3:50 AM
   Subject: How to Generate Reports in JSP?.Help needed
  
  
Hi,
Can anyone suggest me How to generate reports in JSP or using latest
  Java
Technology .Here My back-end is Oracle 8.0.3.
Looking forward to geeting reply from tje JSP community sites.
Thanks in advance
Biren
   
   
  
 
 ===
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
 
 
 ===
  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:/

Re: How to Generate Reports in JSP?.Help needed

2000-05-29 Thread Serge Verret

I think the use of report server from Oracle would be the answer ,
it can generate html or pdf


- Original Message -
From: Biren Patnaik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 29, 2000 3:50 AM
Subject: How to Generate Reports in JSP?.Help needed


 Hi,
 Can anyone suggest me How to generate reports in JSP or using latest Java
 Technology .Here My back-end is Oracle 8.0.3.
 Looking forward to geeting reply from tje JSP community sites.
 Thanks in advance
 Biren


===
 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 Generate Reports in JSP?.Help needed

2000-05-29 Thread Biren Patnaik

Hi verret,
Thanks for ur quick answer.Can u please tell me any web-sites which will
have a clear understanding about the report server.Any books also?.

On Mon, 29 May 2000, Serge Verret wrote:

 I think the use of report server from Oracle would be the answer ,
 it can generate html or pdf


 - Original Message -
 From: Biren Patnaik [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, May 29, 2000 3:50 AM
 Subject: How to Generate Reports in JSP?.Help needed


  Hi,
  Can anyone suggest me How to generate reports in JSP or using latest Java
  Technology .Here My back-end is Oracle 8.0.3.
  Looking forward to geeting reply from tje JSP community sites.
  Thanks in advance
  Biren
 
 
 ===
  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



How to Generate Reports in JSP?.Help needed

2000-05-28 Thread Biren Patnaik

Hi,
Can anyone suggest me How to generate reports in JSP or using latest Java
Technology .Here My back-end is Oracle 8.0.3.
Looking forward to geeting reply from tje JSP community sites.
Thanks in advance
Biren

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



Help needed for Configuration of Apache WEBSERVER !

2000-05-16 Thread Sujoy Kumar Bose

Dear All,
  I am extrenmely interested in JSP and Web Applications.

Can Anybody suggest me in details(config files), how to configure a
Apache WEBSERVER (on Windows as well as UNIX) in general and also how to
further configure it for supporting JSP , beans and Servlets.


With best Regards,


Sujoy

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



Help needed in javascript

2000-05-01 Thread srinivasa rao yeramati

Hi

I need to have the following functionality in jsp pages


from page one i have three links  . when i click on link one or two
and go to the next page i should be able to come back to page one using
browser back button. If i click link three and go to the next page i should
not come back to the page one.

right now i am using history object for this but it not solving the purpose
as it is unable to differtiate the links.

is there any method to clear the history  in javascript.


thanks to any one who can help me.

srini

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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



Re: JSp with mysql / minisql Help needed

2000-04-08 Thread Alex Waltrip

Another great source is Geoge Reeves's book "Java and JDBC programming" available
from www.ora.com, Geoge Reeves wrote the first JDBC driver for msql I believe, you
can download it from http://www.dasein.org.


Puri Aman wrote:

 Hi
 Can anyone tell me how to use jsp or java with msql.
 How java cnnects to msql.
 Thanking in anticipation.
 Thanx
 Aman

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

--
Alex Waltrip
Voice:  (303) 779-1755
Email:  [EMAIL PROTECTED]

===
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: JSp with mysql / minisql Help needed

2000-04-07 Thread Raghuraman Sridharan

Hi!

Why don't you check the site.

www.hughes.edu.au

(or) www.hughes.com.au

I don't remember exact  URL  . you can search in yahoo  1) hughes and msql

2) hughes.

This is the site where miniSQL (mSQL) is available with source code.

2yrs back i found java classes library for connecting mSQL available over
there. Now lot more would have come there.

So you will find more information over there.

Thanks and regards
Raghuraman S


--
From:  Puri Aman [SMTP:[EMAIL PROTECTED]]
Sent:  Friday, April 07, 2000 5:23 PM
To:  [EMAIL PROTECTED]
Subject:  JSp with mysql / minisql Help needed

Hi
Can anyone tell me how to use jsp or java with msql.
How java cnnects to msql.
Thanking in anticipation.
Thanx
Aman


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



Help needed :jsp and servlet not able to connect to AS/400 but java Applivcation does

2000-04-03 Thread bramha

I am using apache ,jserv and gnujsp .
I am trying to connect to as/400 using client access ODBC driver and sun's
jdbc-odbc bridge .
using servlet and jsp it gives communication link failure at driver lavel.
But very similiar code runs as Java application .
Help me figure out problem


Thanks in advance .
I  can give all codes if needed
Reply 

===
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: Need Urgent Help needed regarding JSP Beans

2000-03-16 Thread Mark Jorritsma

set the scope="session" in the bean tag in all three jsp's then it should
only get instantiated the first time you hit one those jsp's

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Vinay Kulkarni
 Sent: Thursday, March 16, 2000 3:54 PM
 To: [EMAIL PROTECTED]
 Subject: Need Urgent Help needed regarding JSP  Beans


 HI Guys,

 I need some urgent help.

 I have a 3 JSP pages. In all the three JSP pages I am instantiating the a
 bean. The bean is used to set  get a value.
 Now From the 1st page I set some value by calling a set method from the
 bean. Now when I go to the second or third page  try to get the value set
 by using the get method, I am not able to see the value. The value is lost
 due to instantiating the bean once again in the second page.

 Please can anyone help me asto how can I retain the value in the second
 page.


 Thanks in advance.


 Vinay
 __
 Get Your Private, Free Email at http://www.hotmail.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: Need Urgent Help needed regarding JSP Beans

2000-03-16 Thread Manoj Kumar

Hi vinay,

This is a prblem regarding the scope of the bean/jsp
page.
In the second jsp page you need not instantiate the
bean again. Using the "id" attribute you can always
manipulate the bean in the second jsp page.

hope this should suffice.
get back for more info.

manoj
--- Vinay Kulkarni [EMAIL PROTECTED] wrote:
 HI Guys,

 I need some urgent help.

 I have a 3 JSP pages. In all the three JSP pages I
 am instantiating the a
 bean. The bean is used to set  get a value.
 Now From the 1st page I set some value by calling a
 set method from the
 bean. Now when I go to the second or third page 
 try to get the value set
 by using the get method, I am not able to see the
 value. The value is lost
 due to instantiating the bean once again in the
 second page.

 Please can anyone help me asto how can I retain the
 value in the second
 page.


 Thanks in advance.


 Vinay

__
 Get Your Private, Free Email at
 http://www.hotmail.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


=
Manoj Kumar
Infotech Consulting Inc,
Camphill, PA USA
[EMAIL PROTECTED]
www.icibsl.com


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

===
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: Need Urgent Help needed regarding JSP Beans

2000-03-16 Thread Mike McKechnie

scope="session" in the useBean tag.

- Original Message -
From: "Vinay Kulkarni" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 16, 2000 3:54 PM
Subject: Need Urgent Help needed regarding JSP  Beans


 HI Guys,

 I need some urgent help.

 I have a 3 JSP pages. In all the three JSP pages I am instantiating the a
 bean. The bean is used to set  get a value.
 Now From the 1st page I set some value by calling a set method from the
 bean. Now when I go to the second or third page  try to get the value set
 by using the get method, I am not able to see the value. The value is lost
 due to instantiating the bean once again in the second page.

 Please can anyone help me asto how can I retain the value in the second
 page.


 Thanks in advance.


 Vinay
 __
 Get Your Private, Free Email at http://www.hotmail.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: Need Urgent Help needed regarding JSP Beans

2000-03-16 Thread JK

Use following jsp script at the top of all your jsp pages.
jsp:useBean id="exampleBean" scope="session" class="xxx.yyy.ExampleBean" /

Instantiate it only if it is null and you will be able to use it all the
pages. Here 'ExampleBean' belongs to package xxx.yyy

jk

-Original Message-
From: Vinay Kulkarni [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Friday, March 17, 2000 8:48 AM
Subject: Need Urgent Help needed regarding JSP  Beans


HI Guys,

I need some urgent help.

I have a 3 JSP pages. In all the three JSP pages I am instantiating the a
bean. The bean is used to set  get a value.
Now From the 1st page I set some value by calling a set method from the
bean. Now when I go to the second or third page  try to get the value set
by using the get method, I am not able to see the value. The value is lost
due to instantiating the bean once again in the second page.

Please can anyone help me asto how can I retain the value in the second
page.


Thanks in advance.


Vinay
__
Get Your Private, Free Email at http://www.hotmail.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



FW: Need Urgent Help needed regarding JSP Beans

2000-03-16 Thread Balasubramanian

Hi,

PLEASE, ignore my previous mail.

-

I agree, if the bean is declared with USEBEAN tag in each (applicable) page with 
"session" scope then the same bean exists for that session.

But, i don't see that the latest value is getting passed from one page to another 
where the bean is declared using USEBEAN tag with "session" scope.

Example
===
Assume i have 2 jsp pages (say JSP1.jsp and JSP2.jsp)

In JSP1.jsp

USEBEAN NAME="beanId" TYPE="JSP_JAVABEAN.BeanTest" LIFESPAN="session" 
SETONCREATE BEANPROPERTY="userid" VALUE="INIT-NAME"
SETFROMREQUEST BEANPROPERTY="*"
/USEBEAN

%  HttpSession hs = request.getSession(true); %
h1 USER_ID-1 is : DISPLAY PROPERTY="beanId:userid"/h1
%  beanId.setnew(); %
h1 USER_ID-2 is : DISPLAY PROPERTY="beanId:userid"/h1
a href=http://3.209.128.129:80/NASApp/JSP_JAVABEAN/JSP2.jsp CLICK /a


Where beanId.setnew() sets the "userid" from INT-NAME to NEWNAME


In JSP2.jsp

USEBEAN NAME="beanId" TYPE="JSP_JAVABEAN.BeanTest" LIFESPAN="session" 
SETONCREATE BEANPROPERTY="userid" VALUE="INIT-NEW-NAME"
SETFROMREQUEST BEANPROPERTY="*"
/USEBEAN

h1 USER_ID-1 is : DISPLAY PROPERTY="beanId:userid"/h1

Hear the same bean is declared with Session scope.
Actually, the does not get initialized.
But, still i have "userid" as INIT-NAME and not NEWNAME.

It will be great if you can point me where i am doing mistake.

Thanks... R. Bala


-Original Message-
From:   Lee Collins [SMTP:[EMAIL PROTECTED]]
Sent:   Friday, March 17, 2000 3:53 AM
To: [EMAIL PROTECTED]
Subject:Re: Need Urgent Help needed regarding JSP  Beans

Vinay,

Did you specify a scope??
jsp:useBean id="my_class" class="my.class" scope="" /

If you set the scope to 'session', then when a user goes from page to page
he will recieve the SAME BEAN. A new bean will NOT be instantiated.

If ALL users wish to view/modify the bean then you probably want
scope='application'.

I don't know what the default is but it seems like scope='session' is what
you want.

Lee

From: Vinay Kulkarni [EMAIL PROTECTED]
Reply-To: Vinay Kulkarni [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Need Urgent Help needed regarding JSP  Beans
Date: Thu, 16 Mar 2000 12:54:23 PST

HI Guys,

I need some urgent help.

I have a 3 JSP pages. In all the three JSP pages I am instantiating the a
bean. The bean is used to set  get a value.
Now From the 1st page I set some value by calling a set method from the
bean. Now when I go to the second or third page  try to get the value set
by using the get method, I am not able to see the value. The value is lost
due to instantiating the bean once again in the second page.

Please can anyone help me asto how can I retain the value in the second
page.


Thanks in advance.


Vinay
__
Get Your Private, Free Email at http://www.hotmail.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

__
Get Your Private, Free Email at http://www.hotmail.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



FW: Need Urgent Help needed regarding JSP Beans

2000-03-16 Thread Balasubramanian

Hi,

I agree, if the bean is declared with USEBEAN tag in each (applicable) page with 
"session" scope then the same bean exists for that session.

But, i don't see that the latest value is getting passed from one page to another 
where the bean is declared using USEBEAN tag.

Example
===
Assume i have 2 jsp pages (say JSP1.jsp and JSP2.jsp)

In JSP1.jsp

USEBEAN NAME="beanId" TYPE="JSP_JAVABEAN.BeanTest" LIFESPAN="application" 
SETONCREATE BEANPROPERTY="userid" VALUE="INIT-NAME"
SETFROMREQUEST BEANPROPERTY="*"
/USEBEAN

%  HttpSession hs = request.getSession(true); %
h1 USER_ID-1 is : DISPLAY PROPERTY="beanId:userid"/h1
%  beanId.setnew(); %
h1 USER_ID-2 is : DISPLAY PROPERTY="beanId:userid"/h1
a href=http://3.209.128.129:80/NASApp/JSP_JAVABEAN/JSP2.jsp CLICK /a


Where beanId.setnew() sets the "userid" from INT-NAME to NEWNAME


In JSP2.jsp

USEBEAN NAME="beanId" TYPE="JSP_JAVABEAN.BeanTest" LIFESPAN="application" 
SETONCREATE BEANPROPERTY="userid" VALUE="INIT-NEW-NAME"
SETFROMREQUEST BEANPROPERTY="*"
/USEBEAN

h1 USER_ID-1 is : DISPLAY PROPERTY="beanId:userid"/h1

Hear the same bean is declared with Session scope.
Actually, the does not get initialized.
But, still i have "userid" as INIT-NAME and not NEWNAME.

It will be great if you can point me where i am doing mistake.

Thanks... R. Bala
-Original Message-
From:   Lee Collins [SMTP:[EMAIL PROTECTED]]
Sent:   Friday, March 17, 2000 3:53 AM
To: [EMAIL PROTECTED]
Subject:Re: Need Urgent Help needed regarding JSP  Beans

Vinay,

Did you specify a scope??
jsp:useBean id="my_class" class="my.class" scope="" /

If you set the scope to 'session', then when a user goes from page to page
he will recieve the SAME BEAN. A new bean will NOT be instantiated.

If ALL users wish to view/modify the bean then you probably want
scope='application'.

I don't know what the default is but it seems like scope='session' is what
you want.

Lee

From: Vinay Kulkarni [EMAIL PROTECTED]
Reply-To: Vinay Kulkarni [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Need Urgent Help needed regarding JSP  Beans
Date: Thu, 16 Mar 2000 12:54:23 PST

HI Guys,

I need some urgent help.

I have a 3 JSP pages. In all the three JSP pages I am instantiating the a
bean. The bean is used to set  get a value.
Now From the 1st page I set some value by calling a set method from the
bean. Now when I go to the second or third page  try to get the value set
by using the get method, I am not able to see the value. The value is lost
due to instantiating the bean once again in the second page.

Please can anyone help me asto how can I retain the value in the second
page.


Thanks in advance.


Vinay
__
Get Your Private, Free Email at http://www.hotmail.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

__
Get Your Private, Free Email at http://www.hotmail.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: help needed

2000-02-25 Thread Shrisha Radhakrishna

Try using a shared variable (say, a vector, hashtable or a map) instead of
doing a DB read every time.


- Original Message -
From: "Naresh Singh Chhonker" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 24, 2000 6:34 AM
Subject: help needed


 hai
  I am having a servlet which has Two Listboxes both list are filled
 from database entries
  Say one is Group name and second one is project name list box

  And on changing the Group name the releated Project belonging to that
 group will be displayed in project list box
  for this i fill Group name directly but for each group i am writing
 Java script to fill project list box and working fine

 this combination i need many times on many pages , So every time i fill it
 , but reduces performance and takes lot of timeto reply

 So please tell me the Solution for that So my perfmonce of system increses

 regards
 naresh


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 FAQs on JSP can be found at:
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



help needed

2000-02-24 Thread Naresh Singh Chhonker

hai
 I am having a servlet which has Two Listboxes both list are filled
from database entries
 Say one is Group name and second one is project name list box

 And on changing the Group name the releated Project belonging to that
group will be displayed in project list box
 for this i fill Group name directly but for each group i am writing
Java script to fill project list box and working fine

this combination i need many times on many pages , So every time i fill it
, but reduces performance and takes lot of timeto reply

So please tell me the Solution for that So my perfmonce of system increses

regards
naresh

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Help needed for Project !!!

1999-10-24 Thread Parvez Lanewala



Hi,
I have taken up JSP to do my project in college. I'm not getting an 
application for JSP. I would like to do server side programming involving 
servlets, beans, JDBC. Please help me out.
Thanks.
Parvez Lanewala.