Re: extends attribute with jswdk

1999-10-12 Thread Wong Mary
Sorry I left out the jsp and SampleExtends constructs in earlier message. jsp: %@ page language="java" extends="SampleExtends" import="someOtherBean" % ... SampleExtends.java: import... abstract public class SampleExtends extends HttpServlet implements HttpJspPage { ... } This setup yields a

Re: Latest gnujsp snapshot

1999-10-12 Thread Ron Parker
I'm sorry, here is the sevlet.gnujsp.initArgs line: servlet.gnujsp.initArgs=pagebase=/home/httpd/htdocs,scratchdir=/var/tmp,checkuri =true,debug=true,compiler=builtin-javac -classpath %classpath%:%scratchdir%:/hom e/servlets/classes:/usr/src/gnujsp-1.0cvs-19991010-2135/lib/gnujsp10cvs.jar:/usr

Java Compiler Exception Error

1999-10-12 Thread Ron Parker
Hello, I've created a rather large .jsp file which is giving me the following error when I try to run it: Error compiling source file: file:/home/sbac/public_html/DataBase/DbMaint/dbmaint.jsp builtin-javac -classpath

Re: jsp:forward not working within jsp:usebean?

1999-10-12 Thread sdheepa
hi Brien, The jsp code below works fine.I was able to include the jsp:forward within the useBean tag and forward to another jsp.I am using the jswdk1.0 RI . The problem may be in JRun. html titleBeanTest/title body jsp:useBean id="req" class="dheepa.RequestBean" scope="session"

Images

1999-10-12 Thread Nilesh Khedkar
Hi All, I want to fetch an image from Oracle Database, in ASP I can do it with 'Response.BinayWrite', for printing an image on web-page. Is there anything similar in JSP? I tried to look in JSP help, but couldn't find anything similar to BinaryWrite. Please HELP me. Thanks in Advance

Bean Thread

1999-10-12 Thread Somchai LIMSIRORATANA
Dear sir, Can anyone told me, Can I extend my bean from Thread and use it in JSP? public class MyBean extends Thread { } What happen, if I write JSP page like this? jsp:usebean id=test scope=session class=MyBean/ Is MyBean thread stop when user close the session? Thank you,

Session and application On WebSphere2.0

1999-10-12 Thread ZhangDong
I want to use session and application varibles in JSP files on WebSphere2.0. Does anyone have use it,please help me! Thanks in advance! === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on

Re: Bean Thread

1999-10-12 Thread Carsten Heyl
Hi Somchai! I don't see a reason why extending from Thread shouldn't be possible. But don't expect any magic (starting/stopping) from jsp engine. You have to do that for your self. I think the Session has a change notifier you can add a listener too. Dear sir, Can anyone told me, Can I

Re: extends attribute with jswdk

1999-10-12 Thread Carsten Heyl
Hi Wong, I looked into that stuff on jsdwk 1.0 when implementing extends in gnujsp. IMHO it is not possible to use extends on jswdk 1.0 without imitating HttpJspPage. You have to add the utility methods they put into HttpJspPage. As you noted it is not possible to subclass it because of finals

Re: Calling a servlet from a JSP page

1999-10-12 Thread Carsten Heyl
Hi Matt, you can 1. Save the current out, create a JspStringWriter(), set it to out, call jsp:forward (note: no parameter passing) and restore out. 2. Call the servlet via HTTP-Protokoll and use the output then. Examples were posted on this

Re: jsp:forward not working within jsp:usebean?

1999-10-12 Thread Carsten Heyl
Per the JSP spec, the thing you can put inside the jsp:useBean ... /jsp:use Bean combination is jsp:setProperty elements. Even if the compiler generated the code for the forward, it would probably generate an unconditional forward, rather t han a conditional one. Craig, I don't agree. Spec

Re: Images

1999-10-12 Thread Uddipan Bagchi
I suppose you have retrieved a ResultSet object (say, rs), and also know that which column number (say, i) the image is stored in. If I recall correctly, you may use rs.getBinaryStream(i) to retrieve the image as an InputStream. You can then process it with any of the InputStream wrappers to get

Help !!!!!!!!!!!!!!!

1999-10-12 Thread Oliver Pereira
Hi, I am facing a problems with HttpServletRequest.getParameterVales(String) method. I have 3 text fields in the html form having same name 'txt', when i post this form i get a collection of 'txt'. String[] res = HttpServletRequest.getParameterVales("txt");

