Re: New to JSP

1999-12-06 Thread Augusto Sellhorn
Matt Krevs <[EMAIL PROTECTED]> wrote: >2. Its possible for the client to disable javascript. ie All javascript >validation needs to be repeated on the server in your servlets/beans. > >Basically I work on the premise that any info sent to the server needs to be >completely validated again. A go

Re: New to JSP

1999-12-06 Thread Augusto Sellhorn
JSP scripts are executed in the server. JavaScript could be used for JSP scripting (if the JSP engine supports it), but this is not what you seem to want (client side scripting). pankajg <[EMAIL PROTECTED]> wrote: > >Hello, > >I have been using servlets for quite some time.We also use Javascrit

Re: New to JSP

1999-12-06 Thread Matt Krevs
Javascript is fine as long as you remember that 1. It may need to work in all browsers/platforms 2. Its possible for the client to disable javascript. ie All javascript validation needs to be repeated on the server in your servlets/beans. Basically I work on the premise that any info sent to the

Re: New to JSP

1999-12-06 Thread Matt Krevs
Oops. Forgot to mention that JSP is purely server side. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of pankajg Sent: Tuesday, December 07, 1999 4:03 PM To: [EMAIL PROTECTED] Subject: New to JSP Hello,

getRequestDispatcher

1999-12-06 Thread Tran, Fon Francis (CAP, GECF, Japan)
Hi guys, I've been trying to getRequestDispatcher working in my servlet with JSDK 2.0 and it doesn't seem to work. Is it because I must use JSDK 2.1 or is there anything else I am missing? I have Apache, JServ and GNUJSP 1.0 configured. If someone could help me out. Thanks! Fran ===

generically passing info to included JSP files

1999-12-06 Thread Matt Krevs
Below is an example to describe a design problem I am having Lets say I have a customer.jsp that displays surname, first name etc. customer.jsp includes address.jsp. Another Jsp, phone.jsp is included 3 times within customer.jsp, allowing the user to enter up to 3 phone numbers for a customer. T

New to JSP

1999-12-06 Thread pankajg
Hello, I have been using servlets for quite some time.We also use Javascrit for client side validation of the fields etc. I am curious to know whether JSP is only a server side solution . Does the scipting gets executed on the client side to offer an alternative to client side Javascript. If not

Re: Jason Hunter's File upload servlet

1999-12-06 Thread David Wall
Jason, Sure, lucky to be able to keep IE5 out while the rest of us must suffer ;-) Well, the file upload worked just fine on your site. That's not really surprising, since the errors we were seeing did not even include a file to be uploaded (the uploaded file is optional on our form), but about

Re: Jason Hunter's File upload servlet

