signoff JSP-INTEREST

2000-03-10 Thread Rajiv Kumar Bandaru



signoff JSP-INTEREST Rajiv Kumar 
Bandaru


JRun

2000-03-10 Thread Harjit Says Hi !!

hi all,
this is the first time am posting a query to this forum,
I am using an evaluation copy of JRun for my servlets, the web server is NES
on solaris,
I am facing a problem, the JRun automatically shuts down on regular
intervals so i have to restart it, we were planning to buy JRun, I want to
know whether its a reliable software?
Is there any competetor to JRun for running Servlets/JSP on NES, if yes, how
is the performance/reliability of the competetor vis-a-vis JRun
waiting for ur responses

harjit

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Is the list manager listenning?

2000-03-10 Thread Ian Stacey

HI,

This message is to the list manager.

I (and many others) do not ned to know when people sign of. Is there any
way this can be filtered out, I'm sure it can assuming your using
Majordomo. With the huge amount of mail that goes through this list it
would be handy to remove the unnessary.

Ian


Ian Stacey | Multimedia Author | 3T Productions Ltd
  [EMAIL PROTECTED] | +44 161 476 5553 | www.3t.co.uk

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Newbie in JSP

2000-03-10 Thread Aniruddha Surange




Hi

I am a newbie in JSP, till now I was working in ASP but now I 
wanna shift to JSP. I have some questions in mind may be someone answer 
them

1. How can I use database with JSP ?

2. Do I have to shift my web host ? If yes then can you tell 
me the addresses of the web hosts who currently supporting JWS ?

Thanks in advance

Aniruddha


Re: Dynamic Images

2000-03-10 Thread Paolo Sommaruga

Cool ! How to mix image with html ? i.e., how to put
a textual "Hello World !" after the image ?
I have tried to put after your code

%
 out.flush();
 response.setContentType("text/html");
%

br
hello world !!!


but, don't works


Paolo Sommaruga


As a follow-on to Christian Mallwitz's example, here is a JSP that creates a
JPEG dynamically using the AWT and the JPEGImageEncoder. I have tested this
only under JSP 1.1.




===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSP setup

2000-03-10 Thread Rohit Wadhwa

Pritam,

Most web-servers need a Servlet/JSP container to run Servlets/JSPs . Some
plugins are available for the popular web-servers such as IIS / Apache. I am
not aware if a JSP container is available for PWS. Java Web Server has a
built-in JSP container. Hope things are clear now.

Regards,

Rohit.

- Original Message -
From: Pritam Bhowmick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 10, 2000 6:14 AM
Subject: JSP setup


 Hi!

 I am new to web programming. I am trying to write some JavaServer Page
 programs. I have installed the Microsoft Personal Web Server on my machine
 (Win95). However, the browser does not recognize the Java code within the
 JSP file (i.e. it only renders the HTML part of the code). What are the
 things I need to setup to run a JSP file from the server? Can someone
please
 explain the steps required?


 Thanks and appreciate your help.

 Pritam.


 __
 Get Your Private, Free Email at http://www.hotmail.com


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Dynamic Images

2000-03-10 Thread Mark Wutka

I've only tried it on NT. It seemed to run fairly well there, but the whole
idea makes me a little nervous if it has to handle a huge load. I will try
it out on Solaris when I get the chance and maybe see what kind of response
times I get when I try to load it down.
   Mark

