Re: (Very very urgent)Sorting a resultset after cl osing the connection

2007-04-18 Thread Richard Yee

How many rows are you returning? How many columns?

-Richard


Mohammad Metwally wrote:

first i got the data into a cachedRowSet coz i dont wana keep the DB
connection opend for a long time
2nd: why not to do the sort in the DB coz i don't wanna open connection
every  time i want to sort coz i m binding this cachedRowSet into a grid  
the end user can suppose to have easily sort by any column any time  i m
useing a grid have no sort i have to do my self

===
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: (Very very urgent)Sorting a resultset after cl osing the connection

2007-04-18 Thread Mohammad Metwally
it depends coz i m doing this thing as a template for a code generator
template so i need a solution more generalized not for small num of row or
large num ..
thanks in advance
Mohammad

===
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: (Very very urgent)Sorting a resultset after cl osing the connection

2007-04-17 Thread Mohammad Metwally
but after sorting the collection or the list that got from chachedRowSet
how can i put it back into a rowset or cachedrowset ...?

===
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: (Very very urgent)Sorting a resultset after cl osing the connection

2007-04-17 Thread Richard Yee

Mohammad,
Why aren't you having the database do the sorting for you?

-Richard

Mohammad Metwally wrote:

but after sorting the collection or the list that got from chachedRowSet
how can i put it back into a rowset or cachedrowset ...?

===
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: (Very very urgent)Sorting a resultset after cl osing the connection

2007-04-17 Thread Higinio Gonzalezc

2007/4/17, Richard Yee [EMAIL PROTECTED]:


Mohammad,
Why aren't you having the database do the sorting for you?

-Richard

Mohammad Metwally wrote:
 but after sorting the collection or the list that got from chachedRowSet
 how can i put it back into a rowset or cachedrowset ...?


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



the page of web information is http://www.sun.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: (Very very urgent)Sorting a resultset after cl osing the connection

2007-04-17 Thread Mohammad Metwally
first i got the data into a cachedRowSet coz i dont wana keep the DB
connection opend for a long time
2nd: why not to do the sort in the DB coz i don't wanna open connection
every  time i want to sort coz i m binding this cachedRowSet into a grid  
the end user can suppose to have easily sort by any column any time  i m
useing a grid have no sort i have to do my self

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


Re: How to hand in the passwords to users [urgent!]

2003-04-03 Thread Venkat
Hi nancy,
Use same userid as password and popup a page for the fist visit and ask them
the chage the password.

HTH
venkat

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED] Behalf Of Nancy Crisostomo Martinez
Sent: Wednesday, April 02, 2003 9:15 PM
To: [EMAIL PROTECTED]
Subject: Re: How to hand in the passwords to users [urgent!]


Thanks to all!
I have notice that all of you had told me that the best and correct way
would be
the e-mail. But the problem is  that we don't know all the students'e-mails
and the
only one way to recover their e-mails is to let them enter to the site. And
the
problem begin. they could not enter without their passwords.
What can I do?
Regards,
Nancy.

karthikeyan.balasubramanian wrote:

 To add ICING on the Cake you might want to explore Gnu Privacy Gaurd(GPG).
 To send encrypted messages
 which are difficult to read even if the get hold of it in between.

 http://www.flexistentialist.org/archives/000207.shtml

 I got this with just a single search on google.

 Have a great day.

 Karthikeyan.

 -- Original Message -
 From: Velmurugan (Java Team) [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, April 02, 2003 11:12 AM
 Subject: Re: How to hand in the passwords to users [urgent!]

 David,
 That is good idea.

 Nancy,
 E-mail is best way to handover the password to the user.Most of the
on-line
 websites following this approach.
 Please follow the same.

 Regards,
 Velmurugan P
 Java Team.

 - Original Message -
 From: Karr, David [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, April 02, 2003 3:11 AM
 Subject: Re: How to hand in the passwords to users [urgent!]

  Ah, ok, that's another occasional scenario.
 
  A good way to resolve this is to have either the student id or their web
  site registration associated with an email address.  The registration
  for the web site will construct a random password and email it to the
  user.  The user can't log in until they get the password from their
  email.  They can't get the password unless they can get to the email
  account for that student id (or the address they enter for the
  registration).
 
   -Original Message-
   From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]
  
   Thanks David,
   Not exactly,
  
   My application is some kind of schoolar system. In it the students
  could
   find all
   their schoolar information by their own. Yor know, grades, schedules,
   finantial
   information, etc.. So  the user id is given by their student id... so
  that
   is
   clear... but the problem begin because we need to give their passwords
  to
   enter to
   the site We don't want to give a general password for all, because
   some 'bad'
   friends of some students could know his/her student id and enter to
  the
   site with
   the general password and do some 'changes'...
   We need some help to find the most secure way to hand in or to let the
   users know
   their password to enter to the site.
  
   Thanks!
  
   Nancy
  
   Karr, David wrote:
  
Your requirements aren't quite clear, but it sounds like your
application security would look like most online vendor sites, where
  the
user self-registers themselves, deciding on their own password, but
  they
can't get into the rest of the site until they accomplish that.  Is
  that
what you're looking for?
   
 -Original Message-
 From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]

 I'm trying to entablish the best way to hand in their own user_id
  and
 password to the 3000 users of an applicattion developed.

 I don't know which could be the best way to do this without
  forgetting
 the security because each user has some confidential information
  in
 his/her session.

 Could you please help me?
 Any clue could help me!
 Thanks 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 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: How to hand in the passwords to users [urgent!]

2003-04-02 Thread Nancy Crisostomo Martinez
Thanks to all!
I have notice that all of you had told me that the best and correct way would be
the e-mail. But the problem is  that we don't know all the students'e-mails and the
only one way to recover their e-mails is to let them enter to the site. And the
problem begin. they could not enter without their passwords.
What can I do?
Regards,
Nancy.

karthikeyan.balasubramanian wrote:

 To add ICING on the Cake you might want to explore Gnu Privacy Gaurd(GPG).
 To send encrypted messages
 which are difficult to read even if the get hold of it in between.

 http://www.flexistentialist.org/archives/000207.shtml

 I got this with just a single search on google.

 Have a great day.

 Karthikeyan.

 -- Original Message -
 From: Velmurugan (Java Team) [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, April 02, 2003 11:12 AM
 Subject: Re: How to hand in the passwords to users [urgent!]

 David,
 That is good idea.

 Nancy,
 E-mail is best way to handover the password to the user.Most of the on-line
 websites following this approach.
 Please follow the same.

 Regards,
 Velmurugan P
 Java Team.

 - Original Message -
 From: Karr, David [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, April 02, 2003 3:11 AM
 Subject: Re: How to hand in the passwords to users [urgent!]

  Ah, ok, that's another occasional scenario.
 
  A good way to resolve this is to have either the student id or their web
  site registration associated with an email address.  The registration
  for the web site will construct a random password and email it to the
  user.  The user can't log in until they get the password from their
  email.  They can't get the password unless they can get to the email
  account for that student id (or the address they enter for the
  registration).
 
   -Original Message-
   From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]
  
   Thanks David,
   Not exactly,
  
   My application is some kind of schoolar system. In it the students
  could
   find all
   their schoolar information by their own. Yor know, grades, schedules,
   finantial
   information, etc.. So  the user id is given by their student id... so
  that
   is
   clear... but the problem begin because we need to give their passwords
  to
   enter to
   the site We don't want to give a general password for all, because
   some 'bad'
   friends of some students could know his/her student id and enter to
  the
   site with
   the general password and do some 'changes'...
   We need some help to find the most secure way to hand in or to let the
   users know
   their password to enter to the site.
  
   Thanks!
  
   Nancy
  
   Karr, David wrote:
  
Your requirements aren't quite clear, but it sounds like your
application security would look like most online vendor sites, where
  the
user self-registers themselves, deciding on their own password, but
  they
can't get into the rest of the site until they accomplish that.  Is
  that
what you're looking for?
   
 -Original Message-
 From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]

 I'm trying to entablish the best way to hand in their own user_id
  and
 password to the 3000 users of an applicattion developed.

 I don't know which could be the best way to do this without
  forgetting
 the security because each user has some confidential information
  in
 his/her session.

 Could you please help me?
 Any clue could help me!
 Thanks 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 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
 
 
 ===
  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

How to hand in the passwords to users [urgent!]

2003-04-01 Thread Nancy Crisostomo Martinez
Hi all!

I'm trying to entablish the best way to hand in their own user_id and
password to the 3000 users of an applicattion developed.

I don't know which could be the best way to do this without forgetting
the security because each user has some confidential information in
his/her session.

Could you please help me?
Any clue could help me!
Thanks in advance!

Nancy.

===
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: How to hand in the passwords to users [urgent!]

2003-04-01 Thread Karr, David
Your requirements aren't quite clear, but it sounds like your
application security would look like most online vendor sites, where the
user self-registers themselves, deciding on their own password, but they
can't get into the rest of the site until they accomplish that.  Is that
what you're looking for?

 -Original Message-
 From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]

 I'm trying to entablish the best way to hand in their own user_id and
 password to the 3000 users of an applicattion developed.

 I don't know which could be the best way to do this without forgetting
 the security because each user has some confidential information in
 his/her session.

 Could you please help me?
 Any clue could help me!
 Thanks 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 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: How to hand in the passwords to users [urgent!]

2003-04-01 Thread Nancy Crisostomo Martinez
Thanks David,
Not exactly,

My application is some kind of schoolar system. In it the students could find all
their schoolar information by their own. Yor know, grades, schedules, finantial
information, etc.. So  the user id is given by their student id... so that is
clear... but the problem begin because we need to give their passwords to enter to
the site We don't want to give a general password for all, because some 'bad'
friends of some students could know his/her student id and enter to the site with
the general password and do some 'changes'...
We need some help to find the most secure way to hand in or to let the users know
their password to enter to the site.

Thanks!

Nancy

Karr, David wrote:

 Your requirements aren't quite clear, but it sounds like your
 application security would look like most online vendor sites, where the
 user self-registers themselves, deciding on their own password, but they
 can't get into the rest of the site until they accomplish that.  Is that
 what you're looking for?

  -Original Message-
  From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]
 
  I'm trying to entablish the best way to hand in their own user_id and
  password to the 3000 users of an applicattion developed.
 
  I don't know which could be the best way to do this without forgetting
  the security because each user has some confidential information in
  his/her session.
 
  Could you please help me?
  Any clue could help me!
  Thanks 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 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: How to hand in the passwords to users [urgent!]

2003-04-01 Thread Karr, David
Ah, ok, that's another occasional scenario.

A good way to resolve this is to have either the student id or their web
site registration associated with an email address.  The registration
for the web site will construct a random password and email it to the
user.  The user can't log in until they get the password from their
email.  They can't get the password unless they can get to the email
account for that student id (or the address they enter for the
registration).

 -Original Message-
 From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]

 Thanks David,
 Not exactly,

 My application is some kind of schoolar system. In it the students
could
 find all
 their schoolar information by their own. Yor know, grades, schedules,
 finantial
 information, etc.. So  the user id is given by their student id... so
that
 is
 clear... but the problem begin because we need to give their passwords
to
 enter to
 the site We don't want to give a general password for all, because
 some 'bad'
 friends of some students could know his/her student id and enter to
the
 site with
 the general password and do some 'changes'...
 We need some help to find the most secure way to hand in or to let the
 users know
 their password to enter to the site.

 Thanks!

 Nancy

 Karr, David wrote:

  Your requirements aren't quite clear, but it sounds like your
  application security would look like most online vendor sites, where
the
  user self-registers themselves, deciding on their own password, but
they
  can't get into the rest of the site until they accomplish that.  Is
that
  what you're looking for?
 
   -Original Message-
   From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]
  
   I'm trying to entablish the best way to hand in their own user_id
and
   password to the 3000 users of an applicattion developed.
  
   I don't know which could be the best way to do this without
forgetting
   the security because each user has some confidential information
in
   his/her session.
  
   Could you please help me?
   Any clue could help me!
   Thanks 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 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

===
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: How to hand in the passwords to users [urgent!]

2003-04-01 Thread Velmurugan (Java Team)
David,
That is good idea. 

Nancy,
E-mail is best way to handover the password to the user.Most of the on-line websites 
following this approach.
Please follow the same.

Regards,
Velmurugan P
Java Team.



- Original Message - 
From: Karr, David [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 3:11 AM
Subject: Re: How to hand in the passwords to users [urgent!]


 Ah, ok, that's another occasional scenario.
 
 A good way to resolve this is to have either the student id or their web
 site registration associated with an email address.  The registration
 for the web site will construct a random password and email it to the
 user.  The user can't log in until they get the password from their
 email.  They can't get the password unless they can get to the email
 account for that student id (or the address they enter for the
 registration).
 
  -Original Message-
  From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]
 
  Thanks David,
  Not exactly,
 
  My application is some kind of schoolar system. In it the students
 could
  find all
  their schoolar information by their own. Yor know, grades, schedules,
  finantial
  information, etc.. So  the user id is given by their student id... so
 that
  is
  clear... but the problem begin because we need to give their passwords
 to
  enter to
  the site We don't want to give a general password for all, because
  some 'bad'
  friends of some students could know his/her student id and enter to
 the
  site with
  the general password and do some 'changes'...
  We need some help to find the most secure way to hand in or to let the
  users know
  their password to enter to the site.
 
  Thanks!
 
  Nancy
 
  Karr, David wrote:
 
   Your requirements aren't quite clear, but it sounds like your
   application security would look like most online vendor sites, where
 the
   user self-registers themselves, deciding on their own password, but
 they
   can't get into the rest of the site until they accomplish that.  Is
 that
   what you're looking for?
  
-Original Message-
From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]
   
I'm trying to entablish the best way to hand in their own user_id
 and
password to the 3000 users of an applicattion developed.
   
I don't know which could be the best way to do this without
 forgetting
the security because each user has some confidential information
 in
his/her session.
   
Could you please help me?
Any clue could help me!
Thanks 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 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
 
 ===
 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: How to hand in the passwords to users [urgent!]

2003-04-01 Thread V.T.R.Ravi Kumar
I think the best way would be to send a randomly generated password  via
email.
I've used something like this where when the user requests for his passwd
the
passwd is mailed to him...

Tag library could be used to send mail...



V.T.R.Ravi Kumar
Engineer,CCX,BHEL, Haridwar
Phone : Office-91-01334-285260
 Res  -91-01334-226121