Chinese text processing

1999-10-12 Thread Chee Keong
Hello there, I am familiar with using servlets/JSP for normal English sites. I am interested to know how, doing things with Chinese characters is different in these areas 1) Servlets/JSP obtaining values from FORM with chinese input characters 2) Servlets/JSP compare values of Chinese input.

Accessing form field from a JSP

1999-10-12 Thread Pradeep Venugopal
Hi, I have 2 JSP's files. The first of these contains a form which has 2 fields named 'name' and 'address'. when this form is submitted the second JSP is called. I want to access the name and address variables of the first form in the 2nd JSP. i used request.getParameter("name") but it comes

Web Grids

1999-10-12 Thread Crippa Giovanni X
Hello everyone, I am 'very' new to JSP, and I have a general question. Do any of you have suggestions on already existing packages that could facilitate creation of web grid objects in an environment where we are using JSP, WebSphere and Unix with Oracle Databases. The ability we look for are all

Re: Chinese text processing

1999-10-12 Thread Driscoll, Mark
I have started doing some work with Chinese characters, and java doesn't care about the language. As long as you make sure that you use Unicode character sets. There is quite a bit of internationalization built into java to handle using multiple languages. Just make sure that the database

Re: Accessing form field from a JSP

1999-10-12 Thread ACI Team (Chennai)
hi, your code as it looks should work ,probably there might be some other problem ,can u send the full code of both the jsp's regards saravana kumar -- From: Pradeep Venugopal[SMTP:[EMAIL PROTECTED]] Reply To: Pradeep Venugopal Sent:

Re: Need JSP 0.9 Specs Examples

1999-10-12 Thread Kirkdorffer, Daniel
Actually WebSphere uses 0.91, which you can find the spec for at http://www.burridge.net/jsp/Spec91/jsp_spec.html Dan -- From: Sunil S Sarje[SMTP:[EMAIL PROTECTED]] Reply To: Sunil S Sarje Sent: Friday, June 11, 1999 9:00 PM To: [EMAIL PROTECTED] Subject:

Re: doPost versus doGet - DESIGN DECISION???

1999-10-12 Thread Pramod Gurshaney
Some servers limit the length of URLS to 240 chars. For these cases, POST is recommended. - Original Message - From: Uddipan Bagchi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 12, 1999 1:50 AM Subject: Re: doPost versus doGet - DESIGN DECISION??? Hi, Let me

A question on secondary class used by a JSP page.

1999-10-12 Thread Nam Nguyen
Hello all, I've been trying to do a db connection thru JSP-bean(or servlet ?) but ran into a problem and would appreciate if you could help to identify the meaning of the error code. There are 2 files that used to work: numguess.jsp NumberGuessBean.java.sav Now I have a new code:

Re: doPost versus doGet - DESIGN DECISION???

1999-10-12 Thread Nanduri Amarnath
Hi Guys, I recently had WebLogic training and this Instructor said that instead of using the doGet() (or) the doPost() method, over-write the service() method. He says that if you use either a doGet() (or) doPost() method, the WebServer has to do a POLYMORPHIC lookup on these methods in

Re: doPost versus doGet - DESIGN DECISION???

1999-10-12 Thread Taylor Gautier
Actually if you're going to do that you might as well just override service, which just delegates to doPost or doGet anyway. -tg - Original Message - From: Kirkdorffer, Daniel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 12, 1999 8:46 AM Subject: Re: doPost versus doGet

Re: A question on secondary class used by a JSP page.

1999-10-12 Thread Friedman, Richard
Hey Nam, 1. Have you checked the log of your server to check for an exception being thrown? 2. Is there anything in the constructor of test_it()? 3. Is your database driver located in the classpath of your jsp-server? If you could supply some more of your code it would probably help! -Rich.

Issues on Applet/ Servlet

1999-10-12 Thread Rajul
Hi: I would like to know views on 1) What's advantage of using plugin with JSP compared to plain HTML with applet tag, which allows to load applet without plugin. 2) Advantage of using servlet in .JSP file, how does it communicate what's advantage? Thanks in advance. -Rajul

Re: extends attribute with jswdk

1999-10-12 Thread Wong Mary
Carsten Heyl wrote: IMHO it is not possible to use extends on jswdk 1.0 without imitating HttpJspPage. I figured out how to make this work, by doing exactly what you mentioned which is to echo in my super servlet class the utility methods provided by HttpJspBase. The next question is this: the

