Matt Krevs <[EMAIL PROTECTED]> wrote:
>2. Its possible for the client to disable javascript. ie All javascript
>validation needs to be repeated on the server in your servlets/beans.
>
>Basically I work on the premise that any info sent to the server needs to be
>completely validated again.
A go
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
Javascript is fine as long as you remember that
1. It may need to work in all browsers/platforms
2. Its possible for the client to disable javascript. ie All javascript
validation needs to be repeated on the server in your servlets/beans.
Basically I work on the premise that any info sent to the
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,
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
===
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.
T
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
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 about
David Wall wrote:
>
> 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 so
Hi,
Can a Servlet be called from an Applet?
Thanks.
Sandy
__
Get Your Private, Free Email at http://www.hotmail.com
===
To unsubscribe: mailto [EMAIL PROTECTED] with body
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 Uploa
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 + 61
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 w
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 i
i am facing this problem of session variables disappearing between pages.
this happens when my pages are served over a secure server. does anyone have
any ideas? we are useing Jrun and Jrun Pro.
thanx
nishant
===
To unsubscr
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---
Bean Testin
--BEAN -
pa
- 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 - dif
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 t
I completely agree with you D.J. Hagberg. In my situation I defined the
following code below (I am using weblogic 4.51):
...
"
colspan="3">
...
And I got the following error message: "user is not defined as bean"
I then used the escape character in the code like this:
...
"
colspan="3">
...
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 Java
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 us
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
S
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 th
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 iss
> -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
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'
> -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
> when
> you can do the same by creating an instance of the java
> "bean" object...
> (t
> 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
===
Hi Heiko,
Are you saying that beans should not be used or that tags like
and 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
standard set of custom tags for the benef
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 all...
I have to make a query on a DB, and I made this code:
=
gui 1
<%@ 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()
{
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 tag is
useless, since it returns one big string containing all elements of the
array/vector. Unless I missed something. Any comments ?
Martin Leb
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 conver
===
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
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
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 bee
As I understood it, Heiko was asking why use JSP tag 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 tag is redundant. According to the specs, a bean
is just a
> -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:
|publi
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:
http://jav
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 agree
Hello ,
my problem is how to call getInstance() and release() when JSP page
object is created or destroyed (it's easy with servlet)
Thanks
Monday, December 06, 1999, 10:32:52 AM, you wrote:
LB> Hi,
LB> I don't know if it can help, but have a look at the code below. It provides
LB> you a way
Hello all,
SS> Just think of JSPs as auto-generated servlets, which they are.
SS> So presumably, therefore, you can override the init() method to do any one
SS> time initialisation and destroy() to save/cleanup - just like you would in a
SS> servlet.
overriding init() and destroy is ok - I have
Hi,
Can anybody suggest me how to make use of the follwing methods. All
these are the methdos are of ResultSet() object. Some of the methods are
absoloute(); afterLast(); beforeFirst(); deleteRow(); getBlo();
getFetchSize(); etc.,
All these methods support JDBC 2.0. The environment I have is JDK
All,
I'm running ServletExec 2.02 on Solaris with Netscape SuiteSpot. I've
tried using the tag to include files and other JSPs,
without any success. Is there another version of ServletExec and/or any
JSP tag that supports including another JSP in a JSP?
Thanks!
jml
--
Joseph M. Lilly
Lead I
What you suggested would be fine if you want to bang out a whole project in
a perl/hackish fashion. But if you want to be able to reuse code, in your
project and in others the best way to do it is by encapsulating code in
beans.
-Original Message-
From: A mailing list about Java
> -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 fr
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 shou
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.
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
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 ...
signoff [EMAIL PROTECTED]
> -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
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 client
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 init
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 1
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
57 matches
Mail list logo