- Original Message -
From: "Friedman, Richard" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 09, 2000 1:48 PM
Subject: Re: Dynamic Images


 On what environment have you all tried this on?

 I heard it runs fairly well on an NT box, but
 on solaris performance becomes a problem, especially
 if you do this under load.

 -Rich.

 Senior Software Developer
 Bluestone Software.

 -Original Message-
 From: Mark Wutka [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 09, 2000 9:00 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Dynamic Images



 As a follow-on to Christian Mallwitz's example, here is a JSP that creates
a
 JPEG dynamically using the AWT and the JPEGImageEncoder. I have tested
this
 only under JSP 1.1.


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: reloading

2000-03-10 Thread Matt Veitas

Does this include the reloading of any class files that are used in the jsp
page?

Matt

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Richey, Clark
Sent: Thursday, March 09, 2000 4:16 PM
To: [EMAIL PROTECTED]
Subject: reloading


You can tell the browser not to ever cache the output of your jsp (in
effecting forcing it to refresh each time it is loaded) by inserting this
code at the top of your jsp:
 %
 response.setHeader("Cache-Control","no-store"); file://HTTP file://HTTP
1.1
 response.setHeader("Pragma","no-cache"); file://HTTP file://HTTP  1.0
 response.setDateHeader ("Expires", 0); file://prevents file://prevents
caching at the proxy server
%



Clark D. Richey, Jr.
Software Engineer
Edge Technologies, Inc.
301-483-6900 Ext. 40

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: hit coiunter

2000-03-10 Thread Lynn W. Deffenbaugh (Mr.)

At 10:54 PM 3/8/00 -0800, Kishore Raghavan wrote:
Firstly if you have a JSP comment as shown below with a dash(-) inside the
comment body, the JSP Engine does not parse the comment tag properly and
creates a junk .java file. Also this happens if you have any word enclosed
in arrows eg 'word'

%--tagname="FORMBODY1"
Html
cxzcZXczXC-
zXCzXCzXC
/html
--

Would this maybe be better as an HTML comment:

!--tagname="FORMBODY1"
Html
cxzcZXczXC-
zXCzXCzXC
/html
--

or close out the JSP section with --%?

%--tagname="FORMBODY1"
Html
cxzcZXczXC-
zXCzXCzXC
/html
--%

Lynn (D) - Compass Solutions, Inc.

PS.  Just a newbie myself, but this looks pretty obvious to me.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: bean directory in jrun?

2000-03-10 Thread Donald E. Vandenbeld

I put them in \jrun\jsm-default\classses.

Donald

- Original Message -
From: "Joakim Westerlund" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 29, 2000 9:51 AM
Subject: bean directory in jrun?




 Hello!

 I have a question?
 i have winnt 4 wks, jrun, where can i put my javabeans?
 directory?

 Thanks!
 // jorkas


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Initialization And Destroy methods in JSP.

2000-03-10 Thread Padma priya Gaggara




hi all! I have recently 
joined this forum and this is my first mail .I have recently started working on 
JSP.What i want to know is where should we allocate and deallocate memory for 
objects which are common accross all instances of servlets resultant from 
compilation of JSP i.e i want something analogous to init() and destroy() 
methods of servlets.please correct me if i am wrong in thinking that constructor 
of a bean is a replacement for init() in servlets.In case of Data Base 
Connection I have allways been instantiating the DriverManager in the 
constructror of bean that i am using in the jsp.But i didn't know where to 
release or deallocate the instatiated obects.I have come toknow that when 
jsp gets compiled into a servlet it has methods like jsp_init(),jsp_service() 
and jsp_destroy(), what i want to know is how and where to specify if we 
want any code to go into init() and destroy() methods?Any help in 
regarding this would be very helpful.Thanking you in advance.

regards,padma 
priya.


Re: Dynamic Images

2000-03-10 Thread Arun Thomas

Paulo,

When you write normal HTML (not JSPs), how do you normally do this?  In your
HTML page, you have something like:

HTML
BODY
IMG src="http://www.imagesource.com/helloWorld.gif" /br
Hello World!
/BODY
/HTML

When you want to dynamically create an image, the only thing that ought to
change is
the URL in the src paramater of the image tag.  In this case, it will point
to the
JSP (or preferrably Servlet) which creates your image.

The key is that you cannot mix different content types withing on http
response.
response.setContentType is setting the header of the response.  Actually
creating the
image sends the body of the response - it doesn't make sense to add another
header
immediately afterwards.  This is one of the reasons it is probably not a
good idea to
use JSPs to create images.  Yes, it works just as well, but it also could
fool one into
thinking that, as with other JSPs, regular HTML text can be mixed in.  This
is not the case.

It might also help to understand how browsers deal with images within html.
My understanding is
that the original http request for an html page downloads only the HTML.
Separate requests are
then created for each image tag, requesting the resources identified by
those URLs.  The browser
interprets the HTML to figure out where to render the results of those
images.

-AMT

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Paolo Sommaruga
 Sent: Friday, March 10, 2000 4:31 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Dynamic Images


 Cool ! How to mix image with html ? i.e., how to put
 a textual "Hello World !" after the image ?
 I have tried to put after your code

 %
  out.flush();
  response.setContentType("text/html");
 %

 br
 hello world !!!


 but, don't works


 Paolo Sommaruga

 
 As a follow-on to Christian Mallwitz's example, here is a JSP
 that creates a
 JPEG dynamically using the AWT and the JPEGImageEncoder. I have
 tested this
 only under JSP 1.1.
 
 
 

 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Initialization and cleaning up of objects.

2000-03-10 Thread Padma priya Gaggara




hi! What i want to know is 
where should we allocate and deallocate memory for objects which are 
common accross all instances of servlets resultant from compilation of 
JSP i.e i want something analogous to init() and destroy() methods of 
servlets.please correct me if i am wrong in thinking that constructor of a 
bean is a replacement for init() in servlets.In case of Data 
Base Connection I have allways been instantiating the DriverManager in the 
constructror of bean that i am using in the jsp.But i didn't know where to 
release or deallocate the instatiated obects.I have come toknow that when 
jsp gets compiled into a servlet it has methods like 
jsp_init(),jsp_service() and jsp_destroy(), what i want to know is how and 
where to specify if we want any code to go into init() and 
destroy() methods?Any help in regarding this would be very helpful.Thanking you 
in advance.

regards,padma 
priya.


Re: Problem with IE right-click pop-up menu

2000-03-10 Thread Ramesh S (Chennai)

Dear Anjan,

Great Question.
But, One thing I could note is that the Browser's Default Right Click menu
is not shown
when it is right clicked on any of the controls (text,button etc.,).

But, if it is right clicked anywhere else on the browser's area, it pop-up's
the Screen.

Regards,
(S.Ramesh)
[EMAIL PROTECTED]


 --
 From: Anjan Ghosh[SMTP:[EMAIL PROTECTED]]
 Reply To: Anjan Ghosh
 Sent: Wednesday, March 08, 2000 11:17 AM
 To:   [EMAIL PROTECTED]
 Subject:  Problem with IE right-click pop-up menu

 Hi All,
 I am working with Internet explorer 4 and javascript, DHTML, etc. I want
 to show a pop up menu when the user right-clicks over an image or any
 other element in the document. I could do it using a layer (DIV.../DIV
 tag in IE), which is made visible/invisible as the user right clicks on
 the document. But just after showing my pop-up menu, the browser shows its
 own right-click menu over my menu. Can anyone tell me what to write in the
 javascript code so that I can stop the browser's right click menu to show
 when the user right-clicks on any element in the page ?

 Thanks in advance,
 Anjan


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Standards

2000-03-10 Thread Balasubramanian

Hi,

It will be great if you can give me the Site / Location where i can find Standards for
JSP,
SERVLETS,
EJB.

Thanks in advance... R. Bala

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JRun

2000-03-10 Thread said tabet

Hi Harjit,

I am using ServletExec 2.2 from NewAtlanta. You can download an eval copy from
their web site www.newatlanta.com

Said

"Harjit Says Hi !!" wrote:

 hi all,
 this is the first time am posting a query to this forum,
 I am using an evaluation copy of JRun for my servlets, the web server is NES
 on solaris,
 I am facing a problem, the JRun automatically shuts down on regular
 intervals so i have to restart it, we were planning to buy JRun, I want to
 know whether its a reliable software?
 Is there any competetor to JRun for running Servlets/JSP on NES, if yes, how
 is the performance/reliability of the competetor vis-a-vis JRun
 waiting for ur responses

 harjit

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



CHECKBOX PROBLEM

2000-03-10 Thread Mistroni Marco

hi all,
 i am experiencing a problem with checkboxes:
i have a list of users, each of them is represented by a check box...
the number of the check boxes is dynamic, since i am loading it from a
database that can be modified
now, i would like, for example, to select multiple check boxes at the same
time (corresponding to multiple users)... and, according to the number
of the users selected, set
a property in the JavaBean that contains all  the users selected.. how
can i do that???
is it possible??
anyone can give me an idea??
thanx in advance
regards
marco

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Apache on NT

2000-03-10 Thread Diwakar Killamsetty

Hi,

I installed Apache web server on Windows NT to run some asps with the help
of Chili Soft.
Asps are using services of some COM components. Is there any tool to debug
these asps?

Thanks in advance,

regards,
Diwakar

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: My boss needs convincing.

2000-03-10 Thread Thor HW

I disagree.  I can easily reverse engineer your C-code or your binary into
some form of C code.  Lest we forget that Microsoft lost a lawsuit over just
such an act.

If you sell an application to a client, and then they start marketing
something very similar ... REGARDLES of what you've written it in, you
better get a lawyer.

Thor HW
- Original Message -
From: Roongnapa Chadtianchai [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 01, 2000 5:55 PM
Subject: Re: My boss needs convincing.


 I agree with you. You are right. To consider the other strengthes  of
Java, I
 still go with it. In the area that the code is sensitive, I applied JNI.
By the
 way, I also personally enjoy hacking the other people's code. Just would
like to
 learn and study to improve my coding skill.

 Roongnapa.


 kevin carothers wrote:

  One thing to consider is that it is ridiculously easy to decompile
  java class files...  you have to obfuscate them, and then
  completely re-test. Usually complicated problems don't obfuscate well.
 
  Even if you write server apps, the first person
  you sell your server-app to can decompile it, significantly
  change it, and  then re-sell it; all from the initial sweat of
  your mind.   This isn't inherently bad... I've been a
  believer for many years of "open source."   But folks,  there
  are SOME THINGS that oughtta remain secret: say,  an ATM safe
  door open-close algorithm  (think this is easy? try it! :-)
 
  Maybe I'm Politically incorrect for this group, but I believe
  java isn't the best solution for ALL applications.
 
  If you're doing a "1-off" internet server app, with
  back-office B2B infrastructure,  go for it... Java's the best.
  If you have to download, or "expose" business rules to users,
  or possible competitors, WATCH OUT
 
  kevin carothers
 
  -Original Message-
  From: A mailing list about Java Server Pages specification and reference
  [mailto:[EMAIL PROTECTED]]On Behalf Of Merit M. McMannis
  Sent: Sunday, February 27, 2000 8:09 AM
  To: [EMAIL PROTECTED]
  Subject: Re: My boss needs convincing.
 
  I love java. but it will always be slower. Because it it is compiled
  into the byte complier. then run in a virtual machine.
 
  On 25 Feb 00, at 11:15, Todd L. Poole wrote:
   My boss seems to have the "software engineer" background and is
  continuously critical about web technology that I work with. I develop
web
  application using ASP and a database alone. I am not using any of my own
  components.
  
   Since I am learning java, I am finding it easier to understand and
more
  logical than Microsoft's programming languages. I would like to expand
into
  using JSP, Servlets, and Beans, but my boss still thinks Java is slow
and
  not as efficient as CGI programs written in C. I think he is full of it
  and I would like to go back to him with proven results from other people
  using this technology in a situation where load balancing is an issue.
  
   Until I am writing machine code - I will never please this guy, but I
  would like to prove him wrong just once with this.
  
   If you have any input, please share!
  
   Bored editing HTML pages
  
   Todd
  
 
 
===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
  JSP-INTEREST".
  FAQs on JSP can be found at:
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.html
 
 
===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
  Some relevant FAQs on JSP/Servlets can be found at:
 
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.html
   http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
   http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Virus Wars...

2000-03-10 Thread Kevin Duffey



I just dont get it. Why 
are you and others saying that SUN is distributing these viruses? Are they doing 
it..or is it some malicious person sending them to an open mailing list that 
others read? I am sorry, but I dont agree with you or anyone saying that SUN is 
at fault. They opened up a very good mailing list for those of us in interest, 
and I feel the person responsible for submitting the virus (if on purpose) 
should be convicted! Its obvious some of these emails are purposely being 
submitted to the list, and these days, its quite common for even non-computer 
users to know about a virus on a computer. 


If 
your so concerned, have you tried contacting SUN by phone and bringing it to 
their attention? What I fear most is that you and others that keep saying this 
will end up with SUN shutting down the list, instead of spending man-hours 
putting in code to eliminate the attachments. That would be worse, in my 
opinion, than just not reading the emails with attachments, or not opening the 
attachments.

Why is 
it so hard for those who get emails to just not open the attachment? Seems 
pretty obvious to me. 




sendRedirect or forward?

2000-03-10 Thread Kevin Duffey

Hi,

I am curious, using JSP and all..is it better to FORWARD to another page, or
use the response.sendRedirect(). I notice a strange side effect in using the
forward in that the URL of the browser no longer reflects the page returned
when using forward. Doesn't seem to be a big deal to me, and I now its
faster to return a page, then round-robin to the browser and back again. Is
there any way to maybe update the URL of the browser to show the new page?
Or is this the norm when forwarding? I was curious how Model 2 JSP
developers handle this situation, as they probably forward to a page rather
than redirect.

Am I correct in that forwarding is a performance enhancement because it
saves the client from hitting the server twice? Also, could this be the
reason Netscape sends TWO forms (submits) often, rather than one..or is that
a Netscape bug others have seen? Odd that When people submit a form with
MSIE, its fine, but Netscape seems to submit the form twice.

Thanks.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSP Setup

2000-03-10 Thread Nagaprakash C S


Actually,  The server itself doesn't support JSP and Java servlets, try
Allaire's Jrun, which acts as a Web server add-on
for Netscape's Enterprise and FastTrack Servers, Microsoft's Internet
Information Server (IIS) and Personal Web
Server (PWS), Apache, and other servers.

i guess it should work..

all the best

 S/MIME Cryptographic Signature


Running JSP on NES3.6

2000-03-10 Thread Nigam Shalabh

How can  I run JSPs in NES 3.6 ?

I am not able to find any documentation in NES on JSP.

Regards
Shalabh

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Relative URLs in response.sendRedirect()

2000-03-10 Thread Hans Bergsten

JonTom Kittredge wrote:

 I've been trying out my web-app on different Servlet engines and have
 found a discrepancy between the way response.sendRedirect() works on
 Orion 0.9 beta versus JRun 3.0 beta. Orion behaved the way I expected,
 but when I tried to find out from the Servlet 2.2 spec the way this
 situation should be handled, I didn't find a clear answer.

 Briefly, in my servlet, when I expected response.sendRedirect() to
 interpret relative URLs as being relative to the servlet-context. This
 is what Orion is doing, however JRun interprets them as relative to the
 document root.

 For instance, my web-app has a context path of "/cvg" and the servlet I
 want to redirect to is mapped to "/dispatch". If I call
 response.sendRedirect("/dispatch") on Orion, it translates the redirect
 to "http://myhost/cvg/dispatch", however, on JRun, it translates it to
 "http://myhost/dispatch". To get the result I want on JRun, I have to
 make my call as response.sendredirect(request.getContextPath() +
 "/dispatch").

 The spec says about sendRedirect (Section 6.3) that, "It is legal to
 call this method with a relative URL path, however the
 underlying container must translate the relative path to a fully
 qualified URL for transmission back to the client." I haven't found
 anywhere in the actual spec where it specifies exactly what "relative
 path" would mean in this context, but relative to the contextPath is the
 most reasonable interpretation as see it.

 Can anyone shed light on this?

My take on this is that a "relative path" here means a path that doesn't
start with a slash, such as "dispatch", and that it should be interpreted
as relative to the current URL. The reason is that this is how a browser
resolves a relative path, e.g. in an HTML reference or in a Location header
(which is what sendRedirect actually sends to the client, together with a
3xx status code).  The contextPath shouldn't play a role here, IMHO.

The reason the requirement for translation was added to the spec was that
the HTTP spec doesn't allow relative paths in the Location header, even
though most (all?) modern browsers handle them. Since it's common that
servlets still use relative paths in sendRedirect(), it was decided that
the container should make sure it was converted to a valid path instead
of just saying that a relative path was not supported (as it did before 2.2).

So in your example, with "/dispatch", the Location header should always be
set to "http://myhost/dispatch", since you use an absolute path as the
argument. But if you instead use "dispatch" as the argument in a servlet
invoked with the URL "/cvg/foo", it should be set to
"http://myhost/cvg/dispatch".

Hans
--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JDBC driver for MS SQL Server7

2000-03-10 Thread Damian Fauth

have a look at:

http://www.inetsoftware.de/ - US$249 with up to 20 connections, US$999
unlimited connections
http://www.freetds.org/ - free

Guillaume Lahitette wrote:

 Folks,

 I am sick of JDBC-ODBC bridge behavior and investigating upon JDBC driver
 pricing to connect JRun to MS SQL Server7 particularly:

 . Weblogic's jdbcKona
 . Merant's SequeLink

 Their sales department won't answer me and I just need a rough estimate. Can
 anybody give me the range we are talking about:

 $100$500?
 $500$1,000?
 $1,000 $1,500?
 .

 Any good/bad feedback about these/other JDBC drivers is more than welcome.

 Thanks!

 Guillaume.

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

--
Damian Fauth
[EMAIL PROTECTED]
Senior Software Engineer Ph 9282
3528
Fairfax Interactive Networks (f2) Ltd   FAX 9282
2256
201 Sussex Street, Sydney, NSW, 2000, Australia
http://www.f2.com.au

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSP - COM

2000-03-10 Thread Jean-Guy Avelin

Hi all,

I am new to JSP.
I have some COM components already wittten.
Can I call them from JSP?
Can Visual J++ help in this regard?

Thanks in advance,


take a look at

http://www.linar.com/


jg




--

Jean-Guy Avelin
Universite de Valenciennes  Tel : 03 27 51 13 39
Service InformatiqueFax : 03 27 51 13 40
BP 311
59304 Valenciennes Cedex  mailto:[EMAIL PROTECTED]

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Model 2 Error handling

2000-03-10 Thread Serbulent Ozturk

Hello,

I have actually tried to send this e-mail before but could not see it in the
list so I'm trying again.

In my project, I'm using Model-2 architecture, everything works fine but the
error handling.  When a JSP page is included by the controller servlet (e.g
requestDispatcher.include(request, response)) my ErrorPage is not activated
when the included jsp and/or the bean throws an exception.  All I get is a
standard error message with an additional message saying that I should
consider using an ErrorPage.  When I invoke the JSP page, which throws the
exception, via the browser everything is fine, error page is invoked and
displays an understandable message to the end user.  Am I doing something
wrong or is this expected when jsp pages are included by the controller
servlet?

My environment details: JSWDK-1.0.1, Win95.

If I cannot solve the problem I am planning to have an ErrorBean that is
instantiated in the catch block of the controller servlet.  Then the
error.jsp is invoked by the servlet to display the message obtained from the
ErrorBean.  However, there are potential problems.  First of all, this
work-around is not a proper solution to sustain as the project gets bigger
and more complex.  Second the ErrorPage will still have to be included as
most probably before the exception is thrown, other jsp pages would have
processed the response.  In this case, the error page will be displayed in
the region of the browser where the original exception-throwing jsp page
would be.

Any suggestions are welcome.

Bulent
__
Get Your Private, Free Email at http://www.hotmail.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Taglib

2000-03-10 Thread Lars Borup Jensen
Title: Taglib





Hi!..


Im developing a rather complex system using JSP and Oracle 8i.
Im looking for a good document on how to make a taglib. The flow of data
and how the different javax.servlet.jsp.tagext classes should be used.
I already read the JSP specs 1.1 but I would like some more in depth
examples and info.. Any1??


Lars Borup Jensen
Software Developer





Re: methods in JSP

2000-03-10 Thread Ashwani Kalra

Hi,
I had already replied  to this . You cannot break a method like this.


Ashwani Kalra
Sr. Systems Associate,
E-Commerce Group, NIIT Ltd.
Phone :091-11-6203577(D),6203578



 --
 From: Verma Varun
 Reply To: [EMAIL PROTECTED]
 Sent: Friday, March 10, 2000 10:32 AM
 To:   [EMAIL PROTECTED]
 Subject:  methods in JSP

 hi all!
 of late there have been some queries about how to write java methods in
 .jsp
 many people have replied that u can do it as follows..

 %!
   method()
 {
   //java code
 }
 %

 however 1 pt. i would like to add is that u CANNOT BREAK UP THE METHOD
 LIKE 

 %!
  method()
 {
   ///java code
  % html code %
 }
 %

 hope it will help somebody! Actually, i wasted a lot of time trying to do
 this :)

 varun

 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Visit http://www.niit.com for eCommerce Solutions.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



JSP Specification

2000-03-10 Thread Balasubramanian

Hi,

We are using NAS4.0 / NAB4.0 in our project.  We have got JSP 0.92 specification along 
with that.
Is it possible to use JSP 1.0 or JSP 1.1 specification in NAS4.0 / NAB4.0.

It will be great if you can provide details on this.

Thanks... R. Bala

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Browser detection in JSP ??

2000-03-10 Thread Jason Hunter

Fernando Ribeiro wrote:

 You can reach a lot of functionality - maybe BrowserHawk4J is not
 required - just reading the HTTP_USER_AGENT header.

The User-Agent header tells you which client is connecting.  It doesn't
tell you anything about the client's capabilities.  That's what BH4J
accomplishes.  BH4J has a database of the many thousands of User-Agent's
out there and knows what all of them can and can't do.  The upcoming
version will tell you if cookies are on or off, if Java and JavaScript
are on or off, the size of the client window, and even the client's
connection speed!

-jh-

--
Jason Hunter
[EMAIL PROTECTED]
Book:http://www.servlets.com/book
2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.html

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Session Management

2000-03-10 Thread Balasubramanian

Hi,

I am looking for details related to Session Management.
I am new to this JSP environment.

Our setup is going to be like this:

JSP Page --Servlets / Beans ---EJB

If i set any Variable to the Session object in JSP, then is it possible to access the 
same in the Servlets / Beans /EJB ?
If will be great if you can provide some sites where i can find details about Session 
Management.


Thanks in advance... R. Bala

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



JSP authoring tools

2000-03-10 Thread Leon Tseng

Hi all I'm looking for better JSP authoring tools (GUI!?) other than a text
editor...
Does anyone know the main differences between IBM WebSphere Studio and
Macromedia Drumbeat2000?
Thanks a lot and i'd very much appreciate your help... :-)

...

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



new web application

2000-03-10 Thread Chris Luckhardt

Hi.  How do I add a new Web application?  I can't seem to find any
documentation that is clear about the subject.  It says I need to change
this code in webserver.xml, but I'm not sure exactly what to change.

WebServer id="webServer"
Service id="service0"
WebApplication id="examples" mapping="/examples"
docBase="examples"/
   /Service
/WebServer

Thanks for any help

Chris L.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSP Editor

2000-03-10 Thread Chris Luckhardt

HomeSite 4.01 and higher is configurable for JSP.

Chris L.

- Original Message -
From: "amirali purteymur" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 01, 2000 5:00 AM
Subject: JSP Editor


 Dear All friends,
 Does any body know ,is there any JSP editor like Microsoft visual interdev
 or frontpage?
 Any suggesition would be welcome.
 Amirali
 __
 Get Your Private, Free Email at http://www.hotmail.com


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Including jsp through dynamic URL

2000-03-10 Thread Anthony Jereley

Hi,

I would like to include a jsp file, the path for which would be generated at
run-time. Something like this:

documentRoot is a string constant from another class. For example "home/"
%!
String getPromo = new String("/" + documentRoot + "promoimage.jsp");
%

%@
include file = getPromo
%

Is there a way to do this?

Thanks
Anthony

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Dynamic Images

2000-03-10 Thread Bip Thelin

 // encode the content of the image into a GIF using a GIF encoder API
 // out is the JSP out stream
 GifEncoder encoder = new GifEncoder(image, out);
 encoder.encode();

You will need ACME labs gifencoder for this example to work.

Regards, Bip

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSP - COM

2000-03-10 Thread Kevin Jones

See the documentation for your servlet engine, they usually (in fact all the
ones I know do this) allow you to specify the name of the VM to use,

Kevin Jones
DevelopMentor
www.develop.com

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Diwakar Killamsetty
 Sent: 10 March 2000 04:55
 To: [EMAIL PROTECTED]
 Subject: Re: JSP - COM


 How can I make use of jview with JSP engine?
  -Original Message-
  From: Kevin Jones [SMTP:[EMAIL PROTECTED]]
  Sent: Thursday, March 09, 2000 9:42 PM
  To:   Diwakar Killamsetty
  Subject:  RE: JSP - COM
 
  If your JSP engine can use the MS VM (jview) then you can call the COM
  components from JSP code
 
  Kevin Jones
  DevelopMentor
  www.develop.com
 
   -Original Message-
   From: A mailing list about Java Server Pages specification
 and reference
   [mailto:[EMAIL PROTECTED]]On Behalf Of Diwakar Killamsetty
   Sent: 09 March 2000 10:16
   To: [EMAIL PROTECTED]
   Subject: JSP - COM
  
  
   Hi all,
  
   I am new to JSP.
   I have some COM components already wittten.
   Can I call them from JSP?
   Can Visual J++ help in this regard?
  
   Thanks in advance,
  
   regards,
   Diwakar
  
   ==
   =
   To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
   JSP-INTEREST".
   Some relevant FAQs on JSP/Servlets can be found at:
  
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Tag Library Error

2000-03-10 Thread Kevin Jones

Could you post the JSP you have?

Kevin Jones
DevelopMentor
www.develop.com

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Carlos Latugaye
 Sent: 01 March 2000 18:19
 To: [EMAIL PROTECTED]
 Subject: Tag Library Error


 Hi,
 I'm traying to use a Tag Library, but when I call the jsp thi
 error appears.
 Someone knows what this exception means? (Unable to compile class for JSP)
 I forgot something?

 Error: 500

 Internal Servlet Error:

 org.apache.jasper.JasperException: Unable to compile class for JSP
 at org.apache.jasper.runtime.JspLoader.loadJSP(JspLoader.java:232)
 at
 org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNeces
 sary(JspSe
 rvlet.java:137)
 at
 org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Jsp
 Servlet.ja
 va:148)
 at
 org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:247)
 at
 org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
 at
 org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrap
 per.java:6
 26)
 at
 org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrap
 per.java:5
 34)
 at
 org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper
 .java:378)
 at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
 at
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
 at
 org.apache.tomcat.service.http.HttpConnectionHandler.processConnec
 tion(HttpC
 onnectionHandler.java:144)
 at
 org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:304)
 at java.lang.Thread.run(Thread.java:492)

 Root cause:

 java.lang.NullPointerException
 at java.text.MessageFormat.format(MessageFormat.java:661)
 at java.text.MessageFormat.format(MessageFormat.java:453)
 at java.text.Format.format(Format.java:115)
 at org.apache.jasper.Constants.getString(Constants.java:213)
 at
 org.apache.jasper.compiler.JspParseEventListener.handleDirective(J
 spParseEve
 ntListener.java:655)
 at
 org.apache.jasper.compiler.DelegatingListener.handleDirective(Dele
 gatingList
 ener.java:110)
 at
 org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:188)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:984)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:959)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:955)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:140)
 at org.apache.jasper.runtime.JspLoader.loadJSP(JspLoader.java:226)
 at
 org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNeces
 sary(JspSe
 rvlet.java:137)
 at
 org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Jsp
 Servlet.ja
 va:148)
 at
 org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:247)
 at
 org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
 at
 org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrap
 per.java:6
 26)
 at
 org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrap
 per.java:5
 34)
 at
 org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper
 .java:378)
 at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
 at
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
 at
 org.apache.tomcat.service.http.HttpConnectionHandler.processConnec
 tion(HttpC
 onnectionHandler.java:144)
 at
 org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:304)
 at java.lang.Thread.run(Thread.java:492)

 I'm using Tomcat 3.0 under WinNT 4 (sp6) with ibm jdk1.1.8
 TIA,

 Carlos

 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JDBC driver for MS SQL Server7

