-
From: "Snehal Pandya" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 14, 2003 5:29 PM
Subject: confused
> I am working with a small application.
> I have 3 files.
> first is
> connection.java for JDBC Connection
> custSql.java for sql
I am working with a small application.
I have 3 files.
first is
connection.java for JDBC Connection
custSql.java for sql statements
this the error message
Error: 500
Location: /wip/CustMaster.jsp
Internal Servlet Error:
java.lang.IllegalStateException: Response has already been committed
Thank you again for clearing up my confusion.
I will carry on with gay adulation from now
when writing JSPs.
>From: Geert Van Damme <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: More Confused!
>Date: Mon, 1 Oct 2001 16:06:54 +0200
Geert Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of QAS LAILA
> Sent: maandag 1 oktober 2001 15:42
> To: [EMAIL PROTECTED]
> Subject: More Confused!
>
>
> Dear
can only work that way.
I am really confused now please clarify.
Zahid
>From: QAS LAILA <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Confused!
>Date:
Dear all,
I am new to JSPs.
Is it true that JSPs are Ubiqtous therefore easier whilst different JVM are
implemented in different ways.
I ask this question because I read some where that Java is write once
run anywhere.
Does the question of Primitive Memory occupation have any bearing on this
m
Van Damme
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Nicholson
> Sent: woensdag 21 februari 2001 2:20
> To: [EMAIL PROTECTED]
> Subject: Re: <%! %> and <% %> ??
t; Subject: Re: <%! %> and <% %> ??? Which is it? Im confused
>
>
> I'm not sure what Geert was referring to saying that <%! wasn't to declare
> variables. Here's what my book says:
>
> "A declaration allows you to make page-wide definitions within a JSP p
e. Declarations do not write any output back to the client. The
syntax for a declaration is as follows: <%! declaration(s) %>"
-Original Message-
From: Michael Joyner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 8:41 AM
To: [EMAIL PROTECTED]
Subject: <%! %>
Ive been monitoring this singleton thingy, now Im upside down, Im a newbie
coming from ASP- and learning the tags
Is someone valiant enough to clarify, what tag is what?
- Original Message -
From: "Da-Ming Duan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday,
erence <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Confused on JSP problem
>Date: Sat, 13 Jan 2001 17:37:28 -0700
>
>Hi All,
>I have a JSP that uses a Java Bean to get data from DB2. I am trying to
>use an IF statement in the JSP to look for a value returned from
Hi All,
I have a JSP that uses a Java Bean to get data from DB2. I am trying to
use an IF statement in the JSP to look for a value returned from the
bean.
Here is the Java beans return statement:
return (java.lang.String) valueAtColumnRow(BV_NBR_COLUMN, index);
In the JSP I want check if this v
st about Java Server Pages specification and reference
> > >[mailto:[EMAIL PROTECTED]]On Behalf Of Donald E. Vandenbeld
> > >Sent: Tuesday, April 11, 2000 1:48 PM
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: More on Model 2/little confused
> > >
> > >
tion and reference
> >[mailto:[EMAIL PROTECTED]]On Behalf Of Donald E. Vandenbeld
> >Sent: Tuesday, April 11, 2000 1:48 PM
> >To: [EMAIL PROTECTED]
> >Subject: Re: More on Model 2/little confused
> >
> >
> >I'm doing it something like this:
> &g
l 11, 2000 1:48 PM
>To: [EMAIL PROTECTED]
>Subject: Re: More on Model 2/little confused
>
>
>I'm doing it something like this:
>
>First off, I'm using an xml file to store my configuration. This
>works best
>for me but a simpler configuration could easily use a pr
tion (was More on Model 2/little confused)
>
>
>Kevin Duffey wrote:
>
>> public final class BeanPropogate
>> {
>> public static final propogate(Object o, HttpServletRequest r)
>> {
>> // get request parameter names
>> // loop through al
Arun,
I do not believe there is a requirement to have *both* a getter and a
setter.
The Javadoc for the getReadMethod() and getWriteMethod() of the
PropertyDescriptor class
both state that they may return null if the property can't be read/written.
Regards
@
=
Behalf Of Kevin Duffey
> Sent: Tuesday, April 11, 2000 2:17 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Bean reflection (was More on Model 2/little confused)
> EXACTLY!! This is what we have in mind now. What we want to do is what
> Craig/Daniel are doing, using XML to load up a page
Kevin Duffey wrote:
> public final class BeanPropogate
> {
> public static final propogate(Object o, HttpServletRequest r)
> {
> // get request parameter names
> // loop through all names
> // using reflection, check if the object passed in has a setXXX method
> that matches each
Hi,
>Arun,
>I think you can simplify this a little by accessing the PropertyDescriptor
>instead.
>If a form parameter from the HTML is "lastname" and there is a
>corresponding
>bean property called lastname
>with standard accessor methods of setLastname( String newlastname ) and
>getLastname() y
ult code. A few lines of code at
the end of each of these action servlets redirects to the appropriate jsp or
servlet depending on the result code. I'd be interested in hearing about
how others implemented this idea (or critiques of the way I did it).
Donald
> >From: Mistroni Marco <[E
Arun,
I think you can simplify this a little by accessing the PropertyDescriptor
instead.
If a form parameter from the HTML is "lastname" and there is a corresponding
bean property called lastname
with standard accessor methods of setLastname( String newlastname ) and
getLastname() you can assign
Hi
An article about Model 2 architecture can be found at:
http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html
Rgs
Madhavan
>From: Mistroni Marco <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: More on Model 2/little confu
No such property or
blank
for (int i=0; i
> -Original Message-
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Duffey
> Sent: Tuesday, April 11, 2000 8:34 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Mor
gt; Sent: 11. April 2000 18:34
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: More on Model 2/little confused
>
>
> Hi again,
>
>
> I am curious if there is a better way to get many form/pages worth of
> request parameters in a better fashion than each action
> hav
Hi again,
I am curious if there is a better way to get many form/pages worth of
request parameters in a better fashion than each action having from 1 to
infinte number of
bean.setXXX( request.getParameter("XXX") );
On my Enrollment page I had 32 lines of this, which isn't a big deal..but
its k
s initialized.
This is one example and I am not sure if everyone needs this type of
functionality.
Thanks,
Shone
Developer
Q-Link Technologies
http://www.qlinktech.com
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 11, 2000 6:08 A
Hi All,
i have followed many threads about Model 2 architecture, and at the
hand i got
this picture(please correct me if i am wrong) listed below shortly :
- JSP 'sends' the request to the Servlet/controller
- based on 'path info' the Servlet fetches from an Hashtable the correct
Action c
O'Meara AnnMarie wrote:
> I'm confused about what I've heard about internationalization with JSPs. What I
> want to do is write one JSP file, and read the character set and user-visible
> text from a ResourceBundle. This works with HTML templates, as long as the
>
> I'm confused about what I've heard about internationalization with JSPs. What I
> want to do is write one JSP file, and read the character set and user-visible
> text from a ResourceBundle. This works with HTML templates, as long as the
> .properties files for the Reso
I'm confused about what I've heard about internationalization with JSPs. What I
want to do is write one JSP file, and read the character set and user-visible
text from a ResourceBundle. This works with HTML templates, as long as the
.properties files for the ResourceBundles are in
31 matches
Mail list logo