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
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
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
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,
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
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
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
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 from.
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
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
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
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
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
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
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
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
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
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
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...
I
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
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
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 say
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.
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
50 matches
Mail list logo