What is the use of Page context ?

2002-11-15 Thread Gopinath D
Hi all,


Could u plz tell me what the page context in JSP is. I have seen
some questions in many interviews.

I was not able to find out this help me...

Thanks in advance.

Regards,
Gopi.

===
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 doubt in Java script

2002-09-02 Thread Gopinath D

Hi,

My doubt is, A html window is opened by using some other software.
That software is in form of exe file. So, I can't open the
software. This html window contains only close button. I want to
add minimize button to the html window. And i've the code for Html
file.

For ex :

I am able to give the status in the html file.

//Html file
self.status=Testing...

Is there any way to enable the minimize button in the html file?

Thanks in advance.

Regards,
Gopinath.D

===
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 doubt in JSP

2002-08-18 Thread Gopinath D

What is the difference between Session and Cookie?

The interaction that takes place between the browser and server in
a
session will not be available during the subsequent sessions. That
is
why we are using session...

The cookie also do the same. If you store any value in a cookie,
it
can be accessed during the subsequent sessions.

please clarify my doubt.

thanks in advance.

Gopinath

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



How to change the format of accessed time ?

2002-08-17 Thread Gopinath D

Hi all,
If i use the method getLastAccessedTime(), It returns the time
in milliseconds. But,I want to convert it to the time in the
format HH:MM:SS.

For ex:

The above method returns the value 1028641607545. is it possible
to change the format given above?

Thanks in advance.

Gopi

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

2002-07-29 Thread Gopinath d

hi all,


pl have a look at the code given below.

The Current Session id is: %= session.getId()%
%
 out.println(font color=redClick me/font);
 session.setAttribute(uname,ABC);
 out.println(session.getAttribute(uname));
%

//End of the program


If i execute the program, it displays an error message stating that

E:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_fst.java:78: Method 
setAttribute(java.lang.String, java.lang.String) not found in interface 
javax.servlet.http.HttpSession.
   session.setAttribute(uname,ABC);
   ^
E:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_fst.java:79: Method 
getAttribute(java.lang.String) not found in interface javax.servlet.http.HttpSession.
   out.println(session.getAttribute(uname));
   ^
2 errors

what may be the reason?

Thanks in advance.

Regards,
Gopi

===
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 doubt in PHP

2002-07-29 Thread Gopinath d

Hi all,

I want to send the data entered thru the keyboard from one screen to another window.

How is it possible in PHP?

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