Exception.

2000-09-21 Thread Krishna Srinivasan
I just saved a html page from web,renamed it a JSP,added some fuctionality and tried to call it from the Browser. This is the message i get... com.livesoftware.jsp.JSPServlet: javax.servlet.ServletException: Invalid UTF-8 code. (bytes: 0xffb7 0x20) Is there any way to clean the HTML page

Content from external websites.

2000-09-20 Thread Krishna Srinivasan
I'm trying to incorporate newsfeed from an external site say CNN.com and show the headlines on my site. As news gets updated in CNN.com,my site should also show the latest news. How do i accomplish this?Do i need to open a socket connection with the external site or is there any other way to do

Including HTML files.

2000-09-19 Thread Krishna Srinivasan
I would like to include a HTML file in a JSP. I'm running JRUN 3.0 on Apache1.3. is something like this possible ? html head/head body !--#include virtual="hello.html"-- %out.println("sucess"); % /body /html Do i need to configure my apache to allow server side includes ?How do i do that? If

Re: Including HTML files.

2000-09-19 Thread Krishna Srinivasan
that works. thanks. - Original Message - From: "Pascal BLANC" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 19, 2000 6:10 PM Subject: Re: Including HTML files. Why don't you include the following: %@ include file="../../HEADER/GEFFHEAD.JSP" % and maybe replace

Hyperlinks.

2000-06-22 Thread krishna srinivasan
I have a hyperlink that looks like this... a href="test.jsp?name=%=username%"click here/a if the value of username='xyz abc'[ie.two words],i'm not able to get both the words in the hyperlink.Instead it's just 'xyz .How do i send both the words to the next page if user clicks on the hyperlink ?

Re: Hyperlinks.

2000-06-22 Thread krishna srinivasan
] Subject: Re: Hyperlinks. Date: Thu, 22 Jun 2000 17:49:05 +0200 You should use quote like this : a href=test.jsp?name="%=username%"click here/a Regards Veronique krishna srinivasan a écrit : I have a hyperlink that looks like this... a href="test.jsp?name=%=usern

Multiple JSM.

2000-06-14 Thread krishna srinivasan
Hi, My application spawns as many as 50 threads/user and searches the internet for parts.In a scenario of 10 users the performance is poor.I was considering multiple JSM's on the same machine if it could improve the performance. I'm running JRUN 2.3.3 on Apache 1.3.12 with Redhat as OS. Can i

Session expiry.

2000-06-13 Thread krishna srinivasan
Hi, i'm running JSP's on JRUN and using APACHE as the webserver.Every jsp verifies for the session object at the very beginning and redirects the user to login page if session object does'nt hold the usid id.The problem i face is after an hour or so if i try to access a page,i'm redirected to the

Multithreading in servlets.

2000-06-07 Thread krishna srinivasan
My project involves development of a meta-search engine - one that takes search parms from my user and then hits other search engines for results. we've implemented this as a jsp that calls a java class which spawns around 50 threads per user.The reason for doing this is that the user has to be

Re: Flushing the buffer.

2000-06-06 Thread krishna srinivasan
2000 15:55:24 -0700 Try out.wait after the out.flush On Mon, 05 June 2000, krishna srinivasan wrote: Hi, I'm calling 1 jsp from another.When the jsp is called i flush the contents of the buffer. I'm using out.flush() i find that the flush is not happening at the desired

Flushing the buffer.

2000-06-05 Thread krishna srinivasan
Hi, I'm calling 1 jsp from another.When the jsp is called i flush the contents of the buffer. I'm using out.flush() i find that the flush is not happening at the desired point.Actually the event occurs after a period of time bringing some more html stuff alongwith. What do i do ? Do i need to

Performance Issue.

2000-06-05 Thread krishna srinivasan
Hi, I'm using JRUN on Apache and i have a some issues related to multithreading. I'm launching around 50 threads/user and i find that the performance is poor as the users increase.Is it possible to improve the performance by changing the Jrun's config parameters ? T I A, Krishna.

Can Jsp write its output to a file?

2000-04-19 Thread krishna srinivasan
For one of our requirements here we need to write a jsp file which would dump its output(i.e. the HTML) to a file rather the browser. Is this possible, if so what the standard approaches to do this Appreciate your inputs Sanjay __ Get Your

sessions

2000-04-17 Thread krishna srinivasan
Hi, I'm using the session object to store user id and at the beginning of every JSP i check the validity of the session.I have a case where restarting the JRUN [web server -apache]does not kill the sessions. ie : i'm able to call a JSP without properly login in... What could be the possible