2000-03-10 Thread Jim Michael

 I am sick of JDBC-ODBC bridge behavior and investigating upon
 JDBC driver
 pricing to connect JRun to MS SQL Server7 particularly:

 . Weblogic's jdbcKona
 . Merant's SequeLink

There is also the iNet driver (type 4), see the link on
http://java.sun.com/jdbc
Last I checked it was $1K for unlimited connections but there was also a
less
expensive license. They post the prices on their website.

 Their sales department won't answer me and I just need a
 rough estimate. Can
 anybody give me the range we are talking about:

 $100$500?
 $500$1,000?
 $1,000 $1,500?

I believe we were quoted ca. $4K for the Weblogic driver. I haven't seen
metrics on either of these yet. When testing be sure to evaluate ability to
retreive table metadata, that's an often overlooked area where I've seen
problems with middleware in the past. HTH.

Cheers,

Jim

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: IIS+ JSP+RESIN = 404 !!

2000-03-10 Thread Mokashi, Swanand

Yes ...I have IIS default at : d:\InetPub\WWWroot
I have attached my conf file ..My resin stuff is in c:\JavaResin2\resin1.1
I can see the iis_run dll in the ISAPI filter in iis


Please help !!!
Swanand


-Original Message-
From: Rohit Wadhwa [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 09, 2000 11:27 PM
To: Mokashi, Swanand
Subject: Re: IIS+ JSP+RESIN = 404 !!


Yes. Can you describe the way you have setup ?

Rohit.

- Original Message -
From: Mokashi, Swanand [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 10, 2000 2:36 AM
Subject: IIS+ JSP+RESIN = 404 !!


 Has anyone successfully used Cuacho Resin plugin with IIS For running jsp
 files ? I am getting 404 errors ! !


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


 resin.conf


Re: Dynamic Images

2000-03-10 Thread Karl Roberts

When a Browser requests a page , if the page contains img
src="blah/blah/foo.gif"/img what happens is that you actually do a
SEPARATE download for the image and when the browser has it it displays
it in the page.
i.e. it requests a second page of content type "image/gif" since you
can't have a page with multiple ContentType's you can't do what you are
trying to do but there is no reason why your JSP can't do something like

img src="http://MyHost/binary_image.jsp"/img

where binary_image.jsp returns a dynamically created image.(but I'd do
it with a servlet as all I want to do is return a stream and don't care
about the display logic which your JSP already handles.


Karl

Paolo Sommaruga wrote:

 Cool ! How to mix image with html ? i.e., how to put
 a textual "Hello World !" after the image ?
 I have tried to put after your code

 %
  out.flush();
  response.setContentType("text/html");
 %

 br
 hello world !!!

 but, don't works

 Paolo Sommaruga

 
 As a follow-on to Christian Mallwitz's example, here is a JSP that creates a
 JPEG dynamically using the AWT and the JPEGImageEncoder. I have tested this
 only under JSP 1.1.
 
 
 

 ===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



JSP-hosting

2000-03-10 Thread Ronny Van der Perre

Hi,

Can anybody point me to a free (or very cheap) webhost that supports JSP.
For training and developement purposes only.

Thx

Ronny




--
Ronny Van der  Perre
Webmaster
T: 32 (0) 2 688 02 00
Email: [EMAIL PROTECTED]
ICQ#48590473
--
LUON
return-driven communication
http://www.luon.com

B-3090 Overijse / Belgium
T + 32 (0)2 686 00 10
F + 32 (0)2 686 00 19

NL-5056 KA  Berkel-Enschot / The Netherlands
T + 31 (0)13 533 58 33
F + 31 (0)13 533 53 44

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: jsp:useBean tag and Netscape Enterprise Server

2000-03-10 Thread Dave Ferguson

NES 4 (iPlanet) only supports JSP 0.92 spec.  There is a new version (4.1) available 
that supports JSP 1.1 and Servlet 2.2.  The URL is 
http://www.iplanet.com/downloads/download/index.html.  I have not tested it, so don't 
know how well it works.

Dave F.

Santhosh Kolathur wrote:

 Hi

 I'm using Netscape Enterprise Server 4.0 to run my Servlets and JSPs. Its not 
recognising the jsp:useBean tags given in JSP 1.1 Specs. Instead, its working fine 
when I give as follows.

 USEBEAN name="xxx" type=aaa.bbb.className lifespan=page
 /USEBEAN
 Is this because Netscape Server doesn't support JSP 1.1 ? How do I solve this issue ?

 Thanks,

 Santhosh

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



servlets, jsp, ebj with Netscape Enterprise Server 3.6

2000-03-10 Thread Sylvain Roche

Hi,
I have to deploy an application on NES 3.6 with Oracle for a customer under
HP unix. Currently, I use JRun on both NT/IIS and Linux/Apache. The
databases I used until now are ms access :-(((, SQL server, mySQL and
postgres. I'd like to know what changes are to be done in my application. I
did not follow all the threads on oracle jdbc drivers (I do regret it now),
so any advice are welcomed.
By the way, I'm not very awared of how this solution will work on NES 3.6. I
think NES 4 and iPlanet should support servlets and jsp. What with NES 3.6 ?
Do I have to install an application server ? Which one would be better ?

Best regards




__
Sylvain Roche
Responsable développement
Add-Online
www.add-online.fr

80 rue d'Alsace
69100 VILLEURBANNE
France

tel : +33 437431260
fax: +33 437431269

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Refreshing a bean in a jsp file

2000-03-10 Thread Bradley McLain

you probably have to restart the container to reload the class file..

From: Matt Veitas [EMAIL PROTECTED]
Reply-To: Matt Veitas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Refreshing a bean in a jsp file
Date: Thu, 9 Mar 2000 12:56:00 -0500

I am having some trouble with one of my jsp files that uses a JavaBean. I
have put the compiled bean into the classes directory. When I go and make a
change to the bean and recompile it, the same result appear.

Do I put the class file in the local html directory where the jsp page is
located?

Do I need to restart the server everytime I want to recompile a bean to
make
the changes appear in the jsp file?

Matt

---
[EMAIL PROTECTED]

Matt Veitas
Bucknell University C6111
Lewsiburg, PA 17837
570-577-4880

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

__
Get Your Private, Free Email at http://www.hotmail.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSP setup

2000-03-10 Thread Bradley McLain

you must tell your webserver that when it encounters the .jsp extension that
it must pass the request to a servlet container, such as jrun.  i don't know
how to do this with pws but with iis you simply map the .jsp extension to
the appropriate dll, in this case, jrun.dll..

From: Pritam Bhowmick [EMAIL PROTECTED]
Reply-To: Pritam Bhowmick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: JSP setup
Date: Thu, 9 Mar 2000 16:44:16 PST

Hi!

I am new to web programming. I am trying to write some JavaServer Page
programs. I have installed the Microsoft Personal Web Server on my machine
(Win95). However, the browser does not recognize the Java code within the
JSP file (i.e. it only renders the HTML part of the code). What are the
things I need to setup to run a JSP file from the server? Can someone
please
explain the steps required?


Thanks and appreciate your help.

Pritam.


__
Get Your Private, Free Email at http://www.hotmail.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

__
Get Your Private, Free Email at http://www.hotmail.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Session Id mismatch

2000-03-10 Thread Balasubramanian

Hi,

We have 1html file(Index.html) and two JSP files( JSP1.jsp and JSP2.jsp )

From Index.html we are calling JSP1.jsp.
From JSP1.jsp we are calling JSP2.jsp.

In JSP1.jsp we are creating a Session object and placing a value in to the Session 
object.
In JSP2.jsp we use the SAME Session object of JSP1.jsp and printing the value.
We are not getting the output as expected.

OUTPUT
==
We are SUPPOSE to get 10 as output in both JSP1.jsp and JSP2.jsp

But, we are getting 10 in JSP1.jsp and NULL in JSP2.jsp
If we navigate back to INDEX.HTML and move to JSP1.jsp and JSP2.jsp then we get 10 in 
JSP1.jsp and 10 in JSP2.jsp.
This is the correct result.

If will be great if you can help us to solve this problem.

Anyway i am attaching snapshot of the code below.

Thanks in advance... R. Bala



CODE  DETAILS

Index1.html
-
a href="http://3.209.128.129:80/NASApp/Jsp_Jsp/jsp1.jsp"Click here/a

JSP1.jsp
-
%
Integer numb = new Integer(10);
out.println("Before putting into session: " + numb);
HttpSession session = request.getSession(true);

session.putValue("numb", numb);

out.println("After putting into session: " + session.getValue("numb"));
out.println("Session id in jsp1 " + session.getId());
%
br
a href ="http://3.209.128.129:80/NASApp/Jsp_Jsp/jsp2.jsp"JSP2/a

JSP2.jsp
-
%
HttpSession session = request.getSession();
out.println("Inside JSP2 " + session.getValue("numb"));
out.println("Session id in jsp2 " + session.getId());

%

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JRun crashes

2000-03-10 Thread Bradley McLain

is the offending page opening a connection to the db?  are you closing the
resultset and connection properly, because if you do not (or if you do not
in your exception handler), then your jvm will crash..

From: Kaylon Daniels [EMAIL PROTECTED]
Reply-To: Kaylon Daniels [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: JRun crashes
Date: Thu, 9 Mar 2000 15:22:42 -0500

Jason,

I'm having trouble with a JSP. I'm using JRun 2.3.3
with IIS 4.0/Win NT 4.0.
I keep crashing the  javaw.exe whenever I try to load
a specific webpage. Do you have any insights regarding what could be cauing
this?

Thanks.

Mr. Kaylon Daniels
Software Engineer
[EMAIL PROTECTED]
work:212 219 8555 ext 1011
cell: 917 215 6442
http://www.theknot.com AOL kw: weddings
x o x o x o x o x o x o x o x o x o x o x o x o x

o   Time Digital -- One of the 25 Best E-commerce Sites
x   Newsweek -- "Other 'wed' sites aspire to be The Knot"
o   Wall Street Journal -- "...one-stop wedding shop"
x   InStyle -- "...the best site to view gowns"

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

__
Get Your Private, Free Email at http://www.hotmail.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets