"Craig R. McClanahan" wrote:
Christopher Cobb wrote:
How do you specify an entity that you want to be global across applications?
The standard Java approach of using a class with public static methods is the usual
technique for accomplishing this. This is ofte
Suresh Kumar Nittala wrote:
Hi,
Kindly help me out.
1. How would you differntiate?
A) Java Bean
B) Enterprise Java Bean
C) Servelets
2. Can we call Servelts directly from JSP?
Regards,
Suresh Kumar
EJB's are more like Servlets than JavaBeans. JavaBeans are simply Java classes
"Craig R. McClanahan" wrote:
Daniel Tillin wrote:
Here's one for you to chew the fat on!!
If you define a bean with application scope, will that reference be
available to all other JSPs you serve?
The reference will be available to all JSP pages and servlets within the same web
I am playing around with Resin, but when I have a syntax error in my JSP, I don't
get any page-based feedback. I just get a blank page. I think I probably have
something misconfigured. How do I configure Resin so that I get syntax error
messages in the browser?
cc
My development group uses JRun. Another group we work with is acquiring
ColdFusion, also from Allaire.
Does anyone have any comments pro or con with repect to using JRun and
ColdFusion on the same web site? I have already surmised that you
cannot embed JSP on a ColdFusion web page and vice
Karl Roberts wrote:
Hi stan,
Well yes it does, but when I tried to download it last week, I was refused
because
of American Export law because it contains encription. I am in the UK.
Is there a (leagal) way to download the J2EE outside of USA?
Karl
The new beta is supposed to be
"Tran, Fon Francis (CAP, GECF, Japan)" wrote:
Hi guys,
First I apologize if I am posting something that is not
Servlet/JSP related but I am not sure where else I can
get helps from. We are trying to set up our environment
with Oracle 8i on Linux RedHat 6.0 but keep on having the
Has anyone come up with a good solution to the SSL vs the Non-SSL problem.
Back when we were using pure servlets, we could access a servlet in either one
of two ways:
* http://host/servlet/MyServlet
* https://host/servlet/MyServlet
In other words, the same servlet could be used either
You might also try the IBM JDK 118, from alphaworks.ibm.com. It's very fast.
Borland also now has a JIT for the blackdown JVM.
cc
"Kevin A. Burton" wrote:
Can you be more specific? What is "SUN JSP"? Do you mean the jswdk?
If so just get the blackdown JDK for Linux from
Steve Gower wrote:
Please read my sad story and convince me that JSP is a real development
environment and not merely a worthless hack that looks good in press
releases and white papers.
Here's a sample from my JSP page (Note, it uses a database bean to display
queried info):
I've never used JSWDK, but with other web servers, a permissions problem can
develop.
The web server usually reads the directories as user 'nobody', however, they
(possibly) get written as your user id. Make sure the whole work directory tree has
permission 777 (at least to get started).
cc
June Low wrote:
hi,I'm not sure that whether JSP support multimedia product
presentation? Like playing sound, avi files etc.If yes, how to do
it?
It can do anything you can do in HTML.
cc
===
To unsubscribe:
Zhubin Salehi wrote:
Do you know a free UML modeling tool for Java?
http://www.oi.com/tj-release.htm
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
This is true, and I eager await the delivery of Jakarta. But that's not available
yet. Is there an open source solution that supports the full Servlet 2.1 spec and
the JSP 1.0 spec?
cc
Carsten Heyl wrote:
But the lesson I learned with jrun:
If you run into troubles
"Joseph B. Ottinger" wrote:
I'm trying to get JSP running on Apache 1.3.9. ...
We use Apache with JRun. Works like a charm.
cc
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP
My Java Web Server 2.0 beta 2 expires on August 30th. When is the new version
supposed to become available?
cc
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
I am using JWS 2.0 beta 2. It expires at the end of August.
When is JWS 2.0 final version shipping?
I'd hate to come to a screetching halt on August 31st.
cc
===
To unsubscribe: mailto [EMAIL PROTECTED] with body:
Also, when doing the update, set only the columns which the user has actually
changed. For this, you will have to save a copy of the unmodified values.
When constructing your update statement, include only those columns which have
actually changed. That way, you won't gratuitously change
It is more efficient to have one database connection that you reuse
between pages.
I use a "stand-alone" database access servlet. This servlet has two
purposes:
1) When the servlet starts up, make a database connection.
2) Each time the servlet receives a GET or POST, it attaches the
Chee Keong wrote:
Say I have a HTML front-end based Web application that allows
the user to select a database record on the first page and update
the record.
However, as there are many columns, the users needs to fill in 3 HTML
screens (URLs) before the final page contains the
submit
Mark Cote wrote:
I have a Connection Pool being shared with all my JSP pages through the
...useBean... scope="application"..
The ConnectionPool works fine, it has ran for weeks inside a servlet,
without a hitch.
However, every now and then (a dozen or so times a day), a request for a db
Jason Hunter wrote:
Ron Lussier wrote:
Can anyone recommend a really good book on developing JSPs? (I have
excellent Java skills, but I want a quick-start for JSPs and JSP
design theory.)
Based on my experience writing the servlets book, I wouldn't expect a
"really good book on
Bill O'Keefe wrote:
Is it possible to suppress checking if a JSP file
has been modified on every request? It seems to me
that on a production site, where JSPs are not changing,
that this adds some unneccessary overhead to each request.
-- Bill
If you're using JRun, delete the .jsp
Isa Hashim wrote:
Hi Paul,
jsp:request forward .../ is not implemented in JWS 2.0 beta2
It will be implemented for the final release version of JWS 2.0.
The correct syntax for forwarding (according to the JSP spec)
is now:
jsp:forward .../
I just tried your simple test case
Here's the patch file for getting JWS 2.0 beta 2 running on Linux.
Here's how to do it:
1) Put the patch file in the JWS2.0 directory.
2) patch -p1 jws20b2-linux.patch
3) cd JWS2.0/native
4) make -f Makfile.sol install (yes, the makefile still has a .sol but its now for
linux)
5) cd
Tommy Berglund wrote:
Hello everyone,
I'm using jsp1.0 and I'm having some trouble. It seems that everyone
that goes to my jsp-pages share the same bean, which I do not want. I
want everyone to have their own bean, sort of a user-bean which stores
information about a specific user. This is
Ray Cromwell wrote:
... if Sun
is going to abandon JWS, perhaps we should press them to release the source?
I had exactly the same idea. Sun, please give the source to JWS to the open source
community.
cc
begin:vcard
n:Cobb;Christopher
tel;cell:703-909-7550
tel;fax:703-648-7475
Chris Hsu wrote:
Hi;
I am using JRun Pro to develop a JSP/servlet project. I found that the
servlet engine randomly destroys my servlet instance.
Just before I read your email, I was looking into exactly the same behavior. I am
using JRun 2.3 build 141 with IIS3 on NT4/SP3.
I am using NT
-
From: Christopher Cobb [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, May 21, 1999 12:30 PM
Subject: Re: JRun destroy servlets while it should still be running
Chris Hsu wrote:
Hi;
I am using JRun Pro to develop a JSP/servlet project. I found
version?
At 4:52 PM -0400 5/18/99, Christopher Cobb wrote:
JWS 2.0 for Solaris with JSP should be out in June.
cc
Joe Sternlicht wrote:
Which JSP configuration is worthy of heavy volume production on
Solaris? We currently use JWS with compiled pages (jhtml) and would
like to move to JSP
JWS 2.0 for Solaris with JSP should be out in June.
cc
Joe Sternlicht wrote:
Which JSP configuration is worthy of heavy volume production on
Solaris? We currently use JWS with compiled pages (jhtml) and would
like to move to JSP right now.
Which servers/servlets work best for JSP?
Gabriel Wong wrote:
"Craig R. McClanahan" wrote:
(I'm doing some major snipping to address several of Drew's questions)
Drew Cox wrote:
[Drew Cox] I'm definitely operating out of my depth here, but
let me see if I understand what your saying. If I map
"Kirkdorffer, Daniel" wrote:
Here's another wish list item:
I'd like to be able to manage the invalidation timeout at the time of
creation of my session objects. I.e. do something like this:
HttpSession browserSession = req.getSession(true, 90);
to create a session object that will
Nic Wise wrote:
On Wed, 12 May 1999, Christopher Cobb wrote:
You *can* do this in JavaScript. I'm not an expert at this, but you can access
java classes from JavaScript. Try this in your java script:
System.err.println("This is a test.");
Then look in your Java Console.
John Langley wrote:
Anyone know if there's a way to do this same thing under
the JspRef092 implementation?
That is, HttpSession.setMaxInactiveInterval(300);
This is a Servlet 2.1 thing. If your JSP implementation supports Servlet 2.1 API
(e.g., JRun), you have it!
cc
begin:vcard
Gabriel Wong wrote:
"Mark A. Kolb" wrote:
FYI, the Birds-of-a-Feather list for JavaOne is out now, at
http://industry.java.sun.com/javaone/99/bofs/. There are currently two
focusing on JSPs. The speakers for the "JavaServer Pages Software BOF" are
from Netscape
Does Netscape have a
"Mark A. Kolb" wrote:
As a user of processRequest(), I can see a couple of issues.
I also find that I have to do a lot of state management in my processRequest function
(since I tend to use bean is various contexts). I think it may actually be easier to
have separate request-processing
Drew Cox wrote:
...
I firmly believe your "model" classes should not be tied to a particular
presentation format (JSP, GUI, ??). But remember, this is just a class,
not a bean. This "model" class can be composited into, or inherited
from, in a JSP-aware bean that handles creating a
Brian Burridge wrote:
I just wanted to get some of your opinions on this. We are having an
internal discussion about whether or not to use stored procedures for
our SQL, or to put the SQL in the bean or JSP page.
If you live and breath performance at any cost, use stored procedures.
If you
Jen Hsiang Huang wrote:
Hello
Homesite 4.0.1 has out, and include the JSP parser!!
I have Homesite 4.0.1 and every time I ask it to open a .jsp file, it says it isn't a
recognized text document.
But when I open it anyway, everything is fine, and uses the JSP highlighting.
How do I tell
Tuyen Tran wrote:
The JSP 1.0 spec is very explicit in stating that the JSP user has to do explicit
synchronization when manipulating session objects. This is because two
threads holding the same user session id maybe executing on the page at the
same time. (This could happen if the user
Bruce Bantos wrote:
I am having trouble understanding what a NESTED, as opposed to an INDEXED
property is in Java Beans.
If a property is indexed, it can still have several different types. For example, and
indexed collection of:
* ints
* chars
* Integers
* Characters
*
%
{ // open brace needed to shadow the existing out stream
StringWriter out = new SringWriter();
%
After looking at the API for StringWriter, I realized that you'll need a little more
than this to get println() and friends:
%
{ // open brace needed to shadow the existing out stream
I had to laugh when I saw the jsp:plugin tag.
I can't wait for the jsp:kitchen.sink tag :).
cc
P.S. Too bad the plugin doesn't support SSL. Otherwise we would be using it for our
EC application.
begin:vcard
n:Cobb;Christopher
tel;cell:703-909-7550
tel;fax:703-648-7475
Sarah Dwyer wrote:
Hi all,
I have been reading this list so far and I've been really interested by
everything I've read so far. I was wondering if I could use servlet
runner to run jsp pages? I want to write soemthing with JSP but we don't
currently use jsp at work and I want to start using
Scott Ferguson wrote:
Congrats to the JSP team!
Ditto. Wow! Industrial strength JSP!
For 'isthreadsafe=false', MUST an implementation create only a single instances
of the jsp page? Or MAY it create multiple instances (like the servlet single
threaded model)? The spec seems to say the
Rod McChesney wrote:
To retain some vestige of HTML or XML syntax, I believe this would
have to look like
IF
ELSE
/ELSE
/IF
and so on. Otherwise the tags don't nest meaningfully. This kind of
thing is easy to hack into a parser but SGML/HTML/XML tools won't
necessarily understand
Kenneth Borinsky wrote:
Hello,
we are trying to figure out how to deal with JSP implementation of
!--#include ... --. We are reviewing JRUN, Sun Servlet Runner, and
several other engines. As far as we understand, JRun includes the
generated contents of include file if it was another .jsp
Fabrice Sarciaux wrote:
Vector threadList=(Vector)Application.getAttribute("ThreadList");
for(int x=0;xthreadList;x++)
{
MyThread t=(MyThread)threadList.elementAt(x);
}
i get a ClassCastException when trying to cast the object of the vector into
a MyThread object
My guess
Craig Berry wrote:
Hi, all,
I'm attempting to implement a restricted-access
scheme using JRun. The idea is for the entire
subtree under a top-level web dir -- call it "/gated/" --
to require login to access. If the user were not
logged in (as indicated in a session variable), it
would
Michel Verwijmeren wrote:
Part 1.1Type: Plain Text (text/plain)
Encoding: quoted-printable
This is where 'Model 2' comes into play. In your servlet you instantiate a bean.
Then populate the bean with your desired data. Give the bean a name. This name has
to be a
Hong Zhang wrote:
. Also, I am currently using JRun. I found that JRun does not implement
0.92 correctly that the implicit variable "out" is of type
ServletOutputStream that does not implement java.io.PrintWriter, as
specified in the 0.92 spec. Do you know which servlet/jsp runner
available
D J wrote:
I have seen a lot of posts in this mailing list about apparent
inconsistencies between the JRun 2.3's JSP v0.92 implementation and the 0.92
spec. Usually someone replies that the problem goes away if they use Sun's
reference implementation of JSP 0.92.
How do you do this?
You
Actually, I tried opening the .html file and just sending the bytes back to the
browser. This didn't work either because the 'environment' (current document
directory, etc.) was not correct. It happens that the .html file I'm trying to open
uses frames. It could not find the frame pages
Hans Bergsten wrote:
...as
long as a servlet can open a file directly using a File object and a path
returned from SerlvetContext.getRealPath(), including a file servlet in
an add-on engine doesn't compromise security more than it already is.
Actually, I tried opening the .html
I am starting development on a web site that may have a dozen or so web pages. Since
I want these to be login-protected (and I have pretty much concluded that I will have
to use an SSI-based approach which requires that all pages be jsp's) I'm going to have
a whole bunch of servlets hanging
I ran into the same problem. I think the problem is that the class files for package
counter end up in a different directory than the jsp servlets for package counter.
There seems to be class resolution problems when there are two class directories with
the same name.
If you rename the
I think JRun 2.3 uses JDK 1.2 which comes bundled in. This may or may not be related
to your problem.
cc
"Somasundaram, Krish" wrote:
Hi All,
I downloaded and installed JRun 2.3 for Windows (free version). But the
installation did not complete. It created JRun folder and copied all the
I am hitting a wall trying to implement my desired login architecture.
What I want is this. A user wants to get to ProtectedPage.html, but I want to
interpose a login-checking servlet, which forces the user to login if necessary, then
sends them to the desired page after successfully login
JWS 2.0 will support JSP. It's not out yet. I think they said 'mid-year'.
cc
Frank Starsinic wrote:
what version of the sun's java webserver is needed to run JSP?
thanks,
frank
begin:vcard
n:Cobb;Christopher
tel;cell:703-909-7550
tel;fax:703-648-7475
tel;work:703-648-6725
The 'simple' way to fix it is to have a vector of Things. Each Thing contains a
number and a string. Then LOOP through the Things and pick off the number and the
string in parallel.
If you're clever, you might even be able to preserve your existing representation by
having getNumber(int)
There is an application related to mine that uses Oracle Application Server and
we may have to integrate with them in the near future. I am also interested in
knowing what support there is in Oracle Application Server for servlets in
general and JSP in particular.
cc
Vincent Roderick wrote:
In JSDK 2.1, a group of servlets can share the same context. Which is why they are
putting application level stuff at the context level.
cc
"Kirkdorffer, Daniel" wrote:
Gabriel,
Are you suggesting that application level = servlet level? An application
can be made up of multiple
My guess is that you may have to subclass your Date object and add a toString() method
which converts it into your desired format.
cc
Vijay Eranti wrote:
The display tag of JSP seems doesnt have any means of including
formatting information for data.
for instance
DISPLAY
The main difference between sendRedirect() and forward() that I can tell is that
forward() will preserve your lifespan=page -level information whereas sendRedirect()
will loose it (since a new page is being shown). Forward preserves this since you use
the same request object.
If you are
The latest Java Servlet API Specification that I have from the Sun web site says
version 2.1a. However, JRun (and I think others) indicate 2.1.1.
Who is right?
cc
begin:vcard
n:Cobb;Christopher
tel;cell:703-909-7550
tel;fax:703-648-7475
tel;work:703-648-6725
x-mozilla-html:TRUE
To give myself warm and fuzzies, I would like to get the 0.92 demos running under
JRun. I have the preliminaries done (compiling), and the first demo (Date/Time)
works. But the second demo ("Application bean with counter") gives me some errors
(see below).
It looks like part of my problem
To give myself warm and fuzzies, I would like to get the 0.92 demos running under
JRun. I have the preliminaries done (compiling), and the first demo (Date/Time)
works. But the second demo ("Application bean with counter") gives me some errors
(see below).
It looks like part of my problem
Allamraju Kumarswamy wrote:
Hi guys
I'm new to Java Server Pages.
I have a couple of questions to you
...
I was under impression that java web server comes with JspServlet. But i
couldn't find the class file of JspServlet.
I just spent a day trying to get JSP 0.92 working with JWS. I
69 matches
Mail list logo