-
- Original Message -
From: Nancy Crisostomo Martinez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 3:04 AM
Subject: Re: How to hand in the passwords to users [urgent!]


 Thanks David,
 Not exactly,

 My application is some kind of schoolar system. In it the students could
find all
 their schoolar information by their own. Yor know, grades, schedules,
finantial
 information, etc.. So  the user id is given by their student id... so that
is
 clear... but the problem begin because we need to give their passwords to
enter to
 the site We don't want to give a general password for all, because
some 'bad'
 friends of some students could know his/her student id and enter to the
site with
 the general password and do some 'changes'...
 We need some help to find the most secure way to hand in or to let the
users know
 their password to enter to the site.

 Thanks!

 Nancy

 Karr, David wrote:

  Your requirements aren't quite clear, but it sounds like your
  application security would look like most online vendor sites, where the
  user self-registers themselves, deciding on their own password, but they
  can't get into the rest of the site until they accomplish that.  Is that
  what you're looking for?
 
   -Original Message-
   From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]
  
   I'm trying to entablish the best way to hand in their own user_id and
   password to the 3000 users of an applicattion developed.
  
   I don't know which could be the best way to do this without forgetting
   the security because each user has some confidential information in
   his/her session.
  
   Could you please help me?
   Any clue could help me!
   Thanks 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 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

===
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: How to hand in the passwords to users [urgent!]

2003-04-01 Thread karthikeyan.balasubramanian
To add ICING on the Cake you might want to explore Gnu Privacy Gaurd(GPG).
To send encrypted messages
which are difficult to read even if the get hold of it in between.

http://www.flexistentialist.org/archives/000207.shtml

I got this with just a single search on google.

Have a great day.

Karthikeyan.

-- Original Message -
From: Velmurugan (Java Team) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 11:12 AM
Subject: Re: How to hand in the passwords to users [urgent!]



David,
That is good idea.

Nancy,
E-mail is best way to handover the password to the user.Most of the on-line
websites following this approach.
Please follow the same.

Regards,
Velmurugan P
Java Team.



- Original Message -
From: Karr, David [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 3:11 AM
Subject: Re: How to hand in the passwords to users [urgent!]


 Ah, ok, that's another occasional scenario.

 A good way to resolve this is to have either the student id or their web
 site registration associated with an email address.  The registration
 for the web site will construct a random password and email it to the
 user.  The user can't log in until they get the password from their
 email.  They can't get the password unless they can get to the email
 account for that student id (or the address they enter for the
 registration).

  -Original Message-
  From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]
 
  Thanks David,
  Not exactly,
 
  My application is some kind of schoolar system. In it the students
 could
  find all
  their schoolar information by their own. Yor know, grades, schedules,
  finantial
  information, etc.. So  the user id is given by their student id... so
 that
  is
  clear... but the problem begin because we need to give their passwords
 to
  enter to
  the site We don't want to give a general password for all, because
  some 'bad'
  friends of some students could know his/her student id and enter to
 the
  site with
  the general password and do some 'changes'...
  We need some help to find the most secure way to hand in or to let the
  users know
  their password to enter to the site.
 
  Thanks!
 
  Nancy
 
  Karr, David wrote:
 
   Your requirements aren't quite clear, but it sounds like your
   application security would look like most online vendor sites, where
 the
   user self-registers themselves, deciding on their own password, but
 they
   can't get into the rest of the site until they accomplish that.  Is
 that
   what you're looking for?
  
-Original Message-
From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]
   
I'm trying to entablish the best way to hand in their own user_id
 and
password to the 3000 users of an applicattion developed.
   
I don't know which could be the best way to do this without
 forgetting
the security because each user has some confidential information
 in
his/her session.
   
Could you please help me?
Any clue could help me!
Thanks 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 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


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

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

Re: How to hand in the passwords to users [urgent!]

2003-04-01 Thread David
Dear all,

Can anyone tell me how to unsubscribe from mailing list please!


I send to :[EMAIL PROTECTED]

with the body: signoff JSP-INTEREST


but it doesn't work










-Original Message-
From: A mailing list about Java Server Pages specification and reference 
[mailto:[EMAIL PROTECTED] Behalf Of karthikeyan.balasubramanian
Sent: Wednesday, April 02, 2003 2:02 PM
To: [EMAIL PROTECTED]
Subject: Re: How to hand in the passwords to users [urgent!]


To add ICING on the Cake you might want to explore Gnu Privacy Gaurd(GPG).
To send encrypted messages
which are difficult to read even if the get hold of it in between.

http://www.flexistentialist.org/archives/000207.shtml

I got this with just a single search on google.

Have a great day.

Karthikeyan.

-- Original Message -
From: Velmurugan (Java Team) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 11:12 AM
Subject: Re: How to hand in the passwords to users [urgent!]



David,
That is good idea.

Nancy,
E-mail is best way to handover the password to the user.Most of the on-line
websites following this approach.
Please follow the same.

Regards,
Velmurugan P
Java Team.



- Original Message -
From: Karr, David [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 3:11 AM
Subject: Re: How to hand in the passwords to users [urgent!]


 Ah, ok, that's another occasional scenario.

 A good way to resolve this is to have either the student id or their web
 site registration associated with an email address.  The registration
 for the web site will construct a random password and email it to the
 user.  The user can't log in until they get the password from their
 email.  They can't get the password unless they can get to the email
 account for that student id (or the address they enter for the
 registration).

  -Original Message-
  From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]
 
  Thanks David,
  Not exactly,
 
  My application is some kind of schoolar system. In it the students
 could
  find all
  their schoolar information by their own. Yor know, grades, schedules,
  finantial
  information, etc.. So  the user id is given by their student id... so
 that
  is
  clear... but the problem begin because we need to give their passwords
 to
  enter to
  the site We don't want to give a general password for all, because
  some 'bad'
  friends of some students could know his/her student id and enter to
 the
  site with
  the general password and do some 'changes'...
  We need some help to find the most secure way to hand in or to let the
  users know
  their password to enter to the site.
 
  Thanks!
 
  Nancy
 
  Karr, David wrote:
 
   Your requirements aren't quite clear, but it sounds like your
   application security would look like most online vendor sites, where
 the
   user self-registers themselves, deciding on their own password, but
 they
   can't get into the rest of the site until they accomplish that.  Is
 that
   what you're looking for?
  
-Original Message-
From: Nancy Crisostomo Martinez [mailto:[EMAIL PROTECTED]
   
I'm trying to entablish the best way to hand in their own user_id
 and
password to the 3000 users of an applicattion developed.
   
I don't know which could be the best way to do this without
 forgetting
the security because each user has some confidential information
 in
his/her session.
   
Could you please help me?
Any clue could help me!
Thanks 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 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


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

URGENT!!!!!!!!

2003-02-04 Thread Ruchi Agarwal
Can some one help me .. how to download images from an HTML page and
save to to the hard disk.//

My program shd be able to give a URL and I shd be able to copy the
images from that URL to my Hard disk.




*--
This message and any attachment(s) is intended only for the use of the addressee(s) 
and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the 
intended addressee(s), you are hereby notified that any use, distribution, disclosure 
or copying of this communication is strictly prohibited. If you have received this 
communication in error, please erase all copies of the message and its attachment(s) 
and notify the sender or Kanbay postmaster immediately.

Any views expressed in this message are those of the individual sender and not of 
Kanbay.

Although we have taken steps to ensure that this e-mail and any attachment(s) are free 
from any virus, we advise that in keeping with good computing practice the recipient 
should ensure they are actually virus free.

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

2003-02-04 Thread Sreenath V Reddy
Title: RE: URGENT






u can use teh URL class in java and specify teh image name(complete URL) and use teh input stream and read teh bytes and write to the local disk using file system.

-Original Message-
From: Ruchi Agarwal [mailto:[EMAIL PROTECTED]]
Sent: Tue 2/4/2003 1:46 PM
To: [EMAIL PROTECTED]
Cc:
Subject: URGENT
Can some one help me .. how to download images from an HTML page and
save to to the hard disk.//

My program shd be able to give a URL and I shd be able to copy the
images from that URL to my Hard disk.




*--
This message and any attachment(s) is intended only for the use of the addressee(s) and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended addressee(s), you are hereby notified that any use, distribution, disclosure or copying of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachment(s) and notify the sender or Kanbay postmaster immediately.

Any views expressed in this message are those of the individual sender and not of Kanbay.

Although we have taken steps to ensure that this e-mail and any attachment(s) are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.

=
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, Making taglib available to JSPs without those being in a WAR

2002-12-18 Thread John Miller Crawford
Brilliant! Worked first time for me, Manos! I've been searching for quite a while to 
find out how to do this, through books and sites and lists, till I found your posting. 
Exactly what I needed.

Many thanks!

John

===
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, Making taglib available to JSPs without those being in a WAR

2002-12-02 Thread m batsis
Just to serve the next search engine query on the subject, here's how it
worked out for me:

1) Put the taglib.tld in the same directory with the JSP pages
2) Place the tagLibraryClasses.jar  in the common lib directory of the
app server
3) Change the taglib directive of unregistered JSP pages as follows:

  %@ taglib uri=taglib.tld prefix=prefix %

If that doesn't work, try using an absolute path that begins with a
slash (/SERVER_ROOT/bla/bla/taglib.tld)

Manos



Emmanuil Batsis (Manos) wrote:




Hello,

Apologies for the dumb question but I have zero time; hope one of you
can save me here.
I'm under a situation where I have some JSPs *not* in a WAR file. How
can make a taglib available to those JSPs without deploying them using
a WAR file?

I'm using iplanet application server 6.

Thanks in advance for your time and help.

Manos



===
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, Making taglib available to JSPs without those being i n a WAR

2002-12-02 Thread Nimmons, Buster
According to the spec all web applications need a web.xml file whether it is
in a WAR file or an exploded directory structure.some people never realize
the need for the web.xml because they simply place their JSPs in the context
of the default web app and never have to worry about the web.xml file for
jsp deployments but it is still their. as far as the use of exploded
directory structures we use them extensively in our development environment.
Our IDEs save the JSPs and compiled servlets directly to the exploded
directory structure so all you have to do to test changes is do a page
reload. When the app is ready to deploy we use ANT to build a war file for
deployment.

-Original Message-
From: David M. Karr [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 30, 2002 12:21 PM
To: [EMAIL PROTECTED]
Subject: Re: Urgent, Making taglib available to JSPs without those being
in a WAR


 Paul == Paul Copeland [EMAIL PROTECTED] writes:

Paul David -
Paul OK, I'm game. This just went WAY over my head. Why can't he have a
Paul web.xml without a WAR? ;-)

Ok, this is splitting hairs, but I suppose you could build a directory
structure that matches the WAR structure without building a WAR file.  If
you
did that, however, I don't see the point of not building a WAR file.

--
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; SCJP

===
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, Making taglib available to JSPs without those being in a WAR

2002-11-30 Thread Paul Copeland
David -

OK, I'm game. This just went WAY over my head. Why can't he have a
web.xml without a WAR? ;-)

-- Paul Copeland, JOT Object Technologies - http://www.jotobjects.com



--

Date:Fri, 29 Nov 2002 12:06:40 -0800
From:Karr, David [EMAIL PROTECTED]
Subject: Re: Urgent,
 Making taglib available to JSPs without those being in a WAR

You're answering a different question than he asked.  He doesn't have a =
web.xml file, as he doesn't have a WAR.

I don't see how you can do this.



-Original Message-
From: padhu vinirs [mailto:[EMAIL PROTECTED]]
=20
put
=20
%@ taglib uri=3D... prefix=3D... %
=20
in your jsp pages. Read about this directive in the jsp spec.=20
Also register
the taglib in the web.xml using the taglib element.
=20
-- padhu
=20
- Original Message -
From: m batsis [EMAIL PROTECTED]
=20


Hello,

Apologies for the dumb question but I have zero time; hope=20


one of you


can save me here.
I'm under a situation where I have some JSPs *not* in a WAR=20


file. How


can make a taglib available to those JSPs without deploying=20


them using a


WAR file?

I'm using iplanet application server 6.




--

Date:Fri, 29 Nov 2002 15:35:25 -0800
From:padhu vinirs [EMAIL PROTECTED]
Subject: Re: Urgent,
 Making taglib available to JSPs without those being in a WAR

He still has to have a web application. Create a web-inf directory and
create a web.xml file. Maybe I am missing something.

-- padhu


- Original Message -
From: Karr, David [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 29, 2002 12:06 PM
Subject: Re: Urgent, Making taglib available to JSPs without those being in
a WAR


You're answering a different question than he asked.  He doesn't have a
web.xml file, as he doesn't have a WAR.

I don't see how you can do this.



-Original Message-
From: padhu vinirs [mailto:[EMAIL PROTECTED]]

put

%@ taglib uri=... prefix=... %

in your jsp pages. Read about this directive in the jsp spec.
Also register
the taglib in the web.xml using the taglib element.

-- padhu

- Original Message -
From: m batsis [EMAIL PROTECTED]


Hello,

Apologies for the dumb question but I have zero time; hope


one of you


can save me here.
I'm under a situation where I have some JSPs *not* in a WAR


file. How


can make a taglib available to those JSPs without deploying


them using a


WAR file?

I'm using iplanet application server 6.




===
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, Making taglib available to JSPs without those being in a WAR

2002-11-30 Thread David M. Karr
 Paul == Paul Copeland [EMAIL PROTECTED] writes:

Paul David -
Paul OK, I'm game. This just went WAY over my head. Why can't he have a
Paul web.xml without a WAR? ;-)

Ok, this is splitting hairs, but I suppose you could build a directory
structure that matches the WAR structure without building a WAR file.  If you
did that, however, I don't see the point of not building a WAR file.

--
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; SCJP

===
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, Making taglib available to JSPs without those being in a WAR

2002-11-29 Thread m batsis
Hello,

Apologies for the dumb question but I have zero time; hope one of you
can save me here.
I'm under a situation where I have some JSPs *not* in a WAR file. How
can make a taglib available to those JSPs without deploying them using a
WAR file?

I'm using iplanet application server 6.

Thanks in advance for your time and help.

Manos

===
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, Making taglib available to JSPs without those being in a WAR

2002-11-29 Thread padhu vinirs
put

%@ taglib uri=... prefix=... %