Re: Errorpage directive

1999-10-12 Thread Shawn Lohstroh
Dave, The errorPage directive is a runtime directive, not a compile time directive. If an exception occurs during execution of the page, the errorPage will be called. If an error occurs during compilation of your JSP page, it is up to your JSP engine to report the error. -Shawn - Original

Re: Errorpage directive

1999-10-12 Thread Friedman, Richard
Dave, They code you have shown is not compilable. public void test() { System.out.println( "test" ); throw new NullPointerException(); System.out.println( "test" ); } would not compile with an error, statement (at line...

Re: JSP Problems

1999-10-12 Thread Gee Martin
Just a thought: NES's version of JSP is some what crippled. You may want reference the NES feature docs. HtH, Martin -Original Message- From: Adam H. Pendleton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 12, 1999 12:49 PM To: [EMAIL PROTECTED] Subject: JSP Problems I am having

Re: doPost versus doGet - DESIGN DECISION???

1999-10-12 Thread Taylor Gautier
I disagree. One should apply traditional optimization procedures and good solid engineering principles to decide if this tradeoff is worth it or not. FWIW, Craig I see disagrees with me, but here are some of the pros and cons. You would do best to consider these for your own particular

Re: Where do I specify path to my zip/jar files in JRun

1999-10-12 Thread Sean Merritt
JRun Service Manager Properties file: jsm.properties on my machine it was in \JRun\jsm-default\properties\ java.classpath setting Hi Guys, I am using JRun. I do not where do I specify the classpath to my zip/jar files. For example I am using Oracle JDBC driver which is contained in

Re: JSP customized tags (also ORIONSERVER, JRUN, BENCHMARKS)

1999-10-12 Thread Karl Avedal
Hello Brien, OrionServer (www.orionserver.com) also supports JSP1.1. I've been using JRun which supports custom tags but I believe it's using their own proprietary method. Does anyone know if JRun is going to support the customized tag standard anytime soon? I'm considering switching from

Target in forward page

1999-10-12 Thread Mircea Moisei
Hi everyone, I encount a problem when I tried to forward a page. I have a html page that contains 3 frames so from inside of one I want to forward a page in _parent target. Does anyone knows how to solve this problem ? Thanks in advance, Mircea

Re: Chinese text processing

1999-10-12 Thread Carsten Heyl
Don't know much about that, but GNUJSP is actually used with cyrillic data, maybe someone on the [EMAIL PROTECTED] can help. Hello there, I am familiar with using servlets/JSP for normal English sites. I am interested to know how, doing things with Chinese characters is different in these

Re: JWS GNU JSP 1.0

1999-10-12 Thread Susan Holden
This might seem like a stupid question...but what is GNU JSP. Is it separate specification? sue Primo¾ Hrvatin wrote: Has anyone had success deploying GNU JSP on Java Web Server 1.1.3. I managed to configure the gnujsp servlet and it seems to load fine, but every time I try to access any

Re: JSP customized tags (also ORIONSERVER, JRUN, BENCHMARKS)

1999-10-12 Thread Brien Voorhees
Wow - excellent response! Thanks much for the additional benchmark information. It looks like you guys have done a very impressive job on Orion. Congratulations. We're considering using EJB's (along with JSP's and servlets) so OrionServer might serve (no pun intended) our purposes

Servlet/JSP Architecture

1999-10-12 Thread Andrzej Kobus
Title: Servlet/JSP Architecture I just started to work on a web based application. I think, I would like to see it done this way. A client requests a URL. 1) The web server directs the URL request to a servlet. 2) The servlet checks for the client's privileges 3) The servlet creates beans or

Re: Servlet/JSP Architecture

1999-10-12 Thread Craig McClanahan
Andrzej Kobus wrote: I just started to work on a web based application. I think, I would like to see it done this way. A client requests a URL. 1) The web server directs the URL request to a servlet. 2) The servlet checks for the client's privileges 3) The servlet creates beans or gets

Oracle 8i on Linux

1999-10-12 Thread Tran, Fon Francis (CAP, GECF, Japan)
Hi guys, First I apologize if I am posting something that is not Servlet/JSP related but I am not sure where else I can get helps from. We are trying to set up our environment with Oracle 8i on Linux RedHat 6.0 but keep on having the same issues during the Oracle installation. The

sample JSP

