No Subject

1999-12-22 Thread Nigam Shalabh
Q. I want to pass an object by reference to an EJB method ? Can I do this ? In fact, my specific requirement is to pass an object by reference from JSP to EJB? Please let me know if there are any issues in this ? Visit http://www.niit.com for eCommerce Solutions.

Re: function split doesn`t work

1999-12-22 Thread Janne Gustavsson
The correct syntax for declaring a method in a jsp-page is: %! public boolean test() {..} % the jsp-code below calls method test() % if (test()) { do whatever } else { ... } % If the method is declared in another jsp-file, the file must have extension .jsp and be

Re: Hi Guys I Need Help In JSP

1999-12-22 Thread John Wheeler
I need some help in JSP,If I request a JSP file for the first time then that JSP file is parsed into servlet and compiled to class file if i made a change in Java file and compile it then the changes are not effecting why? If i change in JSP file then the display is Effecting. How the

Re: OFF TOPIC: SQL

1999-12-22 Thread Memon Mohamed Ashraf
Pertaining to Oracle, if you are using orderby clause the result I believe would not be correct Check oracle documentation for rownum clause Remain Kooo.., Mohamed Ashraf Memon Advanced Micro Devices (Singapore) TEL : 7969-888 X 39826 FAX : 4492-360 DID : 7969-826 Email :

Jsp and Visual Age 3.0

1999-12-22 Thread Camilla Straubel
Hi I wonder if someone have been developing JSP in Visual Age 3.0. If you have could you please give me a short introduction about how to do. Regards Camilla -- === To unsubscribe: mailto [EMAIL PROTECTED] with body:

Reusing a bean

1999-12-22 Thread Michael Maram
Hi - a simple question. I have instantiated a bean in one jsp page (jsp:useBean I now want to make use of the same bean object in another page. How do I get a reference to it ? Thanks === To unsubscribe: mailto [EMAIL

A Beginner Question

1999-12-22 Thread Anand, Nagabushana H (IE10)
Hi, I need to redirect to a page on the click of a button. I have been using ASP so far and need the JSPequivalent of response.redirect("...") Could anyone help? Regards, Anand === To unsubscribe: mailto [EMAIL

Servlets and JSPs

1999-12-22 Thread Reg Sherwood
Q. Is it possible to maintain the state of a bean for a particular client for use in a JSP page. I have tried placing the bean instance I wish to save on the session object in the hopes of later retrieving it via a get method in the servlet. After reviewing docs I think it may be possible to

Re: Writing cookie in jsp

1999-12-22 Thread acidzazz
In JSP, % // Adding Cookie(name1 = value1) Cookie cookie = new Cookie("name1", "value1"); cookie.setPath("/"); response.addCookie(cookie); // Getting Cookie(name1) Cookie[] cookies = request.getCookies();String value = ""; if (cookies != null) { for (int i=0 ;

Re: OFF TOPIC: SQL

1999-12-22 Thread Gulam Irfani
Hi, I am not a big expert but I would suggest you to run this query. select * from CUSTOMER_TABLE where rownum 6 order by MONEY_SPENT. G Irfani NIIT USA Inc. __ Reply Separator _ Subject: Re: OFF

Re: Complaint

1999-12-22 Thread Paul Warner
I took a shot with this email to the webmaster at java.sun.com: Dear Webmaster, Our group, the JSP interest group at [EMAIL PROTECTED], would like to request some virus protection for emails and attachments coming through the list. Can you arrange to scan items as they come through and pull out

Re: OFF TOPIC: SQL

1999-12-22 Thread Bip Thelin
When selecting from the pseudo table rownum _and_ using a order by clause i would suggest the use of a inline view. Otherwise your order by clause won´t work. Try this instead: SELECT * FROM (SELECT * FROM customer_table WHERE rownum 6) ORDER BY money_spent Regards, Bip -Original

Re: Servlets and JSPs

1999-12-22 Thread Cory L Hubert
I am having the same problem. I believe I wrote a new value to the bean instance, but I can't get those values in JSP. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Reg Sherwood Sent:

Re: Servlets and JSPs

1999-12-22 Thread Craig R. McClanahan
Reg Sherwood wrote: Q. Is it possible to maintain the state of a bean for a particular client for use in a JSP page. I have tried placing the bean instance I wish to save on the session object in the hopes of later retrieving it via a get method in the servlet. After reviewing docs I

Casting strings returned by input elements...

1999-12-22 Thread Jeff Brown
I'm working with some COM objects that only accept bytes. However, the data I'm trying to send is in string form (sent by form input elements). In ASP this was not a problem since VBScript auto-casts everything. Java's a bit pickier and my knowledge of Java is shaky at best. I've tried:

Re: Does JSP support non default encoding ?

1999-12-22 Thread Scott Stirling
Depends on the JDK you're using, and the JSP implementation. Need more info. Á¶ÇåÁØ wrote: we are use korean character "EUC-KR" or "KSC5601" but JSP can't translate korean character in java code I make a simple code bellow %@ page language="java" % %@ page contentType="text/html;

JDBC

1999-12-22 Thread ZMASUD
Hi, I have been trying to connect with a informix database using both a servlet and a bean. When I try to load the driver (example - Class.forName("com.informix.jdbc.IfxDriver"); ) , I get a ClassNotFoundException error It appears to be a CLASSPATH problem. I am new to JSP and thought if I

Re: Casting strings returned by input elements...

1999-12-22 Thread Jari Worsley
Your problem is a JSP corker - nothing to do with JSP as an implementation, but the fact that if you're writing scriplets, then you're outside of a Java IDE with no compiler/parser support. s1.getBytes is trying to get the method getBytes as a variable, rather than: s1.getBytes() - to call the

Re: Servlets and JSPs

1999-12-22 Thread Arun Thomas
Which product are you using as a servlet/jsp engine? -AMT -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Cory L Hubert Sent: Wednesday, December 22, 1999 10:16 AM To: [EMAIL PROTECTED] Subject: Re:

Re: Casting strings returned by input elements...

1999-12-22 Thread Arun Thomas
Jeff, The error message itself occurs because you forgot the parens at the end of the getBytes method call. The following should do away with that message. % string s1, s2; s1=request.getParameter("someString"); s2 = s1.getBytes(); %

Re: Casting strings returned by input elements...

1999-12-22 Thread DiFranco, Nick
John, The compiler is correct s2 = s1.getBytes; must be written as such: s2 = s1.getBytes(); If is a method call not a property. I can see why this would happen coming from the COM world. _ Nick DiFranco Developer EC Cubed,

Re: Servlets and JSPs

1999-12-22 Thread Cory L Hubert
JSP 1.0/ JRUN/ IIS -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Arun Thomas Sent: Wednesday, December 22, 1999 9:43 AM To: [EMAIL PROTECTED] Subject: Re: Servlets and JSPs Which product are

Re: Complaint

1999-12-22 Thread Steven Owens
I took a shot with this email to the webmaster at java.sun.com: [...] Our group, the JSP interest group at [EMAIL PROTECTED], would like to request some virus protection for emails and attachments coming through the list. Can you arrange to scan items as they come through and pull out any

Re: Casting strings returned by input elements...

1999-12-22 Thread Marcus Mosttler
Try: % string s1, s2; s1=request.getParameter("someString"); s2 = s1.getBytes(); % Note the '()' after getBytes. When calling a function must use parens. -Original Message- From: Jeff Brown [mailto:[EMAIL PROTECTED]] Sent:

Re: Servlets and JSPs

1999-12-22 Thread Nanduri Amarnath
Did you check to make sure that your package is in the CLASSPATH ? Reg Sherwood [EMAIL PROTECTED] on 12/22/99 12:33:27 PM Please respond to Reg Sherwood [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Amarnath Nanduri/IT/VANCPOWER) Subject: Re: Servlets and JSPs Craig, As

Re: Complaint

1999-12-22 Thread Joseph B. Ottinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 22 Dec 1999, Steven Owens wrote: And while we're at it, could we block out messages with no subject line? :-) And how about mesages with "unsubscribe" in the subject or as the only line? And maybe messages with more than two

Re: Servlets and JSPs

1999-12-22 Thread Cory L Hubert
It's in there. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Nanduri Amarnath Sent: Wednesday, December 22, 1999 12:47 PM To: [EMAIL PROTECTED] Subject: Re: Servlets and JSPs Did you check to

Web Host or ISPs who support JSP + database technology

1999-12-22 Thread Pala, Ashish H
Hi All I don't know of any ISP or Web Hosting service provider who supports JSP + database at relatively low price. I am planning to build a community site for learning experience where people can exchange views on discussion forum and so on. Any clue or help in pointing to right web host

New to JSP

1999-12-22 Thread Tolliver Reva
Hey all, I'm new to JSP and I'm not quite sure where to get started. Can anyone recommend some good books or tutorials on-line? Thanks, Reva L. Tolliver Email: [EMAIL PROTECTED] eBusiness Service Provider Development ===

Re: Complaint

1999-12-22 Thread Phil
What Sun *could* do is set their mailing list software to not allow attachments. Another vote for no attachments... May we take a consensus? Maybe Sun will listen, this time. Phil And maybe messages with more than two sequential exclamation points... :-).

Re: Servlets and JSPs

1999-12-22 Thread Arun Thomas
If you take a look at the generated java file: blah/jsm-default/services/jseweb/servlets/jsp/thepage.java Do you see a line in the _jsp_service method which actually defines an object 'model' of class 'blah.MyClass.MyBean'? -AMT -Original Message- From: A mailing list about

Debugging Servlets

1999-12-22 Thread Milkowski, Andrew
in old good days (while using JSDK 2.0) debugging servlet in an IDE environment required adding a main class, specifying a port number and a servlet directory and invoking an HTTP Server (sun.servlet.http.HttpServer.main(serverArgs)), one could specify breakpoints in service, doGet doPost etc..

Re: OFF TOPIC: SQL

1999-12-22 Thread Giovanni Azúa García
Hi all, Thanks for your replies but I'm working with Inprise's INTERBASE Server and there isn't ANSI SQL support to the TOP predicate or any other. I could actually limit the number of rows in the client side (or in the server side too) using DataSet's rowcount or something like that but that

Re: Servlets and JSPs

1999-12-22 Thread Craig R. McClanahan
Boy, that is definitely a strange one. A couple of off the wall thoughts: * Have you enabled JSP 1.0 support in JRun? If you are using 0.92 support the jsp:useBean tag would have been ignored. * Could "model" be a reserved word somehow? Try a different variable name just to make sure.

Re: Debugging Servlets

1999-12-22 Thread Craig R. McClanahan
In the "etc" directory, check out the sample program named "SimpleStartup.java". This is a simple application you can use to debug servlets in the JSWDK environment within an IDE. Craig McClanahan "Milkowski, Andrew" wrote: in old good days (while using JSDK 2.0) debugging servlet in an IDE

Re: Does JSP support non default encoding ?

1999-12-22 Thread
smime.p7m

Re: Does JSP support non default encoding ?

1999-12-22 Thread Á¶ÇåÁØ
Thank you for your recommand Does Apache WebServer support JServ with JSP now? -Original Message- From: jang eui jin [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 23, 1999 9:25 AM To: Á¶ÇåÁØ Cc: [EMAIL PROTECTED] Subject: Re: Does JSP support non default encoding ? Hi!

Re: Does JSP support non default encoding ?

1999-12-22 Thread Á¶ÇåÁØ
One more question. Did you test my jsp code? %@ page language="java" % %@ page contentType="text/html; charset=euc-kr" % html body ¾È³çÇϼ¼¿ä? %="Á¶ÇåÁؾ¾" % /body /html -Original Message- From: jang eui jin [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 23, 1999 9:25 AM To:

Re: Browser caches.

1999-12-22 Thread Nate Grover
I have been having a lot of trouble getting this to work. Have you really been able to get Explorer to stop caching? This command does nothing when I use it. I've tried all of the following: meta http-equiv="Pragma" content="No-cache" meta http-equiv="Cache-Control" content="No-store" meta

what is the difference?

1999-12-22 Thread Francis Derika
what is the difference between javaserver and javawebserver? I downloaded both products but I don't know which one to use. DerikA === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP

IIS4.0 and JRUN 2.3 Configuration Problem....

1999-12-22 Thread Memon Mohamed Ashraf
Hi all, Have a question for you, I have configured JRUN to run on IIS4, and for me now to look at the jsp pages I have to type in the url like http://localhost:8000/anyjsppage.jsp and I have to put my jsp pages in the default directory of the JRUN, if I put this pages in default directory of

Re: New to JSP

1999-12-22 Thread Praveen Kumar S .
This has been asked a n number of times, the best hint is look at the last two lines af any mail, it gives a FAQ link on JSP lets not forget http://java.sun.com/products/jsp ITH Amit -Original Message- From: Sergio Queijo Diaz [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, December 21,

Re: Servlets and JSPs

1999-12-22 Thread Praveen Kumar S .
some thoughts(more heads are better than one) As far as my expriance goes I have never come across keyword "model" , but this message usually comes if the variable scope(not jsp's usebean scope) is unclear i.e, declared in a diffrent scope, the variable name "model" has to be 1. the ID of

Re: Complaint

1999-12-22 Thread Praveen Kumar S .
Z. Guys Hope you read the directive by sun, you are not, repeat not supposed to send attachments in the mailing list, you could be kicked of the list for doing so, if indeed you want to send it, you can send it to individuals/groups specifically, but not to the list lets rest

BineryWrite method in JSP

1999-12-22 Thread Senaka Suriyaarachchi
Title: BineryWrite method in JSP Hi I want to know whether there is a method to write binary output by using JSP. I want to write gif file directly to browser by using JSp. best regards senaka

Re: Web Host or ISPs who support JSP + database technology

1999-12-22 Thread Steve Nguyen
Go for http://www.ebpcs.net for extensive Java servlet JSP hosting services + database. -- KBMail Software Java Hosting Service Provider http://www.kbmail.com http://www.ebpcs.net "Plan - Do - Review -- Success" Original message Date: Wed, 22 Dec 1999 19:54:11 Z From:

Re: Writing cookie in jsp

1999-12-22 Thread acidzazz
Hi Surya, As you know, javascript is executed on client side, against JSP(or Servlet) on server side. Then, there is no way to add the value of a textfield to the cookie using JSP in one session. But if you decide to use javascript to add the valueto the cookie, you

JSP Servlets

1999-12-22 Thread SA Venkatesan
Hello friends, I have one textbox and Submit button in a A.html file. When i submit the form i am invoking a servlet and get the value entered in the textbox and i want to display that value in the A.html thro .jsp file ( ie below the textbox and Submit button ). When i do this operation the

Re: BineryWrite method in JSP

1999-12-22 Thread acidzazz
Title: BineryWrite method in JSP Confer the link below, Java Discussion Forums - How to call JSP from Applet? http://forum.java.sun.com/forum?[EMAIL PROTECTED]^0@.eef322c/1 I hope it will help you. from acidzazz ^!^ -Original Message-From: A mailing list about Java

Re: JSP Servlets

1999-12-22 Thread Srihari Chandana
What ur doing is, writing an html file A.html and then calling a servlet and then displaying a jsp page(??).For ur requirement, u don't even have to write a servlet(the jsp will do it for u). The following code should do. Ur page should be A.jsp html form name=myform action="A.jsp" body input

Re: JSP and IPlanet

1999-12-22 Thread Suresh Batchu
On Tue, 21 Dec 1999, Sreekumar Pillai wrote: This can't be possible! I am using JSP on IPlanet and I notice my session expires after the specified timeout irrespective of the last accessed time. For some reason, the webserver just checks the creation time only. I reduced the timeout period

Re: Writing cookie in jsp

1999-12-22 Thread Praveen Kumar S .
Hi, sorry to join in late, but as i went thro' the mails, i found i could contribute a similar problem i had, I am doing some assumptions, you are mixing JSP and javascript cookies, if i am wrong pls correct me "this will not work" why, i dont know, i have had an experiance