aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes I want to display some contents in a given jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

I want to display some contents in a given jsp page

soma lingam
Greenhorn

Joined: Apr 26, 2007
Posts: 19
In One.jsp

<%@page language='java'%>

<%
out.println("1");
out.println("2");
out.println("3");
..
..
..
out.println("1000");
%>
If this page is sent to browser it displays whole content i.e., upto 1 to 1000 times it prints but in my case i want to display only 1 to 500 how can i do this ?
Please, suggest me in this regard.
:roll:
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Please do not post the same question in multiple forums + this is a JSP related question.

This thread is closed, you can continue the discussion at
http://www.coderanch.com/t/292374/JSP/java/execute-lines-code-given-jsp


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: I want to display some contents in a given jsp page
 
Similar Threads
About create a session!
paging help
headache can someone help me in this
How can i execute few lines of code in a given jsp page
why not session.setAttribute working ?