Hi Kevin, in answer to your threading questions ...
Ok..that makes sense. The second one throws me a bit..what would you only
want to create a single instance of an object that is used by all requests
for? I am sure there are reasons, just that none are hitting me right now.
I would suspect it
If you put the following two lines in your JSP between the HEAD tags, the
pages should not be cached:
META HTTP-EQUIV="Pragma" CONTENT="no-cache"
META HTTP-EQUIV="Cache-Control" CONTENT="no-store"
-Original Message-
From: Verma Varun [mailto:[EMAIL PROTECTED]]
Sent: 28 March 2000 07:00
Just a stupid question, but is browser set to accept cookies?
-Original Message-
From: yjchen [mailto:[EMAIL PROTECTED]]
Sent: 28 March 2000 04:09
To: [EMAIL PROTECTED]
Subject: How to use session ?
Sorry to ask such stupid question.
I try to trace a user by this code:
body
Your
Does anyone know of any JSP "coding" standards. Most Java developers stick
to the Java coding standards as written by Sun (or a variation of it), and I
was wondering if there were any such standards for JSP development.
Many Thanks.
Raj.
feeling the same .
thanx ..
keep it on .
piyu
Martin Leboeuf wrote:
Hi all !
Thanks so much for all of your emails. I know its taught me alot and
enlightened me on a number of topics I was unclear about. I hope its doing
the same for others
Hello,
I would be very glad to receive an answer to the following question :
How can I remove all the coding in a JSP-page to a JSP page that I can
include ? For example, say that I have the following JSP-page:
html
head
jsp:include page="GenericFunctions.jsp" flush="true"/
/head
body
My email has changed (inside corporate) so I can't quit the list using
signoff.
so, how do I QUIT???
I'm sick of these "Where to download JSP?" questions..
-Jarno
===
To unsubscribe: mailto [EMAIL PROTECTED] with body:
Another alternative is:
%
// ensure this page, is never cached either
// in a client browser cache, or a proxy server cache
response.setHeader("Cache-Control", "no-store");
}
%
-Original Message-
From: A mailing list about Java Server Pages specification and
Hello,
I know why I always meet strang problems.
I used JDK1.1.8 + Apache 1.3.9 + JServ-1.1 + Tomcat 3.0 on FreeBSD 3.4-release
before,
and I met two important problem: Form can't use POST method, and cookies is
always new.
Now I try JDK1.1.8 + JSWDK WebServer Version 1.0.1 on FreeBSD
As far as I know, you cannot define Java functions in JSP. It would be
better to put the functions in a class anyway and either create an instance
of the class in code or use jsp:useBean.
e.g. create a class called MyClass.class with your functions in
In your JSP page import the relevant
i would like know how to upload the file to the my server. ia m stuck with
this wfor quite a while noww I am usin gtomcat 3.0.
thanks a zillion
Murtaza
-Original Message-
From: Undetermined origin c/o LISTSERV administrator
[EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
You can define methods that you can use inside JSPs. You to use
declearations and not scriptlets to it:
%!
public String foo() {
return "Hello World";
}
%
However... I do not know whether you can create a library of these methods
in a JSP and include them in
Hi all,
This is the include page :
%!
static String showInclude()
{
String vStringToShow = "This is a string to proove the inclusion !";
return vStringToShow;
};
%
And this is the page where it is included :
html
head
jsp:include page="../includes/CheckForConsultants.jsp"
Use the Multipart request, contained in the library by Jason Hunter. If you
look at the faq at http://www.esperanto.org.nz/jsp/jspfaq.html you find out
how to use it.
Raj.
-Original Message-
From: Murtaza Ali [mailto:[EMAIL PROTECTED]]
Sent: 26 March 2000 16:17
To: [EMAIL PROTECTED]
I didn't know that, thanks. If your example JSP is like the one you are
having problems with then it is probably that
%=foo1();
should be
%=foo1()%
Andy
-Original Message-
From: Rajesh Shah [mailto:[EMAIL PROTECTED]]
Sent: 28 March 2000 12:07
To: Maggs, Andy; [EMAIL PROTECTED]
There was a bug in Tomcat 3.0 when the POST request was followed by a jsp:forward
request. In such cases, the getParameter method returned null value. But I saw a
message in the Tomcat list saying that this bug was fixed in the 3.1 server.
Shrisha Radhakrishna a écrit :
I may be wrong; But, I
You cannot instantiate a JSP like that, or use it like that. If you have
included the file and checked the resulting servlet to see whether the
showInclude() method exists, then you should be able to call it, but calling
showInclude. However, if this is what you want to do, then I see no
Hi!
I've been reviewing the sun J2EE example for Model 2. Does anyone know
where I can get more information about using JSP templates for presentation
objects?Is anyone using templates now?
What about custom tag libraries? Anyone using? Where can I get more
information/examples? Any
i dont think it is really all that different. just think of the difference
between comparing by ref and by val, and using .equals() makes perfect
sense. when you use the == operator you are asking whether the objects
refer to the same place in memory, whereas with .equals() you are asking
Hi,
I am trying to write a application using JSP's. Currently i am
using Servlets and wrote custom methods Templates to print out the
resultant HTML data. I want to convert this code to use JSP.
Is there any way i can give the context to a JSP page to print the page,
and pass the Data
I would say, yes, you are wrong in this case.
You would use a JavaBean from the getgo. Lets do a simple example. A name
field..just one field. You would have a JavaBean like so:
public class NameBean
{
private Stringname = "";
public String getName()
{
return name;
}
public
Hi,
I see everyone mentions using Hashtable, is there any reason to prefer it to
HashSet?
At least some of the approaches for using it, and I think Craig's is one of
them, are presenting us with fairly static object, initialized during
Controller servlet initialization.
Thus, syncronization
You should take a look at jspFileUpload -- recently listed on the Java
Servlets Taverne page:
http://www.interpasnet.com/JSS/
Alternatively, as suggested elsewhere, Jason Hunter's File Upload
Servlet will do this.
Murtaza Ali wrote:
i would like know how to upload the file to the my
While I understand the benefits of using request instead of session, I
cannot figure out the syntax on JSP to get the request, i.e. if Action
class stores response class in request and not in session. Is it just
the same as for session, i.e. instead of calling session.getAttribute
we
The core of a web server is just an HTTP daemon. The enhancements to the
core are what everyone likes about various servers, whether it's integration
with LDAP (NES) or MAC (IIS), SSL encryption (IIS, NES, Apache-SSL/mod-ssl),
ACL-based (NES, Apache, IIS) or NTLM-based (IIS only) authentication,
Hi all,
We are planning to provide free email service like hotmail..
We are going for J2EE implementation,with weblogic and Netscape messaging
server.
We are going to provide online registration facility and the email box
should be automatically created. This includes pop3 facility too..
any idea
[EMAIL PROTECTED]
__
Get Your Private, Free Email at http://www.hotmail.com
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant
"Decancq, Michiel" wrote:
Hi all,
This is the include page :
%!
static String showInclude()
{
String vStringToShow = "This is a string to proove the inclusion !";
return vStringToShow;
};
%
And this is the page where it is included :
html
head
jsp:include
I needed a tree control for my app also, and thought that I was stuck with
an applet. I ended up writing two classes following the same lines as
swing's JTree control. I have a TreeNode which holds any information each
individual node must contain, and I have a Tree class which holds all the
I have a question about implementation that I'd love some input on.
The Problem:
I have a web application that has to return variable length resultsets,
sometimes quite large (a few 100 rows max). There are several tables that
might return large resultsets and each gets viewed in a different
Hi all,
I need your help!
I have implement the next in my Java program:
To be notified when log file changed and read added part for further
processing.
Thank you for any advice.
Eugene.
===
To unsubscribe: mailto [EMAIL
I, too, am closely following the Model 2 discussions. I greatly appreciate
everybody's input. Thank you!
At 3/28/2000 08:59 AM +0200, Daniel Lopez wrote:
snip, snip
In my case, I added some more
complexity in here because, as I want my controller servlet to handle
various applications, I
I'm working with JSWDK 1.0.1 and have to simple JSP pages for testing cookie
reading and writing (copied below). I turn on warnings about cookies in IE
and can inspect the contents of the cookie coming down to my browser.
However, when I look for cookies coming back to the server there are none.
Also, you might want to take a look at networkcomputing app servers matrix:
http://www.networkcomputing.com/ibg/Guide?guide_id=2464
http://www.networkcomputing.com/ibg/Guide?guide_id=2464
It deals only with app servers, no pure JSP engines there.
Alexander
-Original Message-
Ramesh
You can use the getAppletContext() method to associate one applet with
another.
Chris O'Daniel
-Original Message-
From: Ramesh Bikkani +AFs-mailto:Ramesh.Bikkani+AEA-cybertech.co.in+AF0-
Sent: Monday, March 27, 2000 7:34 AM
To: JSP-INTEREST+AEA-JAVA.SUN.COM
Subject: Applet to
Dear all:
I remember that I search the archive of this mailing list on the web
once
but I forget the URL.
Can any one tell me the URL?
thanks
Dennis
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
Dear all:
I am new in JSP and I am using Tomcat.
Q:
Is there any thing like the "session variable" or "application variable"
as the ones in ASP+IIS?
whereever in Bean or Tomcat or JRun?
thanks
Dennis
===
To
Hi all,
I'm in the process of creating an application using JSP. My application
has a menu on the header and a subset of options for each one of the
menu options. For the subset of options I have on mind to use applets
because
I want to display a nice looking tree. Is it recommendable to use
Yep. HttpSession. On a JSP page you use session.putValue("NAME", object) and
session.getValue("NAME").
There are other ways too. If its a REQUEST only, then use
request.setAttribute() and request.getAttribute(). Only use this if you are
using a scope of request though..otherwise if you store
hi, i have a cache problem, i brought some parameters from a page1 with
request.getparameter("parname") to page2, this has a form in page2 within
the form i save to the DB the data, but and evetything is fine but the
browser's back's button show the data that i saved before and it generates
or
Is this is a typo? U R saying (!!!)
if ((cookies == null) || (cookies.length == 0))
{
%
display cookies
%}%
It should be...
if ((cookies == null) || (cookies.length == 0))
{
%
Display "Cookies not found..."
%}
else
{
Display all cookies...
}
%
- Original Message -
From: "Beck,
Hi everyone,
I've been asked to web-enable parts of an application, and I've been
researching the use of jsp and
servlets. What I've come up with is (please remember I'm a newbie, and if
any of this doesn't make
sense or is plain wrong, let me know) using jsp to create dynamic xml
within
Hi,
Would another option be to check the current context (instead of having
multiple suffixes)? (This way everything still routes thru your single
controllerServlet.)
Not quite sure what you mean by this. I have to admit there are still things
I dont quite understand in the whole servlet model.
Make sure you put quotes around your width attribute
table width="100%" instead of
table width=100%
You might be confusing the jsp parser with that
last '%'.
Jim
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On
I tried that and it did not affect it at all.
Could it be my environment, I'm development and testing using Forte for
Java which has a built in Server ?
George
At 12:52 PM 3/28/2000, you wrote:
Make sure you put quotes around your width attribute
table width="100%" instead of
table width=100%
How can I maintain session data across multiple web servers, because if I go
to my web site (using jsp's and sessions) and get allocated one of the
available IP's, if the server is busy, I am then allocated another IP, hence
losing the session data that already exists at this stage (I can arrive
Wow, I feel really stupid now! That's exactly it. Like finding that extra
; Thank you VERY much
-Original Message-
From: Shrisha Radhakrishna [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 28, 2000 4:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Cookies
Is this is a typo? U R saying
1. Yes, as long as the resultant output is in the format of a valid XML
document. We are doing this in out project for xml files that are basically
static but can have some dynamic content based on parameters passed to the
JSP page.
2. Cant help you there sorry.
-Original Message-
From:
Hi Dennis,
The URL is http://archives.java.sun.com/archives/jsp-interest.html
Nora
--
From: [EMAIL PROTECTED]
[EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
Sent: Sunday, March 26, 2000 5:50:05 PM
To: [EMAIL PROTECTED]
Subject: where to search the
Hi,
I'm having problems with a JSP page where it ignores some of the html or
even the jsp that i have in my code
%@ include file="_Header.jsp" %
TABLE width=100%
TR
THID/TH
THSubmited by/TH
THDate/TH
THStatus/TH
/TR
TR
TD1/TD
TDGeorge Dawoud/TD
TD3/27/200/TD
"Shun, Vadim" wrote:
Hi,
I see everyone mentions using Hashtable, is there any reason to prefer it to
HashSet?
JDK 1.1 compatibility. On Linux, this was a big issue until very recently. Yes,
you can download 1.1-compatible collections classes, but there's lots of
interesting subtleties to
Get free email and a permanent address at http://www.netaddress.com/?N=1
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
The servlet container from Jrun is out-of-proc or in-proc? How do we know
that?
-Original Message-
From: Scott Stirling [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 26, 2000 5:07 PM
To: [EMAIL PROTECTED]
At 3/28/2000 01:04 PM -0800, Kevin Duffey wrote:
Would another option be to check the current context (instead of having
multiple suffixes)? (This way everything still routes thru your single
controllerServlet.)
Not quite sure what you mean by this. I have to admit there are still things
I
I haven't dived into the Tomcat solution as much as I'd like to, but one
of my concerns about global JSP usage has always been the issue of web
server restarts when making updates, or the loss of session info when
updating servlets. Using WebSphere 2.03, this has always been a problem.
Go to http://www.javasoft.com/javaone/
You can register by phone at this time. Online later I presume.
Unfortunately they've jacked the price up considerably for Java University
sessions. Last year it cost $300 per day extra for those. This year they
want $700 for one extra day and $400 for
I haven't heard of this conference, but it sounds interesting.
Do you have a url for registration?
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be
I'll be there (at the BOF) representing GNUJSP if anyone has questions.
Wes
On Sun, 26 Mar 2000, Eduardo Pelegri--Llopart wrote:
This next week is the O'Reilly's Conference on Java. The Java Platform
Group will be hosting a BOF on Wednesday March 29.
Location:
USA/California/Santa
*Note: the information provided below can be explored in its
entirety at
http://www.dropweight.com using:
Username: dropweight
Password: today
NutriSystem Direct and Nutri/System are registered trademarks.
Let's face it, in today's fast paced and hectic world, we just don't
have
We are now developing a system using NT/Webshere 2.0/JSP
it is almost finished but we meet the performance trouble.
When I send some request to the server, the answer is very slow.
I checked the process of the server and it shows that a process
of Java keeps running used almost all the CPU time
Hi,
I would say use option (a) all the time. By using sendRedirect you make a
roundtrip to the browser and back to the server, which is more than 2x
slower. On a performance needed site, you can get a nice boost by just
forwarding (option a) to the resource on the server while your still there.
Look up the following FAQ which explains how to do this:
http://www.esperanto.org.nz/jsp/jspfaq.html#q11
-Original Message-
From: Sudhir [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 28, 2000 11:48 PM
To: [EMAIL PROTECTED]
Subject: Servlet and JSP
Hi,
I am trying to write a
Hi All,
I am in desperate need for this information. I have been trying to dig this
out but...
I have an EJB which is deployed on the Oracle 8i. Now I wish to use this EJB
in my JSP page. Can somebody please help me with this problem.
Thanks
Nidhi
Hi all
Well I am a new born in the JSP environment and I want to learn it. Any body
can tell me from where I can get the online tuts and references on JSP.
Bye
Salil
__
Get Your Private, Free Email at http://www.hotmail.com
JRun 2.3.3 and 3.0 run out of process and comminicate with web servers via
native connectors that run in-process with the web server. Both JRuns offer
a pure Java web server for development use. However, the JRun web server in
JRun 3.0 is considerably faster and more robust than the one in
This next week is the O'Reilly's Conference on Java. The Java Platform
Group will be hosting a BOF on Wednesday March 29.
Location:
USA/California/Santa Clara/Westin Hotel
Date:
8:00pm, US Pacific time
Topic:
"Architecting the Web Layer: JSP Servlets Together"
Panel includes:
Danny
Hi Mike,
Mike LaBudde wrote:
I, too, am closely following the Model 2 discussions. I greatly appreciate
everybody's input. Thank you!
At 3/28/2000 08:59 AM +0200, Daniel Lopez wrote:
snip, snip
In my case, I added some more
complexity in here because, as I want my controller servlet
I don't understand.
Lets say I have an applet called "Calendar" that has a method called
getDate().
How do I place that into a variable in the other jsp page?
regards,
Cheong Takhoe
-Original Message-
From: meera nayak [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, March 29, 2000 2:25 PM
68 matches
Mail list logo