Re: Including a page in my JSP

2002-06-13 Thread SERHAT INAN
Try this,     Bye -Original Message-From: Gupta, Gaurav [mailto:[EMAIL PROTECTED]]Sent: Friday, June 14, 2002 9:04 AMTo: [EMAIL PROTECTED]Subject: Including a page in my JSPHi  All  I have a problem regarding including the file placed on another server .I have tried J

Re: edit file

2002-06-13 Thread Renz
Is there a java list? Please help me find it. /Renz On Thu, 2002-06-06 at 12:14, Adams, Dick W wrote: > This topic is more appropriate to a Java list, rather than a servlet list. > > -Original Message- > From: Ajay Ejantkar [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 05, 2002 5:18

Re: Including a page in my JSP

2002-06-13 Thread Balasubramaniyan K
    Hi    Try to use  <%@ include file="relative URL" %>       Thanks & Regards Balasubramaniyan Krithivasan   -Original Message-From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Gupta, GauravSent

Including a page in my JSP

2002-06-13 Thread Gupta, Gaurav
Hi  All  I have a problem regarding including the file placed on another server .I have tried JSP:INCLUDE tag but it says that you have to specify the relative url .Is there any other alternative?   Thanks  in advance Gaurav        

Re: Problem with user http session

2002-06-13 Thread Dennis Sosnoski
Unless somebody has come out with a new specification for cookie handling that I'm not aware of this information is incorrect. Browsers *should* carry cookies across http/https boundaries unless the cookie comes with a "Secure" attribute. If the "Secure" attribute is included the cookie should onl

using collection

2002-06-13 Thread Linh Vo
Anyone has any ideas about using collection or any articles about using collection ? Thanks, -- ___ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup ___

Re: Fw:listserv,sos!

2002-06-13 Thread L-Soft list server at Sun Microsystems Inc. (1.8d)
> Virus Warning Message (on gate) Unknown command - "". Try HELP. > Found virus PE_CIH.1003 in file class.bat Unknown command - "FOUND". Try HELP. > Found virus WORM_KLEZ.H in file class.bat Unknown command - "FOUND". Try HELP. > The uncleanable file is deleted. Unknown command

Re: X11 error when creating image from servlet

2002-06-13 Thread Christopher K. St. John
Raja Sekhar Kommu wrote: > > We are trying to generate an image dynamically in a servlet. > ... we are getting the following exception : > > Exception occured java.lang.InternalError: Can't connect > to X11 window server using ':0.0' as the value of the > DISPLAY variable. > > We did set

Re: How to force terminate Servlet?

2002-06-13 Thread Christopher K. St. John
Edward wrote: > > I want to know if a method or function that by using it, I can > forcely terminate Servlet > Have your service() method throw an UnavailableException. See servlet spec version 2.3[1] (it's a great resource, easy to read, informative, well worth the cost of a free download) S

Re: [Fwd: Re: getResourceAsStream(java.lang.String path)]

2002-06-13 Thread Christopher K. St. John
> I'm not sure whether it's possible to access something in > WEB-INF using getResourceAsStream. > Yes, it is possible, the servlet spec[1] allows for it explicitly: SRV.9.5 "Directory Structure" ... No file contained in the WEB-INF directory may be served directly to a client by the con

Re: Get the remote file

2002-06-13 Thread Albert Pi
There is no such thing in "java" has pcanywhere script", you have to code "that" by yourself. so you have three options (from relies). Be amicable to people try to help you. Albert Pi Corp IS System Delivery 516-803-3762 >>> [EMAIL PROTECTED] 06/12/02 06:11PM >>> The original question,

Re: [Fwd: Re: getResourceAsStream(java.lang.String path)]

2002-06-13 Thread Ronald Wildenberg
Hi Jwas, could you please respond to the mailing list and not to me directly? This way other people can help answer your question to. PEARCE Robert wrote: > I'm not sure you can access WEB-INF from the Servlet Context? I thought it > wasn't served to the client, so wouldn't for example be hangi

Re: [Fwd: Re: getResourceAsStream(java.lang.String path)]

2002-06-13 Thread [Jwas J]
It is possible to access the Web-Inf from the servlet context ... The problem Iam facing is that iam getting a binary data only :-( PEARCE Robert <[EMAIL PROTECTED]> Sent by: "A mailing list for discussion about Sun Microsystem's Java Servlet API Technology." <[EMAIL PROTECTED]> 06/13/02 04

Re: [Fwd: Re: getResourceAsStream(java.lang.String path)]

2002-06-13 Thread PEARCE Robert
I'm not sure you can access WEB-INF from the Servlet Context? I thought it wasn't served to the client, so wouldn't for example be hanging off the root of the servlet context (which '/WEB-INF/') basically means. -Original Message- From: Ronald Wildenberg [mailto:[EMAIL PROTECTED]] Sent: 1

[Fwd: Re: getResourceAsStream(java.lang.String path)]

2002-06-13 Thread Ronald Wildenberg
  Original Message Subject:  Re: getResourceAsStream(java.lang.String path) Date:  Thu, 13 Jun 2002 16:34:51 +0530 From:  [EMAIL PROTECTED] To:  [EMAIL PROTECTED]   But still iam getting the same result Is there any wrong in my code ?     In

Re: Invalid Text

2002-06-13 Thread Vikramjit Singh
you cannot use java.awt.TextArea in a servlet. AWT api is for making applications. The error its giving is that of html textarea, which is true also. Coz ultimately when u run the server in the browser it will throw html as output if there is any. If you want you can write an applet and then call

Invalid Text

2002-06-13 Thread Bob Prah
Hi, Has anybody any idea how to display a textarea in a servlet. I have a page (generated by a servlet) which is suppose to display a textarea, but if I do call this page, instead of displaying the textarea, it throws the following error msg. : java.awt.TextArea[text0,0,0,0x0,invalid,tex

Re: getResourceAsStream(java.lang.String path)

2002-06-13 Thread Ronald Wildenberg
You can get a character stream (= Reader) by using java.io.InputStreamReader. Ronald.   "[Jwas J]" wrote:   Hello Can anyone tell me where is "getResourceAsStream(java.lang.String path)" is used . We only get byte stream right ? Is there any way to get character stream. Regards Jwas

Re: Problem with user http session

2002-06-13 Thread Rodrigo Ruiz Aguayo
Hi, I'm not sure, but if both the secure and insecure servers are the same one, you can try to disable the use of cookies for session-ids. This way, the selection of the session-id to send is not left to the browser. If it does not work, you could try to use an alternative to the user session.

X11 error when creating image from servlet

2002-06-13 Thread Raja Sekhar Kommu
Hi all We are using WebSphere 3.5.4 We are truying generate a image dynamically in a servlet. Here is the sample peice of the code generating the image :- BufferedImage buffImg = new BufferedImage(400, 400, BufferedImage.TYPE_INT_RGB); Graphics2D graphics2D = buffImg.createGraphics(); graphi

Re: Problem with user http session

2002-06-13 Thread Adrian Janssen
Web Browsers (IE andNN) do not cary sessions across http / https boundries. If you dump out the session id, which is a cookie sent by the browser with every page request then you will see that it differes between the http and https pages. This is for security reasons. Or to put it another way ht

getResourceAsStream(java.lang.String path)

2002-06-13 Thread [Jwas J]
Hello Can anyone tell me where is "getResourceAsStream(java.lang.String path)" is used . We only get byte stream right ? Is there any way to get character stream. Regards Jwas

Re: How to force terminate Servlet?

2002-06-13 Thread Barry Radloff
Title: RE: How to force terminate Servlet? why not just have an empty return? -Original Message- From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 9:32 AM To: [EMAIL PROTECTED] Subject: Re: How to force terminate Servlet? you could use System.exit(0),

Re: How to force terminate Servlet?

2002-06-13 Thread ^BoyInterrupted^
I am not sure if you can actually control the life cycle of your servlet. I dont think such a situation has been addressed by the specification. If these erring statements occur within the init() part of your servlet, you could throw a ServletException , thus prompting the container to unload your

Re: How to force terminate Servlet?

2002-06-13 Thread Anoop Kumar V
Title: RE: How to force terminate Servlet? no..i dont think that wd work at all. I remember from exp that this statement has a tenedency of shutting down the application server. -Original Message- From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 1:02 PM

Re: How to force terminate Servlet?

2002-06-13 Thread Vikramjit Singh
you could use System.exit(0), but it is not the correct way. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Edward [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 12:36 AM To: [EMAIL PROTECTED] Subject: How to force terminate Serv

How to force terminate Servlet?

2002-06-13 Thread Edward
I want to know if a method or function that by using it,I can forcely terminate Servlet and return to OS.The reason which I want to do it is when my statements in Servlet executing,it occures errors,I want not to execute my statements any more and force terminate it. Thanks! Edward _