Hy,
Are you using a JDBC-ODBC Bridge? Because in this case the JDBC-ODBC Bridge that is
included in the Java 2 Platform (jdk1.2.x) initial release does not support the new
features in the JDBC 2.0 API (methods as previous(), first(), etc..).
I had the some problem and currently the only way is to
Hi all,
Hope someone will be able to help me.
I have a default html page with a login. When submitted, the following
servlet doPost is in charge of
1) generating the Bean which will create the needed results for JSP
2) forward to the appropriate JSP Page.
I am running on NT, Java 2 and JSWDK
Hello ,
I am developing JSP system that works with some persistent data on the
server. I don't wont to fix the persistence mechanism - persistence
engine should be easily replaced with another one (DBManager,
FileManager, XMLManager) - and my problem is that I don't know how to
implement the
Hi,
I don't know if it can help, but have a look at the code below. It provides
you a way to have a single PersistenceManager on the server and to track the
number of clients
Bertrand
public class PersistenceManager
{
static private PersistenceManager instance;
static private int
-Original Message-
From: A mailing list about Java Server Pages specification
and reference
I am developing JSP system that works with some persistent data on the
server. I don't wont to fix the persistence mechanism - persistence
engine should be easily replaced with another one
signoff [EMAIL PROTECTED]
You can do content encoding in jsp, I did it. Just make sure that the page
does not access the implicit variable out at all (e.g do not have blanks
outside scripts).
But I think that jsp is not the right tool to do that. The JSP-Container
should do that for you.
The code is roughly:
%@page
JDeveloper 3 for WINNT is now available for download
at:http://technet.oracle.com/software/index.htm
-Original Message-
From: Gerry Palmer [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 04, 1999 12:31 PM
To: [EMAIL PROTECTED]
Subject: FW: JSP develoment tool
Yes, Oracle JDeveloper
Hi,
Please excuse me for a servlet Question, but I couldn't go anywhere for
help.
I am using frameset in my HTML to generate a HTML framed page. On click
of a submit button of one frame a servlet needs to send results to the
other frame. Servlet open's a new window as it looses the frame context.
Hi,
maybe somebody has had the same problem. If I use any german umlaut in my
JSP, the JRun complains that it got
javax.servlet.ServletException: Invalid UTF-8 code. (bytes: 0xfffc 0xa).
By adding the page declaration %@ page contentType="text/html;
charset=ISO-8859-1" % which I think
-Original Message-
From: A mailing list about Java Server Pages specification
and reference
Please excuse me for a servlet Question, but I couldn't go
anywhere for
help.
I am using frameset in my HTML to generate a HTML framed
page. On click
of a submit button of one frame a
One fantastic feature of bean is it allows Visual IDE to provide visual
design feature, I think this is the major advantage of javabean spec came
out.
Tool like IBM Websphere Studio will provide this feature I guess. It helps
increase productivity, even a lot of 'good' html programmers don't
Right now I am using the .92 with JRUN. Should I, can I upgrade to 1.0?
Opinions, Suggestions.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
-Original Message-
From: A mailing list about Java Server Pages specification
and reference
overriding init() and destroy is ok - I have only one question
'Is it standard (will it always work ?)' :)
Good question - this should answer it, extract from JSP1.0 JavaDocs:
|public
As I understood it, Heiko was asking why use JSP tag jsp:useBean... when
you can do the same by creating an instance of the java "bean" object...
(the original e-mail subject line may have sent the conversation in a
different direction).
It seems the jsp:useBean tag is redundant. According to
Hi,
What are things required by me to run a jsp file through personal web server
in NT4.0 workstation.. What do I have to install and from where can I get
it??
Can please somebody help me out?? I need help desperately!!
Thanks in advance..
Anupam K
"Education is what survives when what has
David Chisolm writes:
I was having a very strange caching problem - different from the kind
normally posted here, and I needed to really understand how caching
directives are supposed to work.
[ ... ]
error. Of course, everything worked just fine in IE. (For the version
conscious, I
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
Cory L Hubert wrote:
Right now I am using the .92 with JRUN. Should I, can I upgrade to 1.0?
Yes. Migrate now while (presumably) your code base is small. At the
very least, avoid the LOOP, INCLUDEIF, and EXCLUDEIF tags in your jsp
0.92 pages as they are very difficult to mechanically
While on the subject :
If the property I am trying to extract from my bean is an array or a vector,
on which I will eventually want to loop, then the jsp:getProperty tag is
useless, since it returns one big string containing all elements of the
array/vector. Unless I missed something. Any
Hi all...
I have to make a query on a DB, and I made this code:
=
html
body
pgui 1/p
%@ page import =
"java.io.*,java.util.*,java.net.*,java.sql.*,javax.servlet.*,javax.servlet.http.*"%
%!
String url = "jdbc:odbc:teste";
Connection con;
Statement stmt;
public void jspInit()
{
I am running using jswdk-1.0.1to learn JSP,beans,etc.
We will be using JavaWebServer2.0 but no access to it yet.
I looked in the webserver.xml and startserver.bat but could not fine.
In IIS, it is default.html then, default.asp if HTML does not exist,
or define our own.
So, when a user comes in
Hi Heiko,
Are you saying that beans should not be used or that tags like
jsp:useBean . and jsp:setProperty should not be apart of
the JSP spec?
Actually, These tags follow the same semantics as laid out by the 'tag
extension' mechanism in JSP 1.1 . So really they are just a required
Migrate now while (presumably) your code base is small.
We configured our server to parse .jsp files through the .9x parser and
.jsp1 files through the 1.0 parser. This may ease pressure of
migrate-headaches.
Phil
===
-Original Message-
From: A mailing list about Java Server Pages specification
and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Phil
As I understood it, Heiko was asking why use JSP tag
jsp:useBean... when
you can do the same by creating an instance of the java
"bean"
Yes, I've always wondered this myself. Surely we're all missing something very
obvious...
Bill
Phil [EMAIL PROTECTED] on 12/06/99 09:58:42 AM
Please respond to Phil [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: Bill Kayser/Worldstreet)
Subject: Re: What's
-Original Message-
From: A mailing list about Java Server Pages specification
and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Guilherme - PerConsult
Sent: 06 December 1999 17:32
To: [EMAIL PROTECTED]
Subject: using ResultSet with JSP?
Hi all...
I have to make a query on a
hi,
what is a RequestDispatcher ?
RequestDispatcher rd=getServletContext().getRequestDispatcher("/myapp/showinfo.jsp");
I can't find the ServletContext.getRequestDispatcher(...) from the API.
Govind Seshadri wrote:
My article "Understanding JSP Model 2 architecture" in this
month's issue
I'm new to JSPs and this list so excuse the newbie question ...
I just read a message that had code in the JSP page for init and destroy,
pretty much like a servlet.
Now, I know that JSPs map to servlets, but is it common convention to
implement these methods (init/destroy) ? It would seem to
It should be server_root/public_html/index.html where server_root is the
directory in which you installed JWS, which is JavaWebServer2.0 by default
(for the 2.0 version).
Martin Leboeuf
[EMAIL PROTECTED]
-Original Message-
From: Rick L Sample
To: [EMAIL PROTECTED]
Sent: 12/6/99 1:47 PM
I can't use setProperty() with any other type then String. I am weblogic4.5, and I
believe its jsp engine implement the 1.0 spec. So is this mean 1.1+ allow you use
setProperty with other datatype?
Hans Bergsten wrote:
Heiko Gottschling wrote:
Hi,
I'm wondering what's the use of
Is that the default page most use for starting their apps?
Or, can we make a webserver config change?
Thanks!
"Martin Leboeuf" [EMAIL PROTECTED] 12/06/99 01:58PM
It should be server_root/public_html/index.html where server_root is the
directory in which you installed JWS, which is
Maybe one of the things we are all missing is that most of us on this forum
(I assume) are programmers and are used to seeing java code embedded in
things. Consider for a second that one major reason JSP was developed was to
separate presentation from business logic. One advantage of the usebean
I just switch from jsp .92 to 1. I did a little test to see how it reacts
to beans. I get no error. And I get no data back from the bean. What
could be wrong?
--JSP---
html
head
titleBean Testin/title
/head
body
jsp:useBean id="BeanTest"
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 06, 1999 10:00 AM
Subject: Re: Request for HTTP documentation, tutorials, and/or workshops
David Chisolm writes:
I was having a very strange caching problem - different
Hi, folks!
I'm thinking about how could be made in JSP(or servet) technology a
(secure)HTTP file upload mechanism.
I mean the server side part, the bean(s).
On the other hand, secure HTTP is supported by JSP(Sun implementation)?
Could this be really done in JSP working with Sun's jsp engine?
Any
Has anybody seen this recent problem (I've only seen it with
IE5 so far) that appears with Jason Hunter's file upload servlet (actually
com.oreilly.servlet.MultipartRequest):
The servlet throws: Corrupt form data: no leading
boundary
So, I put in a trace, and I sometimes have no problem
in the jswdk 1.0 and later look at the welcomefiles setting in the
webapp.properties file that should be in the WEB-INF directory of your web
app.
mine is:
welcomefiles=index.jsp,index.html,index.htm
but i can be whatever you want
cheers,
chris
chris wilson
{phone}
tel + 616.471.9142
fax +
Take the oreilly classes (www.servlets.com) for files uploading.
--
Steve Nguyen
KBMail Java Servlet Hosting Provider
http://www.ebpcs.net
- Original Message -
From: Victor Vasilica [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 07, 1999 7:12 AM
Subject: Q:File Upload
Jason,
Sure, lucky to be able to keep IE5 out while the rest of us must suffer ;-)
Well, the file upload worked just fine on your site.
That's not really surprising, since the errors we were seeing did not even
include a file to be uploaded (the uploaded file is optional on our form),
but
Hello,
I have been using servlets for quite some time.We also use Javascrit for
client side validation of the fields etc.
I am curious to know whether JSP is only a server side solution . Does
the scipting gets executed on the client side to offer an alternative to
client side Javascript.
If not
Below is an example to describe a design problem I am having
Lets say I have a customer.jsp that displays surname, first name etc.
customer.jsp includes address.jsp.
Another Jsp, phone.jsp is included 3 times within customer.jsp, allowing the
user to enter up to 3 phone numbers for a customer.
Hi guys,
I've been trying to getRequestDispatcher working in my servlet
with JSDK 2.0 and it doesn't seem to work. Is it because I must use
JSDK 2.1 or is there anything else I am missing? I have Apache,
JServ and GNUJSP 1.0 configured. If someone could help me out. Thanks!
Fran
Oops.
Forgot to mention that JSP is purely server side.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of pankajg
Sent: Tuesday, December 07, 1999 4:03 PM
To: [EMAIL PROTECTED]
Subject: New to JSP
Hello,
JSP scripts are executed in the server.
JavaScript could be used for JSP scripting (if the JSP engine supports it),
but this is not what you seem to want (client side scripting).
pankajg [EMAIL PROTECTED] wrote:
Hello,
I have been using servlets for quite some time.We also use Javascrit for
46 matches
Mail list logo