Re: Dynamically generating JSP

1999-06-27 Thread Jenkins, Ed
I recently wrote a server-side Java application with its own built-in HTTP server. It sends some pages as static files, creates some pages dynamically, and it pulls some pages from a database. You could probably write a servlet that pulled pages from a database or any other data source. Ed

Re: Can I use Java instead of JavaScript for Client side validati ons ?

1999-06-27 Thread Jenkins, Ed
I think it works like this: If you use JavaScript, the user can type in anything they want. Then you evaluate it and alert them if you don't like what you see. If you use Java, you can actually see what they're typing when they're typing it. You can filter out any characters you don't want as

Re: POST and browser behavior

1999-06-10 Thread Jenkins, Ed
So if the same problem shows up on multiple browsers, multiple servers, and GET/POST is irrelevant, let's revist the possibility of HTTP headers. A page can be set to expire by one of 2 methods. Set an HTTP header or use a META tag in the HTML. The same methods can also be used to say that a

Re: Applets with Servlet or jsp

1999-06-10 Thread Jenkins, Ed
Elliot Rusty Harold has a fabulous book on Java network programming. I shows examples of how to do this. You can do something like applet.getAppletContext.showDocument(url) to replace the current page with something else. If you want the current page to remain, but go get info from the server

Re: POST and browser behavior

1999-06-10 Thread Jenkins, Ed
Search the MSDN Library for any of the following strings: Expires ExpiresAbsolute HTTP-EQUIV META Here's an example of how to set it in HTML. Put the META tag inside the HEAD tag. META HTTP-EQUIV="Expires" CONTENT="Tue, 04 Dec 1996 21:29:02 GMT" Here's an example of how to set it in HTTP,

Re: Functions or SubRoutines in JSP?

1999-06-10 Thread Jenkins, Ed
From what I've read so far, it looks like this: % function Hello() { alert('Hello, world!'); } % Ed Livin' La Vida Loca -Original Message- From: Pel I. Kan [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 10, 1999 07:01 PM To: [EMAIL PROTECTED] Subject:

Re: QUESTION:Does the JSP:REQUEST directive work for JSP files or onl yservlets

1999-06-10 Thread Jenkins, Ed
The docs say: jsp:forward page="yadayadayada.jsp"/ Does this help? Ed Livin' La Vida Loca -Original Message- From: Raghuraman Sridharan [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 10, 1999 11:00 PM To: [EMAIL PROTECTED] Subject: Re: QUESTION:Does the JSP:REQUEST directive

Re: how to dynamically include a servlet in a jsp page (jsp1.0ea) ?

1999-06-09 Thread Jenkins, Ed
PrintWriter out = new PrintWriter(resp.getOutputStream()); out.println("my informations"); Any ideas? thanks in advance. Maybe replace "out" with another name. === To unsubscribe, send email to [EMAIL PROTECTED] and include