this is compile time, not run time.
so this is not possible.
-Original Message-
From: Louis Voo [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 4:40 PM
To: [EMAIL PROTECTED]
Subject: Can I declare array in jsp:useBean tag?
Hi,
I want to declare an array object in
second one
-Original Message-
From: Ravindra [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 11:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Urgent Please help me
Hi All,
String string_Name = new String(Tendulkar);
String string_Name = Tendulkar;
In Above two
%@
import="java.io.*,java.util.*,java.lang.Object,java.text.Format"
%%// using Java, determine if the browser is Netscape or
MSIEboolean isNetscape = false;String userAgent =
request.getHeader("User-Agent");if ( userAgent.toLowerCase().indexOf("msie")
==-1
String userAgent =
request.getHeader("User-Agent"); if (
userAgent.toLowerCase().indexOf("win") = 0 )// Windows
userif ( userAgent.toLowerCase().indexOf("mac") = 0
) // Apple/Mac userif (
userAgent.toLowerCase().indexOf("msie") ==-1
in your SMTP server relaying is denied
that means u can't send a mail to email id having account in other domain
name
ie.. if ur smtp server ids are like [EMAIL PROTECTED]
than u cant send mail to any other id like [EMAIL PROTECTED], [EMAIL PROTECTED]
etc.
u can send mails to id ending with
hi all,
i am try to add an LDAP entry .
dn = uid=pop,ou=People,o=sunquest.com
it is throwing an exception (see below).
can anybody guide to how to set this 'add privilage' ??
cheers!!
raj
javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient
'add' privilege to add the entry
why dont u download java API.
it will save u a lot of time. You can always refer that for such problems.
anyway,
String str = Dick ;
str = str.trim(); //this will remove the blank spaces before and
after Dick
Cheers!!
Raj
-Original Message-
From: Dick Wong
here is the code u can just make some changes in that ..
import java.io.*;
import java.util.*;
import javax.mail.*;
import javax.mail.internet.*;
public class Sendmail
{
public Sendmail()
{
}
public void postMail( String recipients[ ], String subject, String
message ,
your question is
not clear.
if u want to
delete records from different table in RDBMS
for example if
they are connected through reference keys. you can use "on cascade" in Oracle.
It will delete all the child records.
check
--- java.sql.DatabaseMetaData it has methods for getting
import java.io.*;import
java.util.*;
public class DirList { public
static void main(String[] args) { File path = new
File("."); String[] list = path.list();
for(int i = 0; i list.length;
i++) System.out.println(list[i]);
}}
pass the
directory name in the constructor whose files u want to
though it is a scilly to ask this over here but there is an argument going
over here.
any body can tell me what does i stands for in oracle 8i ?
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
one way is define a hidden variable in Page A and assign the name of the
Jsp.
Retrieve it in Page B.
-Original Message-
From: SriHari [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 9:45 AM
To: [EMAIL PROTECTED]
Subject: jsp Requested Page
Hi There
I want to know from
if pUser is long
you can use something like
session.setAttribute(UserID, String.valueOf(pUser));
or
session.setAttribute(UserID, pUser + );
or
session.setAttribute(UserID, new Long(pUser) );
hope atleast one will help.
Cheers!!
raj
-Original Message-
From: Dinesh Somasundram
public void putValue(java.lang.String , java.lang.Object )
has been Deprecated.
use setAttribute(java.lang.String , java.lang.Object )
-Original Message-
From: Harish Visvanath [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 6:43 PM
To: [EMAIL PROTECTED]
Subject: Re:
Thank you All for your help!!
but i have noticed that if you pass double value 45.999 it rounds off the
fractional part and returns 46.00
Is it a bug or NumberFormat class behaves like this only ?
below is the code to do it.
import java.text.*;
public class Truncate
{
public static String
Hi all,
i have variable double x = 34.8976 ;
i want only 2 digits after decimal. Is there any method returning double
and gives value x = 34.89 ???
Cheers!!
Raj
===
To unsubscribe: mailto [EMAIL PROTECTED] with body:
Hi all,
if i get a srint and assign it to a String variable like this :
%! String cname %
% cname = request.getParameter(cname); %
now can i add this dynamically to the usebean tag like this :
jsp:useBean id=ClassName class=%= cname % scope=session/
right now i am getting this error.
If
Hi,
i think u write a request handler class.
controller servlet should paas on the request to this class where u will
check for the null values.
in this request handler class you can call a method of a data access class
for DB updation.
I think it will work just fine.
Cheers !!
raj
There is no need
for synchronizing the process method in the request handlers in the MVC
model.
As the controller
servlet is a singleton class (implements single thread model) i.e. two threads
cant call the service method concorrently. so no two clients can call the same
process method of the
:
Rajinder Sandhu
To: [EMAIL PROTECTED]
Sent: Thursday, August 02, 2001 12:35
PM
Subject: Re: MVC Issue
There is no
need for synchronizing the process method in the request handlers in the MVC
model.
As the
controller servlet is a singleton class (implements single
ThreadModel interface in my opinion.
Looking forward to your (Mr. Sandhu)as well as
otherscomments.
Have a nice day.With regards,Sachin S. Khannahttp://www.emailanorder.com
----- Original Message -
From:
Rajinder Sandhu
To: [EMAIL P
Hi All,
When i call a servlet from a jsp page i get this error. any help will be
appreciated.
Cheers!!
raj
Error: 500
Location: /Sun/modifyusertemplate.jsp
Internal Servlet Error:
javax.servlet.ServletException: Response has already been committed
at
Hi all,
In my JSP file i am initiating a transaction (any of the action in between
can throw an exception), and including/calling other jsp's as well. So for
catching exception and to track where the exception exactly has occured. I
want define a Basic exception class and have other exception
,
Sachin S. Khanna
http://www.emailanorder.com
- Original Message -
From: Rajinder Sandhu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 31, 2001 3:46 PM
Subject: using super in Jsp
Hi all,
In my JSP file i am initiating a transaction (any of the action in between
can throw
if you are working in NT environment
simply give the ip address of the your machine in the URL or you machine
name
for eg. - http://john:8080/examples/test.jsp
or if ip address of your machine (john) is 164.23.34.55 than
http://164.23.34.55:8080/examples/test.jsp
it will work.
Cheers!!
raj
:
CC:Recipient List
However, giving the BCC command instead of CC does not produce the desired
result.
cheers!!
Raj
-Original Message-
From: John Ninan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 10:46 AM
To: Rajinder Sandhu
Subject: Re: regarding java mail
for a portal i am
a
package statement.
Have a nice day.
With regards,
Sachin S. Khanna
http://www.emailanorder.com
- Original Message -
From: Rajinder Sandhu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 17, 2001 11:41 AM
Subject: configuring tomcat
Hi All ,
I have installed Tomcat (apache
code for the jsp and bean to this list.
Have a nice day.
With regards,
Sachin S. Khanna
http://www.emailanorder.com
- Original Message -
From: Rajinder Sandhu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 17, 2001 12:33 PM
Subject: Re: configuring tomcat
I am working in windows
Hi All ,
I have installed Tomcat (apache tomcat/4.0-b5) on my machine. It is
processing JSPs.
But there is a problem when i use Use:Bean Tag
it throws exception :-
org.apache.jasper.JasperException: Unable to compile class for
JSPE:\tomcat\bin\..\work\localhost\examples\SaveName1_jsp.java:57:
29 matches
Mail list logo