1999-12-06 Thread Jason Hunter
David Wall wrote: > > Has anybody seen this recent problem (I've only seen it with IE5 so > far) that appears with Jason Hunter's file upload servlet (actually > com.oreilly.servlet.MultipartRequest): > > The servlet throws: Corrupt form data: no leading boundary > > So, I put in a trace, and I so

Calling a Servlet from an Applet

1999-12-06 Thread Sandy Tiu
Hi, Can a Servlet be called from an Applet? Thanks. Sandy __ Get Your Private, Free Email at http://www.hotmail.com === To unsubscribe: mailto [EMAIL PROTECTED] with body

Re: Q:File Upload How To

1999-12-06 Thread Steve Nguyen
Take the oreilly classes (www.servlets.com) for files uploading. -- Steve Nguyen KBMail Java Servlet Hosting Provider http://www.ebpcs.net - Original Message - From: Victor Vasilica <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 07, 1999 7:12 AM Subject: Q:File Uploa

Re: What is the Default page that gets loaded forJavaWebServer2. 0.

1999-12-06 Thread Chris Wilson
in the jswdk 1.0 and later look at the welcomefiles setting in the webapp.properties file that should be in the WEB-INF directory of your web app. mine is: welcomefiles=index.jsp,index.html,index.htm but i can be whatever you want cheers, chris chris wilson {phone} tel + 616.471.9142 fax + 61

Jason Hunter's File upload servlet

1999-12-06 Thread David Wall
Has anybody seen this recent problem (I've only seen it with IE5 so far) that appears with Jason Hunter's file upload servlet (actually com.oreilly.servlet.MultipartRequest):   The servlet throws: Corrupt form data: no leading boundary   So, I put in a trace, and I sometimes have no problem w

Q:File Upload How To

1999-12-06 Thread Victor Vasilica
Hi, folks! I'm thinking about how could be made in JSP(or servet) technology a (secure)HTTP file upload mechanism. I mean the server side part, the bean(s). On the other hand, secure HTTP is supported by JSP(Sun implementation)? Could this be really done in JSP working with Sun's jsp engine? Any i

session variables

1999-12-06 Thread Nishant Kaushik
i am facing this problem of session variables disappearing between pages. this happens when my pages are served over a secure server. does anyone have any ideas? we are useing Jrun and Jrun Pro. thanx nishant === To unsubscr

No Errors. No Data?!*

1999-12-06 Thread Cory L Hubert
I just switch from jsp .92 to 1. I did a little test to see how it reacts to beans. I get no error. And I get no data back from the bean. What could be wrong? --JSP--- Bean Testin --BEAN - pa

Re: Request for HTTP documentation, tutorials, and/or workshops

1999-12-06 Thread David Chisholm
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, December 06, 1999 10:00 AM Subject: Re: Request for HTTP documentation, tutorials, and/or workshops > David Chisolm writes: > > > I was having a very strange caching problem - dif

Re: What's the use of [ tag]?

1999-12-06 Thread Matt Krevs
Maybe one of the things we are all missing is that most of us on this forum (I assume) are programmers and are used to seeing java code embedded in things. Consider for a second that one major reason JSP was developed was to separate presentation from business logic. One advantage of the usebean t

Re: Value of vs <%= ... %> ?

1999-12-06 Thread Bisong, Anthony (PS, IT)
I completely agree with you D.J. Hagberg. In my situation I defined the following code below (I am using weblogic 4.51): ... " colspan="3"> ... And I got the following error message: "user is not defined as bean" I then used the escape character in the code like this: ... " colspan="3"> ...

Re: What is the Default page that gets loaded forJavaWebServer2. 0.

1999-12-06 Thread Rick L Sample
Is that the default page most use for starting their apps? Or, can we make a webserver config change? Thanks! >>> "Martin Leboeuf" <[EMAIL PROTECTED]> 12/06/99 01:58PM >>> It should be server_root/public_html/index.html where server_root is the directory in which you installed JWS, which is Java

Re: What's the use of beans?

1999-12-06 Thread Danny Trieu
I can't use setProperty() with any other type then String. I am weblogic4.5, and I believe its jsp engine implement the 1.0 spec. So is this mean 1.1+ allow you use setProperty with other datatype? Hans Bergsten wrote: > Heiko Gottschling wrote: > > > > Hi, > > > > I'm wondering what's the us

Re: What is the Default page that gets loaded for JavaWebServer2. 0.

1999-12-06 Thread Martin Leboeuf
It should be server_root/public_html/index.html where server_root is the directory in which you installed JWS, which is JavaWebServer2.0 by default (for the 2.0 version). Martin Leboeuf [EMAIL PROTECTED] -Original Message- From: Rick L Sample To: [EMAIL PROTECTED] Sent: 12/6/99 1:47 PM S

jspInit, jspDestroy

1999-12-06 Thread Augusto Sellhorn
I'm new to JSPs and this list so excuse the newbie question ... I just read a message that had code in the JSP page for init and destroy, pretty much like a servlet. Now, I know that JSPs map to servlets, but is it common convention to implement these methods (init/destroy) ? It would seem to th

Re: Structuring model-2 applications

1999-12-06 Thread Danny Trieu
hi, what is a RequestDispatcher ? > RequestDispatcher rd=getServletContext().getRequestDispatcher("/myapp/showinfo.jsp"); I can't find the ServletContext.getRequestDispatcher(...) from the API. Govind Seshadri wrote: > My article "Understanding JSP Model 2 architecture" in this > month's iss

Re: using ResultSet with JSP?

1999-12-06 Thread Stephen Summerfield
> -Original Message- > From: A mailing list about Java Server Pages specification > and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Guilherme - PerConsult > Sent: 06 December 1999 17:32 > To: [EMAIL PROTECTED] > Subject: using ResultSet with JSP? > > > Hi all... > > I have to make a

Re: What's the use of [ tag]?

1999-12-06 Thread Kayser William
Yes, I've always wondered this myself. Surely we're all missing something very obvious... Bill Phil <[EMAIL PROTECTED]> on 12/06/99 09:58:42 AM Please respond to Phil <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: (bcc: Bill Kayser/Worldstreet) Subject: Re: What'

Re: What's the use of [ tag]?

1999-12-06 Thread Stephen Summerfield
> -Original Message- > From: A mailing list about Java Server Pages specification > and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Phil > > As I understood it, Heiko was asking why use JSP tag > when > you can do the same by creating an instance of the java > "bean" object... > (t

Re: JSP .92 vs 1

1999-12-06 Thread Phil
> Migrate now while (presumably) your code base is small. We configured our server to parse .jsp files through the .9x parser and .jsp1 files through the 1.0 parser. This may ease pressure of migrate-headaches. Phil ===

Re: What's the use of beans?

1999-12-06 Thread Spencer Ridder
Hi Heiko, Are you saying that beans should not be used or that tags like and should not be apart of the JSP spec? Actually, These tags follow the same semantics as laid out by the 'tag extension' mechanism in JSP 1.1 . So really they are just a required standard set of custom tags for the benef

What is the Default page that gets loaded for JavaWebServer2.0.

1999-12-06 Thread Rick L Sample
I am running using jswdk-1.0.1to learn JSP,beans,etc. We will be using JavaWebServer2.0 but no access to it yet. I looked in the webserver.xml and startserver.bat but could not fine. In IIS, it is default.html then, default.asp if HTML does not exist, or define our own. So, when a user comes in

using ResultSet with JSP?

1999-12-06 Thread Guilherme - PerConsult
Hi all... I have to make a query on a DB, and I made this code: = gui 1 <%@ page import = "java.io.*,java.util.*,java.net.*,java.sql.*,javax.servlet.*,javax.servlet.http.*"%> <%! String url = "jdbc:odbc:teste"; Connection con; Statement stmt; public void jspInit() {

Re: What's the use of beans?

1999-12-06 Thread Martin Leboeuf
While on the subject : If the property I am trying to extract from my bean is an array or a vector, on which I will eventually want to loop, then the tag is useless, since it returns one big string containing all elements of the array/vector. Unless I missed something. Any comments ? Martin Leb

Re: JSP .92 vs 1

1999-12-06 Thread D. J. Hagberg
Cory L Hubert wrote: > Right now I am using the .92 with JRUN. Should I, can I upgrade to 1.0? Yes. Migrate now while (presumably) your code base is small. At the very least, avoid the LOOP, INCLUDEIF, and EXCLUDEIF tags in your jsp 0.92 pages as they are very difficult to mechanically conver

signoff JSP-INTEREST@JAVA.SUN.COM

1999-12-06 Thread Mohan K Reddy
=== 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

Re: Request for HTTP documentation, tutorials, and/or workshops

1999-12-06 Thread Steven Owens
David Chisolm writes: > I was having a very strange caching problem - different from the kind > normally posted here, and I needed to really understand how caching > directives are supposed to work. > [ ... ] > error. Of course, everything worked just fine in IE. (For the version > conscious, I

How do I make a JSP work in PWS

1999-12-06 Thread Anupam_Khandelwal
Hi, What are things required by me to run a jsp file through personal web server in NT4.0 workstation.. What do I have to install and from where can I get it?? Can please somebody help me out?? I need help desperately!! Thanks in advance.. Anupam K "Education is what survives when what has bee

Re: What's the use of [ tag]?

1999-12-06 Thread Phil
As I understood it, Heiko was asking why use JSP tag when you can do the same by creating an instance of the java "bean" object... (the original e-mail subject line may have sent the conversation in a different direction). It seems the tag is redundant. According to the specs, a bean is just a

Re: tracking initialization and destruction of JSP objects

1999-12-06 Thread Stephen Summerfield
> -Original Message- > From: A mailing list about Java Server Pages specification > and reference > > overriding init() and destroy is ok - I have only one question > 'Is it standard (will it always work ?)' :) > Good question - this should answer it, extract from JSP1.0 JavaDocs: |publi

JSP .92 vs 1

1999-12-06 Thread Cory L Hubert
Right now I am using the .92 with JRUN. Should I, can I upgrade to 1.0? Opinions, Suggestions. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at: http://jav

Re: What's the use of beans?

1999-12-06 Thread Kien Kiong Ng
One fantastic feature of bean is it allows Visual IDE to provide visual design feature, I think this is the major advantage of javabean spec came out. Tool like IBM Websphere Studio will provide this feature I guess. It helps increase productivity, even a lot of 'good' html programmers don't agree

Re: tracking initialization and destruction of JSP objects

1999-12-06 Thread heyhey
Hello , my problem is how to call getInstance() and release() when JSP page object is created or destroyed (it's easy with servlet) Thanks Monday, December 06, 1999, 10:32:52 AM, you wrote: LB> Hi, LB> I don't know if it can help, but have a look at the code below. It provides LB> you a way

Re: tracking initialization and destruction of JSP objects

1999-12-06 Thread heyhey
Hello all, SS> Just think of JSPs as auto-generated servlets, which they are. SS> So presumably, therefore, you can override the init() method to do any one SS> time initialisation and destroy() to save/cleanup - just like you would in a SS> servlet. overriding init() and destroy is ok - I have

Unable to execute some of the methods which support JDBC 2.0 !!

1999-12-06 Thread Suresh Kumar Nittala
Hi, Can anybody suggest me how to make use of the follwing methods. All these are the methdos are of ResultSet() object. Some of the methods are absoloute(); afterLast(); beforeFirst(); deleteRow(); getBlo(); getFetchSize(); etc., All these methods support JDBC 2.0. The environment I have is JDK

support for with other JSPs

1999-12-06 Thread Joseph Lilly
All, I'm running ServletExec 2.02 on Solaris with Netscape SuiteSpot. I've tried using the tag to include files and other JSPs, without any success. Is there another version of ServletExec and/or any JSP tag that supports including another JSP in a JSP? Thanks! jml -- Joseph M. Lilly Lead I

Re: What's the use of beans?

1999-12-06 Thread Cory L Hubert
What you suggested would be fine if you want to bang out a whole project in a perl/hackish fashion. But if you want to be able to reuse code, in your project and in others the best way to do it is by encapsulating code in beans. -Original Message- From: A mailing list about Java

Re: Frames problem with servlets

1999-12-06 Thread Stephen Summerfield
> -Original Message- > From: A mailing list about Java Server Pages specification > and reference > > Please excuse me for a servlet Question, but I couldn't go > anywhere for > help. > I am using frameset in my HTML to generate a HTML framed > page. On click > of a submit button of one fr

Jrun & UTF-8

1999-12-06 Thread Wang, Dapeng
Hi, maybe somebody has had the same problem. If I use any german umlaut in my JSP, the JRun complains that it got javax.servlet.ServletException: Invalid UTF-8 code. (bytes: 0xfffc 0xa). By adding the page declaration <%@ page contentType="text/html; charset=ISO-8859-1" %> which I think shou

signoff JSP-INTEREST@JAVA.SUN.COM

1999-12-06 Thread Serge Baduk
 

Frames problem with servlets

1999-12-06 Thread pankajg
Hi, Please excuse me for a servlet Question, but I couldn't go anywhere for help. I am using frameset in my HTML to generate a HTML framed page. On click of a submit button of one frame a servlet needs to send results to the other frame. Servlet open's a new window as it looses the frame context.

Re: JSP develoment tool

1999-12-06 Thread WHITESIDE, CHIP
JDeveloper 3 for WINNT is now available for download at:http://technet.oracle.com/software/index.htm -Original Message- From: Gerry Palmer [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 04, 1999 12:31 PM To: [EMAIL PROTECTED] Subject: FW: JSP develoment tool Yes, Oracle JDeveloper

Re: How to compress JSP pages using Content Encoding

1999-12-06 Thread Volker Turau
You can do content encoding in jsp, I did it. Just make sure that the page does not access the implicit variable out at all (e.g do not have blanks outside scripts). But I think that jsp is not the right tool to do that. The JSP-Container should do that for you. The code is roughly: <%@page ...

signoff JSP-INTEREST@JAVA.SUN.COM

1999-12-06 Thread sacheendra
signoff [EMAIL PROTECTED]  

Re: tracking initialization and destruction of JSP objects

1999-12-06 Thread Stephen Summerfield
> -Original Message- > From: A mailing list about Java Server Pages specification > and reference > > I am developing JSP system that works with some persistent data on the > server. I don't wont to fix the persistence mechanism - persistence > engine should be easily replaced with another

Re: tracking initialization and destruction of JSP objects

1999-12-06 Thread Legros, Bertrand
Hi, I don't know if it can help, but have a look at the code below. It provides you a way to have a single PersistenceManager on the server and to track the number of clients Bertrand public class PersistenceManager { static private PersistenceManager instance; static private int client

tracking initialization and destruction of JSP objects

1999-12-06 Thread heyhey
Hello , I am developing JSP system that works with some persistent data on the server. I don't wont to fix the persistence mechanism - persistence engine should be easily replaced with another one (DBManager, FileManager, XMLManager) - and my problem is that I don't know how to implement the init

Forward Problem

1999-12-06 Thread Legros, Bertrand
Hi all, Hope someone will be able to help me. I have a default html page with a login. When submitted, the following servlet doPost is in charge of 1) generating the Bean which will create the needed results for JSP 2) forward to the appropriate JSP Page. I am running on NT, Java 2 and JSWDK 1

Re: Resultset MovePrevious

1999-12-06 Thread Elena Palanca
Hy, Are you using a JDBC-ODBC Bridge? Because in this case the JDBC-ODBC Bridge that is included in the Java 2 Platform (jdk1.2.x) initial release does not support the new features in the JDBC 2.0 API (methods as previous(), first(), etc..). I had the some problem and currently the only way is to