Re: Visual Age Help Pl. (settings servlets/jsp) !!!!

2001-04-12 Thread Hines, Bill

RTFM (and you don't have to further clutter the list by saying "Thanks,
Bye"!

-Original Message-
From: Sunil [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 07, 2001 12:01 PM
To: [EMAIL PROTECTED]
Subject: Visual Age Help Pl. (settings  servlets/jsp) 


Hi Visual Age Gurus,
Urgent help required!

Can somebody tell some resource on learning to  use  do the settings on
Visual Age, specifically for servlets/JSP programming?

Matter very urgent.

Thanks in advance

Bye
Sunil K. Roy

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Plotting Graphs

2001-04-04 Thread Hines, Bill

If you want server-generated graphs/charts, rather than having something
like an applet on the client, try http://www.ve.com. I've used their stuff
before and it worked out well.

Bill Hines
Hershey Foods

-Original Message-
From: Daryani Santosh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 5:40 PM
To: [EMAIL PROTECTED]
Subject: Re: Plotting Graphs


There are a quite a few applications that let you integrate charts/graphs
with
your JSP's
Most of them are NOT freeware , you can search for some shareware.

Chartworks and  JChart let you integrate graphs, Sitraka also has something
similar, visit sitraka.com for more details.
You can download a 30  day evaluation copy of these apps.There are more than
I
mentioined , I cannot remember all
the names.


Santosh







"Damodaran, Rajakumar (CORP, Consultant)"
[EMAIL PROTECTED]
on 04/03/2001 05:21:52 PM

Please respond to A mailing list about Java Server Pages specification and
  reference [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:(bcc: Santosh Daryani/IT/Aon Consulting)

Subject:  Plotting Graphs



HI
Is there any tool which could be integrated with jsp pages for
plotting graphs


Thanks in advance
D.rajakumar

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Record-locking in J2EE/JSP/Servlet apps?

2001-04-04 Thread Hines, Bill

How are any of you solving the problem in the stateless webapp context where
two users pull up the same record from a database in a JSP page, and user
one changes the address and saves but then user two, who has the old address
on his JSP page, changes the phone number and hence over-writes user one's
address change? Are you locking the record in the back-end database and then
implementing the SessionBindingListener to release it when the session
expires, if the user leaves the webapp without logging out? Does EJB solve
this problem? I'd like to hear the solutions that are out there.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Any Project Idea!

2001-04-03 Thread Hines, Bill

Actually, Sun has a new technology called "Java Web Start". It's kind of
like a Java application (thick client) on the user's PC, but it has the same
facilities as a webapp for automatically updating/installing itself through
the web. It doesn't run in a browser. You can get details at java.sun.com.

Bill Hines
Hershey Foods

-Original Message-
From: Fei Li [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 9:02 PM
To: [EMAIL PROTECTED]
Subject: Re: Any Project Idea!

Sun is pushing thin client strategy. Client side has full J2SE api including
Swing. Applet is a little bit old. Look at JApplet. But, you need patience
to wait for browsers to catch up.

Fei Li

-Original Message-
From: Willy LEGIMAN [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 5:21 PM
To: [EMAIL PROTECTED]
Subject: Re: Any Project Idea!


Java is great! It offers web development flexibility with Servlets, Java
Server Pages, etc. But they're all Server-side programming. It still lacks
in terms of Client-side features. I still have to use the same old
JavaScript to perform screen-level validation. I'm not a fan of Applets.
In fact, I have written my own call to handle Database validation on the
field level, field data popups, in JavaScript for my project (without the
need to perform a POST and then validate/get the data).

I hope that Sun can come out with its "Clientlets" to make web development
even easier.

Best regards
Will

-Original Message-
From: paramjit singh [mailto:[EMAIL PROTECTED]]
Sent: Monday, 2 April 2001 20:13
To: [EMAIL PROTECTED]
Subject: Any Project Idea!


Hello everybody!
If anyone has some creative ideas of any java project(in any technology)
then
do tell me as i wana to make some creative project in java.

paramjit


Get free email and a permanent address at http://www.netaddress.com/?N=1

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Dreamweaver JSP

2001-03-30 Thread Hines, Bill

Martin,

"Of course, your message implies you are a consultant, and you don't say
anything about documentation or maintainability, so perhaps our goals are
not quite the same."

You also forgot the biggest benefit to "doing things right", as opposed to
this Model 1/VB/RAD approach: code and pattern reuse. This, along with the
two items you mention above, are things that clients who use consultants
normally aren't savvy enough to realize they're missing, and how much money
they're blowing by having the consultant come back in and re-develop the
same cookie-cutter code over and over for each app, or to later try to
extend or enhance a mish-mosh of spaghetti code that was "generated" by
their productivity tool. There's a good balance though, we all know the
answer to this argument in our heart when we put our zealousness aside.
Sometimes I use WebSphere Studio to quickly bang out a prototype because
it's wizards can get a database web app up and running quickly. But I'd
never put that code into production because it is so tangled and does things
like throws the ResultSet into the session for page navigation.

Bill Hines
Hershey Foods

-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 2:00 AM
To: [EMAIL PROTECTED]
Subject: Re: Dreamweaver  JSP

 If you used vi   "all" the time, your web site would look like
sht.

What a load of utter codswallop. That's like saying Dickens wrote garbage
because he didn't use Microsoft Word. Or like saying that if someone writes
in assembler all the time, they can't possibly write good applications.
Tripe.

 Those who criticize new tools like Dreamweaver are probably not even using
a GUI based operating system.

So, if I use a GUI based O/S, I have to love Dreamweaver, because it is the
be-all and end-all, the absolute ultimate, the totally unreproachable,
nirvana of web design tools, not even open to criticism. Wow, I've heard of
zealots, but...

 Time to market is everything.  I can make $200,000 dollars in 6 weeks
because my team uses rapid development tools like Dreamweaver Ultradev 4 and
Forte for Java to design high quality web sites.But if you know your
sh...t you don't have any thing to worry about the because your smart enough
to use DOM and customize the interface for generating the code...

Ah yes, the "time to market" argument. To refer to your own comment, "if you
know your sh...t", who cares what tools you use? If I can write well
designed, well implemented, well documented, maintainable sites just as fast
using 'vi' as you can using your fancy tools, who cares what tools we use?

Of course, your message implies you are a consultant, and you don't say
anything about documentation or maintainability, so perhaps our goals are
not quite the same.

 It's just my opinion too, so take it with a grain of salt, but my bank
accounts and happy clients sure says something else.

Oh, I'll take a large grain of salt, thank you.

 Dylan

Martin.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



HTML/JSP Reporting Tools?

2001-03-29 Thread Hines, Bill

Has anyone used any tools for doing reporting in conjunction with web
applications? One of our developers is pulling her hair out trying to code
this capability. When she prints the report that she has output to the
browser, often rows are repeated from the last line of one page to the first
line of the next in the HTML table. Also, sometimes text is chopped off at
the right margin, so she'd like to have some control over the margins. Does
anyone know how to solve those problems? I see it a lot when I print HTML
documents, etc, but with a report it is not a good thing to have those rows
repeated. I'm wondering if anyone has used tools like Crystal Reports and
how easy it is to integrate those into a webapp. The data is in Oracle
tables.

TIA

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Check security for userID password

2001-02-20 Thread Hines, Bill

But also, doing it this way (with no tags in the page), you are allowing a
non-logged in user to see the JSP page. In some cases this is unacceptable,
and you must have a tag at the top of each page that checks to see if the
user is logged in.

Bill Hines
Hershey Foods.

-Original Message-
From: Sachin S. Khanna [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 1:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Check security for userID  password

Two ways of doing it depending on which architecture model are you using
Assuming you have a Login Bean which would hold the user name and password
which is placed into the users session when the user successfully logs in.
If you are using the Model 2 architecture keep a check (an if statement) in
the controller servlet which would try to get the Login Bean from the users
session (using the getAttribute() method ). If it returns null then redirect
the user to the login page, if not give him the access.
In case you are using the Model 1 architecture, you would need to place the
check (an if statement) in every jsp page that requires the user to be
logged in.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Cant Save .jsp file!!

2001-02-15 Thread Hines, Bill

Jennifer,

I'm surprised nobody told you yet that the ".txt" extension was added
because when you saved it, right there on the dialog box in front of you, it
probably had a combobox for the file type that was set to "Text (*.txt)". If
you tell it to save it as .txt, it will. If you want it to save as something
else, change that option to "All files (*.*)" and it won't do that anymore.
It would get pretty old having to rename the file each time! And yes, what
Joseph said (Get a real editor!). I recommend Multi-Edit from American
Cybernetics (PLEASE don't ask me how to find their web site!!).

Bill Hines
Hershey Foods

-Original Message-
From: Joseph Ottinger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 6:05 AM
To: [EMAIL PROTECTED]
Subject: Re: Cant Save .jsp file!!


I suppose renaming the files in the explorer is beyond the realm of
possibility? Another option is using an editor that doesn't tack on stupid
extensions...

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: connecting to mssql

2001-02-07 Thread Hines, Bill

Julia, maybe you have lots of time on your hands with nothing to do, but I
find that wading through the hundreds of messages in this list and the
others that I subscribe to each day takes a lot of time. I have work to do
as well as the small amount of time I can take to keep up with these
technical resources. If the large number of off-topic messages were removed,
it would take a LOT less time to keep up with the list. Each message takes a
small amount of time to scan and delete. Multiply that times the number of
messages and the number of people reading this list and you come up with a
huge amount of wasted time. Just because someone was too lazy to take the
time to fire up google.com and search for 'java barchart' or 'SQL Server
driver java'.

In answer to the other guy's comment - people don't have to register for
every obscure list out there to ask questions on topics like barcharting.
You could use that same rationale to ask questions about legal issues, sex,
etc here, since it is certain that some list members would have such
information. That's what newsgroups, the web, etc are for. It is definitely
not what JSP_INTEREST is for.

-Original Message-
From: Julia Reynolds [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 11:05 AM
To: [EMAIL PROTECTED]
Subject: Re: connecting to mssql

If you don't think a post on this list is pertinent or interesting, can't
you
just delete it?  Similar to the way we all delete your posts, for example.
By the way, does anyone know where I can find a good C++ compiler?

Joseph Ottinger wrote:

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: A component that generates barcharts.

2001-02-06 Thread Hines, Bill

In Joseph's mind, he is performing a service. He is taking the role of the
curmudgeon here that lets people know when they do things that degradate the
list, in order to make the list better. In that role, he is taking the heat
on himself from people like you that will be upset because he isn't being
"nice". I don't like the pollution on the list and get aggravated by people
that are lazy as well, so I see what Joseph is doing as necessary. At least
he's still answering the question, to his credit.

Inevitably though, this is an ecosystem out here, a microcosm of society and
there will be all types. Let's just keep that in mind and deal with all of
them as best we can and not generate another thousand messages/flames at
each other every time this happens. It always has and it always will. By
educating people, perhaps Joseph will cut it down and this will stay as
on-topic and enjoyable as others (Struts). Some people don't know what
they've done wrong until Joseph steps in - for example the guy who replied
to one message but changed the subject line to create what he thought was a
new thread. It isn't, it's an off -thread message inserted into the original
one and that upsets people who have threaded readers. Now maybe he knows and
won't do it again.

Bill

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Read Access MDB File With JDBC/ODBC From Unix?

2001-02-05 Thread Hines, Bill

Can anyone say if we can read a Microsoft Access database from a JSP/Servlet
that is running on a Unix box? I was wondering if there was some sort of 3rd
party (i.e. ChiliSoft) product that would allow this or if I could put the
MDB on a NT box and read it from my JSP/Servlet running under Solaris just
by providing a correct database URL for it.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Read Access MDB File With JDBC/ODBC From Unix?

2001-02-05 Thread Hines, Bill

This is an odd situation where the MDB file belongs to our customer and they
are allowing us to copy it nightly in order for our customer relations folks
to do some read-only queries on it to produce reports. Our production app
server (WebSphere) runs on Solaris. Can I use ODBC on a Solaris box to read
this? I thought I could only do it from an NT app server where there was a
system DSN pointing to the Access (MDB) file.

-Original Message-
From: Jim Rueschhoff [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 1:48 PM
To: [EMAIL PROTECTED]
Subject: Re: Read Access MDB File With JDBC/ODBC From Unix?

Why not just use ODBC.  It will work fine.  However, Access is a single user
database so you will not be able to support multiple connections well.
Access closely mirrors SQL Server except for the multiple connection
support. If you want to be able to support multiple users you will need to
get SQL Server.

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Hines, Bill
 Sent: Monday, February 05, 2001 11:32 AM
 To: [EMAIL PROTECTED]
 Subject: [JSP-INTEREST] Read Access MDB File With JDBC/ODBC From Unix?


 Can anyone say if we can read a Microsoft Access database from a
 JSP/Servlet
 that is running on a Unix box? I was wondering if there was some
 sort of 3rd
 party (i.e. ChiliSoft) product that would allow this or if I could put the
 MDB on a NT box and read it from my JSP/Servlet running under Solaris just
 by providing a correct database URL for it.


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Zip/State finder/distance/locater??

2001-01-22 Thread Hines, Bill

This would be a great web service. Check on www.xmethods.com for some
others. Web services are callable routines over the web for dynamic
inclusion into your page/site. It uses UDDI/SOAP, sort of an RPC over HTTP.

Bill Hines
Hershey Foods

-Original Message-
From: Kevin Duffey [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 20, 2001 12:48 AM
To: [EMAIL PROTECTED]
Subject: Zip/State finder/distance/locater??

Hey all,

Anybody know if there is a library for Java/J2EE sites to look up zip codes,
distance between them, get all zipcodes from one with a radius, etc? I seem
to only find COM or CGI, and a few command line applications.

Thanks.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Must hard-code context path always?

2001-01-18 Thread Hines, Bill

We would like to have our web applications run on different servers with
perhaps different web application paths. For example, if I set up the web
app in WAS 3.5 with the web application web path set to /myapp, I have to
have that name 'myapp' in the webapp descriptor files as well as in any URIs
in JSP or servlets prefixed to that, even though they are relative. For
example, in the descriptor file:

default-page
  uri/myapp/EntryTableResults.jsp/uri
/default-page

in the JSP:
FORM method="POST" action="/myapp/servlet/com.myco.DataEntry"

and in any forward/redirect in the servlet, same thing.

Can't the application be coded or the admin set up so that these things
don't have to be hard-coded into the application source files, so for
example I could put it on the same server as 'myapp2' easily without having
to change all of that?

I was told that this is really a design issue coming from Sun. The Java
Servlet Specification, v2.2 describes the contextPath as being at the start
of the URI (chapter 5), and that is what is used to distinguish which web
app should handle a particular URI. And because of that, the contextPath is
bound to get into the development code, and that's just the way it is.

It prevents us, for example, from putting the webapp out on our production
server in a different directory and with a different context path, doing the
final run-through to ensure that it is running correctly, and then copying
it over to the 'real' directories (and previous version) to turn it on in
production. Of course, we would have already fully tested it on a test
server, but this would be to make sure there aren't any environmental issues
on the production server before turning it on for real.

Has anyone found a better way?

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: IBMWebsphere test environment in VAJ-3.02

2001-01-09 Thread Hines, Bill

There is a configuration file change that you have to make. It is documented
in the product documentation (both on-line and in from the Help menu of the
VAJ IDE).

Bill Hines

-Original Message-
From: Sanjeev Bajpai [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 08, 2001 5:06 AM
To: [EMAIL PROTECTED]
Subject: IBMWebsphere test environment in VAJ-3.02

Hi!!!
How can we configure the IBMWebsphere test environment in VAJ3.02 to confirm
to JSP-1.0 specs.
Any help is highly appreciated.
Cheers
Sanjeev

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Whats up with all these out of office replies??

2001-01-09 Thread Hines, Bill

Craig,

I agree and admire those who not only have to overcome the technical
barriers but the language one as well. However, in the messages that I refer
to, the author's command of the language is evident. They use plenty of
other big words and grammar properly, so I believe that they understand that
u=you and r=are and 'ur'=your.

If it's obvious that someone is struggling with the language, I would never
complain. But that isn't the case with the majority of these.

Anyway, like I said, it's just a nit. Let's drop it and focus on the
important stuff. We're a society here and there will be much diversity and
we all have to be tolerant. Thanks for all of your contributions here and on
the Struts list. I still think there is more than one of you, to be able to
keep up with it all :)

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 06, 2001 2:53 AM
To: [EMAIL PROTECTED]
Subject: Re: Whats up with all these out of office replies??

"Hines, Bill" wrote:

 /soapbox

 [snip]
 Posts filled with letters substituted for words - i.e. 'u r doing this
 wrong'. I know it's anal of me but I find it annoying and hard to read.
 Cute, but how hard is it to type the whole (short!) words? It gives the
list
 an AOL chatroom full of teenagers feel (no I don't hang out there, but I
 have teenagers at home!). English is my first language and I hate to see
it
 mangled that badly. It also gives the poster an 'uneducated' impression.
 Anybody who codes should be fairly good at keyboarding, so this shouldn't
be
 necessary.

While I also find such posts hard to read, I learned to appreciate how tough
English is on non-native speakers when I spent a couple of years "commuting"
to
Brussels, Belgium and managing a software development project there.  I was
profoundly impressed both by the effort that the developers I met there
spent to
communicate with me in English, and the fact that they didn't roll on the
floor
laughing at my poor attempts at French.

There are a *lot* of subscribers to this list who are not native English
speakers.
Let's cut them a little slack, OK?

Craig McClanahan

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: virtual host setup in WAS

2001-01-09 Thread Hines, Bill

This is well detailed on IBM's WebSphere web site as well as in the product
documentation that you get with WebSphere. Just go to the admin console and
use the help menu and search for virtual host. There is better info on their
web site.

-Original Message-
From: Alex A. Almero [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 6:15 AM
To: [EMAIL PROTECTED]
Subject: virtual host setup in WAS

anyone who a succesfully setup a new virtual hosts in websphere?

kindly give the details.

thank you









**
Alex A. Almero
Analysts Programmer
Information Technology Solutions Int'l Inc.
16/F IBM Plaza Bldg Eastwood City CyberPark Eastwood Ave
188 E. Rodriguez Jr. Ave, Libis, Quezon City, Philippines
Tel. Nos. (63-2) 913-0707 to 10 loc. 26
Fax No. (63-2) 913-0705


ÿðèb‹˜j (ÿôږKhʋ«~¸žÛ(žX§{ ­…†¡¢ÌzË ž
«þ m§ÿÿ oòj (ýÊ

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Whats up with all these out of office replies??

2001-01-05 Thread Hines, Bill

/soapbox

I think that the gripes happen pretty infrequently and especially with a
subject line like this thread has, they are easy enough to ignore because it
is obvious that they are off-topic. They do serve a purpose in that they
help to educate others as to what appropriate use of the list is. Some may
not be aware that they are annoying others. That said, if I could add some
of my pet peeves to the list:

Posts filled with letters substituted for words - i.e. 'u r doing this
wrong'. I know it's anal of me but I find it annoying and hard to read.
Cute, but how hard is it to type the whole (short!) words? It gives the list
an AOL chatroom full of teenagers feel (no I don't hang out there, but I
have teenagers at home!). English is my first language and I hate to see it
mangled that badly. It also gives the poster an 'uneducated' impression.
Anybody who codes should be fairly good at keyboarding, so this shouldn't be
necessary.

Posts that don't put have a subject line.

Posts that just say "Thanks!" or "Do I know you?" or some other
acknowledgement that is irrelevant to 99.9% of the readers.

Posts that contain excessive content of previous messages and list footers
copied 99 times. (I'm probably guilty of that sometimes!).

Aside from all of that, the list is awesome : )

/soapbox

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Dynamic Authorization Content

2000-12-21 Thread Hines, Bill

I'll check into that. It sounds like maybe overkill to use EJB to do this
simple dynamic page so I don't know if that will fly. I've been looking for
an excuse to use/learn EJB though :)  I was thinking more in terms of some
simple JNDI code in a servlet to iterate though any subdirectories under the
web root for this web app and check to see if the current user is authorized
to use each one and if so, add the link to the page. Does anyone know if
that is a viable approach? I don't know JNDI either, but will dive in if
that is the solution.

Thanks, Bill

-Original Message-
From: Jaisinh Nimbalkar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 12:12 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Authorization Content


Dear Bill,

I can suggest you to use EJB session beans.
Validate User with data base.

Categorise this user with responsibility.
again categorise him with role.

define his domain

divide your Next(First Login validation - This will be Second ) Jsp in
proper presentation.
Present Comman domain to these users.

For your expected solution there is no atervnative to EJB.

You can visit to SPRINT organisations site that is developed by US.

Jaisinh


-Original Message-
From: Hines, Bill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 20, 2000 10:38 AM
To: [EMAIL PROTECTED]
Subject: Dynamic Authorization Content


Say I have a site that has a main entry point, either a servlet or JSP, and
it is to be accessed by different types of users (brokers, agents, sales
people, etc). Some of the users are in more than one role. For now it's all
static content. The web root would be something like this:

mysite
mysite/brokers
mysite/agents
mysite/sales
mysite/etc

On the main page (servlet or JSP), I want to dynamically place links to each
of the sub-areas of the web site but only the ones that that user is
authorized for. So if someone is a broker and an agent, I want to
dynamically build the page showing only those two links. We're using NT as
our authentication mechanism with WebSphere, and I can set up groups in NT
that correspond to the different groups and place the users accordingly.
This will enable the security to do the dirty work and nobody will be able
to see something they shouldn't by virtue of the permissions set up on the
web resources in these directories being tied to the NT groups that a user
who is logged into belongs to.

That leaves only the task of programmatically figuring out what groups the
user is in so that I can build this dynamic page with only the appropriate
links. Can someone give me any type of code sample or point me towards one
to do this? I think it might be under the JNDI set of APIs, but I'm looking
to get this done quick for a demo so any help is appreciated.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Dynamic Authorization Content

2000-12-20 Thread Hines, Bill

Say I have a site that has a main entry point, either a servlet or JSP, and
it is to be accessed by different types of users (brokers, agents, sales
people, etc). Some of the users are in more than one role. For now it's all
static content. The web root would be something like this:

mysite
mysite/brokers
mysite/agents
mysite/sales
mysite/etc

On the main page (servlet or JSP), I want to dynamically place links to each
of the sub-areas of the web site but only the ones that that user is
authorized for. So if someone is a broker and an agent, I want to
dynamically build the page showing only those two links. We're using NT as
our authentication mechanism with WebSphere, and I can set up groups in NT
that correspond to the different groups and place the users accordingly.
This will enable the security to do the dirty work and nobody will be able
to see something they shouldn't by virtue of the permissions set up on the
web resources in these directories being tied to the NT groups that a user
who is logged into belongs to.

That leaves only the task of programmatically figuring out what groups the
user is in so that I can build this dynamic page with only the appropriate
links. Can someone give me any type of code sample or point me towards one
to do this? I think it might be under the JNDI set of APIs, but I'm looking
to get this done quick for a demo so any help is appreciated.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: a little offtopic

2000-11-29 Thread Hines, Bill

Wouldn't it be fun if everyone had your attitude, and the list was further
polluted with questions about COBOL, JCL, Assembler, etc? It's not the
effect of hitting 'delete' once for YOUR message, it's having to do it
repeatedly all day while reading messages and filtering out non-relevant
information from people LIKE you! That is time-consuming.

It's part of the life cycle, those people get admonished publicly and
hopefully learn or go away. I know it sucks to join a list for this info and
get hundreds of messages, but that's not what lists are for. Try reading a
book, searching the web, or posting in a PERL newsgroup. All of those are
more appropriate for one-off questions. Lists are for topical, ongoing
discussions. As a professional, you should know that. I also hate all the
questions here about Tomcat/Orion/etc configuration and HTML/JavaScript.
Especially the same ones that get answered again and again every day.

-Original Message-
From: Daniel Lynn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 29, 2000 6:56 AM
To: [EMAIL PROTECTED]
Subject: Re: a little offtopic

I appologize to the 4500+ people that I caused undue effort in hitting their
delete
button.

As for PERL questions getting me banned from the list, I wonder, aren't we
all in the
same industry here? Lets face it, all languages have different addvantages
and
disadvantages, that's why there are so many of them. Also, at one time or
another we
will all have to deal with languages we don't know.

Now, I thought that this was a list of programmers, designers, and other
engineers of
internet and network applications. Hence, I figured that it would be a
logical place to
ask the occassional non-JSP question (If it's all the same, I already get up
to 300
messages a day from this list and the servlet list, I don't care to add
another couple
of hundred adding myself to more lists). Also, I can't help but notice the
amount of
HTML questions that keep popping up in my inbox either from this list or the
servlet
one.  If you have some grievance with my email, hit delete. I won't take
offense, I
promise.

-Daniel

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Help - EJB tag missing in VA3.0?

2000-11-27 Thread Hines, Bill

The entry version might not have EJB, or else you are running on some
platform (Win95/98?) where they don't support EJB. You might have to have
Windows NT, Linux, etc for that. Check the readme or docs.

Bill Hines
Hershey Foods

-Original Message-
From: Sherry Hu [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 27, 2000 1:14 PM
To: [EMAIL PROTECTED]
Subject: Help - EJB tag missing in VA3.0?

Hi everyone,

This might be a stupid question, but I am stuck here
...

I am learning IBM's VisualAge and WebSphere now, and
have downloaded VA3.0 Entry Edition for practice.
According to the tutorial there should be a "EJB" tag
in VA, but I have all other tags but EJB view?  I
don't know how to continue now.  Can someone please
help me?  It will be very appreciated.

Sherry


__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Visual Age system requirements

2000-11-15 Thread Hines, Bill

I agree with William Ortiz. Fast PIII processor and MINIMUM of 256M ram. I
think a lot of folks on VAJ 3.5 are moving to 512M ram, especially for the
WebSphere Test Environment and EJB.

Bill Hines
Sun Certified Java Programmer
Hershey Foods

-Original Message-
From: Tofteland, Barry [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 3:55 PM
To: [EMAIL PROTECTED]
Subject: Visual Age system requirements

I would like to hear from people using IBM's VisualAge for Java what they
consider to be the system requirements in terms of processor and memory.  I
will be doing development work with JSPs, servlets and EJBs.  I will
probably be debugging with the JSP execution monitor as well as the
Websphere test environment.  I am more interested in what people have found
to be "practical/optimal" hardware configurations rather than the bare-bones
statistics they list on the box.

Thanks in advance for your help.
   -Barry

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: where to learn about JSP based dynamic web applications?

2000-11-10 Thread Hines, Bill

Actually, read up on the new "Java Web Start" initiative on Sun's web site
(and in recent trade journals). It is for this type of application, with a
sophisticated UI, and the good part is that it doesn't run under a browser
but has many of the benefits - i.e. it is automatically updated if any code
changes back at the source server, etc.

-Original Message-
From: Andy Purshottam [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 08, 2000 5:35 PM
To: [EMAIL PROTECTED]
Subject: Re: where to learn about JSP based dynamic web applications?

-Original Message-
From: Sicaud Patrice
To: [EMAIL PROTECTED]
Sent: 11/8/00 9:19 AM
Subject: Re: where to learn about JSP based dynamic web applications?

 Andrew:
 I am interested in this thread. Can you expand on what you exactly mean?
What is not exact about:
"things that look and act like windows
MVC-based  applications, but run in a browser?"

I mean GUI applications built with windows, menus, text and
direct manipulation graphics, running in a browser with no installation
footprint on local machine beyond cookies and browser cache. Examples
include the (now defunct) funiture.com room planner and to a less
extent, hotmail.

Andy

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Off Topic

2000-11-03 Thread Hines, Bill

I used http://www.javaranch.com. There is some testing there also, a pretty
cool cow roundup game, but do not use that solely to see whether you are
ready! The real test is much harder. There are links to other sites from
that one which also have info and tests. The test is pretty hard, in some
cases you have to choose the 4 correct answers out of six and if you know 3
of them the question is still wrong. I passed the first time but most people
don't. I over-studied. It was great because I learned so much I would not
otherwise have learned and use a lot of it every day. I didn't like having
to know the file i/o packages and awt though! I wish they had a server-side
version.

Bill Hines
Hershey Foods

-Original Message-
From: Emeline Barns [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 03, 2000 12:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Off Topic


Hi
If anybody can advice me what sites to go for testing and preparation for
java certification.
Thank you.
Elena



_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: WebSphere - Connection Pooling

2000-10-30 Thread Hines, Bill

If you want the info real-time, there is a pane in the WebSphere Admin
Console that will show you all connection pool info, as long as you're using
WebSphere's pooling and not writing your own.

-Original Message-
From: Sushil Singh [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 23, 2000 6:47 PM
To: [EMAIL PROTECTED]
Subject: WebSphere - Connection Pooling


Hi,
Can anybody help me, how to check how many connections are there in
pool, how many are in use, held etc.  I am using WebSphere Application
Server 3.0 (Advance Edition) on AIX with DB2. After sometime my
servlets/jsp are unable to get connection even though i am relasing the
connection.

Thanks in advance.

Sushil

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: dev platform

2000-10-30 Thread Hines, Bill

We develop and unit test on NT workstations (WebSphere Test Environment that
comes with IBM VisualAge for Java), deploy to an NT integrated test server
(WebSphere), and deploy to AIX or Solaris for production (WebSphere). I
think it works out well and we've never had a situation where we've had to
change code or had anything incompatible from one environment to the other.

After so many broken promises in this industry (after all these years 
major upgrades, still can't really multi-task under Windows if you're
printing or downloading, still can't install ANYTHING without reboot(s),
still CAN crash the OS, etc) its so nice that this is a no-brainer and we
never even have to think about it.

WORA lives!

Bill Hines
Hershey Foods

-Original Message-
From: Neal Cabage [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 12:11 PM
To: [EMAIL PROTECTED]
Subject: dev platform

What are most of you using for your development platform when developing
JSP?

I mean, independent of the final destination platform of your project ...
are you developing on WindowsNT, Linux, or other, during development? If you
plan on migrating to Solaris ultimately ... are there any detriments to
developing in NT?  Any caveats to note?

Thanks!

Neal

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



ClassCastException on session.getValue()?

2000-09-28 Thread Hines, Bill

We have a servlet that checks if there is a session and if so, checks for
a session value "UserInfo". If both aren't there, it puts its URL into the
session and calls the LoginServlet. After the user logs in, the LoginServlet
populates a class 'ExtranetUser' and creates a session, and puts it in the
session as "UserInfo" with session.putValue( "UserInfo", userInfo ).
userInfo is a newly instantiated and populated ExtranetUser object. It then
extracts the URL from the session and redirects back to the application.

Back at the app, the session and "UserInfo" object are there, but the
following call fails with ClassCastException:
ExtranetUser user = (ExtranetUser)session.getValue( "UserInfo" );

How could this be? There is only one ExtranetUser class on the system, so
there's not a chance there are different versions. If we change the cast to
(Object)session.getValue "UserInfo") and then do a user.toString, we get
"com.hersheys.login.ExtranetUser@314320" so we know it's the right
class/package!. We tried fully qualifying the cast and the declaration above
with com.hersheys.login but that doesn't make a difference. The application
is in a webapp under IBM WebSphere 3.02. We know that both servlets can pass
info through the session because the app puts its URL there and the login
uses it to redirect back and that is working.

We've been trying to figure this out all day. Can anyone help? Thanks!

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: how to you use costom tags in jsp.

2000-09-25 Thread Hines, Bill

Why should he have to mention or even look for which tutorial for this guy?
I think java.sun.com was just sort of a sarcastic "RTFM, and start at the
beginning" reference anyway.

Instead of the convoluted series of steps that you list below, anyone with
half a brain or a little incentive would know to just open google, excite,
yahoo, etc and just search on 'taglib tutorial'. I just did that and was
rewarded with tons of listings!

Some of these guys went overboard in their rudeness, but how many times have
we seen some lazy newbie come on this list and shower it with these
messages:
"Tell me about java" (then someone responds, encouraging their laziness),
then we get:
"Now tell me about servlets", then
"Now tell me about JSP",
etc,
etc.

The rude dudes are kind of the sentries to discourage that sort of thing, I
guess. If you're going to ask us to recommend a good tutorial, at least list
a few of the ones that you found to show that you've done a little work
yourself.

Bill Hines
Hershey Foods

-Original Message-
From: Walter Landman [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 25, 2000 1:41 PM
To: [EMAIL PROTECTED]
Subject: Re: how to you use costom tags in jsp.

Ok now i'm in java.sun.com.  On the left I see
Products, Develoer, DocsTrain, Online Support, Industry, Solutions, Case
Studies.

Also I then see Press, Java Tutorial, etc, etc.  Hmmm let me click on Java
Tutorial.

How nice. JDK1.1 and Beyond!.  Nothing about Taglib's there.  Let me go
back, and try something else.  Docs and Training.   So where do I go from
here?  Well I guess I would click on Other Java Technologies.  Still
nothing let's go back.  Now let's try optional packages.  Well gee I
remember reading something about taglib's having to deal with servlet's so
I'll go there.  Ah Java Servlet Technology  Let's goto Product Info.
Nothing again.

My whole point?  Java.sun.com is a tangled mess.  Of course you can use
the messy search tool.  So was pointing him to java.sun.com any help?

Sure you did the patented RTFM routine.  You just forgot to mention which
manual :-).

--
Walter Landman  Ultinet Internet Services
Views expressed in this http://www.ultinet.net
e-mail are my own and not   Developer / Programmer
my employer

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Model 2 Servlet Design

2000-09-13 Thread Hines, Bill

WebSphere is still only at Servlet 2.1 and JSP 1.0. Can I still use Struts,
and if so what important functionality will I be missing?

-Original Message-
From: Kevin Duffey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 12, 2000 11:30 AM
To: [EMAIL PROTECTED]
Subject: Re: Model 2 Servlet Design

If you are lucky enough to choose a framework, I would look at the Jakarta
struts project. I am using it now and its very easy to work with, and does a
lot of nice things, including internationalization, auto-bean population,
single entry controller servlet, and more. Its free, open-source and
supported by sun/jakarta. jakarta.apache.org I think will take you there,
and on the left side look for Struts. Its pretty easy to set up if you have
a properly implemented Servlet 2.2 engine. I use Orion app server which I
feel is the best overall to use. Tomcat is good, but isn't an EJB/J2EE app
server, mostly a web/Servlet server. Resin is another good one, and I have
heard that JRUN 3.0 is ok for this too.

It does all the MVC for you, you write action classes that get passed 5
parameters and return a result. You use a single XML config file for every
action of your site, with one or more possible "forwarding" values that can
be used to forward to different JSP pages. It has done wonders in cleaning
up my code.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Jsp engine compatible with Domino

2000-09-11 Thread Hines, Bill

I think that Domino already comes with some version of the WebSphere servlet
engine. I think there is some option to replace the default sevlet engine
with WebSphere if it isn't installed as the default. I'm pretty sure that it
comes with Domino on the CD in case you want to do that.

Bill Hines
Hershey Foods

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



usebean autocreate Param?

2000-09-01 Thread Hines, Bill

In JSP .9x, I think there was an autocreate param in the BEAN tag to
specify whether the bean should be created with the null constructor if it
wasn't found in the scope identified by the scope param. I don't see that in
any of the descriptions of JSP 1.0 jsp:usebean. Is it automatic now? What
if you had a page where the bean SHOULD exist? Do you have to code the
exception by hand now?

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Training and Education

2000-09-01 Thread Hines, Bill

Check the digests of this list for threads on "books". There are a few that
everyone seems to like. There are endless tutorials on Java and JSP out
there on the web, just search for them! Your question is similar to someone
standing on the shores of the Pacific Ocean asking passers-by if they know
if there's any place to swim nearby. There is literally an ocean of
information on the web, so I wouldn't waste the money on a class unless you
really need that structure. Get yourself a good IDE, such as the free ones
that you can download from IBM (VisualAge for Java) or Sun (Forte/Tomcat)
and get busy! Have fun with it

-Original Message-
From: Pavlakovich, Justin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2000 11:59 AM
To: [EMAIL PROTECTED]
Subject: Training and Education

I have little or no programming experience however I need to learn JSP.  Can
someone suggest the best way to get up to speed and eventually learn JSP?  I
am assuming that the Sun class "Java for non programmers" is a good place to
start and I have downloaded the Java tutorial from the Sun website.  Where
should I go from here?   What classes and/or books can you suggest?  Thanks.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: your opinions about servlets + JSP, Brazil, WebMacro and othe r co mpeting technologies

2000-08-30 Thread Hines, Bill

Jim - Amen! I think the "immaturity" is with a lot of IT management. They
expect JSP to be "simple" along the lines of HTML. The tools aren't quite
there yet but getting better now that J2EE is a reality. You touched on one
thing that I complain about - as part of my job as a web application
developer, I'm also expected to do the admin/config/troubleshooting for
WebSphere. Management often just doesn't understand that application servers
(at least good, full-featured ones) are complex pieces of software that
require a middleware tech as a full time position to be able to develop
expertise enough to be really good to tune them and tell when and why things
go wrong. I'm having enough trouble keeping up with the technical and
architectural changes in server-side Java development, let alone learn
enough to bring my self above a novice level as far as the app server and
all of the changes that are happening there.

Bill

-Original Message-
From: Jim Bailey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 29, 2000 2:26 PM
To: [EMAIL PROTECTED]
Subject: Re: your opinions about servlets + JSP, Brazil, WebMacro and
othe r co mpeting technologies

From the perspective of a web designer, JSP isn't very mature. There aren't
many GUI tools that support JSP and the ones that do like Dreamweaver are
first generation and need more work.

From the perspective of a Java developer working on web applications and
user interface design, JSP is a godsend and is very mature technology. This
is especially true if you are working on enterprise applications. There
isn't any other technology that even competes on the same level with JSP,
servlets and EJBs. I don't work with GUI web development tools. I rely on
our web developers to do that and I add the Java and JSP tags that they
can't handle.

There are at least 5 books on JSP and even more on servlets. If you can't
configure the tools maybe you are out of your depth and should employ the
help of a system admin. I'm a programmer with 17 years experience and over 2
years of Java and 18 months of JSP and I don't try to configure our
webservers without help. It isn't my expertise. That a particular
implementation of a JSP/servlet engine is difficult to configure is hardly
an indication of the maturity of JSP and servlets.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: your opinions about servlets + JSP, Brazil, WebMacro and othe r co mpeting technologies

2000-08-30 Thread Hines, Bill

Martin,

Yes, but in real life, especially in corporate situations, that isn't
realistic. Connectors have to be configured for ERP systems, database
connection pooling/drivers, monitoring systems like Tivoli, message queue
systems like MQSeries, etc. I'm not just talking about the install, but also
the ongoing config, admin, and maintenance. Developers have to be aware of
the app server architecture to write good code, but this sort of thing
requires a dedicated position and some expertise to do well.

Bill

-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 29, 2000 2:55 PM
To: [EMAIL PROTECTED]
Subject: Re: your opinions about servlets + JSP, Brazil, WebMacro and
othe r co mpeting technologies

At 02:26 PM 8/29/00 -0400, Jim Bailey wrote:
That a particular
implementation of a JSP/servlet engine is difficult to configure is hardly
an indication of the maturity of JSP and servlets.

Besides, there are counter-examples. My favourite: getting Resin installed
and running, particularly in its standalone configuration, couldn't be
easier.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: need your Suggestion

2000-08-22 Thread Hines, Bill

There is a great book, a very thin green book that our team uses as a basis
for our standards with some small modifications. The book is "Elements of
Java Style". Scott Ambler is one of the major contributors and he has some
documents on his web site (ambysoft.com?) on this subject.

Just FYI, you could find plenty of info by just opening a browser search
engine and searching on keywords 'java' and 'style'.

Bill Hines
Hershey Foods

-Original Message-
From: Rajesh Singh [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 19, 2000 8:34 AM
To: [EMAIL PROTECTED]
Subject: need your Suggestion


hi all
sorry as it's not related to JSP.
Can anyone please tell me from where
to get information on
Coding guidlines for java-programmers
i mean about the Coding Standards?

will really appreciate if u could suggest some site
/on-line material etc specifiacally for this?

can also send me at [EMAIL PROTECTED]
thanx and regards,
Rajesh

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: UML Tutorial Pointers

2000-08-09 Thread Hines, Bill

"Could anybody tell me how should i go abt learning UML.
I want some site where i can find meaning of all the notations and some
examples."

If you want a good book:

Get the book "UML Distilled, 2nd Edition". It's a pretty thin book and very
good.

If you want something on the web (and it sounds like that's what you asked):
You could easily use a web search engine like Yahoo, Excite, Google, etc to
find this on your own, couldn't you? I don't want to get nasty like others,
but we have to assume that people who know how to use newsgroups/usenet know
how to use a web browser, and anyone who knows how to use a web browser
knows how to search for things on the web! Requesting this of other users of
the list in that case is just plain lazy and inconsiderate.

Bill Hines
Hershey Foods

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Servlet Controller - stopping other Servlets calling action S ervl ets

2000-08-07 Thread Hines, Bill

Easy - the controller servlet is the ONLY servlet in the application. It
calls "action classes" to carry out tasks, but there are not servlets. They
are "servlet aware" in that they accept servlet artifacts in their execute()
method as parameters, so they can access parameters, etc. But to answer your
question, some of the beauty of this is that the controller is the only
servlet, hence all security, session checking, etc happens there.

Bill Hines
Hershey Foods

-Original Message-
From: Marc Krisjanous [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 07, 2000 7:52 AM
To: [EMAIL PROTECTED]
Subject: Servlet Controller - stopping other Servlets calling action
Servl ets


Hi all,
I have seen some discussions on the Servlet Controller concept here and I
would like to know how you can stop other Servlets or users for that matter,
calling other Servlets that are only allowed to be called by the Servlet
Controller.


Best Regards

Marc

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Passing Query String with URL

2000-08-01 Thread Hines, Bill

And don't forget that you don't have to hard-code the whole URL here - there
are broken down components of it under document.location, such as
document.location.search to update just the query string part of it
(starting with the '?'), etc. If you're staying on the same
server/domain/webroot, you might want to omit those parts and just change
the document/jsp name and search string.

Oops, I think it might be something like this:
document.links[0].search = "?user=" + u

Bill Hines
Hershey Foods

-Original Message-
From: Steingoetter, Jochen
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 01, 2000 3:41 AM
To: [EMAIL PROTECTED]
Subject: Re: Passing Query String with URL

Hi,

try it like this:

document.location.href="http://localhost:8181/LoginCRMPrj/Change_Pwd.jsp?use
r=" + u + "pwd=" +p;

Cheers Jochen

-Original Message-
From: B.V.Murali Krishna [mailto:[EMAIL PROTECTED]]
Sent: 01 August 2000 08:17
To: [EMAIL PROTECTED]
Subject: Passing Query String with URL

hi all,
   I am using a javascript function in Jsp, where i am calling another Jsp
and passing a query string with it. The problem is that the query string
paramater values which are javascript variables are not converted to their
values.

onclick="go_to(user.value,pwd.value)"/td
function go_to(u,p) {
 alert(u);
 alert(p);

document.location.href="http://localhost:8181/LoginCRMPrj/Change_Pwd.jsp?use
r=upwd=p"
 }

The values are user is retrieving as u and not the values same for pwd.

Can someone please help me.

Thank in advance,

Regards,

MURALI KRISHNA BALUSA
VELOCIENT TECHNOLOGIES
NEW DELHI.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Error handling in MVC model

2000-07-20 Thread Hines, Bill

It's called exception handling. Any errors that occur at the lower levels of
MVC, such as in your model (Java business logic) classes, should be caught
and throw up a level (to the servlet, or controller level), and then to the
JSP level, which should trigger your error page to be displayed.

Bill Hines
Hershey Foods

-Original Message-
From: Kumaravel Kandasami [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 20, 2000 9:38 AM
To: [EMAIL PROTECTED]
Subject: Error handling in MVC model

Hi,

I have a paculiar problem..
i am coding in a MVC (JSP-Servlet-Java classes) model.
I am confused on picking up a common strategy to be
applied on handle Business Errors, System Errors and
Screen Errors. Any ideas on this?

Thanx in advance,
Kumar


__
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Storing sessions

2000-07-18 Thread Hines, Bill

Just create an 'Item' class with these attributes and then create a vector
or array of them and put that in the session as ItemVector or something. Be
careful about putting too much data in the session, if you have a lot of
users you'll use up lots of memory. Might be better to put in a database in
that case, or check to see if your app server persists session data to disk
automatically.

Bill Hines
Hershey Foods

-Original Message-
From: Aaron Prohaska [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 2:27 PM
To: [EMAIL PROTECTED]
Subject: Storing sessions


Hello all. I am trying to figure out how to store a group of parameters in
session so that I can store multiple groups and print this out into an html
table. What I can't figure out is how to store a group of parameters in the
session object. My group of parameters consists of this: Item, Description,
Price, Quantity, and Total. Now I need to store those five parameters with
difference values for each item that I have. So my html table would look
something like this.

ItemDescription Price   Quantity
Total
8923some description$80.29  4
$321.16
2983second product desc $20.50  2
$41.00

I have been thinking about holding this information in an object and then
holding the object in session, but I can't figure out how to a uniqe object
for each product. I also realize that a database would be the best way to do
this, but I can't use a database for this, so session seemed to be the next
best thing.

Also, is there anyway to create multiple uniqe sessions? I seem to remember
that there is a way to do this using ASP/VBScript, but I can't seem to do
this same thing in Java.

thanks,

Aaron

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSP editor

2000-07-17 Thread Hines, Bill

IBM's WebSphere Studio Page Designer allows WYSIWYG editing of a JSP's HTML
code, dropping of beans on the page to get auto-insert of the jsp:usebean,
etc. It's getting better with every release (new one due out in mid-August).

Bill Hines
Hershey Foods

-Original Message-
From: Jim Preston [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 05, 2000 6:01 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP editor


Well, this kind of an answer probably won't curtail such postings.

This question is addressed in the JSP FAQ:
http://www.esperanto.org.nz/jsp/jspfaq.html#q7

As near as I can tell, there still aren't any editors that do any kind of
WYSIWYG editing of the HTML side of a JSP. If anyone knows of one that does,
I'm sure many would appreciate hearing of it.

--Jim Preston

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Manisha Menon
Sent: Wednesday, July 05, 2000 12:57 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP editor


Almost evryday, this question is being posted !!!

--- Terence Lui [EMAIL PROTECTED] wrote:
 What is the best editor for doing JSP, HTML,
 Javascript developemnt?

 -TL

 ---
 FREE! The World's Best Email Address @email.com
 Reserve your name now at http://www.email.com


===
 To unsubscribe: mailto [EMAIL PROTECTED] with
 body: "signoff JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP

http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Where is javax.mail.internet.*?

2000-07-17 Thread Hines, Bill

I saw some example code here to send email from a servlet/JSP. It imported
javax.mail.internet.*. Where can I find that? I'm using IBM VAJ 3.02 EE and
I don't see it. Is it part of JDK 1.2? Can I download it separately and
integrate it into what I have?

TIA

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



JSP Page Has Expired?

2000-07-14 Thread Hines, Bill

I have a JSP page that creates a list of products, and the user can click on
any of them to "drill down" for the product detail info. But if they sit
there for more than a very short period of time, when they hit "back" to go
back to the list to look at another product, they get "web page has
expired". How do I extend this timeframe? Is there a tag that I can put in
my JSP page? In this scenario, they will repeatedly go back to the list and
select a new product to look at.

TIA!

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSP and UML - or: Modeling a JSP application

2000-07-07 Thread Hines, Bill

Heiko,

I went to a week-long Rational OOAD class and couldn't figure out how to
apply the UML to my web app. So I had a design session with Rational on my
web app and I noticed that the consultants were all peeking in this book. I
asked to see what it was and it was the book that Bill mentioned by Jim
Conallen of Rational ("Designing Web Applications with the UML"). It is an
excellent book. You will also need the Web Application Extensions (WAE) from
Rational's web site for some artifacts to use for server pages, client
pages, etc. Web apps are tough because a servlet for example can manifest
itself as a boundary object by the HTML that it generates (and becomes a
whole different object) and a controller object by nature of it's handling
of HTTP traffic, parameters, and other servlet-type jobs. Conallen provides
a model to handle that nicely. The book also has one of the best tutorials
on the whole web paradigm that I've seen.

Bill Hines
Hershey Foods

-Original Message-
From: Heiko Gottschling [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 29, 2000 12:12 PM
To: [EMAIL PROTECTED]
Subject: JSP and UML - or: Modeling a JSP application


Hi,

has anybody ever tried to model a JSP application in UML? I have not
worked very much with UML so far, but I would like to have a means to be
able to design my JSP applications before programming begins.

I think a big modeling problem would be the parameter passing between
servlets and JSPs, which works by storing key/value pairs in request
objects, sessions etc. BTW: I think this kind of parameter passing sucks
anyway, because it is neither type-safe nor is it noticed (by the
compiler!) if you simply don't pass any parameters at all :-( Wasn't
Java said to be a type-safe language? We might as well be programming
Basic...

So, how do you all design you applications? Or are you just hacking away
:-)?

cu
Heiko

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: To List Master

2000-06-28 Thread Hines, Bill

I think what we do here is to just all send them a reply to their email
address to please remember to exclude the list address from their out of
office reply or else sign off the list while they're away. I think they'll
get the message! Just PLEASE don't send these responses to the list! The out
of office replies usually come from their personal mail account and not the
list, but check first.

-Original Message-
From: Shane Duan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 28, 2000 11:48 AM
To: [EMAIL PROTECTED]
Subject: To List Master


Ok, this is annoying.  I sent out one message and got five Out of Office
Auto Reply.  Can someone do something about it?

Maybe send them a mail and disable them from the list.

Shane Duan
Lead Software Developer
[EMAIL PROTECTED]

EquipmentAuction.com
3315 West 12th Street
Houston, TX  77008
P 713 283 6400
This communication may contain confidential information intended only
for the person to whom it is addressed. Any use, dissemination,
forwarding, printing, or copying of this e-mail without consent of the
originator is strictly prohibited.  If you have received this e-mail in
error, please immediately notify Shane Duan by telephone at (713)
283-6400.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Dynamic HREF parameter values?

2000-06-27 Thread Hines, Bill

A co-worker has a JSP page that has some A HREF links on it to other JSP
pages. Now, on one of these links, he must pass a parameter that is the
value of a selected radion button on this same page as the link. I know he
can do that by turning the hyperlinks into submit buttons and making the
whole thing a form, but there are many of these links and it would be ugly.
How can he include the value of a selected radio button on a page as a
parameter to this HREF target? I never had to tackle that one before and I'm
not real familiar with JavaScript and the DOM but I think it might be an
answer somehow.

Thanks in advance..

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: A design question

2000-06-23 Thread Hines, Bill

Craig,

"On the other hand, if there is a "one-to-many" relationship (in your case,
one employee with multiple payments), I would make two different beans --
Employee and EmployeePayment -- and then store one employee bean and as many
payment beans as I needed to."

How about an employee bean that has an empty Vector of payments as an
attribute. Is there a downside to doing it that way, so that all employee
info can be encapsulated together and neatly stored or retrieved from the
session?

Bill Hines, Hershey Foods

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 7:44 PM
To: [EMAIL PROTECTED]
Subject: Re: A design question

Louis wrote:

 Hi,
 I use model 2 in my web application.  I have a question about design a
 bean.
 I'm not sure whether I want to create a big bean or many small bean.  For
 example,
 I can create a bean that contain employee personal info, and another bean
 that contain
 employee payments, etc.  Or, create only one bean that contain all the
info.
 Is there any different btw this?  Can anyone tell me which method is
 good?  Passing the big bean, will it be slow down the performance? or use
 more memory?


Since the beans all stay in the server's memory, there isn't really much
performance difference between one big bean and two small ones.  You should
design
your beans based on object oriented design principles, rather than worrying
about
performance.

The "rule of thumb" that I use is if all the information is about one thing
(like
an employee in your case), *and* there is only one copy of all the fields, I
make
it all one bean.  On the other hand, if there is a "one-to-many"
relationship (in
your case, one employee with multiple payments), I would make two different
beans
-- Employee and EmployeePayment -- and then store one employee bean and as
many
payment beans as I needed to.


 Sorry my english, hope you can understand.

 Louis

Craig McClanahan

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSP Coding standards

2000-06-19 Thread Hines, Bill

There is an awesome book out, a little green book called "The Elements of
Java Style" that our organization has adopted as it's standard with very few
changes. It is a collaboration by a number of notable figures, one of which
is Scott Ambler. You can visit Scott's site (ambysoft.com?) and download
some papers there on standards, but I suggest you get a copy of the book for
each person in your organization and any revisions you might make. It is
very thorough and covers many conventions as well as efficient coding
techniques, documentation, etc.

(deleting the SIG at the bottom to make Angus happy)

 :)

Bill Hines, Hershey Foods

-Original Message-
From: Jurrius, Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 9:44 AM
To: [EMAIL PROTECTED]
Subject: JSP Coding standards

Does anyone know where I can find some good JSP coding standards?  Thanks.

Mark

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Reference to Model 2 design pattern article?

2000-06-16 Thread Hines, Bill

Also, if you're looking for something that was referenced here, you could go
to the archives and search them. I'm sure that would yield hundreds of hits
on Model 2!

Bill Hines

-Original Message-
From: David M. Karr [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 15, 2000 6:46 PM
To: [EMAIL PROTECTED]
Subject: Reference to "Model 2" design pattern article?


I really have looked for this, and I believe I saw it at one time, but
I'm unable to find it now.  I'm looking for a reference to a detailed
description of "Model 2", the "modern" way of structuring a
JSP/Servlet application.

--

===
David M. Karr ; [EMAIL PROTECTED]  ; w:(425)487-8312 ; TCSI  Best
Consulting
Software Engineer ; Unix/Java/C++/X ; BrainBench CJ12P (6/12/2000)

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Using J2ee with iPlanet Calendar Server?

2000-06-16 Thread Hines, Bill

Ritesh,

Could you PLEASE stop putting this message on the list so many times each
day? Obviously, nobody has an answer for you. You will have to do some
research somewhere else on this subject. This is not the "Consumer Reports"
of JSP, it is a forum for discussing JSP usage and techniques. PLEASE stop
this annoying practice, you may also be offending people so much that they
will refuse to answer you!

-Original Message-
From: Ritesh_Srivastava [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 16, 2000 5:59 AM
To: [EMAIL PROTECTED]
Subject: Re: Using J2ee with iPlanet Calendar Server?


PLease see this mail.

 --
 From: Ritesh_Srivastava[SMTP:[EMAIL PROTECTED]]
 Reply To: A mailing list about Java Server Pages specification and
 reference
 Sent: Friday, June 16, 2000 10:34 AM
 To:   [EMAIL PROTECTED]
 Subject:  Using J2ee with iPlanet Calendar Server?

 Hi,
 I have to integrate a Calendar Server with my application running
 on
 J2EE server.I have a few queries to make?
 *   Does J2EE supports LDAP protocol?
 *   What is a LDAP server and why is it used.
 *   Does the iPlanet Calendar Server which is free download is a free
 product or the downloaded version is demo version.?
 *   With J2EE what are the most commonly used Calendar Servers?

 If anybody has worked on this, then please help in this regard.

 Ritesh

 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Greetings from Bangalore

2000-06-14 Thread Hines, Bill

Yeah, and the greatest testimony about your product is that your president
died from eating the stuff! I guess he's in rupee-heaven now from eating
Herbalife.

Can the list moderator remove people from the list who post this crap, and
the guy (Biren?) who keeps posting the message "buy iPlanet" or whatever to
everyone's questions?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 12, 2000 5:33 PM
To: [EMAIL PROTECTED]
Subject: Greetings from Bangalore


Dear Friend,

I got to know you  from
http://www.mail-archive.com/jsp-interest@java.sun.com/msg04862.html.
My name is Sergey, I'm from Boston, U.S.A. and I've been living  with my
family in India for the last 5 months.

To come to India was always something that we wanted all our life, a "dream
from
childhood" but, unfortunately by the age of 20 life responsibilities force
so
many of us to abandon our dreams and goals in favor of a monthly paycheck.
We get trapped in a daily routine because we were educated to go to school,
get a job and work towards retirement.

Several years ago we met a company with exclusive, life changing products,
most generous marketing plan and honest and caring leadership that WANTED
us to dream and was willing to teach us how to achieve our goals.
Of course, we ourselves were willing to make some changes and learn some
new skills, and that helped us to achieve the top management position
in a record short time.

We came to India as soon as our company opened operations here,
and we are looking for some dynamic and entrepreneurial people to whom
we could pass our experience and knowledge.
Let me give you a few facts:

-recently opened in India and already up to Rs 28 crore per month in sales!
-fastest growing company in the world in nutrition and weight-control
industry
-unique herbal-based products approved in 49 countries
-publicly held company traded on the Nasdaq Stock Exchange
-over 20 years on the market
-$1.85 Billion dollars in sales in 1999
-30+  million documented satisfied customers world-wide

This is not a situation where you must quit your job and overnight have a
new profession.
Over 90% of us began strictly part time, putting in whatever hours our
schedules
allowed, working around our children, our jobs and committments etc.
When our part time incomes from this business matched or exceeded our
current jobs,
many of us made the decision to do this full time.

So whether you just need an extra few thousand rupees per month or you'd
like
to have an incredible lifestyle and to build a wall of financial security
around
your family, fill out the  following form that will help me to contact you
with the appropriate details:

http://pwp.roltanet.com/herbalife/Profile1.html

This is a ground-floor opportunity and the right time is NOW.

Best Regards,
Sergey and Lana
Executive President's Team

P.S. If you are one of those fortunate who is completely satisfied
with what you already have, please pass my e-mail to those friends
who are looking for a new opportunity: [EMAIL PROTECTED]

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Another even more trivial model 2 question

2000-06-09 Thread Hines, Bill

Craig,

I noticed here and in another message from you that when you do the
getServletPath to get the "/listCustomers.do", you then strip off down to
"listCustomers" and then search a hashtable to get the action class name,
then search another hash table by that to get the class object itself. Why
can't you just make the part before .do the action class name itself and
save that extra step?

Thanks, Bill

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 24, 2000 7:35 PM
To: [EMAIL PROTECTED]
Subject: Re: Another even more trivial model 2 question


"Bailey, Jeff A" wrote:

 Well, I actually got the controller - Action class model working
 appropriately (Thanks to all those who answered all these trivial
questions
 of mine). . . .but I have another question.

 What sort of methods are others out there using to obtain a "match part"
 from the requestURI?  I am ripping the string apart (in a very very poor
 way) and reconstructing a "match part" by eliminating the server
information
 and virtual directory information used in the application deployment.  I
was
 just wondering what some others have come up with because I am fairly
 positive that mine sucks parts of the body that one should not mention on
a
 list such as this :).


The approach I use is to map my controller servlet to a filename extension
with an
entry like this in the web.xml file:

servlet-mapping
servlet-nameMyControllerServlet/servlet-name
url-pattern*.do/url-pattern
/servlet-mapping

which associates the ".do" suffix (implying "go do something") with the
controller
servlet.  Now, my JSP pages can submit to a URL like "listCustomers.do" or
"addOrder.do" and my controller servlet can do this:

String matchPart = request.getServletPath();
int extension = matchPart.indexOf(".");
if (extension = 0)// Strip off the extension so I can change it at
will
matchPart = matchPart.substring(0, extension);

Given the two above examples, I would get a string of "/listCustomers" or
"/addOrder" from this code, and I can use the matchPart value to look up the
appropriate action class.


 This isn't anything urgent as I have everything working, I was just hoping
 to see some alternative examples so I can see how mine stacks up (or
 doesn't).

 Thanks again for all the help to all who have contributed to the Model 2
 discussion :)

 -j


Craig McClanahan

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Design choices: JSP Javascript

2000-06-06 Thread Hines, Bill

Tom,

JSP doesn't preclude JavaScript. We use JavaScript in our JSP pages to do
things like change some select lists based on changes to others. Use the
JavaScript onChange() call for those select boxes. We go out to the server,
reload the contents of lists, and redisplay the page really fast. It works
great.

Bill Hines Hershey Foods

-Original Message-
From: Tom Miller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 06, 2000 1:00 PM
To: [EMAIL PROTECTED]
Subject: Design choices: JSP  Javascript

I have been asked to bring a bunch of PERL web functionality
into a JSP environment. Many of the specs are requesting
Javascript capabilities, like resetting "select" options on
the fly, to match other "selection"s. I have read posts and
book sections about the possibility of mixing Javascript and
JSP, and have experimented a little. But I am asking myself,
why not just do it all in JSP? and, is there anything
available in Javascript that couldn't also be done in JSP,
Beans, taglibs, etc.?

Secondly, our chief designer would like to be able to
control some actions to be "client side", preserving memory
and processing resources on our server. If I opt for doing
everything in JSP, does that preclude using client
resources?

Any thoughts or references will be appreciated.

Tom Miller

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Shopping Cart JSP/Servlet Package

2000-06-02 Thread Hines, Bill

There is a company called Page Digital that has something like this. It's
all open and very configurable and based on servlets/JSP. Shouldn't be too
hard to find them on the web.

Bill Hines

-Original Message-
From: Jon Baer [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 21, 2000 5:21 PM
To: [EMAIL PROTECTED]
Subject: Shopping Cart JSP/Servlet Package


Does anyone know of a high-class ecommerce based JSP/Servlet package that is
available to
plug-in to a website?

Thanks.

- Jon

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Model 2 - Instantiate Action Call doGet()?

2000-05-25 Thread Hines, Bill

Craig,

I understand. One thing, however - I still was going to have the main
"controller" servlet that was going to do the routine things - check for
login, check for session, etc. Then *that* controller servlet was going to
instantiate the Action servlet and call its doGet(). But as you say, that
would be overkill since the Action servlet would carry a lot of unnecessary
baggage.

Am I right that your Action classes then just each extend the Action
interface and have just the one perform() method?  And the Action class is
the one that forwards to the correct JSP page?

Thanks, Bill

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 24, 2000 12:50 PM
To: [EMAIL PROTECTED]
Subject: Re: Model 2 - Instantiate Action  Call doGet()?


"Hines, Bill" wrote:

 In the model 2 architecture that many of you use, is the Action class
 derived from HttpServlet? I saw a code example where I think it was a
 generic class, but passed in the calling servlet, request, and response.
 Would it be better to just make it a servlet and instantiate it and then
 call its doGet(), passing in the request and response? If possible, this
 might allow me to more easily port an existing app to this architecture.


In my case, the Action interface (not really a class) is *not* a servlet --
it has
one method:

public interface Action {

public void perform(HttpServlet servlet,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException;

}

It is certainly possible to make each action a servlet -- and then it's even
possible to call them directly instead of going through a controller.
However,
I've found the following disadvantages to this for my own apps (your mileage
may
vary):

- You lose the fact that the controller servlet
  can perform common logic (such as making
  sure you've logged on) for all requests -- you
  would now need to make sure that this is
  done in every single action servlet.

- You tend to create subtle dependencies between
  the presentation logic and the business logic
  based on the URLs being used.  I find it easier
  to avoid this temptation if I'm using an action
  class that is clearly not a servlet.

- If your action procedures don't need the full
  lifecycle support (init and destroy methods) that
  servlets support, making them servlets is overkill.
  (If they do need this support, maybe you should
  look at designing them to access shared servlet
  context attributes that are initialized when the
  server starts up instead?).

For some folks, action servlets works just fine because they don't need a
single
point of management.  Personally, I find it easier to separate roles, and
design my
action classes as "adapters" (in Design Patterns terms) between the
parameters
coming in with the HTTP request, and the business logic beans or EJBs that
actually
do things.


 Thanks, Bill


Craig McClanahan

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Concepts and vendors

2000-05-25 Thread Hines, Bill

We have excellent debugging tools here for servlets and JSP, even
distributed. We're using VisualAge for Java from IBM. Unless you've tried
all tools and REALLY understand what you're doing, don't fault the tools or
languages! I have a feeling that there wasn't a lot of experience on your
project, and inexperienced people can screw up an ASP site as well.

Bill Hines

-Original Message-
From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 24, 2000 8:26 PM
To: [EMAIL PROTECTED]
Subject: Concepts and vendors


Hi,
   Sometimes it is quite funny. We discuss so many design issues and
lofty modeling practices like the Model 2 pattern. I wrote a  JSP and called
a servlet
with a servlet engine and it caused the engine to stop working after some
time. Now it has been decided to rewrite the JSP as a servlet because we
don't have the time to debug the memory hogging issue. We have a deadline.
   The languages (JSP or whatever) and concepts like CORBA are all
trying to change the way we work but the vendors don't create good products.
So we end up blaming the language or concept. Now the ASP or Microsoft
supporters in our organization have started blaming Java and JSP because it
is JSP that didn't work and it is Java that is slow.
   I have faced the same problem with NetDynamics and PowerJ. When the
early release of PowerJ was bug ridden my manager starting blaming Java.
Even now we don't have good remote debuggers for servlets. We don't know
what the request is or the response from the web server is. Sometimes I had
to use a packed sniffer to look at the request and response.
   I am sure that this is not what we want. On the one hand brilliant
people come up with good ideas like Java and CORBA. On the other the vendors
turn out faulty products. Companies like MS produce good tools to back up
their technology.
  Can't we do the same for java ?
bye,
Mohan

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Model 2 - Instantiate Action Call doGet()?

2000-05-24 Thread Hines, Bill

In the model 2 architecture that many of you use, is the Action class
derived from HttpServlet? I saw a code example where I think it was a
generic class, but passed in the calling servlet, request, and response.
Would it be better to just make it a servlet and instantiate it and then
call its doGet(), passing in the request and response? If possible, this
might allow me to more easily port an existing app to this architecture.

Thanks, Bill

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Model 2: Persistence Layer?

2000-05-24 Thread Hines, Bill

In our current app, which we want to move to Model 2, we have packages to
hold model, view, and controller classes. The view package holds servlets
that emit html to build/handle the HTML. The model package holds "pure"
business classes, lightweight ones to represent Account, Product, Region,
SalesRep, etc. The controller package holds a Datastore class that handles
all interaction with Oracle for the app, as a persistence layer. An example
would be a methods like:

Datastore.saveCustomer( Customer customer )
Datastore.saveRegion( Region region )

The servlets call this in response to form submissions, etc. The pure
'model' classes of course, have no knowledge of the view or controller, they
are just passed around like a cheap prostitute.

How is the persistence handled in your model 2 apps? It seems that to follow
what may happen if we get to EJB, we need a persistence class for each class
in our 'model' package, such as AccountDB, ProductDB, RegionDB, etc. Then we
have two places to make a change if a class gets a new property, for
example. It is even more if we come up with another platform to persist to,
such as SAP or another ERP.

Is this the case? I'm looking for a clean way to handle this.

Bill Hines

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: How to setup JSP/Jbeans development/testing env. for Visual A ge f or Java IDE and Websphere AS

2000-05-23 Thread Hines, Bill

There is plenty of information and documents on how to do this on IBM's web
site or the Visual Age Developer Domain.

Bill Hines

-Original Message-
From: Antoniuk, Jacek [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 17, 2000 12:57 PM
To: [EMAIL PROTECTED]
Subject: How to setup JSP/Jbeans development/testing env. for Visual Age
f or Java IDE and Websphere AS

Hi everyone!

I need to import somehow my old JSP/java  beans project into my Visual Age
for JAva IDE environment v.3.0. The old project was developed with VAJ 1.0
and was powered with Websphere 2.0 application server.
The old JSP/JavaBean project is located in two separate directories loacated
on the host where websphere AS runs:
 1. app - JSP and HTML pages
 2. servlet/my_beans_and_servlets/ - java beans and servlets (regular beans
- not EJB) - java, class and XML config files.

I added IBM Websphere Test Environment project into my Visual Age for java
IDE.
The question is:
How should I prepare testing/developing environment for the java and jsp
source code?
(create new project or import into IBM Websphere Testing env. project).

Thanks a lot!!!

Jacek

[EMAIL PROTECTED]
W: 813 282-8828
 1 800 280-8828 x1072
H: 727 669-8193

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Image genration using jcchart passing it to HTML client.

2000-05-22 Thread Hines, Bill

I used a server-side graphing/charting tool from Visual Engineering
(www.ve.com). It worked very well for this requirement.

Bill Hines

-Original Message-
From: Manish Bijay Kumar [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 10, 2000 9:41 AM
To: [EMAIL PROTECTED]
Subject: Image genration using jcchart  passing it to HTML client.


Hi all,
What I am trying to do is to create a graph at the server end using jcchart
and passing it to the client (HTML page). Does any body has done this
successfully. If yes..then please guide me.

Thanks in advance...
Manish Kumar

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Session Expire Count-down Clock?

2000-05-22 Thread Hines, Bill

A project sponsor wants me to put some type of "countdown clock" on the page
so that the user knows how much time is left before their session expires.
Is it possible to do this with script or something? We don't do any
client-side Java, only server-side with servlets and JSP.

Thanks, Bill

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Job Opportunity in Hershey, PA

2000-05-19 Thread Hines, Bill

My co-worker, co-Java developer, left the company a few weeks ago to pursue
an entrepreneurial venture, so we're posting this position here at Hershey
Foods, in central PA. This is an awesome company (especially if you like
free candy!) in an area that has the best of all worlds. It has beautiful,
open countryside, mountains, fishing, hiking, hunting and all the benefits
of a rural environment, especially LOW cost of living, plus the urban city
benefits of the state capital of Harrisburg just 15 minutes away and larger
city benefits such as Baltimore (1.25 hours), Philly (1.5 hours), DC (2.5
hours), NYC (3 hours) and Pittsburgh (3 hours). The ocean (Atlantic City,
Ocean City Maryland, Seaside Heights NJ, Rehoboth Beach DE) is only a few
hours away (about 3 for each). The Susquehanna River runs right through here
for you jet-skiers and river-boaters. Right across the street from us is
Hersheypark, a great amusement park with something like 10 roller coasters
now that is not only a place to have a blast with the family (or at
lunchtime!), but a great, fun, safe place for your kids to work (mine do).

Check the URL for Hershey attractions at http://www.hersheypa.com and
Hershey Foods at http://www.hersheys.com. We have pro hockey (Avalanche
affiliate Hershey Bears), pro soccer (Hershey Wildcats) right here in town
and pro baseball (Harrisburg Senators, Expos affiliate) and indoor soccer
(Harrisburg Heat) right in Harrisburg. Also tons of concerts (saw Roger
Waters, Black Sabbath, Dave Matthews, Fish right across the street and
front-row tix for Allman Brothers on 6/20!). We just hosted the Olympic
Soccer qualifying tournament last week, again I can see the stadium out the
window across the street (USA lost to Honduras in the finals but still
qualified).

On the tech side, we've standardized on IBM VA Java EE, WebSphere, and
WebSphere Studio. This is a chance to get in the game early here. We've been
doing Java development since 10/98. It was just me and the other dude (who
left for an entrepreneurial venture) and we've just trained 8 of our
PowerBuilder folks. We'd like more experience. We're doing server side J2EE
Model 2, servlets, JSP, beans, and moving to EJB at some point. Modeling in
Rational Rose. So here's the job desc, give me a shout if you're interested.
Bill Hines, Hershey Foods ([EMAIL PROTECTED])

BRIEF STATEMENT ABOUT THE JOB (This is not a complete description)
In the role of Internet/Intranet Developer, this position requires
someone to deploy custom or purchased Internet and Intranet applications
solutions. The incumbent will implement business applications solutions
that achieve stated business and project goals in a way that is
consistent with the ITI enterprise architecture, guidelines, best
practices, and procedures.

This role includes, but is not limited to the following responsibilities:

· Design, code and test moderately complex business application solutions
based on design specifications.
· Evaluate and implement packaged business application solutions
· Construct test scenarios and supporting test data to run programs to
determine that the application results are achieved
· Work closely with Applications Consulting team to recommend technical
solutions to business problems
· Provide on-call, 3rd level support and maintenance to existing
production applications
· Interface with End User Support, the Help Desk, ITI Training, and
Architecture  Infrastructure teams to communicate affect of the
introduction of new business application solutions. Provide informal
training to members of these teams as necessary

-
---
QUALIFICATIONS (Education/Experience)
BS Degree in Computer Science, Mathematics, Engineering, or Business
Administration or equivalent plus a minimum of six years of Information
Technology experience with:
· 2-4 years experience developing web-based business application
transaction processing systems using object oriented principles
· 2-3 years experience developing simple interactive web pages using
.html forms, cgi, perl, etc…
· experience interfacing with packaged enterprise solutions such as SAP
· knowledge of consumer goods manufacturing business processes and
systems is a plus

The successful candidate should have:

· Demonstrated technical skills in the areas of Internet/Intranet web
application design, and construction using the Java programming
language[C]
· Proficiency in Client/Server, relational database applications
development using languages such as C, C++, or Java on a ‘Wintel’ client
and UNIX server platform[I]
· Frequent Internet user [C]
· Good communication skills and ability to work in a team setting [C]
· Familiarity with advanced Internet technology such as Java, XML,
ActiveX,  PERL[I]

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets 

Re: More on Model 2 architecture...

2000-05-16 Thread Hines, Bill

Craig,

Is your "action class" a servlet or is it a bean that is "servlet aware" by
importing the javax.servlet.http classes and knowing how to forward to the
correct JSP page? I want to try this design with a controller servlet for a
small application, it sounds great. Do you have any type of UML diagram,
such as a sequence diagram, that shows the flow and coordination between the
controller servlet, action class, and business/database beans?  TIA, Bill
Hines

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 05, 2000 11:39 AM
To: [EMAIL PROTECTED]
Subject: Re: More on Model 2 architecture...


Mistroni Marco wrote:

 hi all,
 i just want to post my idea and have some feedback, especially
from
 the gurus of the Model 2 architecture
 i have been developing JSP  using  JavaBeans and jsp:get /set
 Property.so that all the logic is in the JavaBean...
 and the presentation in JSP pages...
 however, i still have some lines of java code in the JSP..'cause sometime
i
 have to check the parameters submitted by the user
 now that i faced the Model 2 architecture...my question is:
 why don't use Model 2 architecture in the following way?? :
 - we have a Servlet/controller
 - some Action classes..like what was described in previous threads by
Daniel
 Lopez, Kevin Duffey, Craig McClanahan
 - some JavaBeans used directly by the JSP to retrieve the various
 properties..


I believe this is what we have been suggesting, which means I don't think I
understand what you are asking.

The action class initiates the appropriate business functions, stores
results as
JavaBeans -- either in the request or the session, depending on how long you
need
them -- and then forwards to whichever JSP page should be used to display
the
results.


 this way..i don't need , if for example i have to manage lot of JSP, to
have
 a config file in which i have to put all the JSP URL..
 and neither to forward the request back from the Servlet to the JSP's...
 i would like to have opinion on that from as much people as
 possible.'cause i would like to know what are the
 possible drawbacks


The reason that I use forwarding back to the JSP page is because:

* The beans I use don't know anything about the web -- they
  are just JavaBeans.  They don't import any of the javax.servlet
  classes, and they don't generate HTML.

* The action class's sole purpose in life is to execute whatever
  business logic is required.  Creating the output that results from
  executing this is the sole purpose of a JSP page, which is why
  I forward control to the appropriate one.

* Sometimes the "appropriate" JSP page is different (for the same
  input) based on what the user entered.  For example, assume you
  have a form that has fields for a record you want to store in the
database,
  but you have some validation logic (for example, a postal code entered
  by the user must be valid) that can only be checked on the server.  If
  the user made a mistake, I want to forward back to the original input
  form (with an error message) so that the mistake can be corrected.  If
  the user did not make a mistake, I want to have my JavaBean store the
  result in the database, and go on to the next piece of the application.

* The JSP page that displays the results should not care how those
  results were created -- it should only know things like "if I want to
  display the name and address of my customer, use the getName()
  and getAddress() methods of the CustomerBean with id 'customer'
  from the session."  This way, you can change the visual appearance
  of the output pages without messing with the logic that created the beans.


 thanx in advance and best regards
 marco


Craig McClanahan

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: (no subject)

2000-03-23 Thread Hines, Bill

I would suggest using IBM's VisualAge for Java and WebSphere tools. They
have extensive tools and examples for interfacing with host systems such as
DB2, CICS, MQSeries, etc. And they work great for Oracle, which is what we
use. Great debugging facilities, etc.

Bill Hines
Hershey Foods

-Original Message-
From: Rohitashwa R. Acharya [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 22, 2000 4:45 AM
To: [EMAIL PROTECTED]
Subject: (no subject)


My client requires web based application(on the internet) that will
provide services to its customers
The services provided will involve
1. Database requests
2. Lot of calculations
3. Business Logic
4. Generation(dynamic) of charts  graphs
5. Comparisons (these may involve doing the above steps more than once)

Currently the database and most of the logic is on IBM-mainframe

We plan to have a parallel system using an open architecture
I would  need info  suggestions on similar architectures/cases and also

your suggestions on the technology to be used. Also i need to know of
the different methods by which an Oracle database can be synchronised
with  a Mainframe DB2 database

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSP authoring tools

2000-03-21 Thread Hines, Bill

I think that WebSphere Studio (in it's 3.02 version) has come a long way and
is a pretty awesome tool. The doc is poor though, but there are some great
tutorials on their web site. The concept of publishing and publishing
targets is very confusing. I'm not sure how much of it requires that you be
running WebSphere App Server, I've heard different stories. We do use WAS so
that isn't an issue for us.

Bill Hines

-Original Message-
From: Leon Tseng [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 09, 2000 4:02 PM
To: [EMAIL PROTECTED]
Subject: JSP authoring tools


Hi all I'm looking for better JSP authoring tools (GUI!?) other than a text
editor...
Does anyone know the main differences between IBM WebSphere Studio and
Macromedia Drumbeat2000?
Thanks a lot and i'd very much appreciate your help... :-)

...

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: XML / JSP Examples

2000-03-16 Thread Hines, Bill

Why don't you just go to Amazon.com, Fatbrain.com, or some other and search
for books using 'Java' and 'XML'? Wrox Press has a new book that covers both
very nicely.

Bill Hines

-Original Message-
From: SoftFrance BLAS Catherine [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 15, 2000 4:44 AM
To: [EMAIL PROTECTED]
Subject: XML / JSP Examples


Hello,

I'm french person, and we are trying to build an application using XML and
JSP.
But this is our first application using XML.
Here, we don't have any books about this. Can anybody give us some web site,
or book to order where we can find information about it, and the
architecture of such application ?

For example, we have a table "Person" and each person have one or more
contracts, so a table "contract". I want to display for each person all his
contracts. Does anybody has an example   of the way to use XML with JSP to
return the result ?
Have you got some complete examples code , and can anybody send them to me
([EMAIL PROTECTED]) ?

Thanks a lot for your help.

Catherine

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Calling a JSP when not an an HTTP session

2000-03-16 Thread Hines, Bill

Yes, you are using IBM WebSphere 3.x and this is a known problem. I think
there is a fix for it on their web site. It might be an email fix, but check
their web site.

Bill Hines

-Original Message-
From: Tolliver Reva [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 16, 2000 12:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Calling a JSP when not an an HTTP session

Has anyone seen the following error?

Unhandled error! You might want to consider having an error page to report
such errors more gracefully
java.lang.ClassFormatError: Wrong name
at java.lang.ClassLoader.defineClass(Compiled Code)
at com.sun.jsp.runtime.JspLoader.findClass(Compiled Code)
at com.sun.jsp.runtime.JspLoader.loadClass(Compiled Code)
at com.sun.jsp.runtime.JspLoader.loadJSP(Compiled Code)
at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compiled
Code)
at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(Compiled Code)
at com.sun.jsp.runtime.JspServlet.serviceJspFile(Compiled Code)
at com.sun.jsp.runtime.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled
Code)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled
Code)
at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled
Code)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled
Code)
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled
Code)
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled
Code)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(C
ompiled

Code)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled
Code)
at com.ibm.ccenter.uacc.Uacc.getUSC(Compiled Code)
at com.ibm.ccenter.uacc.Uacc.doGet(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled
Code)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled
Code)
at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled
Code)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled
Code)
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled
Code)
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled
Code)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(C
ompiled

Code)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled
Code)
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled
Code)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled

Code)
at
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Compiled

Code)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled
Code)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled
Code)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Co
mpiled

Code)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled

Code)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Com
piled

Code)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.notifyService(Compiled

Code)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.run(Compiled

Code)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
(Compiled

Code)
at java.lang.Thread.run(Compiled Code)

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 

Re: Dynamic Images

2000-03-14 Thread Hines, Bill

There is a company that has a product that will build images dynamically on
the server for you. I have used it for doing server-side graphs and charts
dynamically. They are Visual Engineering at http://www.ve.com

Bill Hines

-Original Message-
From: Geert Van Damme [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 09, 2000 3:44 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Images


You cannot make dynamic images in JSP (you can of course make dynamic IMG
tags, but I assume it's not that what you're looking for).
You have to use a servlet for that.
Check out my graffiti wall for an example: http://www.darling.be/wall.html

Geert 'Darling' Van Damme

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Babar Bhutta
 Sent: dinsdag 7 maart 2000 15:22
 To: [EMAIL PROTECTED]
 Subject: Dynamic Images


 Hi Everybody,
  I am trying to find a way to create dynamic images in
 JSP. If somebody know about it or know the examples, please let me know.
 Thanks.
 Babar Bhutta.
 Aptis Software,
 Austin, TX .

 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
 JSP-INTEREST".
 Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Pop-Up Form Window?

2000-02-29 Thread Hines, Bill

I'm here late on Sunday night trying to get a project done for this week, I
have to demo it on Tues and there is one last part I can't figure out.

My main JSP page has a list of items on it. There is a small graphic next to
each item in the list that says "Order". When the user clicks that, the item
number and description are sent to a servlet which pulls them from the
session, creates an OrderItem bean and puts it in the session, then calls
the JSP page with target="_blank". This page has a form that shows the item
number and description and asks the user for the quantity.

I want the user to be able to press the submit button to submit the order
and close the window. If I put onSubmit="window.close()" in the form tag,
the form data never gets put in the session. If I take the onSubmit out, it
works great but the extra window sticks around and the item list redisplays
there. How can I get the pop-up window to close and do the submit like I
need?

Thanks, Bill

===
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



Re: Error problem

2000-02-27 Thread Hines, Bill

If you're using IBM WebSphere, they have a patch for this problem. I think
the patch was done for a problem they found in the Unix environment but the
patch is a 100% Java jar file so you could use it on NT too. I also had this
problem and found out that the underlying problem was that I had an index
out of bounds. I discovered this by looking at the stderr/stdout log files.
The "Attempt to clear a buffer" error was a follow-on error that was hiding
the real cause. Call IBM tech support and ask for the patch. It isn't
publicly available yet, as of early this week anyway.

Bill Hines

-Original Message-
From: Sushma Sharma [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 25, 2000 6:11 AM
To: [EMAIL PROTECTED]
Subject: Error problem


I am getting an error ie Error:500 on the jsp page
"Attempt to clear a buffer that's already been flushed "
Can anybody Pls explain the message


Visit http://www.niit.com for eCommerce Solutions.

===
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

===
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



Re: JSP on IBM websphere 2

2000-02-23 Thread Hines, Bill

Why don't you tell us what version of WebSphere you have? V3 supports JSP
.9x and 1.0. I think version 2.x support JSP .91 or .92. I think you just
use servlet tags to do SSI in JSP .9x, I have before and it worked fine.
Don't you have docs with WebSphere? I know it is documented with the product
and/or on their web site. Try the IBM newsgroups as well, they have ng's for
WebSphere.

Bill Hines

-Original Message-
From: Siegel, Craig [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 21, 2000 2:56 PM
To: [EMAIL PROTECTED]
Subject: JSP on IBM websphere 2


The version of websphere we use supports JSP v0.91.
JSP v0.91 does not support the following tag:
%@ include file="filename" %

Does anyone know how to do SSI using JSP (v0.91) on IBM Websphere?

  -craig

===
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

===
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



Re: ListServer to News Group

2000-02-08 Thread Hines, Bill

I would love a newsgroup instead! Gravity is a much better tool than Outlook
98 for this type of stuff.

Bill Hines

-Original Message-
From: Matthew [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 08, 2000 11:05 AM
To: [EMAIL PROTECTED]
Subject: ListServer to News Group


Hi
Because of the large volume of messages generated by this list server ( I
now have 1800 in my JSP box) I would like to sugest that it be turned into a
Newsgroup. If sun would host it.
What do you think?
Matthew Demerath

===
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

===
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



Re: WebSphere 3.0 can't do jsp:include page=joe.jsp / ???

2000-01-28 Thread Hines, Bill

They're all at ibm.software.websphere.*

-Original Message-
From: John G Kroubalkian [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 26, 2000 12:34 PM
To: Hines, Bill; JSP-INTEREST%java.sun.com
Subject: RE: WebSphere 3.0 can't do jsp:include page="joe.jsp" / ???


Do you have a link to the ibm websphere newsgroup?

Thanks again,
John

===
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



Re: WebSphere 3.0 can't do jsp:include file=joe.jsp / ???

2000-01-27 Thread Hines, Bill

I think I just had the syntax:
jsp:include page="ExtranetHeader.html"/ for another html/jsp page and
jsp:include page="/servlet/com.hersheys.orderproto.ExtranetFooter" / for a
servlet. Make sure you've turned on JSP 1.0 because .91 is the default. But
it's working fine, I just had to spend a lot of time with the docs and
learning how the environment works, just like I would have had to with any
tool. IBM's web site has lots of good tutorials, etc on the WebSphere Studio
area.

Bill Hines

-Original Message-
From: John G Kroubalkian [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 25, 2000 3:20 PM
To: Hines, Bill; JSP-INTEREST%java.sun.com
Subject: Re: WebSphere 3.0 can't do jsp:include file="joe.jsp" / ???


Do you remember what you did to resolve the problem?

We are using WebSphere Studio, WebSphere App Server, etc.
We are having these difficulties with:

jsp:include page="next.jsp" /

where "next.jsp" is a relative url to another .jsp.

Many Thanks,

John

===
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



Re: New article: The Problems with JSP

2000-01-27 Thread Hines, Bill

Jason,

I'm very interested in Model 2 and feel it's the "right way" to integrate
these technologies and also removes most of your arguments against JSP. I
think Model 1 is wrong for the reasons you state, but that's not a "JSP
problem", it's a misuse of JSP depending on the circumstances or application
of course. Can you say when your second edition will be out?

Bill Hines
Hershey Foods

-Original Message-
From: Jason Hunter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 26, 2000 5:49 AM
To: [EMAIL PROTECTED]
Subject: Re: New article: "The Problems with JSP"


[EMAIL PROTECTED] wrote:
 To me, a template engines syntax means learning
 a lot more than JSP syntax.

I think it depends on your starting point.  I'm comfortable using JSP
too, because I understand what's going on underneath.  I'd rather not
have to think about that though.

 Sure, you can mistype the %! with %, but if
 you learn JSP, you'll know when to use one or the other.

However, I feel the "graphics artist" that's targetted by JSP won't
understand the difference.

 Uh..what about this:

 %
   Enumeration e = list.elements();
   while( e.hasMoreElements())
   {
 %
   The next name is %= ((ISP)e.nextElement()).getName() %br
 %
   }
 %

 Seems easy enough to me

Easy enough for Java programmers.  I'm OK with JSP being "a cheap way
to write servlets".  I've used it that way myself.  However, when you
get non-Java programmers into the mix people should be aware that there
are other options that might work better for them.

 Is a template engine going to be part of the J2EE
 specification?

No, nor does it need to be.  Not everything needs to be in a
specification.  Not everyone has to do everything the same way.
If your servlet uses a template engine, just include the engine
classes along with your app and it'll work everywhere.

 alot of application servers will be supporting J2EE.

All engines support template engines, without any changes to the
server.  No vendor-specific JSP bugs.  :-)

 How exactly is a template engine used anyways?

Whoa, you haven't used template engines.  Perhaps you can go try it,
use both on a real site, then decide if you still prefer JSP.
That's what I did.

 Is it a plugin to app servers, web servers, etc? I assume it would
 be a servlet perhaps that parses the data sent to it returning back
 a response? If thats the case, then I can see it added to a servlet
 engine where an extension of say .wm (webmacro) is mapped to the
 servlet engine, and thus passed on to the right
 servlet to parse it.

Template engines are just classes like
com.oreilly.servlet.MultipartResponse that help you generate content.
You can have them serve .wm files if you like, such as when you're
doing includes.

 In all honesty, I cant imagine why you, who wrote a book on
 servlets, wouldnt use the JSP (or promote it) over something as
 (to me) arcane as a template engine. Seems that JSP would fit right
 along well with servlets, since its an extension to it.

JSP 0.90 I liked.  It was an easy way to write servlets.  Now JSP has
been targetted at the non-programmer and I don't believe it can succeed
well in that market, at least not without a great dependence on tools.
Maybe that'll be its ultimate savior.

 I was looking forward to a new book with more info on JSP from you.
 I guess thats not going to happen..is it? :)

In the second edition I'm demonstrating how to do "Model 2" using JSP.
That's arguably the best technique for JSP and belongs more in the
servlet book than the JSP book because it's servlet-centric.

-jh-

===
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

===
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



Re: WebSphere 3.0 can't do jsp:include file=joe.jsp / ???

2000-01-26 Thread Hines, Bill

You might also visit the IBM newsgroups for WebSphere Studio, App Server,
etc. There are plenty of folks in there helping each other out.

Bill Hines

-Original Message-
From: John G Kroubalkian [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 25, 2000 3:20 PM
To: [EMAIL PROTECTED]
Subject: Re: WebSphere 3.0 can't do jsp:include file="joe.jsp" / ???


Do you remember what you did to resolve the problem?

We are using WebSphere Studio, WebSphere App Server, etc.
We are having these difficulties with:

jsp:include page="next.jsp" /

where "next.jsp" is a relative url to another .jsp.

Many Thanks,

John

===
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

===
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



Re: WebSphere 3.0 can't do jsp:include page=joe.jsp / ???

2000-01-26 Thread Hines, Bill

Remember that with WebSphere 3.0, the JSP level can be set for the server or
the application itself. So you could have some apps set for JSP .9x, and
some set for 1.0. Your server may have been set for 1.0 but the specific
webapp (either default_app or the custom one you set up as myApp or
whatever) may be set for .9x. You might want to check that.

Bill Hines

-Original Message-
From: John G Kroubalkian [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 25, 2000 9:08 PM
To: [EMAIL PROTECTED]
Subject: Re: WebSphere 3.0 can't do jsp:include page="joe.jsp" / ???


Bill,

I checked with our on-site IBM rep (he also can't figure this one out), who
set up the WebSphere environment, and he claims that our WebSphere server
has
been adjusted to do JSP 1.0 (vs .92)

Can you use the jsp:include page="joe.jsp" / form of include?  Have you
tried it?

Can you use the %@ include file="joe.jsp" % form of include?  Have you
tried
it?

Thanks,
John

===
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

===
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



Re: New article: The Problems with JSP

2000-01-26 Thread Hines, Bill

Let me add two cents here from my perspective of coming from servlets, and
being a big proponent of MVC as we have HTML jockeys who are great page
designers but NOT programmers, and being disturbed about the necessity of
outputing HTML from servlets or using "fringe" technologies like shtml, etc.


I recently started using VisualAge Java, WebSphere App Server, and WebSphere
Studio and I can finally see the beauty and ease of how this all fits
together. JSP, through the strength of its widespread adoption, has made it
viable for companies like IBM to create these types of tools. In Studio, our
HTML jocks don't have to write all kinds of arcane Java code or use arcane
tags. They can design their pages visually as normal, plunking down
graphics, tables, changing fonts, etc. But they can also choose one of our
business components from a palette, such as our Customer object, drag it on
the page, and from there drag a property of that class onto the page as a
dynamic property. So they'd type in HTML "Welcome to our site " and then
plunk down the dynamic property Customer.getFirstName() just after it. By
using niche technologies you will never have open tools with this power.

So the graphics designer can work effectively, the component designers can
work effectively, and they can all work in harmony. Are there really that
many people, especially non-programmer graphics designer types, hand-coding
their HTML any more anyway? We all fine-tune by going to the HTML view, but
the initial layout is done visually.

There are other tools with this type of power that use template engines,
such as CF, but they are very proprietary in nature and we won't buy into
that. We almost bought NetDynamics two years ago but are glad we didn't for
this reason.

Bill Hines
Hershey Foods

-Original Message-
From: Jason Hunter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 26, 2000 6:06 AM
To: [EMAIL PROTECTED]
Subject: Re: New article: "The Problems with JSP"


Kevin Duffey wrote:

 Hi,

 Dang..I have to say, that was WELL put. I responded with what I
 figured was why JSP is superior, and you blew my response right
 off the map! :)

:-)

 I think J2EE is a "bigger" reason than others to use JSP.

Interesting.  It doesn't really effect my decision since I just bundle
the webmacro.jar file with my app and it's available everywhere I need.

 This is my opinion. Doesn't mean its the right way.

Amen, brother!

Techniques for content creation on top of servlets are the hot area
right now.  I'd like to see a good exchange of ideas on this front,
not a blind following of JSP.

-jh-

===
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

===
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



Re: jsp debugging

2000-01-25 Thread Hines, Bill

The IBM tools (WebSphere Studio, VisualAge Java) that we use have extensive
facilities for debugging JSP and Java servlets, etc.

Bill Hines

-Original Message-
From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 24, 2000 6:28 PM
To: [EMAIL PROTECTED]
Subject: jsp debugging


Hi,
  What are the different methods that you are using to debug JSP pages ?
Are the error messsages viewed in the browser always ?
bye,
Mohan

===
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

===
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



Re: WebSphere 3.0 can't do jsp:include file=joe.jsp / ???

2000-01-25 Thread Hines, Bill

I think you want "jsp:include page=" and not "file=", or something like
that. I had problems with this too at first, but got it working fine. We're
using IBM WebSphere Studio, App Server, and VisualAge, all 3.x level.

Bill Hines

-Original Message-
From: John G Kroubalkian [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 24, 2000 6:31 PM
To: [EMAIL PROTECTED]
Subject: WebSphere 3.0 can't do jsp:include file="joe.jsp" / ???


Has anyone found that when you include .jsp's within other .jsp's under
WebSphere 3.0 that a lot of exceptions get thrown?

Any others experiencing this?  We have a Sev-I into IBM but we are at the
point where we may scrap WebSphere altogether in order to meet our
deliverables.

Thanks,
John

===
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

===
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



Re: WebSphere 3.0 can't do jsp:include file=joe.jsp / ???

2000-01-25 Thread Hines, Bill

WRONG! I think this is incorrect. I use WebSphere 3.02 and it has JSP 1.0 as
well as .9x. It defaults to .92 so you will have to change that, but I'm
using JSP 1.0 in WebSphere App Server and WebSphere Studio, and VisualAge
Java in the WebSphere Test Environment. Read the docs! There are
instructions to change the default from .92 to 1.0.

Bill Hines

-Original Message-
From: ZhangQi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 25, 2000 1:07 AM
To: [EMAIL PROTECTED]
Subject: Re: WebSphere 3.0 can't do jsp:include file="joe.jsp" / ???

Yes,IBM WebSphere 3.0 does not support JSP 1.0
It only support JSP 0.9

ZhangQi
2000/1/25

- Original Message -
From: John G Kroubalkian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 25, 2000 7:31 AM
Subject: WebSphere 3.0 can't do jsp:include file="joe.jsp" / ???


 Has anyone found that when you include .jsp's within other .jsp's under
 WebSphere 3.0 that a lot of exceptions get thrown?

 Any others experiencing this?  We have a Sev-I into IBM but we are at the
 point where we may scrap WebSphere altogether in order to meet our
 deliverables.

 Thanks,
 John


===
 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

===
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

===
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



Model 1/Model 2?

2000-01-24 Thread Hines, Bill

I've seen references to "Model 1" and "Model 2" applications. Where are
these described so that I can find out what the pros/cons of each are?

===
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



Re: thin driver problem in jdbc to oracle.........

2000-01-18 Thread Hines, Bill

No, you can't use the same one. Go to http://technet.oracle.com and download
the one for jdk 1.2.

Bill Hines
Hershey Foods

-Original Message-
From: Sharat Babu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 18, 2000 10:43 AM
To: [EMAIL PROTECTED]
Subject: thin driver problem in jdbc to oracle.
Importance: High


I am getting an error class not found.
driver problem

i am using thin driver classes111.zip

my database is oracle 8.

I am thinking that thin driver classes111.zip should be used for jdk1.1.x.

i am using jdk1.2.2..can i use the same one.

any help is thankful..

regards
sharat

===
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

===
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



Re: thin driver problem in jdbc to oracle.........

2000-01-18 Thread Hines, Bill

Your Oracle driver (probably named classes111.zip) probably isn't in your
classpath. Your classpath should have something like
"classpath=c:\orant\jdbc\lib\classes111.zip;...". Don't forget to read the
install instructions for whatever driver you're using also. Some require you
to put another zip file in that directory for NLS support, and some give you
oci*.dll files to put in your windows/system32 directory. I would make sure
that's all in place, and reboot if you changed anything, then try it. This
is probably all in place on your NT server but not on your Solaris server.
Keep in mind that if you're using the OCI version of the drivers (as opposed
to the thin 100% Java ones), you need the right version for your platform
(NT or Solaris) as the OCI ones are platform-specific.

Bill Hines
Hershey Foods

-Original Message-
From: Guilherme - PerConsult [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 18, 2000 11:41 AM
To: [EMAIL PROTECTED]
Subject: Re: thin driver problem in jdbc to oracle.
Importance: High


Hi...

I have an error like yours...  I don`t know how but in an application I
can connect to my Oracle8, but when I use an jsp file, the following
error appears:

===
oracle/jdbc/driver/OracleConnection
===

I don`t know how to fix it.. I don`t understand it also, because the
same jsp file on my NT Server works, and on my Sun/Solaris server it
doesn`t ...

I need some help here!

-

 I am getting an error class not found.
 driver problem

 i am using thin driver classes111.zip

 my database is oracle 8.

 I am thinking that thin driver classes111.zip should be used for jdk1.1.x.

 i am using jdk1.2.2..can i use the same one.

 any help is thankful..

 regards
 sharat


===
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

===
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



Re: development decision

2000-01-18 Thread Hines, Bill

The beans would give your clients the ability to just design their own pages
and pull the properties (info) from the bean and display it as they choose.
We use IBM's WebSphere Studio, which has a really nice model for using JSP,
Servlets, and beans together to accomplish sites like this. And don't forget
XML - it is probably exactly what you need as far as just providing data to
the page and letting the end-user of that XML file display it as they wish.
You could develop a standard XML DTD of the data that your company provides
to those clients.

Bill Hines
Hershey Foods

-Original Message-
From: Allan Joudrey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 18, 2000 1:10 PM
To: [EMAIL PROTECTED]
Subject: development decision


Hi all,

I have been following the discussion on "Providing application resources"
and have found it very interesting and helpful. I think a lot of good ideas
came out in the discussion, therefore, I would like to put my current
development plan up for discussion to see if I can receive any input.

The development:
A system that is used by many smaller companies. The mainframe holds all
the user's information. Currently, an applet talks directly to the mainframe
through a package on a linux box. This requires that all the companies use
the same applet, with little ability to change the style to meet their
company profile ( they can change pics only). Many of the companies want to
develop their own unique sites. For this reason (and because I enjoy to work
with servlets ;)) we have decided to go with servlets to process requests
from the users. This will give us the ability to send objects (containing
the user's info) back to an applet or put it in a HTML page. This will make
the companies happy because they can use the applet or make their own pages.

The problem:
My part that I am not overly clear on what direction to proceed is with the
companies that will make their own pages. They will be on our system and the
dynamic data required will be placed in the HTML pages as they are requested
by the users. I have thought of just giving them the required tags and a
servlet will generate the pages dynamically by reading them in from a file.
Someone mentioned that they used this method and when they switched to a jsp
generation method that the speed increased 10 fold. I am new to jsp (really
green) but would look at this if it is a good option. Would this require
that I use beans also, or can I choose between the beans and servlets. Would
beans be an option also ( I am also new to beans but not so green as jsp).
An important point is that it has to be as simple as possible for the
companies to hire site designers to develop their pages, and they can only
receive basic templates of the info that they need to use to get the dynamic
data from the mainframe. Security is the highest issue so we can't give out
to much.

If I haven't mentioned any import points to consider, please let me know.
Any thoughts,  and thanks for your input.

Allan

===
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

===
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