[no subject]

2003-05-27 Thread Priti Chhetri
what are the implicit objects of JSP.?

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


displaying 5th record

2003-06-03 Thread Priti Chhetri
Hi All,

I need to take out last 5 records from the table  and without using any condition and 
then I have display highest salary from retrieved Records in JSP as I have one column 
as Salary .(using Oracle ).Quick answer would be very much helpful 



thanks
Priti 

==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: displaying 5th record

2003-06-03 Thread Priti Chhetri
Hi Veerendra,


I don't have to use Rowid ,Please do help me with other solution...

thanks a lot .


- Original Message -
From: "Veerendra Jote" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 4:45 PM
Subject: Re: displaying 5th record


> hi Priti,
> use rowid to get the top 5 records
>
> see article
>
http://technet.oracle.com/sample_code/tech/java/sqlj_jdbc/files/basic/RowidS
> ample/Readme.html
>
> i guess it will help u in this
>
> Regards
> Veeren
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED] Behalf Of Priti Chhetri
> Sent: Tuesday, June 03, 2003 4:23 PM
> To: [EMAIL PROTECTED]
> Subject: displaying 5th record
>
>
> Hi All,
>
> I need to take out last 5 records from the table  and without using any
> condition and then I have display highest salary from retrieved Records in
> JSP as I have one column as Salary .(using Oracle ).Quick answer would be
> very much helpful
>
>
>
> thanks
> Priti
>
> =
> 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: displaying 5th record

2003-06-03 Thread Priti Chhetri
thanks Raju,

But my requirement is to get only 5 records as there may thousand records in
database .
otherewise it will effect performance.







--From: "Raju BSN" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 5:45 PM
Subject: Re: displaying 5th record


> hi,
> You can use  last() and then previous() on your resulset object.
> Use a counter to break the loop after 5 iterations.
> hope this will help.
>
> regards
> raju
> - Original Message -
> From: "Priti Chhetri" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 03, 2003 4:23 PM
> Subject: displaying 5th record
>
>
> Hi All,
>
> I need to take out last 5 records from the table  and without using any
> condition and then I have display highest salary from retrieved Records in
> JSP as I have one column as Salary .(using Oracle ).Quick answer would be
> very much helpful
>
>
>
> thanks
> Priti
>
> =
> 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: displaying 5th record

2003-06-04 Thread Priti Chhetri
Thanks Vishal and  veerendra jotle .
I need to use rowid as i didn't get any other solution


Select Salary from tablename where rownum<=5 order by salary desc;
instead of order by salary we have to use order by rowid


 thanks a lot..


- Original Message -
From: "Vishal Chaddha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 6:25 PM
Subject: Re: displaying 5th record


> Hi Priti,
>
> You can execute following query from your JSP
>
> Select Salary from tablename where rownum<=5 order by salary desc;
>
> This will first arrange records in descending order of Salary and then
limit
> the count of records to 5. Data in first Record fetched would be highest
> among thee five records.
>
> Hope this helps.
> Vishal
>
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED] Behalf Of Priti Chhetri
> Sent: Tuesday, June 03, 2003 4:23 PM
> To: [EMAIL PROTECTED]
> Subject: displaying 5th record
>
>
> Hi All,
>
> I need to take out last 5 records from the table  and without using any
> condition and then I have display highest salary from retrieved Records in
> JSP as I have one column as Salary .(using Oracle ).Quick answer would be
> very much helpful
>
>
>
> thanks
> Priti
>
> =
> 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


Servlet-JSP communication

2003-08-19 Thread Priti Chhetri
Hello,

Can u please guide me what Code should I use to call JSP from servlet.I have tried 
response.sendRedirect(URL) .On using
response.sendRedirect() I lost my Form data on jsp pages.


Thanks
Priti chhetri
MTS
Intersolutions -58

===
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: Servlet-JSP communication

2003-08-20 Thread Priti Chhetri
Hi Balasubramanian S ,


Yes ,it works fine.Thanks a lot for a great help!.




Thanks
Priti chhetri
MTS
Intersolutions -58





- Original Message -
From: "Balasubramanian S" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 20, 2003 10:17 AM
Subject: FW: Servlet-JSP communication


-Original Message-
From: Balasubramanian S
Sent: Wednesday, August 20, 2003 9:57 AM
To: 'A mailing list about Java Server Pages specification and reference'
Subject: RE: Servlet-JSP communication


Priti,

 Try this

RequestDispatcher dispatcher =
request.getRequestDispatcher(JSPPage);
dispatcher.forward(request,response);

- Bala

-Original Message-
From: Priti Chhetri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 9:59 AM
To: [EMAIL PROTECTED]
Subject: Servlet-JSP communication


Hello,

Can u please guide me what Code should I use to call JSP from servlet.I have
tried response.sendRedirect(URL) .On using
response.sendRedirect() I lost my Form data on jsp pages.


Thanks
Priti chhetri
MTS
Intersolutions -58

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