Re: JSP examples Not working

1999-06-10 Thread Mahesh V Yadav
Include tools.jar in classpath env variable. tools.jar can be found at jdk1.2\lib\ directory. -Original Message- From: Steve Houghton [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, June 10, 1999 9:23 AM Subject: JSP examples Not working Note: Some

Parameters Passing getting

1999-06-10 Thread Raghuraman Sridharan
Dear members, Has anyone worked with using .jsp concepts displaying parameters on the developed HTML pages. What I intend to ask is without using out.println() (i.e.) without embedding HTML tags on the server side of the Java Code. Like i would like to have an simple example to see the

Re: Jrun's errorpage/iserrorpage ?

1999-06-10 Thread Michael Halmich
...look at the JSP 1.0 Beta 1 Features located at /jsp/jspsamp/features.jsp sorry, it's /jsp/jspsamp10/features.jsp -- Stimm gegen SPAM! - Vote against SPAM! http://www.politik-digital.de/spam/ === To unsubscribe, send

JSP on HP-UX

1999-06-10 Thread Anonymous
Hi, anybody out there using JSP (any version) on HP-UX ? If so, please tell me which JSP-product you are using. JRun perhaps ? Can't tell from their web site if "Unix" includes HP-UX. Best regards Javier Borrajo I+D Spain

i thought very few people know JSP!!!!!!!!!

1999-06-10 Thread Prashant Swaroop
Reply these 5 Ans. to know how many people are serious about JSP and standout in this rat race.--.. Answer in Y/N. 1. Will learning JSP help you increase in your salary? 2. Is JSP better than ASP and keep you in market for 5 years? 3. Is maintenance of JSP site is

Re: Abou web servers

1999-06-10 Thread Anonymous
Hello. I've seen the page(http://gnujsp.isquare.com.hk/). It's very good page to know about web servers and servlet engines that JSP supports. Could you tell me if other JSP implementations can support web servers like GNUJSP, please? Thank you for your help. Yuichiro Kubota Jesus wrote: The

Multiple sessions

1999-06-10 Thread Steve Cooke
Is it possible to create muliple sessions for the same user. If a user opens two browser windows, both windows share the same session scoped beans. This leads to pretty bothersome effects when, for instance, the bean preserves visual state or the user would like two instances of the same form,

Re: java

1999-06-10 Thread Arie Fishler
When upgrading to a higher JDK version, like from jdk1.1.7 to JDK 1.2, Sun might have changed some of the API included in the JDKs. The changes are usually renaming method, changing parameters of existing methods or even canceling the method completely. Each change method which does not exist

Package loading

1999-06-10 Thread Anonymous
I'm not very awared of using external classes in JSP. It might be a trivial question, but how could I load packaged classes in my pages ? The only way I found until now is to had my package classes directly in the server's jar archive (/lib/jrun.jar in my case). And then I'm able to import

Re: Package loading

1999-06-10 Thread Arie Fishler
In the server, JRun from my experience, there is a parameter setting for the classpath. This is in the JRunAdmin under the General tab and under the Java tab there. Just add the jat with the full path into the classpath and it will be able to load any class from there. You can change the

FW: How do you send them back to where they came from?

1999-06-10 Thread Beheshti, Reza
Thanks to all of you who responded, but I still can not get to the original page URL!!! I tried both HttpUtils.getRequestURL() and req.getRequestURI() from the servlet and BOTH of them just return the URL for the servlet NOT the page that the servlet was called from. Here is an example of what I

Re: FW: How do you send them back to where they came from?

1999-06-10 Thread Craig R. McClanahan
In HTTP terms, you are asking for the "referer" page -- the one that contained a link that pointed at the current servlet. To retrieve that, just say: String referer = req.getHeader("Referer"); and it will be there. This will return NULL, however, if someone had bookmarked the servlet URL

Cookies for security

1999-06-10 Thread Anonymous
Hi, I need help about the following problem: I used the cookies to manage a protected web site, then a cookie stores the status of a user, i.e. login and password. I used Apache Web Server and Apache Jserv as a Servlet engine. Under Netscape 4.6 it's ok. Under IE 5, it's ok only from my

PLEASE HELP !!! with apache / jserv

1999-06-10 Thread Thibaut Colar
Hi, sorry to bothering you for the third time, but i really need help I've installed apache 1.3.6 on win98 and jserv (so also jsdk2.0). most of this is working but when i go to the page http://127.0.0.1:80/status/jserv/ i see this page ( http://sequ.jetsoftware.com:3080/jsp/page1.html ) on this

Re: FW: How do you send them back to where they came from?

1999-06-10 Thread Hans Bergsten
"Beheshti, Reza" wrote: Thanks to all of you who responded, but I still can not get to the original page URL!!! I tried both HttpUtils.getRequestURL() and req.getRequestURI() from the servlet and BOTH of them just return the URL for the servlet NOT the page that the servlet was called from.

PageContext - Pooled?

1999-06-10 Thread Leong Mun Wai
Hi, I'm curious to know if PageContext objects are pooled? If so, this pool resides in JspFactory? The reason I'm asking this is because of its release() method, which "prepares it for potential reuse by a later invocation of initialize()" (from the javadoc). Thanks! Mun Wai

Re: How do you send them back to where they came from?

1999-06-10 Thread Ken Chu
Title: RE: How do you send them back to where they came from? You can do this in JavaScript. Add the following code to your JSP file after all your server-side processing is done: script language=javascript if (document.referrer) { location.replace(document.referrer); } /script -Ken

POST and browser behavior

1999-06-10 Thread Anonymous
I'm working on a JSP shopping cart implementation, and am having a problem getting a desired behavior. Here's what happens with my shopping cart: -- my cart -- (1) User is viewing the cart, (2) User changes the quantity of item(s) in the cart via a form (METHOD=post), and submits. (3) Quantity

Re: not html

1999-06-10 Thread Pinky Thakkar
Which application server are you using? -Original Message- From: Vincent Roderick [mailto:[EMAIL PROTECTED]] Sent: Monday, June 07, 1999 12:54 PM To: [EMAIL PROTECTED] Subject: Re: not html What version of the implementation are you running, what platform, and what JDK version do you

Car won't start after installing JSP...

1999-06-10 Thread Taylor Gautier
I installed JSP and now my car won't start. Any ideas? -tg === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL

runtime exception question

1999-06-10 Thread Robert J Walker
I have installed jsp1.0, started the server and run the servlet samples run fine, but the all of the jsp samples return a runtime exception as follows: java.lang.NoClassDefFoundError: sun/tools/javac/Main at com.sun.jsp.compiler.Main.compile(Main.java:194) at

Re: Car won't start after installing JSP...

1999-06-10 Thread John Z. Wang
I know why, now your car needs Jump Start Protocol everytime, good luck! On Thu, 10 Jun 1999, Taylor Gautier wrote: I installed JSP and now my car won't start. Any ideas? -tg === To unsubscribe, send email to

Re: POST and browser behavior

1999-06-10 Thread Taggart Gorman
As far as I can tell, this is a "design decision" on Microsoft's part. My guess is that they felt that POSTing a form is usually done for some sort of submission of data, for security reasons, you shouldn't be able cache the results of a POST. (For example, you're on a public terminal, and you

Re: Car won't start after installing JSP...

1999-06-10 Thread John Langley
You should check the air in your tires! Taylor Gautier wrote: I installed JSP and now my car won't start. Any ideas? -tg === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message

Problems Getting Started with JSP 1.0 RI (was: Re: JavaServer Pages 1.0 Public Release)

1999-06-10 Thread Connie Weiss
JSPers, We are very, very sorry for the difficulty in ease-of-use in this release of JSP. The team is closely monitoring the list and will be fixing the problems as quickly as possible. Please stay tuned and we'll have something to you shortly after JavaOne. Thanks for the support this group

Re: POST and browser behavior

1999-06-10 Thread Chris Fesler
Anyways, my advice still stands - use GET if you can. Unfortunately, GET is not appropriate all the time. In the case of a shopping cart application, using get would cause the form to be re-executed automatically, which defeats the purpose (see my original post). Somehow, amazon is managing to

Re: Car won't start after installing JSP...

1999-06-10 Thread Henric Larsson
Your car probably has a microsoft runtime engine, try switching to a Sun engine, like hot spot or something... - Original Message - From: Taylor Gautier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 10, 1999 8:02 PM Subject: Car won't start after installing JSP... I

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: FW: How do you send them back to where they came from?

1999-06-10 Thread Tim Moyle
Use req.getHeader("REFERER") where req is the HttpRequest. "Beheshti, Reza" wrote: Thanks to all of you who responded, but I still can not get to the original page URL!!! I tried both HttpUtils.getRequestURL() and req.getRequestURI() from the servlet and BOTH of them just return the URL

Re: POST and browser behavior

1999-06-10 Thread Lastname Firstname
What I can't figure out is why it isn't consistent. It appears to work fine on my machine and then the page expires on someone elses. This is the reason that I proginally thought it may have been a setting in the browser, but I have still had no luck upon experimentation with the settings in IE

Re: runtime exception question

1999-06-10 Thread Alan Gustin
Try Putting the tools.jar in your CLASSPATH akg

Re: POST and browser behavior

1999-06-10 Thread Chris Fesler
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

Re: POST and browser behavior

1999-06-10 Thread Christopher Lakey
Some ideas that might be useful. 1. Use POST but then do a redirect. You post to a page that updates the state (say add something to the basket) and then redirect to a page which display the new state (contents of the basket). This way the user can hit reload and it doesn't reapply the post.

Applets with Servlet or jsp

1999-06-10 Thread CN User
Can you call a servlet or jsp from within a applet? Or should one just connect back to the server using a Socket connection. Thanks Alexis Bose === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body

Re: Applets with Servlet or jsp

1999-06-10 Thread Adam
The only possible way that I see is the same way one would call a servlet/jsp from within an applett using the http (hyper text transfer protocol). There are tons of programs which to similiar things (such as Tik , a TCL script which querries different news sites to gather news headers). This

Re: Applets with Servlet or jsp

1999-06-10 Thread Plagge, Rick
A code fragment that might help you is below: (where applet parameter icodeURL is something like http://yourserver/servlet/servletname and you import java.net and java.io) boolean getInformixAC() { URL icodeURL = null; times=1; Notes.setText(""

Re: Car won't start after installing JSP...

1999-06-10 Thread Adam
I had the same problem.. I found though a quick fix.. I have put on all .jsp pages '//' as a start of a line... Not only the car works, but it compiles 50 times better. I found this solution vastly outperform any ASP/php2/pl/tcl/python solution. Also I found that if you rename all .jsp to .html

Re: POST and browser behavior

1999-06-10 Thread Foster Bob
The original "problem" was that the user set a quantity and did a POST. The user-visible result of the POST was evidently to redisplay the same page. Then the user changed a quantity and instead of hitting the submit button again, hit the back button. After going through the awkward but

QUESTION:Does the JSP:REQUEST directive work for JSP files or onl y servlets

1999-06-10 Thread Lawrence Turcotte
I am using the sun reference implementation of JSP 1.0 I have the following JSP Files: "JSPExample.jsp" and "ToDoListTable.jsp". The problem is that the jsp:request include="ToDoListTable.jsp"/ does not invoke a "nested" JSP file and as such be processed as a JSP servlet. It seems to be only

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 Ananth, Paul BGI SF
GET does not have a body ( all the data has to be send in the URL) POST has a body which contains the data in URL-encoded format. GET appends the form variables string to URL using (?) POST send the form string data as request body (check HTTP protocol spec) its easy to test web application if

Functions or SubRoutines in JSP?

1999-06-10 Thread Pel I. Kan
Is it possible to create functions or sunroutines in JSP(like an ASP 'sub')? If so, can somebody please point me in the right direction of how? TIIA === To unsubscribe, send email to [EMAIL PROTECTED] and include in the

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: POST and browser behavior

1999-06-10 Thread Chris Fesler
Bob Foster wrote: The original "problem" was that the user set a quantity and did a POST. The user-visible result of the POST was evidently to redisplay the same page. Then the user changed a quantity and instead of hitting the submit button again, hit the back button. Not exactly -- the

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: runtime exception question

1999-06-10 Thread Gillard dIon
You need tools.jar from jdk1.2\lib in your classpath.it's used to compile the servlet resulting from the jsp. -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au Play:http://www.trongus.com I have installed jsp1.0, started the server and run the servlet

JavaServer Web Development Kit 1.0-EA Available

1999-06-10 Thread James Todd
hi - not really sure how craig found out about this push before i did ... oh well, i'm just glad it's finally out there. sorry about the delay. this release should take care of the "running on jdk1.1.x/windows throws a 404" problem several folks have bumped into. feel free

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

1999-06-10 Thread Raghuraman Sridharan
This also we tried here with IBM Websphere all thw formats for include file. it is not working. we are not able to call another .jsp file from the initial one. I am too surprised which is the very basic thing in .html. could anyone help in this regard , how to call second.jsp page from

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: QUESTION:Does the JSP:REQUEST directive work for JSP files or onl yservlets

1999-06-10 Thread Raghuraman Sridharan
NO, it doesn't help with our WebSphere 2.0 Thanks ANy more help on this. Raghuraman -- From: Jenkins, Ed[SMTP:[EMAIL PROTECTED]] Reply To: Jenkins, Ed Sent: Friday, June 11, 1999 8:42 AM To: [EMAIL PROTECTED] Subject: Re: QUESTION:Does the JSP:REQUEST