1999-10-12 Thread PhartMaster Phlash
An old man and his wife have gone to bed. After laying in bed for a few minutes the old man cut a fart and says "seven points." His wife rolls over and asks, "What in the world was that?" The old man says, "Touchdown, I'm ahead 7 to nothing."A few minutes later the wife lets

Is there an archive for the JSP QAs posted here

1999-10-12 Thread Koh Hong Kiat
YES / NO ? Thanks.

Re: sample JSP

1999-10-12 Thread Kirkdorffer, Daniel
Could someone toss this guy? -- From: PhartMaster Phlash[SMTP:[EMAIL PROTECTED]] Reply To: PhartMaster Phlash Sent: Tuesday, October 12, 1999 6:36 PM To: [EMAIL PROTECTED] Subject: sample JSP An old man and his wife have gone to bed. After laying in

Help a Beginner

1999-10-12 Thread Patrick Assoa Adou
I'm new to the JSP technology and I'm having some troubles running the servlets of the Examples directory that comes with JSWDK. Can somebody give me an hint? __ Get Your Private, Free Email at http://www.hotmail.com

Re: Is there an archive for the JSP QAs posted here

1999-10-12 Thread Kirkdorffer, Daniel
YES: http://archives.java.sun.com/archives/jsp-interest.html -- From: Koh Hong Kiat[SMTP:[EMAIL PROTECTED]] Reply To: Koh Hong Kiat Sent: Tuesday, October 12, 1999 6:35 PM To: [EMAIL PROTECTED] Subject: Is there an archive for the JSP QAs posted here

Re: Oracle 8i on Linux

1999-10-12 Thread Igor Fridman
If you are using Enlightenment window manager, there was a bug in it that prevented Oracle installer from starting up. You can try another window manager like afterstep or download an updated version of enligtment from Redhat. Also check out the FAQ on OTN network at Oracle. --- "Tran, Fon

Re: Oracle 8i on Linux

1999-10-12 Thread Tran, Fon Francis (CAP, GECF, Japan)
Thx for the info. -Original Message- From: Igor Fridman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 13, 1999 12:03 PM To: Tran, Fon Francis (CAP, GECF, Japan); [EMAIL PROTECTED] Subject: Re: Oracle 8i on Linux If you are using Enlightenment window manager, there was a bug in it

Re: Servlet/JSP Architecture

1999-10-12 Thread Larry Riedel
BTW Andrzej, in case you start thinking that Craig's design model, as he describes it below, is odd, or different, and thus to be avoided, I would encourage you to adopt it. And it seems to fit in well with the new J2EE Application Programming Model, available for preview now at:

Re: sample JSP

1999-10-12 Thread Taylor Gautier
seconded. He has gone from a pest to a major annoyance - Original Message - From: Kirkdorffer, Daniel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 12, 1999 7:41 PM Subject: Re: sample JSP Could someone toss this guy? -- From: PhartMaster

Re: Help a Beginner

1999-10-12 Thread Senthel Kumarann
Hi!, What sort of problems are you encountering?.If you can explain your problem, i think somebody from the list might be able to help you out. Senthil. -Original Message- From: Patrick Assoa Adou [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tuesday, October

Re: Capturing the output from a JSP ...

1999-10-12 Thread Victor Miksonov
Does anyone know a good way of capturing the output generated by a JSP so that it can be written to a file ? (I basically want to use .JSP's as templates to generate a static HTML site). What I'd like to do is have a wrapper JSP which does 2 things, 1. Redirects out so that it is writing

doPost versus doGet

1999-10-12 Thread Dalveer
Hi I have been to some sites regarding servlet doGet and doPost method i dont know what exactly you want I hope this may help you in some way or the other regards Dalveer - Original Message - From: Uddipan Bagchi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 13, 1999

Re: Errorpage directive

1999-10-12 Thread sdheepa
hi dave, I tried the code u sent.I just replaced the" bad script" with some error code.It works fine.I have given the code for both the jsp files.Try this out.Hope this helps. Cheers, Dheepa ToError.jsp html body %@ page language="java" errorPage="error.jsp" % % int x=0; int y=5;

Re: Images

1999-10-12 Thread Uddipan Bagchi
Oops, I mentioned the wrong thing. If u'r image is in gif/jpeg format, simply write it to out as follows : out.write(bytes,0,bytes.length()) U might have to indicate before hand to "out" that it should expect a "image/jpeg" or "image/gif" by setting the content type