in your jsp pages. Read about this directive in the jsp spec. Also register
the taglib in the web.xml using the taglib element.


-- padhu



- Original Message -
From: m batsis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 29, 2002 6:49 AM
Subject: Urgent, Making taglib available to JSPs without those being in a
WAR


 Hello,

 Apologies for the dumb question but I have zero time; hope one of you
 can save me here.
 I'm under a situation where I have some JSPs *not* in a WAR file. How
 can make a taglib available to those JSPs without deploying them using a
 WAR file?

 I'm using iplanet application server 6.

 Thanks in advance for your time and help.

 Manos


===
 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, Making taglib available to JSPs without those being in a WAR

2002-11-29 Thread Karr, David
You're answering a different question than he asked.  He doesn't have a web.xml file, 
as he doesn't have a WAR.

I don't see how you can do this.

 -Original Message-
 From: padhu vinirs [mailto:[EMAIL PROTECTED]]
 
 put
 
 %@ taglib uri=... prefix=... %
 
 in your jsp pages. Read about this directive in the jsp spec. 
 Also register
 the taglib in the web.xml using the taglib element.
 
 -- padhu
 
 - Original Message -
 From: m batsis [EMAIL PROTECTED]
 
  Hello,
 
  Apologies for the dumb question but I have zero time; hope 
 one of you
  can save me here.
  I'm under a situation where I have some JSPs *not* in a WAR 
 file. How
  can make a taglib available to those JSPs without deploying 
 them using a
  WAR file?
 
  I'm using iplanet application server 6.

==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, Making taglib available to JSPs without those being in a WAR

2002-11-29 Thread padhu vinirs
He still has to have a web application. Create a web-inf directory and
create a web.xml file. Maybe I am missing something.

-- padhu


- Original Message -
From: Karr, David [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 29, 2002 12:06 PM
Subject: Re: Urgent, Making taglib available to JSPs without those being in
a WAR


You're answering a different question than he asked.  He doesn't have a
web.xml file, as he doesn't have a WAR.

I don't see how you can do this.

 -Original Message-
 From: padhu vinirs [mailto:[EMAIL PROTECTED]]

 put

 %@ taglib uri=... prefix=... %

 in your jsp pages. Read about this directive in the jsp spec.
 Also register
 the taglib in the web.xml using the taglib element.

 -- padhu

 - Original Message -
 From: m batsis [EMAIL PROTECTED]

  Hello,
 
  Apologies for the dumb question but I have zero time; hope
 one of you
  can save me here.
  I'm under a situation where I have some JSPs *not* in a WAR
 file. How
  can make a taglib available to those JSPs without deploying
 them using a
  WAR file?
 
  I'm using iplanet application server 6.

=
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



iPlanet- urgent

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

thanks, 
Vishwa Ranjan

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

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



Technical help - urgent..

2002-09-12 Thread It, Cockpit (CAP, Contractor)

Hi All,

We have one Web Application called Hummingbird BI Web Report. It is browser
based Application.
It is Reporting Application.There user can view Reports which is created in
one more tool called BI Query Admin and published into BI Web.
To View a Report user has to have valid username and password.
What it does ,it  first validate user credentials(user name and pwd) and
allows him to view any report.This application is developed in servlet and
webserver as tomcat(i hope so)..

Ok.Right now what i'm customizing that application. our client does like
that original Application's User interface(frond end).
so i'm customizing that application with some more functionalities..

My objective is pass user credentials paramaters from my web application to
BI Web application and get Session for that.
after that  pass parameters to view a report from my web application.

for eg..To login into original application i need to call this URL

http://servername:8070/biweb/request?biUName=administrator
http://servername:8070/biweb/request?biUName=administratorbiPwd=administra
tor biPwd=administrator  it is login into to BI web application ,creates
session for this user and shows it own user interface.

once u get a session for broswer we can viewt report using this url

http://servername:8070/biweb/request?action=viewreport
http://servername:8070/biweb/request?action=viewreporthrrtp=r1/test/testRe
port.rep hrrtp=r1/test/testReport.rep it shows testReport in your
browser.for that u should have valid session.


now what i want is get Session from original application to my own custom
application, and view report..

Now i'm using tomcat server 4.0.3 and trying with jsp.

i'm passing usercredentials to BiWeb application and try to get session of
that application and i dont want original application's user interface.

can we do with include and forward action in jsp or any other ways is there
for this?

i'm ready to use any web server and any web technology(ASP,servlet,jsp what
ever)?

Pls advice and get back to me asap. it is very urgent.

Thanks and Regards
Yogaraj


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: Technical help - urgent..

2002-09-12 Thread Dayanand

Hi,

This is what I have understood:

(a) You have a Reports Generating Application (BIWeb) - already written.
(b) You are writting an application
(c) BIWeb requires user credentials to browse
(d) Your application also requires user credentials to browse
(e) You want your application to interact with BIWeb

This is what I would suggest:

(a) Use the user-database of BIWeb to authenticate users (both your
application and BIWeb will use the
same user-base).
(b) When a user needs to login to your appliation, authentication happens
against BIWeb DB (maybe using
the request servlet) and necessary details are stored in your application
context (after request forward the
authentication confirmation to your application).
(c) If your application requires BIWeb's reports, pass the login details to
a servlet in BIWeb.
(d) BIWeb will render all reports you request, after validating the user
details sent above (The catch is
you need to send the user details for every report that you want to view).

Hope the above is clear.

Regards,
Dayanand.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of It, Cockpit (CAP,
Contractor)
Sent: Friday, September 13, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Technical help - urgent..


Hi All,

We have one Web Application called Hummingbird BI Web Report. It is browser
based Application.
It is Reporting Application.There user can view Reports which is created in
one more tool called BI Query Admin and published into BI Web.
To View a Report user has to have valid username and password.
What it does ,it  first validate user credentials(user name and pwd) and
allows him to view any report.This application is developed in servlet and
webserver as tomcat(i hope so)..

Ok.Right now what i'm customizing that application. our client does like
that original Application's User interface(frond end).
so i'm customizing that application with some more functionalities..

My objective is pass user credentials paramaters from my web application to
BI Web application and get Session for that.
after that  pass parameters to view a report from my web application.

for eg..To login into original application i need to call this URL

http://servername:8070/biweb/request?biUName=administrator
http://servername:8070/biweb/request?biUName=administratorbiPwd=administra
tor biPwd=administrator  it is login into to BI web application ,creates
session for this user and shows it own user interface.

once u get a session for broswer we can viewt report using this url

http://servername:8070/biweb/request?action=viewreport
http://servername:8070/biweb/request?action=viewreporthrrtp=r1/test/testRe
port.rep hrrtp=r1/test/testReport.rep it shows testReport in your
browser.for that u should have valid session.


now what i want is get Session from original application to my own custom
application, and view report..

Now i'm using tomcat server 4.0.3 and trying with jsp.

i'm passing usercredentials to BiWeb application and try to get session of
that application and i dont want original application's user interface.

can we do with include and forward action in jsp or any other ways is there
for this?

i'm ready to use any web server and any web technology(ASP,servlet,jsp what
ever)?

Pls advice and get back to me asap. it is very urgent.

Thanks and Regards
Yogaraj


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



Help Urgent : JSP lines of code

2002-09-10 Thread JOSHY MON M C

Hi All,
We have developed a JSP application and now we need to know the total line
of code (LOC). Means, we just want to get the total no of lines a JSP page
contains  ( without JSP comments,  java comments, blank lines etc). Does any
one of you know any tools for that ?
Thanks in advance
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: Help Urgent : JSP lines of code

2002-09-10 Thread Geert Van Damme

And why do you need that???

I can only think of 1 valid reason: To check that developers DON'T write
too much code in their JSP's.
Alas, I'm afraid you're planning to use the LOC for the completely
opposite.


Geert Van Damme


 -Original Message-
 From: A mailing list about Java Server Pages specification
 and reference [mailto:[EMAIL PROTECTED]] On Behalf Of
 JOSHY MON M C
 Sent: dinsdag 10 september 2002 10:07
 To: [EMAIL PROTECTED]
 Subject: Help Urgent : JSP lines of code


 Hi All,
 We have developed a JSP application and now we need to know
 the total line of code (LOC). Means, we just want to get the
 total no of lines a JSP page contains  ( without JSP
 comments,  java comments, blank lines etc). Does any one of
 you know any tools for that ? Thanks in advance 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: Help Urgent : JSP lines of code

2002-09-10 Thread Martin Gainty

Josh
If you want code which can be embedded in HTML then use JSPJava code cannot be used directly in HTML but can be used in all other situations including servlets.Are you contemplating substituting one for the other and if so how?
-Martin




















From: JOSHY MON M C <[EMAIL PROTECTED]>
Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Help Urgent : JSP lines of code
Date: Tue, 10 Sep 2002 14:06:08 +0530
MIME-Version: 1.0
Received: from mc3-f22.law16.hotmail.com ([65.54.236.157]) by mc3-s12.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 10 Sep 2002 01:51:40 -0700
Received: from swjscmail2.java.sun.com ([192.18.99.108]) by mc3-f22.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 10 Sep 2002 01:51:33 -0700
Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107])by swjscmail2.java.sun.com (Postfix) with ESMTPid 34BAF22BA8; Tue, 10 Sep 2002 02:48:18 -0600 (MDT)
Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8d) with spool id 2623606 for [EMAIL PROTECTED]; Tue, 10 Sep 2002 02:46:24 -0600
Received: from mx-out-01.nestec.net (unknown [203.200.144.45]) by swjscmail1.java.sun.com (Postfix) with ESMTP id 800BC4845 for <[EMAIL PROTECTED]>; Tue, 10 Sep 2002 02:46:22 -0600 (MDT)
Received: from pdc1.nest.stpt.soft.net (pdc1 [192.168.192.42]) by mx-out-01.nestec.net (8.11.3/8.11.3) with ESMTP id g8A91RZ98158 for <[EMAIL PROTECTED]>; Tue, 10 Sep 2002 14:31:27 +0530 (IST) (envelope-from [EMAIL PROTECTED])
Received: by pdc1.nestec.net with Internet Mail Service (5.5.2653.19) id 3GMXF0W4; Tue, 10 Sep 2002 14:06:28 +0530
Delivered-To: [EMAIL PROTECTED]
X-Mailer: Internet Mail Service (5.5.2653.19)
Message-ID: [EMAIL PROTECTED]
Sender: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]>
Organization: NeST-India
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 10 Sep 2002 08:51:34.0145 (UTC) FILETIME=[43E1CF10:01C258A7]

Hi Geert,
Thanks for your quick response.
We have the following purpose for the JSP LOC counting.
1. To get %java code wrote on the JSP pages. ( for the reason you mentioned)
2. To calculate effort reqed for authoring a JSP page. We have productivity
figs for JAVA and HTML separately.
Thanks
Joshy

