John Keyes wrote:
> Hi,
>
> A set of our servers use the same properties file (Generic.properties).
> It has the JDBC connection stuff in it. This works fine as we launch
> the servers passing the -Dconfig.home="" to when launching them.
>
> Now I have a JSP/Servlet set-up and I want it to use G
arthur alexander wrote:
> As a number of individuals have responded, they create their own
> "custom" classes to deal with serializing the data out of the ResultSet
> into a 'locally' managed "non-database-related" class.
>
> This is the whole design intent of the CachedRowSet, but it will not
>
HI all..
I am new
to JSP.
I wrote
my first JSP program and the code is
<% out.println("Surya");
%>
Personal web server and JRun
is running on my PC.
and the result is
:
500 Internal Server
Error
java.lang.NullPointerException
at com.livesoftware.jrun.plugins.jsp
Hi,
I have no problem with this. The point that I was trying to make (poorly ;-)
was that the setting up of the connection takes a noticeable amount of time. It is
therefore advantageous to have that connections already set up in advance of a
request, e.g. connection pool (handled by a bean of
Hi Berry,
I can't comment on that as I use JRun in which it is possible to
have chosen
servlets Pre loaded when the JRun servlet engine is started.
But yes, the general point was that a persistent connection pool would
be a better
solution than connecting to a database through a JSP.
While I a
What is the file size of JAva WorkShop
community edition?
10 MB?
ISBN=1861002777 is the
Patzer, Ayers, etc., text titled Professional Java Server Programming. As I
understand it, this is not a jsp book. It covers Servlets, JSP, JDBC, RMI, EJB,
CORBA, and JNDI. No one here has reviewed it, so can't suggest it.
A few other texts out there have j
Title: Newbie (trying) to use a bean
We are from FGS Infotech Private Limited .
The problem may be
Mr.Hopkins that u cannot call a class you have to put the class file inside the
"beans" directory
Give a name to your package . After the call the file
as
Even I encountered th
Sonny Kim wrote:
> Hi,
>
> Based on JSP docs, output comment is
>
> Is it possible to add other tag inside the output comment?
> For example,
>
> Is this a known bug?
>
> Thanks.
> -sonny
>
> ===
> To unsubscribe: mailto [E
Hello -
I'm seeking advice on using Factory objects in my Servlets. Currently my
servlets are instantiating and stuffing Beans that get passed to my JSP's
for display. As my servlets are getting a little long in tooth, I've been
wanting to rewrite my servlets to use factory objects to create th
I have bought this book and have already read a part of it.
It's true that the JSP section is only one chapter big. It covers the basic
things available in other tutorial like the SUN one. It also includes an
example on how to query databases from JSP by using Java beans.
Even if, the JSP is on
Hi fellas,
I have some data in the database that will not change ( example..a list of
all Departments ). I will be using
this data throughout my application( in a number of screens ). I plan to use a
bean that stores all this data in a Vector.
If in my JSP page(s) i use something like this..
Hi Bruce
When your bean is not in a package you have to import it.
Add the following line to your jsp file:
<%@ page import="MediaLibData" %>
That should do the trick !
- John.
"Hopkins, Bruce E" <[EMAIL PROTECTED]>@JAVA.SUN.COM> on
15-11-99 21:36:33
Please respond to "Hopkins, Bru
> From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
> The approach I take for properties files is to use a PropertyResourceBundle to
> load them. This class finds the properties file in the class path, so you
> don't
> have to worry about specifying where the file exists. Examples of using this
>
Folks,
Here
is what I want to do…
I
have a JSP page ( it could be any page at any time ). Let us call it xxxJSP.
I
have situation sin my Ecommerce scenario that on that xxxJSP I may need to
display an alert message of some dynamic te
Try http://servlet.com
This book is cool !
-Original Message-
From: Legros, Bertrand [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 16, 1999 2:35 PM
To: [EMAIL PROTECTED]
Subject: Re: here is ur JSP BOOK
I have bought this book and have already read a part of it.
It's true that the
I use a properties file instead of using switch statement:
change_user_info=ChangeUserInfo
change_user_info is the value of hidden variable
ChangeUserInfo is the JAVA class.
next are the codes which create the objects:
String actionClass = prop.getProperty( action );
I second this notion. Please include examples that deal with real-world problems
and solutions to deal with them.
For example if you have some data in the database that will not change, how
will you show that data over multiple pages and multiple users without
hitting the database multip
http://servlet.com or http://www.servlet.com? I try the first link, and
doesn't exists.
--
Saludos:
Sergio Queijo Diaz
[EMAIL PROTECTED]
Unión Fenosa International SW Factory
Pedro Teixeira n8. 28020 Madrid. SPAIN
Tlf. +34915553361 http://www.uf-isf.es
===
>Try http://servlet.com
Not sure, but I think you mean http://www.servlet.com, and more specifically
their developers section:
http://www.servlet.com/devdoc.jhtml
Phil
===
To unsubscribe: mailto [EMAIL PRO
Do you know very much about the CachedRowSet implementation? I'm trying to figure
out how it creates an updateable result set when the underlying database doesn't
support that feature. What technique does it use?
arthur alexander wrote:
> As a number of individuals have responded, they create t
Does anyone know of any JSP development tools
that are in the works?
Berry Crawford
Senior Consultant, Bondi Software
Phone - 336 - 373 - 8200 x302
Email my computer - [EMAIL PROTECTED]
Email my pager - [EMAIL PROTECTED]
Company Web Site - www.bondisoftware.com
SilverStream Journal and Upcoming B
Daniel:
Thanks for the reply.
I am curious as to how you handle the possibility that the user has more
than 1 'active' query as a byproduct of surfing your site. I.e., it is
possible for them to back/forward/history to a results page from an earlier
query.
Thanks,
Ian
- Original Message
I installed the JavaWebserver2.0 on my NT box.
I am trying to complie the HelloWorldServlet.java that comes with it.
Can someon please tell me what paths and classpaths I need to just complie the thing?
===
To unsubscribe: m
As I and many others have pointed out this book, "Java Server Programming"
should not be confused with a book on "JavaServer Pages". The WROX book,
although a good book, only has a little bit on JSP, and probably not enough
to satisfy more than the curious. If you are looking for JSP specific bo
Well, my application distinguishes user sessions so that a user can login
multiple times in separate browser windows. A user session is stored in the
browser session and can be used to differentiate same user/different task
situations. But there are ways to send information that identifies one u
For the benefit of the people on the list, we want to give this information
to you. This discusses how to access a servlet in a new web application in
JSWDK1.0 world.
> > -Original Message-
> > From: Finney, Michael [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, November 15, 1999 4:45 PM
>
Hi,
Has anyone had any luck debugging servlets with JRun and
Kawa and if so what steps did they take. The Kawa tutorial
seems out of date.
Please reply to me personally as I am now receiving the list
in digest form.
Thanks
Kallen
=
~ If at first you
I concur with Larry concerning the need for a good tutorial about "how to
find, research, configure, and install the
latest versions of JDK, JSDK, Apache, JServ, JSSI, and gnujsp and Jakarta".
Knowing what will be in a couple of books to be published, I wonder if any
will bother to address this is
Sorry to post this type of email, but I was wondering what would be the
best combination of Web Server, Servlet Engine, etc would be in these
configuration?
1. JSP on NT
2. JSP on Unix (Solaris)
The project that I will be working on must be able to handle huge traffic
load, probably 10 milli
Hello,
I'm working on this issue, Servlet Taverne next version will be online in a
week or two with a "How To" emphasis...
I've nearly finished Jakarta (with some illustrations)...
Bonjour (Hello) Kirkdorffer, Daniel, vous avez écrit le (you wrote on)
09:51 16/11/99 -0800 :
>I concur with Larry
Kevin Riff wrote:
> Do you know very much about the CachedRowSet implementation? I'm trying to figure
> out how it creates an updateable result set when the underlying database doesn't
> support that feature. What technique does it use?
>
I assume we are talking about Sun's early access implemen
Hi ,
I was wondering..if a bean has "application" scope, does it mean that only
one instance of the bean is created and all the users / pages will be able to
access that one instance ? Thank you.
Cheers,
Amar..
===
To u
David Geary wrote:
> I am working on a JSP
> book, and I would love to hear from members of this list privately via
email
> as to your experiences with JSP and what you would like to see covered in
> the book.
Let me state publicly, rather than privately, what I want to see in a JSP
book. There
What exactly is the code a JSP page compiles when you put in a usebean tag.
Like as if I was trying to use/create a session bean in a servlet. I'd also
like to come up with some way to redirect a user who directly tries to go to
page that uses a bean , when they should be coming from a servlet
Any volunteers?
- Original Message -
From: Kirkdorffer, Daniel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 16, 1999 12:51 PM
Subject: Re: JSP Books
> I concur with Larry concerning the need for a good tutorial about "how to
> find, research, configure, and instal
I am trying to integrate JSP and RMI for one of my projects.
I have a simple JSP page trying to access RMI Client (By instantiating RMI
Client class in JSP page).
<%@ page import = "console.*" %>
Sample RMI
<%
RMIClient rc = new RMIClient();
out.println("I got: " + rc.getValue
Nanduri Amarnath wrote:
> Hi ,
> I was wondering..if a bean has "application" scope, does it mean that only
> one instance of the bean is created and all the users / pages will be able to
> access that one instance ? Thank you.
>
Yes. One bean is created (per id -- you can have more than o
netbeans is an ide that has a servlet/JSP development module.
the beta is free but please use jdk1.3 to run it.
http://www.netbeans.com/
-H
berry <[EMAIL PROTECTED]> on 11/16/99 12:14:33 PM
Please respond to berry <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Hugo Gar
Hi all:
Doe anyone know if any of the servlet/JSP engines support the
piping/redirecting of specified JSP/servlet URL requests to a common login
servlet?
I want to ensure that a user is logged in if they access any JSP/servlet
under a given subdirectory.
I.e., I don't really want to include a
Bosch Ricardo wrote:
> What exactly is the code a JSP page compiles when you put in a usebean tag.
> Like as if I was trying to use/create a session bean in a servlet. I'd also
> like to come up with some way to redirect a user who directly tries to go to
> page that uses a bean , when they s
Title: ERRORPAGE does not work on Netscape 4.6x
Hi,
I have ERRORPAGE setup for my JSPsIT works beautifully on I.E.It does not work on Netscape.It displays the entire tag instead of redirecting to the errorpage...
EXPERTS Please help with this issue.Thank you
Rupe
To all the helpfull people:
I need to run the servlet on a different directory than the current web
server ? How do you do this ?
I have re-configure the default.cfg
server.webapp.water.mapping=.d:\project\jsp
server.webapp.water.docbase=Jsp
but it always goes to the default :
d:\Archive
"Professional JavaServer programming" from WROX has two chapters on JSP.
Our own (Myers and Nakhimovsky) "Professional Java XML programming with
servlets and JSP" should be out within two months.
Sasha
> -Original Message-
> From: Somasundaram, Krish [mailto:[EMAIL PROTECTED]]
> Sent: Mo
See intermix. In general, the answers should have been in the javadocs
but they seem not to be there. In general the intention is that some
details are in javadoc and not in the spec itself.
> Date:Sat, 13 Nov 1999 18:00:19 +0100
> From:Volker Turau <[EMAIL PROTECTED]>
> Subject: Six
Hi,
I'm working on a test application where the servlet do a "forward"
to the JSP page. I've found that it took a long time to load up
and display the JSP page on the FIRST run. I do kinda understand why it
does that but wondering whether there is a way to "pre-load"
the JSP page into th
How do you do this? I was under the impression
that the cookie is set per browser app (IE, NN)
and not per browser window. Am I mistaken?
Thanks, Joel
> -Original Message-
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kirkdorffer, Daniel
> Sent: Tuesday, November 16, 1999 12:59 PM
>
>
Any tools available to convert .class files to .java files .I
just want tools .I know Borland JBuilder can convert it .But for this purpose I
cannot get a Borland JBuilder complete version. Anyone can just give me the
executable file ?Please Due to some errors I lost a lot of codings and when
I have another error too.I have a lot of frames and the error page which
shows up - shows up only on the frame where the runtime error occured..I
tried hard but couldnt make the error page paint OVER the entire pagei
tried target=_top etc..
Please let me know if you have any ideas
You sir are correct!
However, what we do is we have user sessions that hang off the browser
session. We can detect if a user is sending us a virgin request (i.e. one
we haven't stamped with an ID yet), and create a new user session, that we
store with the browser session, and then we send back t
Jad is
a pretty good Windows tool for doing this. See http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
David
-Original Message-From: A mailing list about Java
Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of fgs
infotechSent:
[apologies I accidentally sent the previous reponse prematurely - please
reference this one]
> You sir are correct!
>
> However, what we do is we have user sessions that hang off the browser
> session. We can detect if a user is sending us a virgin request (i.e. one
> we haven't stamped with an
javap does this.
It comes with the jdk.. (or sdk if you speak Java2 ;-)
Shawn Foo
[EMAIL PROTECTED]
-Original Message-
From: fgs infotech [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 09, 1999 11:18 AM
To: [EMAIL PROTECTED]
Subject: Any tools to convert .class files to .java files
I just had a similar problem. After a user's session times out in my app,
it redirects to the login page. The problem was, if the page was in a
frame, then the login page appeared in the frame, not in the top frame. So
I used Javascript to do it:
<%
if(somethingbad)
{
String my
"Amornkul, Woody" wrote:
> Hi,
> I'm working on a test application where the servlet do a "forward"
> to the JSP page. I've found that it took a long time to load up
> and display the JSP page on the FIRST run. I do kinda understand why it
> does that but wondering whether there is a wa
55 matches
Mail list logo