-Original Message-
From: Geert Van Damme [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 1:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Help Urgent : JSP lines of code


And why do you need that???

I can only think of 1 valid reason: To check that developers DON'T write
too much code in their JSP's.
Alas, I'm afraid you're planning to use the LOC for the completely
opposite.


Geert Van Damme


  -Original Message-
  From: A mailing list about Java Server Pages specification
  and reference [mailto:[EMAIL PROTECTED]] On Behalf Of
  JOSHY MON M C
  Sent: dinsdag 10 september 2002 10:07
  To: [EMAIL PROTECTED]
  Subject: Help Urgent : JSP lines of code
 
 
  Hi All,
  We have developed a JSP application and now we need to know
  the total line of code (LOC). Means, we just want to get the
  total no of lines a JSP page contains ( without JSP
  comments, java comments, blank lines etc). Does any one of
  you know any tools for that ? Thanks in advance 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

===
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
Join the world’s largest e-mail service with MSN Hotmail. Click Here

===

Re: URGENT !!! - Compressing JSP

2002-07-30 Thread Dmitry Namiot

See Optimize taglib from Coldtags suite:
http://www.servletsuite.com/jsp.htm

Also you can use filters. Gzip filter is here:
http://www.servletsuite.com/servlets.htm

--
Coldbeans Software - server-side Java (tm) components
http://www.servletsuite.com



__
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.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 !!! - Compressing JSP

2002-07-30 Thread Bommakanti, Vamsee

Hi
I have gone thru the doc. I specified the following in web.xml file
filter
  filter-nameGzipFilter/filter-name
  filter-classcom.cj.gzipflt.GzipFilter/filter-class
/filter

filter-mapping
  filter-nameGzipFilter/filter-name
  url-pattern*.jsp/url-pattern
/filter-mapping

And downloaded the file gzipflt.jar into tomcathome\lib directory.
I restarted the server and still there is no difference.
Please suggest what i have done wrong
Thanks
Vamsee

-Original Message-
From: Hans Bergsten [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 29, 2002 7:08 PM
To: [EMAIL PROTECTED]
Subject: Re: URGENT !!! - Compressing JSP


Bommakanti, Vamsee wrote:
 Hi
 Can any one give me idea about how to compress a JSP output. I am using
 Tomcat for running JSP's
 I looked at gzip but donot know how to use it in a JSP.

Things like that should not be done by the JSP page. A better approach
is to use filter, as described in this article:

   http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html

Hans
--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
JavaServer Pageshttp://TheJSPBook.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: URGENT !!! - Compressing JSP

2002-07-30 Thread Hans Bergsten

Bommakanti, Vamsee wrote:
 Hi
 I have gone thru the doc. I specified the following in web.xml file
 filter
   filter-nameGzipFilter/filter-name
   filter-classcom.cj.gzipflt.GzipFilter/filter-class
 /filter

 filter-mapping
   filter-nameGzipFilter/filter-name
   url-pattern*.jsp/url-pattern
 /filter-mapping

 And downloaded the file gzipflt.jar into tomcathome\lib directory.
 I restarted the server and still there is no difference.
 Please suggest what i have done wrong

Which Tomcat version do you use? Filters are supported only in a
Servlet 2.3 container, such as Tomcat 4 (*not* in Tomcat 3). Also,
you should place the JAR file in tomcat_home/webapps/myapp/WEB-INF/lib.
Finally, if you are using Tomcat 4, check the log files and see if
there are any clues there.

Hans

 -Original Message-
 From: Hans Bergsten [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 29, 2002 7:08 PM
 To: [EMAIL PROTECTED]
 Subject: Re: URGENT !!! - Compressing JSP


 Bommakanti, Vamsee wrote:

Hi
Can any one give me idea about how to compress a JSP output. I am using
Tomcat for running JSP's
I looked at gzip but donot know how to use it in a JSP.


 Things like that should not be done by the JSP page. A better approach
 is to use filter, as described in this article:

http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html

 Hans
 --
 Hans Bergsten   [EMAIL PROTECTED]
 Gefion Software http://www.gefionsoftware.com
 JavaServer Pageshttp://TheJSPBook.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



--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
JavaServer Pageshttp://TheJSPBook.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 !!! - Compressing JSP

2002-07-29 Thread Bommakanti, Vamsee

Hi
Can any one give me idea about how to compress a JSP output. I am using
Tomcat for running JSP's
I looked at gzip but donot know how to use it in a JSP.
Thanks
Vamsee

===
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 !!! - Compressing JSP

2002-07-29 Thread Hans Bergsten

Bommakanti, Vamsee wrote:
 Hi
 Can any one give me idea about how to compress a JSP output. I am using
 Tomcat for running JSP's
 I looked at gzip but donot know how to use it in a JSP.

Things like that should not be done by the JSP page. A better approach
is to use filter, as described in this article:

   http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html

Hans
--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
JavaServer Pageshttp://TheJSPBook.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



Opening IE from Java application : urgent

2002-07-22 Thread JOSHY MON M C

Hi All,
I have a java applicaton that opens IE with a JSP page, on clicking a button
on the app. When I click on the button again, it opens another browser
window. My requirement is that the second window should not be opended in a
different window (but on the first one itself)so that the same session can
be used.

At present the application launched new window every time, with
RunTime.exec. The folowing is the piece of code.

String strUrl = http://hostName:/login.jsp; ;
RegReader objRegReader = new RegReader();  // registry reading utility
String strHttpClientProgram = objRegReader.getDefaultHttpClient(); // gets
client, here IE
Runtime objRuntime = Runtime.getRuntime();
m_Proc = objRuntime.exec(strHttpClientProgram+  +strUrl);

Any ideas welcome.

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: Opening IE from Java application : urgent

2002-07-22 Thread Gunaseelan Nagarajan

hi,
does this happen only with IE and not with netscape? if so, there is a
property in the advanced properties to reuse windows while opening
shortcuts, perhaps this will help you.

regards,
Nagarajan.

On Monday 22 July 2002 10:49, you wrote:
 Hi All,
 I have a java applicaton that opens IE with a JSP page, on clicking a
 button on the app. When I click on the button again, it opens another
 browser window. My requirement is that the second window should not be
 opended in a different window (but on the first one itself)so that the same
 session can be used.

 At present the application launched new window every time, with
 RunTime.exec. The folowing is the piece of code.

 String strUrl = http://hostName:/login.jsp; ;
 RegReader objRegReader = new RegReader();  // registry reading utility
 String strHttpClientProgram = objRegReader.getDefaultHttpClient(); // gets
 client, here IE
 Runtime objRuntime = Runtime.getRuntime();
 m_Proc = objRuntime.exec(strHttpClientProgram+  +strUrl);

 Any ideas welcome.

 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: Opening IE from Java application : urgent

2002-07-22 Thread Adrian Janssen

Ok this might be way off . . . .in fact I have not tried it in java.

Howevwer on my PC if thier is an open browser window, then if I open a
command prompt window (dos prompt) and type start http://www.google.com;
then it loads in the excisting browser window - so try that for the second
button click

good luck!

 -Original Message-
 From: JOSHY MON M C [SMTP:[EMAIL PROTECTED]]
 Sent: 22 July 2002 10:50
 To:   [EMAIL PROTECTED]
 Subject:  Opening IE from Java application : urgent

 Hi All,
 I have a java applicaton that opens IE with a JSP page, on clicking a
 button
 on the app. When I click on the button again, it opens another browser
 window. My requirement is that the second window should not be opended in
 a
 different window (but on the first one itself)so that the same session can
 be used.

 At present the application launched new window every time, with
 RunTime.exec. The folowing is the piece of code.

 String strUrl = http://hostName:/login.jsp; ;
 RegReader objRegReader = new RegReader();  // registry reading utility
 String strHttpClientProgram = objRegReader.getDefaultHttpClient(); // gets
 client, here IE
 Runtime objRuntime = Runtime.getRuntime();
 m_Proc = objRuntime.exec(strHttpClientProgram+  +strUrl);

 Any ideas welcome.

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

It is the strict policy of Truworths that its e-mail facility and all
e-mail communications emanating therefrom, should be utilised for
business purposes only and should conform to high professional and
business standards.   Truworths has stipulated certain regulations in
terms whereof strict guidelines relating to the use and content of
e-mail communications are laid down. The use of the Truworths e-mail
facility is not permitted for the distribution of chain letters or
offensive mail of any nature whatsoever.   Truworths hereby distances
itself from and accepts no liability in respect of the unauthorised
use of its e-mail facility or the sending of e-mail communications
for other than strictly business purposes.   Truworths furthermore
disclaims liability for any  unauthorised instruction for  which
permission was not granted.Truworths Limited accepts no liability
for any consequences arising from or as a result of reliance on this
message unless it is in respect of bona fide Truworths business for
which proper authorisation has been granted.

Any recipient of an unacceptable communication, a chain letter or
offensive material of any nature is requested to notify the Truworths
e-mail administrator ([EMAIL PROTECTED]) immediately in order that
appropriate action can be taken against the individual concerned.

===
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: Opening IE from Java application : urgent

2002-07-22 Thread Kyle W. Kelly

Have you considered using applets?

- Original Message -
From: JOSHY MON M C [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 22, 2002 3:49 AM
Subject: Opening IE from Java application : urgent


 Hi All,
 I have a java applicaton that opens IE with a JSP page, on clicking a
button
 on the app. When I click on the button again, it opens another browser
 window. My requirement is that the second window should not be opended in
a
 different window (but on the first one itself)so that the same session can
 be used.

 At present the application launched new window every time, with
 RunTime.exec. The folowing is the piece of code.

 String strUrl = http://hostName:/login.jsp; ;
 RegReader objRegReader = new RegReader();  // registry reading utility
 String strHttpClientProgram = objRegReader.getDefaultHttpClient(); // gets
 client, here IE
 Runtime objRuntime = Runtime.getRuntime();
 m_Proc = objRuntime.exec(strHttpClientProgram+  +strUrl);

 Any ideas welcome.

 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: Opening IE from Java application : urgent

2002-07-22 Thread Kyle W. Kelly

Hire me, and I will write it for you! lol

www.cs.uno.edu/~kkelly
- Original Message -
From: JOSHY MON M C [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 22, 2002 3:49 AM
Subject: Opening IE from Java application : urgent


 Hi All,
 I have a java applicaton that opens IE with a JSP page, on clicking a
button
 on the app. When I click on the button again, it opens another browser
 window. My requirement is that the second window should not be opended in
a
 different window (but on the first one itself)so that the same session can
 be used.

 At present the application launched new window every time, with
 RunTime.exec. The folowing is the piece of code.

 String strUrl = http://hostName:/login.jsp; ;
 RegReader objRegReader = new RegReader();  // registry reading utility
 String strHttpClientProgram = objRegReader.getDefaultHttpClient(); // gets
 client, here IE
 Runtime objRuntime = Runtime.getRuntime();
 m_Proc = objRuntime.exec(strHttpClientProgram+  +strUrl);

 Any ideas welcome.

 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: HiAll, i need help about get paramaters of oracle 8i - URGENT!!

2002-07-07 Thread ? ??

sorry can you use java.sql.getString(fieldName);

- Original Message -
From: Christian Hamann L [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 07, 2002 4:25 AM
Subject: HiAll, i need help about get paramaters of oracle 8i - URGENT!!


 Hi All
 i have problems with my servlet, it has an CallableStatement which call my
 store procedure in a Oracle 8i Database, i need to receive parameter of
type
 NUMBER.
 So, oracle has objects like NUMBER,VARCHAR2, INTEGER, but i dont know how
 should i do to receive them...i can get varchar, but number.. i cant..
 How can i receive objets type NUMBER of my oracle Database using java...
 without use oracle classes.
 atte
 Christian Hamann L.


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



HiAll, i need help about get paramaters of oracle 8i - URGENT!!

2002-07-06 Thread Christian Hamann L

Hi All
i have problems with my servlet, it has an CallableStatement which call my
store procedure in a Oracle 8i Database, i need to receive parameter of type
NUMBER.
So, oracle has objects like NUMBER,VARCHAR2, INTEGER, but i dont know how
should i do to receive them...i can get varchar, but number.. i cant..
How can i receive objets type NUMBER of my oracle Database using java...
without use oracle classes.
atte
Christian Hamann L.

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



File Upload/Download: Urgent

2002-06-26 Thread Jamshed Siddiqui

 Hi Guys,
I havent received any replies till now. Come on, its urgent.
I want to give the Upload and download feature on my site,
that behind the scenes uploads the file into a BLOB field.
Infact I have been able to do the upload thing but I need to know how to
proceed with the download stuff.
The problem I am facing with jspSmartUpload are the following:

1. While using the uploading JSP, it says: The ResultSet is read only:updateString
2. While using the downloading JSP, it says IllegalStateException


Regards,
Jamshed Siddiqui







-
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup

===
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: Session parameter access in different Contexts

2002-06-06 Thread SERHAT INAN

How can I access the session parameters of the
same client from another context within Tomcat 3.2 servlet Container?

Regards
Serhat




Bu e-posta ve ilisikteki dosyalar gizlidir ve sadece gonderilen birey ya da
kurumun kullanimi icindir. Bu mesajda kullanilan ifadeler, kurumumuzun tum
politikalarini temsil etmeyebilir. Bu nedenle sozkonusu e-posta bilgileri
kurumumuza karsi kullanilamaz ve butunuyle kurumumuzu baglayici olamaz. Bu
mesaji yanlislikla aldiysaniz, lutfen gondericiye bildiriniz ve
sisteminizden siliniz. Basari Holding hakkinda bilgi almak icin lutfen web
sitemizi ziyaret ediniz. ( http://www.basari.com.tr )
Bu e-posta bilinen tum bilgisayar viruslerine karsi korunmaktadir.

This e-mail and any attached files with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
The statements or expressions used in this message may not represent our
organization policy and therefore cannot be binding for or used against
Basari Holding Inc. If you have received this message accidentally, please
notify the sender immediately and delete it from your system. To get more
information about Basari Holding, please visit our web site. (
http://www.basari.com.tr )
This e-mail is protected against all known computer viruses.

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



can not get parameter (It's urgent)

2002-05-28 Thread Vaishali S. Pandya

hi all
i took an array or text in my page
on click of save button i just change the chmode=1 in mysave() of
javascript
and when submit the form it is

 String mode = request.getParameter(chmode);
 if (mode == null){
  mode = 0;
 }
 else{
  String tr = request.getParameter(totrow);
  int tot=Integer.parseInt(tr);
  for(int r=0;i=tot;i++{
   String d = request.getParameter(txtdesc[+r+]);
   String node=request.getParameter(txtnode[+r+]);
   String lvl1=request.getParameter(txtlvl[+r+]);
   INSERT..
   OR
   UPDATE
  }
 }

but here i can not get txtdesc's value
it gives me null all time
even txtnode and txtlvl too i find null
see i gave some value in all and then click the save button but always it
takes null and make the array balnk.
what to do?
pls help it's urgent

answers will be appreciated

Thanks in advance
Vaishali
Relience Ind Ltd
A'bad

===
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: can not get parameter (It's urgent)

2002-05-28 Thread Bhushan_Bhangale

Send the html code as the servlet code is fine.

-Original Message-
From: Vaishali S. Pandya [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 12:06 PM
To: [EMAIL PROTECTED]
Subject: can not get parameter (It's urgent)


hi all
i took an array or text in my page
on click of save button i just change the chmode=1 in mysave() of
javascript
and when submit the form it is

 String mode = request.getParameter(chmode);
 if (mode == null){
  mode = 0;
 }
 else{
  String tr = request.getParameter(totrow);
  int tot=Integer.parseInt(tr);
  for(int r=0;i=tot;i++{
   String d = request.getParameter(txtdesc[+r+]);
   String node=request.getParameter(txtnode[+r+]);
   String lvl1=request.getParameter(txtlvl[+r+]);
   INSERT..
   OR
   UPDATE
  }
 }

but here i can not get txtdesc's value
it gives me null all time
even txtnode and txtlvl too i find null
see i gave some value in all and then click the save button but always it
takes null and make the array balnk.
what to do?
pls help it's urgent

answers will be appreciated

Thanks in advance
Vaishali
Relience Ind Ltd
A'bad

===
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: can not get parameter (It's urgent)

2002-05-28 Thread Adrian Janssen

do you have form fields named like txtdesc[1] ?

In other words like:

input type=hidden name=txtdesc[1]

This is what the code seems to be implying, if so, then reather use form
field like  txtdesc1, i.e. withou the [ and ] as these might casuer
problems.

then in your Servlet you can use:

String d = request.getParameter ( txtdesc + r );


 -Original Message-
 From: Bhushan_Bhangale [SMTP:[EMAIL PROTECTED]]
 Sent: 28 May 2002 09:35
 To:   [EMAIL PROTECTED]
 Subject:  Re: can not get parameter (It's urgent)

 Send the html code as the servlet code is fine.

 -Original Message-
 From: Vaishali S. Pandya [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 28, 2002 12:06 PM
 To: [EMAIL PROTECTED]
 Subject: can not get parameter (It's urgent)


 hi all
 i took an array or text in my page
 on click of save button i just change the chmode=1 in mysave() of
 javascript
 and when submit the form it is

  String mode = request.getParameter(chmode);
  if (mode == null){
   mode = 0;
  }
  else{
   String tr = request.getParameter(totrow);
   int tot=Integer.parseInt(tr);
   for(int r=0;i=tot;i++{
String d = request.getParameter(txtdesc[+r+]);
String node=request.getParameter(txtnode[+r+]);
String lvl1=request.getParameter(txtlvl[+r+]);
INSERT..
OR
UPDATE
   }
  }

 but here i can not get txtdesc's value
 it gives me null all time
 even txtnode and txtlvl too i find null
 see i gave some value in all and then click the save button but always it
 takes null and make the array balnk.
 what to do?
 pls help it's urgent

 answers will be appreciated

 Thanks in advance
 Vaishali
 Relience Ind Ltd
 A'bad

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

--
**
The Truworths e-mail facility may not be used for the distribution of
chain letters or offensive email.  Truworths hereby distances itself
from and accepts no liability for the unauthorised use of its e-mail
facility or the sending of e-mail communications for other than
strictly business purposes.  Truworths furthermore disclaims liability
for any unauthorised instruction for which permission was not granted.

Please report abuse to [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://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: can not get parameter (It's urgent)

2002-05-28 Thread Vaishali S. Pandya

no, all text is having name txtdesc and i was trying to get value of
txtdesc[r]
using
String d = request.getParameter(txtdesc[+r+]);

so it was not responding this statement and returning null
but now i take the values using
String[] d = request.getParameterValues(txtdesc);
and d[r] is working fine

Thanks
Vaishali
Relience Ind Ltd
A'bad




Adrian Janssen
ajanssen@TRUWORT   To: [EMAIL PROTECTED]
HS.CO.ZA   cc:
Sent by: A  Subject: Re: can not get parameter 
(It's
mailing list urgent)
about Java Server
Pages
specification and
reference
JSP-INTEREST@JAV
A.SUN.COM


05/28/02 01:18 PM
Please respond to
A mailing list
about Java Server
Pages
specification and
reference






do you have form fields named like txtdesc[1] ?

In other words like:

input type=hidden name=txtdesc[1]

This is what the code seems to be implying, if so, then reather use form
field like  txtdesc1, i.e. withou the [ and ] as these might casuer
problems.

then in your Servlet you can use:

String d = request.getParameter ( txtdesc + r );


 -Original Message-
 From: Bhushan_Bhangale [SMTP:[EMAIL PROTECTED]]
 Sent: 28 May 2002 09:35
 To:   [EMAIL PROTECTED]
 Subject:  Re: can not get parameter (It's urgent)

 Send the html code as the servlet code is fine.

 -Original Message-
 From: Vaishali S. Pandya [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 28, 2002 12:06 PM
 To: [EMAIL PROTECTED]
 Subject: can not get parameter (It's urgent)


 hi all
 i took an array or text in my page
 on click of save button i just change the chmode=1 in mysave() of
 javascript
 and when submit the form it is

  String mode = request.getParameter(chmode);
  if (mode == null){
   mode = 0;
  }
  else{
   String tr = request.getParameter(totrow);
   int tot=Integer.parseInt(tr);
   for(int r=0;i=tot;i++{
String d = request.getParameter(txtdesc[+r+]);
String node=request.getParameter(txtnode[+r+]);
String lvl1=request.getParameter(txtlvl[+r+]);
INSERT..
OR
UPDATE
   }
  }

 but here i can not get txtdesc's value
 it gives me null all time
 even txtnode and txtlvl too i find null
 see i gave some value in all and then click the save button but always it
 takes null and make the array balnk.
 what to do?
 pls help it's urgent

 answers will be appreciated

 Thanks in advance
 Vaishali
 Relience Ind Ltd
 A'bad


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

--
**
The Truworths e-mail facility may not be used for the distribution of
chain letters or offensive email.  Truworths hereby distances itself
from and accepts no liability for the unauthorised use of its e-mail
facility or the sending of e-mail communications for other than
strictly business purposes.  Truworths furthermore disclaims liability
for any unauthorised instruction for which permission was not granted.

Please report abuse to [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://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

Re: can not get parameter (It's urgent)

2002-05-28 Thread It, Cockpit (CAP, Contractor)

You should have used
String d = request.getParameter(txtdesc[r]);
It would work the way you want it



-Original Message-
From: Vaishali S. Pandya [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 28, 2002 1:18 PM
To: [EMAIL PROTECTED]
Subject: Re: can not get parameter (It's urgent)


no, all text is having name txtdesc and i was trying to get value of
txtdesc[r]
using
String d = request.getParameter(txtdesc[+r+]);

so it was not responding this statement and returning null
but now i take the values using
String[] d = request.getParameterValues(txtdesc);
and d[r] is working fine

Thanks
Vaishali
Relience Ind Ltd
A'bad




Adrian Janssen
ajanssen@TRUWORT   To:
[EMAIL PROTECTED]
HS.CO.ZA   cc:
Sent by: A  Subject: Re: can not get
parameter (It's
mailing list urgent)
about Java Server
Pages
specification and
reference
JSP-INTEREST@JAV
A.SUN.COM


05/28/02 01:18 PM
Please respond to
A mailing list
about Java Server
Pages
specification and
reference






do you have form fields named like txtdesc[1] ?

In other words like:

input type=hidden name=txtdesc[1]

This is what the code seems to be implying, if so, then reather use form
field like  txtdesc1, i.e. withou the [ and ] as these might casuer
problems.

then in your Servlet you can use:

String d = request.getParameter ( txtdesc + r );


 -Original Message-
 From: Bhushan_Bhangale [SMTP:[EMAIL PROTECTED]]
 Sent: 28 May 2002 09:35
 To:   [EMAIL PROTECTED]
 Subject:  Re: can not get parameter (It's urgent)

 Send the html code as the servlet code is fine.

 -Original Message-
 From: Vaishali S. Pandya [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 28, 2002 12:06 PM
 To: [EMAIL PROTECTED]
 Subject: can not get parameter (It's urgent)


 hi all
 i took an array or text in my page
 on click of save button i just change the chmode=1 in mysave() of
 javascript
 and when submit the form it is

  String mode = request.getParameter(chmode);
  if (mode == null){
   mode = 0;
  }
  else{
   String tr = request.getParameter(totrow);
   int tot=Integer.parseInt(tr);
   for(int r=0;i=tot;i++{
String d = request.getParameter(txtdesc[+r+]);
String node=request.getParameter(txtnode[+r+]);
String lvl1=request.getParameter(txtlvl[+r+]);
INSERT..
OR
UPDATE
   }
  }

 but here i can not get txtdesc's value
 it gives me null all time
 even txtnode and txtlvl too i find null
 see i gave some value in all and then click the save button but always it
 takes null and make the array balnk.
 what to do?
 pls help it's urgent

 answers will be appreciated

 Thanks in advance
 Vaishali
 Relience Ind Ltd
 A'bad


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

--
**
The Truworths e-mail facility may not be used for the distribution of
chain letters or offensive email.  Truworths hereby distances itself
from and accepts no liability for the unauthorised use of its e-mail
facility or the sending of e-mail communications for other than
strictly business purposes.  Truworths furthermore disclaims liability
for any unauthorised instruction for which permission was not granted.

Please report abuse to [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

javamail - offtopic but urgent

2002-05-16 Thread Kesav, Ramesh

Hi all,

 when i try to send an email to me itself i get the following exception

javax.mail.MessagingException: Could not connect to SMTP host: ip address,
port: 25;

Properties prop = new Properties();
prop.put(mail.smtp.host, hostName);

where hostName  is ip address

i know this is offtopic but if someone can let me know where i am wrong , i
would appreciate it.


Regards

Ramesh Kesavanarayanan
[EMAIL PROTECTED]
Off: 91-44-8113801 ext 2333
Res:91-44-2265360
Mob : 91-98412-73573

===
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: javamail - offtopic but urgent

2002-05-16 Thread Gupta, Naveen (CORP, GEITC)

Hi
For ur own machine u should use localhost as the machine name not the ip
address.
Hope it helps
Naveen Gupta

-Original Message-
From: Kesav, Ramesh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 2:11 PM
To: [EMAIL PROTECTED]
Subject: javamail - offtopic but urgent


Hi all,

 when i try to send an email to me itself i get the following exception

javax.mail.MessagingException: Could not connect to SMTP host: ip address,
port: 25;

Properties prop = new Properties();
prop.put(mail.smtp.host, hostName);

where hostName  is ip address

i know this is offtopic but if someone can let me know where i am wrong , i
would appreciate it.


Regards

Ramesh Kesavanarayanan
[EMAIL PROTECTED]
Off: 91-44-8113801 ext 2333
Res:91-44-2265360
Mob : 91-98412-73573

===
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: javamail - offtopic but urgent

2002-05-16 Thread Bhushan_Bhangale

Are you able to send mails to other ids?

From the error it is clrealy understood that the program is unable to make SMTP 
connection. You give the local ip address of the SMTP server if both the machine on 
which program is running and the SMTP server is inside firewall. If you are giving 
the external IP address then firewall needs to be opened for port 25.

-Original Message-
From: Kesav, Ramesh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 2:11 PM
To: [EMAIL PROTECTED]
Subject: javamail - offtopic but urgent


Hi all,

 when i try to send an email to me itself i get the following exception

javax.mail.MessagingException: Could not connect to SMTP host: ip address,
port: 25;

Properties prop = new Properties();
prop.put(mail.smtp.host, hostName);

where hostName  is ip address

i know this is offtopic but if someone can let me know where i am wrong , i
would appreciate it.


Regards

Ramesh Kesavanarayanan
[EMAIL PROTECTED]
Off: 91-44-8113801 ext 2333
Res:91-44-2265360
Mob : 91-98412-73573

===
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: javamail - offtopic but urgent

2002-05-16 Thread Kesav, Ramesh

Hi,
Are you able to send mails to other ids?
no i am not able to send emails within my compnay itself.

 -Original Message-
 From: Bhushan_Bhangale [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, May 16, 2002 2:20 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: javamail - offtopic but urgent


 From the error it is clrealy understood that the program is unable to make
 SMTP connection. You give the local ip address of the SMTP server if both
 the machine on which program is running and the SMTP server is inside
 firewall. If you are giving the external IP address then firewall needs to
 be opened for port 25.

 -Original Message-
 From: Kesav, Ramesh [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 16, 2002 2:11 PM
 To: [EMAIL PROTECTED]
 Subject: javamail - offtopic but urgent


 Hi all,

  when i try to send an email to me itself i get the following exception

 javax.mail.MessagingException: Could not connect to SMTP host: ip
 address,
 port: 25;

 Properties prop = new Properties();
 prop.put(mail.smtp.host, hostName);

 where hostName  is ip address

 i know this is offtopic but if someone can let me know where i am wrong ,
 i
 would appreciate it.


 Regards

 Ramesh Kesavanarayanan
 [EMAIL PROTECTED]
 Off: 91-44-8113801 ext 2333
 Res:91-44-2265360
 Mob : 91-98412-73573

 ==
 =
 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: javamail - offtopic but urgent

2002-05-16 Thread Bhushan_Bhangale

So now have you implemented my solution? What happened?

-Original Message-
From: Kesav, Ramesh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 2:41 PM
To: [EMAIL PROTECTED]
Subject: Re: javamail - offtopic but urgent


Hi,
Are you able to send mails to other ids?
no i am not able to send emails within my compnay itself.

 -Original Message-
 From: Bhushan_Bhangale [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, May 16, 2002 2:20 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: javamail - offtopic but urgent


 From the error it is clrealy understood that the program is unable to make
 SMTP connection. You give the local ip address of the SMTP server if both
 the machine on which program is running and the SMTP server is inside
 firewall. If you are giving the external IP address then firewall needs to
 be opened for port 25.

 -Original Message-
 From: Kesav, Ramesh [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 16, 2002 2:11 PM
 To: [EMAIL PROTECTED]
 Subject: javamail - offtopic but urgent


 Hi all,

  when i try to send an email to me itself i get the following exception

 javax.mail.MessagingException: Could not connect to SMTP host: ip
 address,
 port: 25;

 Properties prop = new Properties();
 prop.put(mail.smtp.host, hostName);

 where hostName  is ip address

 i know this is offtopic but if someone can let me know where i am wrong ,
 i
 would appreciate it.


 Regards

 Ramesh Kesavanarayanan
 [EMAIL PROTECTED]
 Off: 91-44-8113801 ext 2333
 Res:91-44-2265360
 Mob : 91-98412-73573

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

==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: javamail - offtopic but urgent

2002-05-16 Thread Gading

At 03:41 AM 5/16/2002 -0500, you wrote:
Hi all,

  when i try to send an email to me itself i get the following exception

javax.mail.MessagingException: Could not connect to SMTP host: ip address,
port: 25;

Properties prop = new Properties();
prop.put(mail.smtp.host, hostName);

where hostName  is ip address

from command prompt :
telnet ip address 25

hello test
220 some.smtp.com ESMTP
mail from: [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
250 ok
data
354 go ahead
testing
.
250 ok 1021539873 qp 1
quit
221 some.smtp.com


i know this is offtopic but if someone can let me know where i am wrong , i
would appreciate it.


Regards

Ramesh Kesavanarayanan
[EMAIL PROTECTED]
Off: 91-44-8113801 ext 2333
Res:91-44-2265360
Mob : 91-98412-73573

===
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: javamail - offtopic but urgent

2002-05-16 Thread Kesav, Ramesh

yes,
 nowi could send within my compnay. what will i do if i want to send outside
say to hotmail / yahoo etc.,


 -Original Message-
 From: Bhushan_Bhangale [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, May 16, 2002 2:44 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: javamail - offtopic but urgent

 So now have you implemented my solution? What happened?

 -Original Message-
 From: Kesav, Ramesh [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 16, 2002 2:41 PM
 To: [EMAIL PROTECTED]
 Subject: Re: javamail - offtopic but urgent


 Hi,
 Are you able to send mails to other ids?
 no i am not able to send emails within my compnay itself.

  -Original Message-
  From: Bhushan_Bhangale [SMTP:[EMAIL PROTECTED]]
  Sent: Thursday, May 16, 2002 2:20 PM
  To:   [EMAIL PROTECTED]
  Subject:  Re: javamail - offtopic but urgent
 
 
  From the error it is clrealy understood that the program is unable to
 make
  SMTP connection. You give the local ip address of the SMTP server if
 both
  the machine on which program is running and the SMTP server is inside
  firewall. If you are giving the external IP address then firewall needs
 to
  be opened for port 25.
 
  -Original Message-
  From: Kesav, Ramesh [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 16, 2002 2:11 PM
  To: [EMAIL PROTECTED]
  Subject: javamail - offtopic but urgent
 
 
  Hi all,
 
   when i try to send an email to me itself i get the following exception
 
  javax.mail.MessagingException: Could not connect to SMTP host: ip
  address,
  port: 25;
 
  Properties prop = new Properties();
  prop.put(mail.smtp.host, hostName);
 
  where hostName  is ip address
 
  i know this is offtopic but if someone can let me know where i am wrong
 ,
  i
  would appreciate it.
 
 
  Regards
 
  Ramesh Kesavanarayanan
  [EMAIL PROTECTED]
  Off: 91-44-8113801 ext 2333
  Res:91-44-2265360
  Mob : 91-98412-73573
 
 
 ==
  =
  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

 ==
 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: javamail - offtopic but urgent

2002-05-16 Thread Gunaseelan Nagarajan

hi,
if you get an error like relaying not allowed while sending mail to yahoo
or hotmail, it means that the SMTP server has to be configured. Your network
administrator should know how to change the sendmail configuration if you are
using sendmail or the configuration of the mail server that you are using.

regards,
Nagarajan

On Thursday 16 May 2002 11:38, you wrote:
 yes,
  nowi could send within my compnay. what will i do if i want to send
 outside say to hotmail / yahoo etc.,

  -Original Message-
  From: Bhushan_Bhangale [SMTP:[EMAIL PROTECTED]]
  Sent: Thursday, May 16, 2002 2:44 PM
  To:   [EMAIL PROTECTED]
  Subject:  Re: javamail - offtopic but urgent
 
  So now have you implemented my solution? What happened?
 
  -Original Message-
  From: Kesav, Ramesh [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 16, 2002 2:41 PM
  To: [EMAIL PROTECTED]
  Subject: Re: javamail - offtopic but urgent
 
 
  Hi,
  Are you able to send mails to other ids?
  no i am not able to send emails within my compnay itself.
 
   -Original Message-
   From: Bhushan_Bhangale [SMTP:[EMAIL PROTECTED]]
   Sent: Thursday, May 16, 2002 2:20 PM
   To:   [EMAIL PROTECTED]
   Subject:  Re: javamail - offtopic but urgent
  
  
   From the error it is clrealy understood that the program is unable to
 
  make
 
   SMTP connection. You give the local ip address of the SMTP server if
 
  both
 
   the machine on which program is running and the SMTP server is inside
   firewall. If you are giving the external IP address then firewall needs
 
  to
 
   be opened for port 25.
  
   -Original Message-
   From: Kesav, Ramesh [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, May 16, 2002 2:11 PM
   To: [EMAIL PROTECTED]
   Subject: javamail - offtopic but urgent
  
  
   Hi all,
  
when i try to send an email to me itself i get the following exception
  
   javax.mail.MessagingException: Could not connect to SMTP host: ip
   address,
   port: 25;
  
   Properties prop = new Properties();
   prop.put(mail.smtp.host, hostName);
  
   where hostName  is ip address
  
   i know this is offtopic but if someone can let me know where i am wrong
 
  ,
 
   i
   would appreciate it.
  
  
   Regards
  
   Ramesh Kesavanarayanan
   [EMAIL PROTECTED]
   Off: 91-44-8113801 ext 2333
   Res:91-44-2265360
   Mob : 91-98412-73573
 
  =
 =
 
   =
   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
 
  =
 = 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

Re: javamail - offtopic but urgent

2002-05-16 Thread Bhushan_Bhangale

Yaa Gunaseelan is right. As such you shouldn't face any problem while sending mail to 
yahoo, hotmail, etc. If in case it does then the Mail Server Administrator knows how 
to configure the relay.

-Original Message-
From: Gunaseelan Nagarajan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 3:53 PM
To: [EMAIL PROTECTED]
Subject: Re: javamail - offtopic but urgent


hi,
if you get an error like relaying not allowed while sending mail to yahoo
or hotmail, it means that the SMTP server has to be configured. Your network
administrator should know how to change the sendmail configuration if you are
using sendmail or the configuration of the mail server that you are using.

regards,
Nagarajan

On Thursday 16 May 2002 11:38, you wrote:
 yes,
  nowi could send within my compnay. what will i do if i want to send
 outside say to hotmail / yahoo etc.,

  -Original Message-
  From: Bhushan_Bhangale [SMTP:[EMAIL PROTECTED]]
  Sent: Thursday, May 16, 2002 2:44 PM
  To:   [EMAIL PROTECTED]
  Subject:  Re: javamail - offtopic but urgent
 
  So now have you implemented my solution? What happened?
 
  -Original Message-
  From: Kesav, Ramesh [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 16, 2002 2:41 PM
  To: [EMAIL PROTECTED]
  Subject: Re: javamail - offtopic but urgent
 
 
  Hi,
  Are you able to send mails to other ids?
  no i am not able to send emails within my compnay itself.
 
   -Original Message-
   From: Bhushan_Bhangale [SMTP:[EMAIL PROTECTED]]
   Sent: Thursday, May 16, 2002 2:20 PM
   To:   [EMAIL PROTECTED]
   Subject:  Re: javamail - offtopic but urgent
  
  
   From the error it is clrealy understood that the program is unable to
 
  make
 
   SMTP connection. You give the local ip address of the SMTP server if
 
  both
 
   the machine on which program is running and the SMTP server is inside
   firewall. If you are giving the external IP address then firewall needs
 
  to
 
   be opened for port 25.
  
   -Original Message-
   From: Kesav, Ramesh [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, May 16, 2002 2:11 PM
   To: [EMAIL PROTECTED]
   Subject: javamail - offtopic but urgent
  
  
   Hi all,
  
when i try to send an email to me itself i get the following exception
  
   javax.mail.MessagingException: Could not connect to SMTP host: ip
   address,
   port: 25;
  
   Properties prop = new Properties();
   prop.put(mail.smtp.host, hostName);
  
   where hostName  is ip address
  
   i know this is offtopic but if someone can let me know where i am wrong
 
  ,
 
   i
   would appreciate it.
  
  
   Regards
  
   Ramesh Kesavanarayanan
   [EMAIL PROTECTED]
   Off: 91-44-8113801 ext 2333
   Res:91-44-2265360
   Mob : 91-98412-73573
 
  =
 =
 
   =
   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
 
  =
 = 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

Re: session object [urgent!]

2002-04-03 Thread Murali Mohan

Hi,

Create the Session Object with the false attribute except the first time creation of 
session object. So that
one session object will be maintained with one user from login to logout.

All the best,
Murali



Nancy Crisostomo Martinez wrote:

 Hi everybody!

 I need your help..
 I'm trying to track some attributes I added to the session object, but I
 can't...

 I have an html file (main.htm) which opens a new window browser
 (validate.jsp) when you press a button to access to one service...
 Then when the user is validated in the validate.jsp file, I added two
 attributes to the session object like this:

  ...
  %
  if (validUser(id_Usuario)){
 session.setAttribute(numero,id_Usuario);
 session.setAttribute(edad,num);
  ...

 and finally the window is closed and another new window is opened (
 portal.jsp ).

  %
  script

 
window.open(portal.jsp,,top=0,left=0,width=791,height=520,scrollbars=yes,resizable=yes,status=yes)

  return eval('close()')
  /script
  %
  }
  %

 The portal.jsp file is formed by frames:

   HTML
   FRAMESET rows=75,250* frameborder=0 border=0
 framespacing=0
   FRAME name=FrameArriba scrolling=NO noresize
 marginwidth=0 marginheight=0 SRC=arriba.htm frameborder=0

  FRAMESET cols=128,127*  border=0 framespacing=0
 frameborder=0
  FRAME name=FrameIzquierda scrolling=NO
 marginwidth=0 marginheight=0 noresize SRC=izquierda.jsp
   frameborder=NO
  FRAME name=FrameServicio marginwidth=0
 marginheight=0 noresize SRC=blanco.jsp frameborder=NO 
  /FRAMESET

  NOFRAMES
Su browser no acepta Frames.
  /NOFRAMES
   /FRAMESET
   /HTML

 In the left frame (FrameIzquierda) I have a jsp file (izquierda.jsp)
 that reads the new session's attributes (numero,edad) and they are
 displayed perfectly when the
 portal.jsp file is opened. Moreover, in the right frame I put a jsp file
 (blanco.jsp) that also reads the attributes 'id' and 'ag' and they are
 perfectly displayed too.
 But the problem becomes when I click a link placed in the izquierda.jsp
 file :

  .
  a href=top.jsptest/a
  or
  a href=top.jsp target=FrameServicio test/a
  .

 The top.jsp file also reads the attributes (numero, edad)...
 In both cases the session's attributes are not displayed, they only
 return a null value,  and the session id (session.getId()) is
 differtent because when the link is
 pressed, a new session object is createdso.. I don't know how to fix
 this
 I really need to get the two attributes I stored previously in the
 session object...

 Could you please help me???
 I'm desperate!!

 Thank you in advance..
 Nancy.

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



session object [urgent!]

2002-04-02 Thread Nancy Crisostomo Martinez

Hi everybody!

I need your help..
I'm trying to track some attributes I added to the session object, but I
can't...

I have an html file (main.htm) which opens a new window browser
(validate.jsp) when you press a button to access to one service...
Then when the user is validated in the validate.jsp file, I added two
attributes to the session object like this:

 ...
 %
 if (validUser(id_Usuario)){
session.setAttribute(numero,id_Usuario);
session.setAttribute(edad,num);
 ...

and finally the window is closed and another new window is opened (
portal.jsp ).

 %
 script

 
window.open(portal.jsp,,top=0,left=0,width=791,height=520,scrollbars=yes,resizable=yes,status=yes)

 return eval('close()')
 /script
 %
 }
 %

The portal.jsp file is formed by frames:

  HTML
  FRAMESET rows=75,250* frameborder=0 border=0
  framespacing=0
  FRAME name=FrameArriba scrolling=NO
  noresize marginwidth=0 marginheight=0
  SRC=arriba.htm frameborder=0

 FRAMESET cols=128,127*  border=0
  framespacing=0 frameborder=0
 FRAME name=FrameIzquierda
  scrolling=NO marginwidth=0 marginheight=0
  noresize SRC=izquierda.jsp frameborder=NO
 FRAME name=FrameServicio
  marginwidth=0 marginheight=0 noresize
  SRC=blanco.jsp frameborder=NO 
 /FRAMESET

 NOFRAMES
   Su browser no acepta Frames.
 /NOFRAMES
  /FRAMESET
  /HTML

In the left frame (FrameIzquierda) I have a jsp file (izquierda.jsp)
that reads the new session's attributes (numero,edad) and they are
displayed perfectly when the portal.jsp file is opened. Moreover, in the
right frame I put a jsp file (blanco.jsp) that also reads the attributes
'id' and 'ag' and they are perfectly displayed too.
But the problem becomes when I click a link placed in the izquierda.jsp
file :

 .
 a href=top.jsptest/a
 or
 a href=top.jsp target=FrameServicio test/a
 .

The top.jsp file also reads the attributes (numero, edad)...
In both cases the session's attributes are not displayed, they only
return a null value,  and the session id (session.getId()) is
differtent because when the link is pressed, a new session object is
createdso.. I don't know how to fix this
I really need to get the two attributes I stored previously in the
session object...

Could you please help me???
I'm desperate!!

Thank you in advance..
Nancy.

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



session object [urgent!]

2002-04-02 Thread Nancy Crisostomo Martinez

Hi everybody!

I need your help..
I'm trying to track some attributes I added to the session object, but I
can't...

I have an html file (main.htm) which opens a new window browser
(validate.jsp) when you press a button to access to one service...
Then when the user is validated in the validate.jsp file, I added two
attributes to the session object like this:

 ...
 %
 if (validUser(id_Usuario)){
session.setAttribute(numero,id_Usuario);
session.setAttribute(edad,num);
 ...

and finally the window is closed and another new window is opened (
portal.jsp ).

 %
 script

window.open(portal.jsp,,top=0,left=0,width=791,height=520,scrollbars=yes,resizable=yes,status=yes)

 return eval('close()')
 /script
 %
 }
 %


The portal.jsp file is formed by frames:

  HTML
  FRAMESET rows=75,250* frameborder=0 border=0
framespacing=0
  FRAME name=FrameArriba scrolling=NO noresize
marginwidth=0 marginheight=0 SRC=arriba.htm frameborder=0

 FRAMESET cols=128,127*  border=0 framespacing=0
frameborder=0
 FRAME name=FrameIzquierda scrolling=NO
marginwidth=0 marginheight=0 noresize SRC=izquierda.jsp
  frameborder=NO
 FRAME name=FrameServicio marginwidth=0
marginheight=0 noresize SRC=blanco.jsp frameborder=NO 
 /FRAMESET

 NOFRAMES
   Su browser no acepta Frames.
 /NOFRAMES
  /FRAMESET
  /HTML


In the left frame (FrameIzquierda) I have a jsp file (izquierda.jsp)
that reads the new session's attributes (numero,edad) and they are
displayed perfectly when the
portal.jsp file is opened. Moreover, in the right frame I put a jsp file
(blanco.jsp) that also reads the attributes 'id' and 'ag' and they are
perfectly displayed too.
But the problem becomes when I click a link placed in the izquierda.jsp
file :

 .
 a href=top.jsptest/a
 or
 a href=top.jsp target=FrameServicio test/a
 .

The top.jsp file also reads the attributes (numero, edad)...
In both cases the session's attributes are not displayed, they only
return a null value,  and the session id (session.getId()) is
differtent because when the link is
pressed, a new session object is createdso.. I don't know how to fix
this
I really need to get the two attributes I stored previously in the
session object...

Could you please help me???
I'm desperate!!

Thank you in advance..
Nancy.

===
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: Swing And JSP Communication

2002-03-19 Thread Karau, Joe

Not sure how you would do it to a JSP.  However, you could open a URL
connection to a servlet and send the serializable object to the servlet.



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


-Original Message-
From: Debopam Ghoshal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 1:25 AM
To: [EMAIL PROTECTED]
Subject: Urgent: Swing And JSP Communication


Dear All,
Can anyone please tell me how to send an object from a swing application to
a JSP running on Tomcat 4. For example how can I print a string sent from
the
swing application, on the tomcat server console.

Thanx in advance,
Regards,
Debopam.

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

===
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: Swing And JSP Communication

2002-03-18 Thread Debopam Ghoshal

Dear All,
Can anyone please tell me how to send an object from a swing application to
a JSP running on Tomcat 4. For example how can I print a string sent from the
swing application, on the tomcat server console.

Thanx in advance,
Regards,
Debopam.

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

===
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 Parameters [Urgent!]

2002-03-11 Thread Nancy Crisóstomo

Hi everybody!
Please I need help,...

  This is not a Tomcat question, but I know here I can find some JSP
  experts:

  Could you tell me all the ways I could send (safe) parameters from a jsp
  to a jsp file? Please discard the url parameters and the Session object...

  I have a jsp (Valida.jsp) which opens a new navigator window (javascript), and that 
new navigator window contents another jsp
  (Portal.jsp).  I need to send some parameters from Valida.jsp to Portal.jsp. In fact 
the second Jsp is formed by frames and one of the
  frames has a jsp (Left.jsp) that needs those parameters...

  Could you please help me? Give some hints or examples...  I really need
  your help.. Or if you couldn't, please tell me where I can find that information

  Thank you very much..
  Nancy.

===
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 Parameters [Urgent!]

2002-03-11 Thread Peter Claesson (EUS)

If you don't want to use the session object, then you could use javascript on the 
client side.
The simpliest form is just to call a function residing in the left.jsp page. Name the 
window you
open and the frame you target and then later when you navigate to the frame (window), 
use the name.

You can make this fancier by creating a javascript message handler. The message 
handler
and message gateway are different javascript objects you create. The message gateway 
object
would reside in a page that doesn't get reloaded. Any other page that gets loaded can 
register
its onw message handler with the message gateway. Using the message gateway/handlers
abstracts the what you want to do to not knowing the implementation details of other 
frames.

I have successfully used this concept in one of out application.

Hope this helps.

/Peter



1. Set the data on the server before the jsp files are downloaded. You don't have to 
use the

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 7:30 AM
To: [EMAIL PROTECTED]
Subject: Jsp Parameters [Urgent!]


Hi everybody!
Please I need help,...

  This is not a Tomcat question, but I know here I can find some JSP
  experts:

  Could you tell me all the ways I could send (safe) parameters from a jsp
  to a jsp file? Please discard the url parameters and the Session object...

  I have a jsp (Valida.jsp) which opens a new navigator window (javascript), and that 
new navigator window contents another jsp
  (Portal.jsp).  I need to send some parameters from Valida.jsp to Portal.jsp. In fact 
the second Jsp is formed by frames and one of the
  frames has a jsp (Left.jsp) that needs those parameters...

  Could you please help me? Give some hints or examples...  I really need
  your help.. Or if you couldn't, please tell me where I can find that information

  Thank you very much..
  Nancy.

===
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: Jsp Parameters [Urgent!]

2002-03-11 Thread Gary Noone

Nancy--

Rough code:

In Valida.jsp)
script
openWindow(Portal.jsp? + paramA + = + valueA);
/script

In Portal.jsp:

% String value = request.getParameter(paramA); %

script
leftframe.location.href = windowContent.jsp?param=%= value %
/script

Apologies for small mistakes in the code -- but you should get the general
idea. Drop me a line if this does not help.

Gary


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Nancy Crisóstomo
Sent: 11 March 2002 15:30
To: [EMAIL PROTECTED]
Subject: Jsp Parameters [Urgent!]


Hi everybody!
Please I need help,...

  This is not a Tomcat question, but I know here I can find some JSP
  experts:

  Could you tell me all the ways I could send (safe) parameters from a jsp
  to a jsp file? Please discard the url parameters and the Session object...

  I have a jsp (Valida.jsp) which opens a new navigator window (javascript),
and that new navigator window contents another jsp
  (Portal.jsp).  I need to send some parameters from Valida.jsp to
Portal.jsp. In fact the second Jsp is formed by frames and one of the
  frames has a jsp (Left.jsp) that needs those parameters...

  Could you please help me? Give some hints or examples...  I really need
  your help.. Or if you couldn't, please tell me where I can find that
information

  Thank you very much..
  Nancy.

===
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: Jsp Parameters [Urgent!]

2002-03-11 Thread Nancy Crisostomo Martinez

Thank you very much for your answers!

But Gary : ,
 Do you mean the URL parameters is the only way to pass parameters from a jsp
(script code) to another jsp?
 This is because I need to pass the password and username as parameters... Is this
safe?
 I really want to find the safest way to pass them..


And Peter : ,
   I said I don't want to use the session object because I don't know if it is
safe. Do I have to use it?, is it safe?



Thank you again!




Gary Noone wrote:

 Nancy--

 Rough code:

 In Valida.jsp)
 script
 openWindow(Portal.jsp? + paramA + = + valueA);
 /script

 In Portal.jsp:

 % String value = request.getParameter(paramA); %

 script
 leftframe.location.href = windowContent.jsp?param=%= value %
 /script

 Apologies for small mistakes in the code -- but you should get the general
 idea. Drop me a line if this does not help.

 Gary

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Nancy Crisóstomo
 Sent: 11 March 2002 15:30
 To: [EMAIL PROTECTED]
 Subject: Jsp Parameters [Urgent!]

 Hi everybody!
 Please I need help,...

   This is not a Tomcat question, but I know here I can find some JSP
   experts:

   Could you tell me all the ways I could send (safe) parameters from a jsp
   to a jsp file? Please discard the url parameters and the Session object...

   I have a jsp (Valida.jsp) which opens a new navigator window (javascript),
 and that new navigator window contents another jsp
   (Portal.jsp).  I need to send some parameters from Valida.jsp to
 Portal.jsp. In fact the second Jsp is formed by frames and one of the
   frames has a jsp (Left.jsp) that needs those parameters...

   Could you please help me? Give some hints or examples...  I really need
   your help.. Or if you couldn't, please tell me where I can find that
 information

   Thank you very much..
   Nancy.

 ===
 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: Jsp Parameters [Urgent!]

2002-03-11 Thread Paul Balanoiu

When you say safe you mean:
1. safe from the client that uses the pages, in order not to adjust his rights, for 
example? or
2. safe from the people that might try to steal confidential data from the users of 
your site?

1. In the first case the session is the safest way (because the data is managed on the 
server, no client can directly touch it).
2. Use SSL. It's unsafe even if you make your own socket connections. They :) still 
might get it.
Anyway, using the session you can choose to delete the data at any time (simply 
invalidating the session).
The session's purpose is the use in pages like you described.

Paul


11.03.2002 18:29:39, Nancy Crisostomo Martinez [EMAIL PROTECTED] wrote:

Thank you very much for your answers!

But Gary : ,
 Do you mean the URL parameters is the only way to pass parameters from a jsp
(script code) to another jsp?
 This is because I need to pass the password and username as parameters... Is this
safe?
 I really want to find the safest way to pass them..


And Peter : ,
   I said I don't want to use the session object because I don't know if it is
safe. Do I have to use it?, is it safe?



Thank you again!




Gary Noone wrote:

 Nancy--

 Rough code:

 In Valida.jsp)
 script
 openWindow(Portal.jsp? + paramA + = + valueA);
 /script

 In Portal.jsp:

 % String value = request.getParameter(paramA); %

 script
 leftframe.location.href = windowContent.jsp?param=%= value %
 /script

 Apologies for small mistakes in the code -- but you should get the general
 idea. Drop me a line if this does not help.

 Gary

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Nancy Crisóstomo
 Sent: 11 March 2002 15:30
 To: [EMAIL PROTECTED]
 Subject: Jsp Parameters [Urgent!]

 Hi everybody!
 Please I need help,...

   This is not a Tomcat question, but I know here I can find some JSP
   experts:

   Could you tell me all the ways I could send (safe) parameters from a jsp
   to a jsp file? Please discard the url parameters and the Session object...

   I have a jsp (Valida.jsp) which opens a new navigator window (javascript),
 and that new navigator window contents another jsp
   (Portal.jsp).  I need to send some parameters from Valida.jsp to
 Portal.jsp. In fact the second Jsp is formed by frames and one of the
   frames has a jsp (Left.jsp) that needs those parameters...

   Could you please help me? Give some hints or examples...  I really need
   your help.. Or if you couldn't, please tell me where I can find that
 information

   Thank you very much..
   Nancy.

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




Paul Balanoiu
Bucharest, Romania

===
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 Parameters [Urgent!]

2002-03-11 Thread Gary Noone

Nancy--

The only way to pass data from Javascript (to my knowledge) is through a URL
or post etc. Maybe variations exist such as using hidden fields on forms
etc -- however, these all revolve around opening a HTML/JSP page with query
/ post data.

If your data already exists in the Java world, then you can simply access
the session data as pointed out by Paul in  his previous post.

Gary


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Paul Balanoiu
Sent: 11 March 2002 16:40
To: [EMAIL PROTECTED]
Subject: Re: Jsp Parameters [Urgent!]


When you say safe you mean:
1. safe from the client that uses the pages, in order not to adjust his
rights, for example? or
2. safe from the people that might try to steal confidential data from the
users of your site?

1. In the first case the session is the safest way (because the data is
managed on the server, no client can directly touch it).
2. Use SSL. It's unsafe even if you make your own socket connections. They
:) still might get it.
Anyway, using the session you can choose to delete the data at any time
(simply invalidating the session).
The session's purpose is the use in pages like you described.

Paul


11.03.2002 18:29:39, Nancy Crisostomo Martinez [EMAIL PROTECTED]
wrote:

Thank you very much for your answers!

But Gary : ,
 Do you mean the URL parameters is the only way to pass parameters from a
jsp
(script code) to another jsp?
 This is because I need to pass the password and username as parameters...
Is this
safe?
 I really want to find the safest way to pass them..


And Peter : ,
   I said I don't want to use the session object because I don't know if it
is
safe. Do I have to use it?, is it safe?



Thank you again!




Gary Noone wrote:

 Nancy--

 Rough code:

 In Valida.jsp)
 script
 openWindow(Portal.jsp? + paramA + = + valueA);
 /script

 In Portal.jsp:

 % String value = request.getParameter(paramA); %

 script
 leftframe.location.href = windowContent.jsp?param=%=
value %
 /script

 Apologies for small mistakes in the code -- but you should get the
general
 idea. Drop me a line if this does not help.

 Gary

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Nancy Crisóstomo
 Sent: 11 March 2002 15:30
 To: [EMAIL PROTECTED]
 Subject: Jsp Parameters [Urgent!]

 Hi everybody!
 Please I need help,...

   This is not a Tomcat question, but I know here I can find some JSP
   experts:

   Could you tell me all the ways I could send (safe) parameters from a
jsp
   to a jsp file? Please discard the url parameters and the Session
object...

   I have a jsp (Valida.jsp) which opens a new navigator window
(javascript),
 and that new navigator window contents another jsp
   (Portal.jsp).  I need to send some parameters from Valida.jsp to
 Portal.jsp. In fact the second Jsp is formed by frames and one of the
   frames has a jsp (Left.jsp) that needs those parameters...

   Could you please help me? Give some hints or examples...  I really need
   your help.. Or if you couldn't, please tell me where I can find that
 information

   Thank you very much..
   Nancy.


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




Paul Balanoiu
Bucharest, Romania

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP

Re: Jsp Parameters [Urgent!]

2002-03-11 Thread Richie Bab A. Boyboy

use window.opener -this is the parent window

Nancy Crisóstomo wrote:



To:   [EMAIL PROTECTED]
cc:
Subject:  Jsp Parameters [Urgent!]


Hi everybody!
Please I need help,...

  This is not a Tomcat question, but I know here I can find some JSP
  experts:

  Could you tell me all the ways I could send (safe) parameters from a jsp
  to a jsp file? Please discard the url parameters and the Session
object...

  I have a jsp (Valida.jsp) which opens a new navigator window
(javascript), and that new navigator window contents another jsp
  (Portal.jsp).  I need to send some parameters from Valida.jsp to
Portal.jsp. In fact the second Jsp is formed by frames and one of the
  frames has a jsp (Left.jsp) that needs those parameters...

  Could you please help me? Give some hints or examples...  I really need
  your help.. Or if you couldn't, please tell me where I can find that
information

  Thank you very much..
  Nancy.

===
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. as being connected SQL-Server

2002-03-04 Thread Ottoniel Hernandez

Hi all

I need to know the url to connect me with the JDBC to SQL-Server the
error that gives me it is this Log:Cannot connect to
jdbc:JSQLConnect://monitor_ccd/database=monitor_ch202user=ohernandez,
reason:com.jnetdirect.jsql.u: Failed Logon:com.jnetdirect.jsql.u: Login
failed for user ' ohernandez'.
url:jdbc:JSQLConnect://monitor_ccd/database=monitor_ch202user=ohernandez

and the url that I have is String sConnect = jdbc:JSQLConnect: / /
+sHost+/database=monitor_ch202user=ohernandez;
I believe that this incomplete one because doesn't request password.

The user exists and he has the necessary permits to read and to write in
the database.

thank you,

OHI

===
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. as being connected SQL-Server

2002-03-04 Thread Next Step

At 04:29 PM 3/4/2002 -0600, you wrote:
Hi all
I need to know the url to connect me with the JDBC to SQL-Server the
error that gives me it is this Log:Cannot connect to
jdbc:JSQLConnect://monitor_ccd/database=monitor_ch202user=ohernandez,
reason:com.jnetdirect.jsql.u: Failed Logon:com.jnetdirect.jsql.u: Login
failed for user ' ohernandez'.
url:jdbc:JSQLConnect://monitor_ccd/database=monitor_ch202user=ohernandez

Download the JDBC driver for MS SQL (free), url should like :
cut-
Class.forName(com.microsoft.jdbc.sqlserver.SQLServerDriver);
Connection cnn =
DriverManager.getConnection(jdbc:microsoft:sqlserver://10.0.0.10:1433;DatabaseName=mydb,sa,apple);
---cut---

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



Sorry but it's urgent: How to get window width at IE 5?

2002-02-26 Thread Villén Pizarro, Julia

Hi all:
¿Anyone knows how to get the navigator window width at IE 5 (using JavaScript)?
I tried document.body.width but it doesn't work since I need window width to 
define the size of frames, and a page made out of frames doesn't have body or it has 
it underneath the frames so this sentence won't work.

At NS works perfectly width window.innerWidth, but not at IE. Know any method like 
this at IE?

Sorry for using this forum but I didn't get an answer in the specific ones and I'm
a bit desperated.

Other question by the way: a link to your favorite JSP advanced tutorial? 
Thanks in advance,

Julia

==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: Sorry but it's urgent: How to get window width at IE 5?

2002-02-26 Thread Bommakanti, Vamsee

Try

window.resizeTo(x,y)

in IE
You can set the length(y) and width(x)
Hope this helps
Thanks
Vamsee

-Original Message-
From: Villén Pizarro, Julia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 11:23 AM
To: [EMAIL PROTECTED]
Subject: Sorry but it's urgent: How to get window width at IE 5?


Hi all:
¿Anyone knows how to get the navigator window width at IE 5 (using
JavaScript)?
I tried document.body.width but it doesn't work since I need window width
to 
define the size of frames, and a page made out of frames doesn't have body
or it has it underneath the frames so this sentence won't work.

At NS works perfectly width window.innerWidth, but not at IE. Know any
method like 
this at IE?

Sorry for using this forum but I didn't get an answer in the specific ones
and I'm
a bit desperated.

Other question by the way: a link to your favorite JSP advanced tutorial? 
Thanks in advance,

Julia

==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: Sorry but it's urgent: How to get window width at IE 5?

2002-02-26 Thread Philip Steel

this should do it

script
document.write(screen.availWidth);
/script

-Original Message-
From: Bommakanti, Vamsee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 6:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Sorry but it's urgent: How to get window width at IE 5?


Try

window.resizeTo(x,y)

in IE
You can set the length(y) and width(x)
Hope this helps
Thanks
Vamsee

-Original Message-
From: Villén Pizarro, Julia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 11:23 AM
To: [EMAIL PROTECTED]
Subject: Sorry but it's urgent: How to get window width at IE 5?


Hi all:
¿Anyone knows how to get the navigator window width at IE 5 (using
JavaScript)?
I tried document.body.width but it doesn't work since I need window width
to 
define the size of frames, and a page made out of frames doesn't have body
or it has it underneath the frames so this sentence won't work.

At NS works perfectly width window.innerWidth, but not at IE. Know any
method like 
this at IE?

Sorry for using this forum but I didn't get an answer in the specific ones
and I'm
a bit desperated.

Other question by the way: a link to your favorite JSP advanced tutorial? 
Thanks in advance,

Julia

==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: Sorry but it's urgent: How to get window width at IE 5?

2002-02-26 Thread Villén Pizarro, Julia

Ok, a combination of this two to fix the window size and fixing also the frames size
seems to be the solution. 

Thanks guys.
Julia 

-Mensaje original-
De: Philip Steel [mailto:[EMAIL PROTECTED]]
Enviado el: martes, 26 de febrero de 2002 19:19
Para: [EMAIL PROTECTED]
Asunto: Re: Sorry but it's urgent: How to get window width at IE 5?


this should do it

script
document.write(screen.availWidth);
/script

-Original Message-
From: Bommakanti, Vamsee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 6:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Sorry but it's urgent: How to get window width at IE 5?


Try

window.resizeTo(x,y)

in IE
You can set the length(y) and width(x)
Hope this helps
Thanks
Vamsee

-Original Message-
From: Villén Pizarro, Julia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 11:23 AM
To: [EMAIL PROTECTED]
Subject: Sorry but it's urgent: How to get window width at IE 5?


Hi all:
¿Anyone knows how to get the navigator window width at IE 5 (using
JavaScript)?
I tried document.body.width but it doesn't work since I need window width
to 
define the size of frames, and a page made out of frames doesn't have body
or it has it underneath the frames so this sentence won't work.

At NS works perfectly width window.innerWidth, but not at IE. Know any
method like 
this at IE?

Sorry for using this forum but I didn't get an answer in the specific ones
and I'm
a bit desperated.

Other question by the way: a link to your favorite JSP advanced tutorial? 
Thanks in advance,

Julia

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

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

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



veru urgent print problem

2002-02-14 Thread srinivas tadikonda
Hi,
I want to display my heading in each and every page.
For example: I put some heading like XX this.
my total pages are 10.When ever I give print I want to print  heading each and every page. 
How can I solve this problem. Please help me. I did this project in jsp. basically my heading in one html table.
Reagards
Srinivas
MSN Photos is the easiest way to share and print your photos: Click Here

===
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: veru urgent print problem

2002-02-14 Thread Chris Pratt

Set the title/title to your header, that gets printed on each page in most 
browsers.
(*Chris*)
  - Original Message - 
  From: srinivas tadikonda 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, February 14, 2002 4:13 AM
  Subject: [JSP-INTEREST] veru urgent print problem


  Hi,

  I want to display my heading in each and every page.

  For example:  I put some heading like XX this.

  my total pages are 10. When ever I give print I want to print heading each and every 
page. 

  How can I solve this problem. Please help me.  I did this project in jsp. basically 
my heading in one html table.

  Reagards

  Srinivas





--
  MSN Photos is the easiest way to share and print your photos: Click Here
  === 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: urgent help please - error connecting to the db

2002-02-08 Thread LearningEdition

Just try the following

java -classpath .;%classpath% Connect

Should be nothing more than the classpath problem.

--- Shahata, Ashraf [EMAIL PROTECTED]
wrote:
 I have the following code, which is quite simple and
 used to connect to the
 db, but I keep getting the error:
 Exception in thread main
 java.lang.NoClassDefFoundError: connect (wrong
 name:
 Connect)

 I'm trying to connect to mySQL using the
 mm.mysql-2.0.4-bin.jar jdbc driver,
 which I placed in the CLASSPATH. Here's the code:
 import java.sql.*;

 public class Connect {
   public static void main(String args[]) {
 Connection con = null;
 try {

   Class.forName(org.gjt.mm.mysql.Driver);
   System.out.println(JDBC driver loaded);
   con =

DriverManager.getConnection(jdbc:mysql://localhost/ash
 ?user=ashahatapassword=ash123);
   System.out.println(Database connection
 established);
   } catch (ClassNotFoundException cnfe) {
   System.out.println(ClassNotFoundException:
 Could not locate driver);

 } catch (SQLException cnfe) {
   System.out.println(SQLException: +cnfe);
 } catch (Exception e) {
   System.out.println(An unknown error occurred
 while connecting to the
 database);
 } finally {
   try {
 if ( con != null )
 con.close();
   } catch(SQLException sqle) {
 System.out.println(Unable to close database
 connection.);
   }
 }
   }
 }


===
 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 : urgent help please - error connecting to the db

2002-02-08 Thread hassan afif

Hi ashraf,
U can try this code before :
Driver driver =
(Driver)Class.forName(driverClassName).newInstance();
DriverManager.registerDriver(driver);

-Message d'origine-
De : A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]] De la part de Shahata, Ashraf
Envoyé : jeudi 7 février 2002 18:33
À : [EMAIL PROTECTED]
Objet : urgent help please - error connecting to the db


I have the following code, which is quite simple and used to connect to
the db, but I keep getting the error: Exception in thread main
java.lang.NoClassDefFoundError: connect (wrong
name:
Connect)

I'm trying to connect to mySQL using the mm.mysql-2.0.4-bin.jar jdbc
driver, which I placed in the CLASSPATH. Here's the code: import
java.sql.*;

public class Connect {
  public static void main(String args[]) {
Connection con = null;
try {

  Class.forName(org.gjt.mm.mysql.Driver);
  System.out.println(JDBC driver loaded);
  con = DriverManager.getConnection(jdbc:mysql://localhost/ash
?user=ashahatapassword=ash123);
  System.out.println(Database connection established);
  } catch (ClassNotFoundException cnfe) {
  System.out.println(ClassNotFoundException: Could not locate
driver);

} catch (SQLException cnfe) {
  System.out.println(SQLException: +cnfe);
} catch (Exception e) {
  System.out.println(An unknown error occurred while connecting to
the database);
} finally {
  try {
if ( con != null )
con.close();
  } catch(SQLException sqle) {
System.out.println(Unable to close database connection.);
  }
}
  }
}


===
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 please - error connecting to the db

2002-02-07 Thread Shahata, Ashraf

I have the following code, which is quite simple and used to connect to the
db, but I keep getting the error:
Exception in thread main java.lang.NoClassDefFoundError: connect (wrong
name:
Connect)

I'm trying to connect to mySQL using the mm.mysql-2.0.4-bin.jar jdbc driver,
which I placed in the CLASSPATH. Here's the code:
import java.sql.*;

public class Connect {
  public static void main(String args[]) {
Connection con = null;
try {

  Class.forName(org.gjt.mm.mysql.Driver);
  System.out.println(JDBC driver loaded);
  con = DriverManager.getConnection(jdbc:mysql://localhost/ash
?user=ashahatapassword=ash123);
  System.out.println(Database connection established);
  } catch (ClassNotFoundException cnfe) {
  System.out.println(ClassNotFoundException: Could not locate driver);

} catch (SQLException cnfe) {
  System.out.println(SQLException: +cnfe);
} catch (Exception e) {
  System.out.println(An unknown error occurred while connecting to the
database);
} finally {
  try {
if ( con != null )
con.close();
  } catch(SQLException sqle) {
System.out.println(Unable to close database connection.);
  }
}
  }
}

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



Its very urgent: How can I encrypt a mail using JavaMail!!!!!!

2002-02-07 Thread Lorena Carlo

Hello,

How can I encrypt a mail using JavaMail, help me please

thanks in advance

Lorena Carlo

===
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: Its very urgent: How can I encrypt a mail using JavaMail!!!! !!

2002-02-07 Thread Naveen Sharma

Use the JCE (Java Cryptographic Extension), available from Sun
(http://java.sun.com/products/jce/). Remember that after encryption, you
will get binary output, so don't forget to base64 encode, otherwise X.25
mailing systems may corrupt the mailed data. I think there are some export
restrictions on this though.
Or use an S/MIME provider to work with JavaMail. This would include support
for email signing and encryption. The Phaos S/MIME toolkit
http://www.phaos.com/e_security/prod_smime.html and JCSI
http://security.dstc.edu.au/projects/java/release2.html are two
implementations you can look into.

Another alternative at
http://www.javaworld.com/javaworld/javatips/jw-javatip115.html?remote_addr=2
07.239.31.62user_agent=Mozilla/4.0%20(compatible%3b%20MSIE%205.5%3b%20Windo
ws%20NT%204.0)






 -Original Message-
 From: Lorena Carlo [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, February 07, 2002 05:07 PM
 To:   [EMAIL PROTECTED]
 Subject:  Its very urgent:  How can I encrypt a mail using
 JavaMail!!

 Hello,

 How can I encrypt a mail using JavaMail, help me please

 thanks in advance

 Lorena Carlo

 ==
 =
 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: Its very urgent: How can I encrypt a mail using JavaMail!!!!!!

2002-02-07 Thread horwat

You should direct your question to the JavaMail interest list. Better yet,
search that interest list's archives and I'm sure your question has already
been answered.

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

Justy
 jsp-interest list moderator 

- Original Message -
From: Lorena Carlo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 07, 2002 2:06 PM
Subject: Its very urgent: How can I encrypt a mail using JavaMail!!


 Hello,

 How can I encrypt a mail using JavaMail, help me please

 thanks in advance

 Lorena Carlo


===
 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 please - error connecting to the db

2002-02-07 Thread breddy

just check your file name how u  saved it as.
- Original Message -
From: Shahata, Ashraf [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 08, 2002 12:03 AM
Subject: urgent help please - error connecting to the db


 I have the following code, which is quite simple and used to connect to
the
 db, but I keep getting the error:
 Exception in thread main java.lang.NoClassDefFoundError: connect (wrong
 name:
 Connect)

 I'm trying to connect to mySQL using the mm.mysql-2.0.4-bin.jar jdbc
driver,
 which I placed in the CLASSPATH. Here's the code:
 import java.sql.*;

 public class Connect {
   public static void main(String args[]) {
 Connection con = null;
 try {

   Class.forName(org.gjt.mm.mysql.Driver);
   System.out.println(JDBC driver loaded);
   con = DriverManager.getConnection(jdbc:mysql://localhost/ash
 ?user=ashahatapassword=ash123);
   System.out.println(Database connection established);
   } catch (ClassNotFoundException cnfe) {
   System.out.println(ClassNotFoundException: Could not locate
driver);

 } catch (SQLException cnfe) {
   System.out.println(SQLException: +cnfe);
 } catch (Exception e) {
   System.out.println(An unknown error occurred while connecting to
the
 database);
 } finally {
   try {
 if ( con != null )
 con.close();
   } catch(SQLException sqle) {
 System.out.println(Unable to close database connection.);
   }
 }
   }
 }


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



A Strange Problem.....Please help Urgent!!!

2002-01-14 Thread ShriKant Vashishtha

Hi All,

I am facing a typical problem in WAS 3.5.3 environment. Recently it
started showing an erratic behaviour which is difficult to understand.
After some 3-4 hours of continuous testing the application starts
showing the NullPointerException in a particular class. So from that
request onwards whenever I call that class method, it throws the
exception. Strange thing is, it does not show this behaviour for those
4-5 hours anywhere. If I escape that exception, it gives me the same
exception somewhere else. I have increased the heap memory size also to
640MB maximum which should be enough for a medium sized web-application.
If somebody has encounterd this kind problem anywhere, please give me
some direction.

Many Thanks,
-ShriKant

===
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: Re Re: Urgent : Compilation of JSPs

2001-12-30 Thread Ashwani Kalra

Most of the vendors provides some feature to precompilation of all the jsps
for increasing the response time when the jsp handles request first time.
You can check the weblogic docs or their newsgroup.

Cheers
Ashwani Kalra
Sr. Mem. Dev. Staff
Aithent Technologies
India
www.geocities.com/ashwani_kalra/
~~




-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Pranav Shah
Sent: Friday, December 28, 2001 7:18 PM
To: [EMAIL PROTECTED]
Subject: Re Re: Urgent : Compilation of JSPs


Hi
 I am using weblogi server 6.0. In weblogic the jsp compiles when it is used
for first time or when you make changes in it.But how can i instruct
weblogic to compile my JSP when it starts ?

Thanks
Pranav Shah

On Fri, 28 Dec 2001 Sasi Bhushan wrote :
 Its depends on the server on which you are going to
 deploy your JSPs.For
 weblogic and WebSphere u can specify that  should the
 JSP's compile before
 application starting or at time first invocation of
 that Jsp page.
 You have not specified the server on which you are
 going to deploy.

 - Original Message -
 From: lalit gulhane [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, December 28, 2001 10:48 AM
 Subject: Urgent : Compilation of JSPs


 Hi All,

 Is it possible to compile all JSPs before starting the
 server ?

 Thanx and regards,
 Lalit

 =
 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

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



  1   2   3   4   5   6   7   >