Re: Where are you JSP/SERVLET GURUS ???

2001-04-03 Thread Murphy, Chris (OTS-EDH)

on IIS, I had to add a regular virtual directory pointing to my webapp.
Then, suddenly my images started working properly.

-cm

-Original Message-
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 10:10 AM
To: [EMAIL PROTECTED]
Subject: Re: Where are you JSP/SERVLET GURUS ???


it does not work,


>From: Mayuresh Kadu <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Where are you JSP/SERVLET GURUS ???
>Date: Mon, 2 Apr 2001 23:05:21 +0530
>
>i guess u could try giving the url as /../images/whatever.gif !
>
>
>Mayuresh
>
>- Original Message -
>From: "Niraj Soni" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, 30 March, 2001 11:39
>Subject: Re: Where are you JSP/SERVLET GURUS ???
>
>
> > this is because of ur using tomcat as a add-on-servlet engine with other
> > main web serve
> > if u r using iis put your images in iis root or in
> > uriworkers.properties file of your tomcat in /conf directory append
>follwing
> > line
> >
> > /images/*
> >
> >
> > this tells the isapi filter to serve all files request starting with
>/images
> > from tomcat
> >
> > hope this hepls
> >
> >
> > - Original Message -
> > From: "sufi malak" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, March 30, 2001 1:45 AM
> > Subject: Where are you JSP/SERVLET GURUS ???
> >
> >
> > > Hi, I posted the same question twice, and I am sure that the same
>problem
> > > happened to somone before,
> > > Why when a servlet forwarding a jsp does not see a directory (under
>the
> > root
> > > application) that has images, the structure is like this :
> > > tomcat4/webapps/myapp/images/
> > > tomcat4/webapps/myapp/tableview.jsp
> > > tomcat4/webapps/myapp/WEB-INF/classes/Myservlet.class
> > >
> > > Please help me
> > > Sufi
> > >
> > > _
> > > Get your FREE download of MSN Explorer at http://explorer.msn.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
> >
>
>===
>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

_
Get your FREE download of MSN Explorer at http://explorer.msn.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: GURUS: is a session Array Bean possible?

2001-02-08 Thread Murphy, Chris (OTS-EDH)

I solved the performance issue:
My search query was a "SELECT * from xxx where xxx like ? AND xxx like ? AND
xxx like ?, etc"

Since I am only interested in the record_id's, I changed it to "SELECT
account_id from xxx where ..."

The queries are lightning fast, now...

-cm

-Original Message-----
From: Murphy, Chris (OTS-EDH)
Sent: Wednesday, February 07, 2001 4:37 PM
To: [EMAIL PROTECTED]
Subject: GURUS: is a session Array Bean possible?


Look at this piece of code from a JSP page:



This fails miserable, but you get my point... Is there another way to make
an array persistent throughout the session?

Let me explain: Right now, I have a query that returns 25 rows at a time.
The problem is performance:
Everytime the page is accessed, via the 'next' hyperlink (which contains a
parameter that keeps track of the range of rows to query) it re-performs the
original query because I can't figure out a way to return records 25 - 50,
51-75, through SQL.

[pass 1]
For example, I perform a search query that returns 5000 rows and then I
store the record_id's into an array called index. Since I want to see the
first 25 rows, I perform 25 individual queries with the record_id's
contained in index[0] through index[25] (this part seems like it would be my
bottleneck, but it isn't). Next, I create a hyperlink that hits this very
same page, but I pass it a variable named index_range=25.
[pass 2]
Same page, I perform that same query that returns 5000 rows and the I store
the record_id's again.  Now index_range says '26', I can perform 25 more
individual queries with the record_id's contained in index[26] through
index[50]. This results in the next 25 rows.
[pass n]
Same thing, except I check for conditions where there aren't exactly 25 more
records, etc.

The obvious solution is to perform the search query once, store the
record_id's into a session-persistent array, then continue to use the 'next'
hyperlink to keep track of where we are in the record_id index.  Then
browsing through the records would be lightning fast.

  Chris Murphy
OTS Information Systems

===
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: Any views on the Java Web market in the US ???

2001-02-08 Thread Murphy, Chris (OTS-EDH)

In my company, I showed them what I could do with JSP, and my project
sponsors are completely behind me and my team.

I believe its up to us (JSP developers) to simply show management how
quickly and cheaply* a JSP solution can be used in the enterprise as well as
small projects.


* If you use Tomcat, Notepad, Apache, Linux, you only have to pay for the
programmer's time, rather than all the infrastructure .Net will need.

-Chris Murphy

-Original Message-
From: Mathew, Binoy (CORP, GEITC) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 1:04 AM
To: [EMAIL PROTECTED]
Subject: Any views on the Java Web market in the US ???


Hi all,

We keep hearing news on the downtrends of the Java web market in the US?

How true is this and is this a slug or a permanent downfall of Java web
based
technologies like JSP, Servlets, XML ???

What about Europe?

Would like your thoughts.

Rgds,
Binoy.

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



GURUS: is a session Array Bean possible?

2001-02-07 Thread Murphy, Chris (OTS-EDH)

Look at this piece of code from a JSP page:



This fails miserable, but you get my point... Is there another way to make
an array persistent throughout the session?

Let me explain: Right now, I have a query that returns 25 rows at a time.
The problem is performance:
Everytime the page is accessed, via the 'next' hyperlink (which contains a
parameter that keeps track of the range of rows to query) it re-performs the
original query because I can't figure out a way to return records 25 - 50,
51-75, through SQL.

[pass 1]
For example, I perform a search query that returns 5000 rows and then I
store the record_id's into an array called index. Since I want to see the
first 25 rows, I perform 25 individual queries with the record_id's
contained in index[0] through index[25] (this part seems like it would be my
bottleneck, but it isn't). Next, I create a hyperlink that hits this very
same page, but I pass it a variable named index_range=25.
[pass 2]
Same page, I perform that same query that returns 5000 rows and the I store
the record_id's again.  Now index_range says '26', I can perform 25 more
individual queries with the record_id's contained in index[26] through
index[50]. This results in the next 25 rows.
[pass n]
Same thing, except I check for conditions where there aren't exactly 25 more
records, etc.

The obvious solution is to perform the search query once, store the
record_id's into a session-persistent array, then continue to use the 'next'
hyperlink to keep track of where we are in the record_id index.  Then
browsing through the records would be lightning fast.

  Chris Murphy
OTS Information Systems

===
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: Apache / Tomcat

2000-12-28 Thread Murphy, Chris (OTS-EDH)

I have seen this message for >2 months and it has had no ill effects.

-cm

-Original Message-
From: Ross L [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 28, 2000 8:59 AM
To: [EMAIL PROTECTED]
Subject: Apache / Tomcat


When starting Apache 1.3.12 with Tomcat config:
#tomcat start
LoadModule jserv_module libexec/mod_jserv.so
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice


etc ...

I'm getting :

[Thu Dec 28 11:43:43 2000] [warn] Loaded DSO libexec/mod_jserv.so uses plain
Apache 1.3 API, this module might crash under EAPI! (please recompile it
with -DEAPI)

Is there any other way of loading Tomcat - without recompiling?



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

_
Get your FREE download of MSN Explorer at http://explorer.msn.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: Funny thing happened to me ...

2000-12-21 Thread Murphy, Chris (OTS-EDH)

My whole app is a war file.  When the engine starts, it explodes it.  Are
you saying I should put my singletons and servlets in a war file under
../WEB-INF/lib?

-CM

-Original Message-
From: Brad Wilson - BTWeb Enterprises [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 2:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Funny thing happened to me ...


This is probably because Resin allows the use of .jar files (Java
Application aRchive), whereas Tomcat adheres more strictly to the formal
servlet specifications which disallow the use of .jar files.

Instead or .jar files, you will need to use .war files (Web Application
aRchive).  Check out the Servlet Specification v2.2 for more info on .war
files.

- Brad Wilson
BT Web Enterprises.
+61 8 8244 7760

- Original Message -
From: "Murphy, Chris (OTS-EDH)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 22, 2000 8:25 AM
Subject: Funny thing happened to me ...


> .. on the way to the forum (oh wait)
>
> ..I mean when I recompiled all of my classes into using a package.  For
> example..
>
> package myPackage;
> ..
>
> I then made a jar (myStuff.jar) that looked like this:
>
> myPackage/servlet1.class
> ...
> myPackage/singleton100.class
>
> Then, I put myStuff.jar into ../WEB-INF/lib
>
> Last, I modified the page import directive on each jsp page as follows:
>
> <%@ page import="myPackage.*, java.text.*" errorPage="error.jsp" %>
>
> Actually, this works just fine when using Resin 1.2.1  When I moved my app
> to a tomcat 3.2 server, I get this weird error: "Cannot create bean of
class
> UserBean"
> What is the problem?
>
> -Chris Murphy
>
>
>   Chris Murphy
> OTS Information Systems
>OTS-WEST
>   (916) 939-5868
>  MS: 4050
>
>
===
> 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



Funny thing happened to me ...

2000-12-21 Thread Murphy, Chris (OTS-EDH)

.. on the way to the forum (oh wait)

..I mean when I recompiled all of my classes into using a package.  For
example..

package myPackage;
..

I then made a jar (myStuff.jar) that looked like this:

myPackage/servlet1.class
...
myPackage/singleton100.class

Then, I put myStuff.jar into ../WEB-INF/lib

Last, I modified the page import directive on each jsp page as follows:

<%@ page import="myPackage.*, java.text.*" errorPage="error.jsp" %>

Actually, this works just fine when using Resin 1.2.1  When I moved my app
to a tomcat 3.2 server, I get this weird error: "Cannot create bean of class
UserBean"
What is the problem?

-Chris Murphy


  Chris Murphy
OTS Information Systems
   OTS-WEST
  (916) 939-5868
 MS: 4050

===
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: passing data between pages

2000-12-20 Thread Murphy, Chris (OTS-EDH)

I normally don't.  I use the entry page to authenticate the
username/password and then just store the user's info, like name, last
logged on, access level in a bean.  I then code each page with this rule:
"if for some reason the user bean is null, then show an error message
instead of the normal page."

The user bean will be null if the username/password authentication scheme
fails *or* if the session becomes invalid (usually an automatic 15 minutes
timeout).

I've used this approach for 3 different web-app projects and it works great.

-CM

-Original Message-
From: matt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 20, 2000 1:22 AM
To: [EMAIL PROTECTED]
Subject: passing data between pages


whats the best way to send a username and password between jsp pages?

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

2000-11-13 Thread Murphy, Chris (OTS-EDH)

I was able to make mine work.  Here's the concoction:

OS = Linux 6.2
WebServer = Apache 3.1.14
SSL = modssl, openssl (latest, or just match the minor version on apache)
JSP Container = Tomcat 3.2

I have a mod_jserv in the apache configuration that allows me to dangle my
web-apps off my main url like so:
http://www.techrev.net/salestitan/_catalog.jsp?store_id=1

With the above configuration, I can now access it securely:
https://www.techrev.net/salestitan/_catalog.jsp?store_id=1

-CM
-Original Message-
From: Antonio W. Lagnada [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 3:20 PM
To: [EMAIL PROTECTED]
Subject: SSL


Does anyone know of any JSP/Servlet server that will work with SSL?

--
Antonio W. Lagnada
Ecommerce Consultant
[EMAIL PROTECTED]

This email address is specifically
for JSP-Interest email list.
Remove _NOSPAM for the actual email.



___
To get your own FREE ZDNet Onebox - FREE voicemail, email, and fax,
all in one place - sign up today at http://www.zdnetonebox.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: Sending e-mail through JSP

2000-11-02 Thread Murphy, Chris (OTS-EDH)

I use a helper library from oreilly to send smtp mail.  Here's how to use
it:

<%@ page import="com.oreilly.servlet*, java.io.*" %>
<%
String mailHost = "Name of a nice SMTP host who will send email from
anyone";
String from = "[EMAIL PROTECTED]";
String to = perhaps_a_dynamic_email_address;

try {
   MailMessage msg = new MailMessage(mailHost);
   msg.from(from);
   msg.to(to);
   msg.setSubject("Email is fun!");
   PrintStream message = msg.getPrintStream();
   message.println("One line a time");
   message.println(or_a_concatenated_string_variable);
   msg.sendAndClose();
} catch {UnknownHostException e) { }

%>

Download it from Oreilly's website www.oreilly.com the file is called
"cos.jar"

-CM

-Original Message-
From: Paul Enriquez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 10:06 AM
To: [EMAIL PROTECTED]
Subject: Sending e-mail through JSP


Could someone show me (or direct me to) some sample code that sends an
e-mail programitically through JSP?

Thank you.

- Paul Enriquez

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

2000-11-01 Thread Murphy, Chris (OTS-EDH)

Access is not strong enough to handle a bunch of simultaneous requests
because of its limited architecture.  Every time a user performs a query on
the database, no one else can do anything (just for a split second).  I have
experimented with connection pooling, and it does seem to help performance a
bit. In my tests, large queries (about 5000 rows) submitted by two clients
at the same time produced different results.  Doing the same test against
SQL server, MySQL or Postgres always yielded the same results for each
client.

I haven't used Access since.  If you have a linux box sitting around, get
mySQL or Postgres installed on them.  They are both free and there are
native JDBC drivers as well as ODBC drivers for each.

-cm

-Original Message-
From: cupid1 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 5:22 AM
To: [EMAIL PROTECTED]
Subject: Re: Shopping cart


CM,

It sounds great if I can use Access database to store products info with jsp
as front end. I asked the question because I read somewhere that Access is
not a client/server capable database. The way I understood that was that if
I have a jsp user interface that retrieves information about products from
Access database, it will encounter problem when many users on the internet
are simultaneously try to see products which would be served from Access. I
am not so sure. I like to hear from any one on the subject. Thanks.

Mian
[EMAIL PROTECTED]


- Original Message -
From: "Murphy, Chris (OTS-EDH)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 31, 2000 4:33 PM
Subject: Re: Shopping cart


> Absolutely.  I have a slightly modified version that works using JDBC and
> SQLServer or MS Access.  Currently my platform is Linux, Tomcat and
> DB=Postgres.  To make it work under SQL server, I had to modify my SQL
> statements for inserting values, but that was it.  I didn't have to change
> anything else in the app.
>
> -cm
>
> -Original Message-
> From: cupid1 [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 31, 2000 12:18 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Shooping cart
>
>
> Can Access database could be used for user and product info?
>
> Mian
>
> -
> Click here for Free Video!!
> http://www.gohip.com/free_video/
>
> - Original Message -
> From: "Murphy, Chris (OTS-EDH)" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 31, 2000 1:26 PM
> Subject: Re: Shooping cart
>
>
> > Here's how I did mine (I don't have SSL working, yet.)
> > 1. Have a database that captures customer info and product info.
> > 2. Pull your products from a database into jsp pages for display.
> > 3. Use a session bean to remember the customer's shopping cart items,
just
> > for the session.  This means that if the customer closes all of his
> browser
> > windows, the shopping cart will be empty.
> > 4. When the customer is ready to checkout, then collect their customer
> info,
> > credit card, etc.  Save this info to new session beans.  So, if the
> customer
> > leaves the checkout sequence, they won't have to re-enter all of their
> > customer info.
> > 5. Then, on the final order submit page, commit all session beans to
> > database and email the customer an invoice of their order.  Upon
> submission,
> > all session beans should be cleared.
> >
> > Here it is:
> > http://www.techrev.net/salestitan/_catalog.jsp?store_id=1
> >
> > This is not too fancy, but configurable in the administrator portion of
my
> > web-app.
> >
> > -cm
> >
> > -Original Message-
> > From: Pranav Bansal [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, October 31, 2000 2:38 AM
> > To: [EMAIL PROTECTED]
> > Subject: Shooping cart
> >
> >
> > Hi all,
> >   I want to know what are the possible method for creating a
> > Shopping cart without using Session???
> > If anyone have some information then please tell me with details.
> > Thanking you,
> > Regards,
> > Pranav Kumar
> > Software Engineer
> > Informica India Pvt. ltd.
> > Noida,India
> > Phone: -91-118-4514702
> > www.informica.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
> &

Re: Jsp to Servlet and ViceVersa

2000-10-31 Thread Murphy, Chris (OTS-EDH)

Here's how you call a servlet from jsp.






You can make the form
action="http://mymachine:8080/jsp_app/servlet/Myservlet" from a regular html
page as well.

To make the servlet give information back to the referring page, called
test_page.jsp,  try this in the servlet code: (incomplete)

...
request.setAttribute("message", "A message from the servlet");
RequestDispatcher rd =
getServletContext().getRequestDispatcher("/test_page.jsp");
rd.forward(request, response);
...

To receive data from a servlet, your jsp page, test_page.jsp, needs code
like this:
...
<%
String message = (String)request.getAttribute("message");
%>
<%= message %>
...

Have fun...

-cm


-Original Message-
From: Ganesh N.M [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000 1:15 PM
To: [EMAIL PROTECTED]
Subject: Jsp to Servlet and ViceVersa


Hi All,

Can any one give me sample code for calling servlet from JSP and viceversa?

thanx in Advance.

Bye,

Ganesh

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

2000-10-31 Thread Murphy, Chris (OTS-EDH)

Absolutely.  I have a slightly modified version that works using JDBC and
SQLServer or MS Access.  Currently my platform is Linux, Tomcat and
DB=Postgres.  To make it work under SQL server, I had to modify my SQL
statements for inserting values, but that was it.  I didn't have to change
anything else in the app.

-cm

-Original Message-
From: cupid1 [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000 12:18 PM
To: [EMAIL PROTECTED]
Subject: Re: Shooping cart


Can Access database could be used for user and product info?

Mian

-
Click here for Free Video!!
http://www.gohip.com/free_video/

- Original Message -
From: "Murphy, Chris (OTS-EDH)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 31, 2000 1:26 PM
Subject: Re: Shooping cart


> Here's how I did mine (I don't have SSL working, yet.)
> 1. Have a database that captures customer info and product info.
> 2. Pull your products from a database into jsp pages for display.
> 3. Use a session bean to remember the customer's shopping cart items, just
> for the session.  This means that if the customer closes all of his
browser
> windows, the shopping cart will be empty.
> 4. When the customer is ready to checkout, then collect their customer
info,
> credit card, etc.  Save this info to new session beans.  So, if the
customer
> leaves the checkout sequence, they won't have to re-enter all of their
> customer info.
> 5. Then, on the final order submit page, commit all session beans to
> database and email the customer an invoice of their order.  Upon
submission,
> all session beans should be cleared.
>
> Here it is:
> http://www.techrev.net/salestitan/_catalog.jsp?store_id=1
>
> This is not too fancy, but configurable in the administrator portion of my
> web-app.
>
> -cm
>
> -Original Message-
> From: Pranav Bansal [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 31, 2000 2:38 AM
> To: [EMAIL PROTECTED]
> Subject: Shooping cart
>
>
> Hi all,
>   I want to know what are the possible method for creating a
> Shopping cart without using Session???
> If anyone have some information then please tell me with details.
> Thanking you,
> Regards,
> Pranav Kumar
> Software Engineer
> Informica India Pvt. ltd.
> Noida,India
> Phone: -91-118-4514702
> www.informica.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

===
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: Shooping cart

2000-10-31 Thread Murphy, Chris (OTS-EDH)

Here's how I did mine (I don't have SSL working, yet.)
1. Have a database that captures customer info and product info.
2. Pull your products from a database into jsp pages for display.
3. Use a session bean to remember the customer's shopping cart items, just
for the session.  This means that if the customer closes all of his browser
windows, the shopping cart will be empty.
4. When the customer is ready to checkout, then collect their customer info,
credit card, etc.  Save this info to new session beans.  So, if the customer
leaves the checkout sequence, they won't have to re-enter all of their
customer info.
5. Then, on the final order submit page, commit all session beans to
database and email the customer an invoice of their order.  Upon submission,
all session beans should be cleared.

Here it is:
http://www.techrev.net/salestitan/_catalog.jsp?store_id=1

This is not too fancy, but configurable in the administrator portion of my
web-app.

-cm

-Original Message-
From: Pranav Bansal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000 2:38 AM
To: [EMAIL PROTECTED]
Subject: Shooping cart


Hi all,
  I want to know what are the possible method for creating a
Shopping cart without using Session???
If anyone have some information then please tell me with details.
Thanking you,
Regards,
Pranav Kumar
Software Engineer
Informica India Pvt. ltd.
Noida,India
Phone: -91-118-4514702
www.informica.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



java.policy configuration

2000-10-25 Thread Murphy, Chris (OTS-EDH)

I have just ported a JSP web-app from linux/postgres to NT/SQL Server. I can
no longer write files to the server.  I seem to remember back in the days of
my applet programming that I had to change the above policy file in order to
write to the file system.  Does anyone have a java.policy file I can look at
to allow my servlets to write to the file system?

Thanks for your help...

Chris Murphy

===
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: Problems running a JSP with Resin

2000-10-04 Thread Murphy, Chris (OTS-EDH)

I am having similar issues.  What version of Resin are you running?  I am
using the beta.

-murph

-Original Message-
From: Rajnish Bhaskar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 4:09 AM
To: [EMAIL PROTECTED]
Subject: Problems running a JSP with Resin


Hi all,
I'm just experimenting with Resin as a replacment servlet/JSP
container for Tomcat.  However, I've run into an odd error.  When I
try and run my login JSP, I get the following error:

com.caucho.jsp.JspParseException: /ITEU/html/studentlogin.jsp:5:
can't find property `thesession'

The relevent line of the JSP file is:


and the corresponding setThesession() method exists in the slogin
bean.  The odd thing is that this was working in Tomcat, but I was
never sure if the syntax that I used for the jsp:setProperty tag was
valid, even though it did seem to work :o).

Could someone clarify this for me?

Thanks,
Raj.

--
Rajnish Bhaskar
[EMAIL PROTECTED], http://i.am/rajy
IT Education Unit, University of Glasgow
http://www.iteu.gla.ac.uk/
--
Taboos are simply a bad excuse for not thinking.
--(New Scientist Editorial, 23 October 1999)

===
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: Help Needed - Max cursor exceeded Exception

2000-10-04 Thread Murphy, Chris (OTS-EDH)

I have seen this on Oracle 7.x databases.  In my case, the dba needed to
increase the MAX_CURSOR_SIZE (or something like it, I can't remember the
exact one) attribute on my database and I was good to go.

-murph

-Original Message-
From: Rathna [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 6:08 AM
To: [EMAIL PROTECTED]
Subject: Help Needed - Max cursor exceeded Exception


hi all,

This is a bit off  topic but i am sure someone in the list would thru
light on this.

we are developing a internet based application which works fine but when

we keep accessing for some time, at some point in sql query it throws
"max number of cursors exceeded" , then after wards it stops responding
 for all the database operation.i sure we are closing all the statements
after
each execution of  query also we have set the maximum cursor as 250.

when would the opened cursor will reach the max limit?

FYI,we are using connection pooling mechanision to maintion the
connection.

env: Jrun,apache,oracle8.1.6 on NT.

thanx in advance ...

--
with regards,
 rathna

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

2000-10-03 Thread Murphy, Chris (OTS-EDH)

I have one that I wrote.  I'm still working on a name change, but give this
a go:

http://www.techrev.net/salestracker/salestracker_catalog.jsp?store_id=1&rese
t=true

Go ahead and put some fake info for credit card because it isn't setup to do
a live credit card autho just yet.  Do put in a valid email address under
customer information, though so you get a copy of the invoice it creates.

I could use some constructive criticism here. Thanks.

-Chris Murphy
[EMAIL PROTECTED]

-Original Message-
From: Marcel van Kooy [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 02, 2000 2:00 AM
To: [EMAIL PROTECTED]
Subject: Shopping Cart


> Hi all,
>
> I'm looking for a Shopping Cart system, written in Java and JSP.
> Does anyone has an example or knows where I can find this? In the most
> JSP sites I couldn't find it.
>
> Thanx already!
>
> Regards,
> Marcel van Kooy
>

===
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: select..where like=?

2000-10-03 Thread Murphy, Chris (OTS-EDH)

Since you are using MS, you have to change the % to *.  Not very standard,
sadly.

-Chris Murphy
[EMAIL PROTECTED]

-Original Message-
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 30, 2000 10:21 PM
To: [EMAIL PROTECTED]
Subject: select..where like=?


I am calling a bean in all my jsp files, now when I want to do search, I
called a fuction in the bean using a query :
String search ="select * from MP5_CONCEPT_DEPENDENCIES where description
like=?";
getSearchStmt =  myConn.prepareStatement(search);
getSearchStmt.setString(1,"%" + searchstring + "%");

when compiling to test the search function I got this error :
Exception in thread "main" ConceptBeanException: [Microsoft][ODBC Microsoft
Acce
ss Driver] Syntax error (missing operator) in query expression 'description
like
=?'.
at ConceptDBean.searchConceptDBeans(ConceptDBean.java, Compiled
Code)
at ConceptDBean.main(ConceptDBean.java, Compiled Code)
_
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



Resin classpath issues

2000-10-03 Thread Murphy, Chris (OTS-EDH)

I am almost convinced that Resin (1.2b) is a much more robust jsp container
than Tomcat.  However, I am having trouble installing my web-app.  I
modified resin.conf like this: (I also tried different variations with '/' &
without the '/')


 
 
 
 


'salestracker' is in the default doc directory and it has its own
WEB-INF/classes subdirectories.

Here's the problem: My app isn't picking up my beans/servlets which probably
means there is some problem with the classpath.  As you see, I set the app
up according to the faq's.

Has anyone been able to create a new web-app under Resin? (not just copying
your classes into the default WEB-INF/classes directory.)

Chris Murphy

===
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: Type 4 JDBC driver for PostgreSQL

2000-09-22 Thread Murphy, Chris (OTS-EDH)

I use this one.  I'm not sure if its type 4 though...

ftp://ftp.techrev.net/pub/jdbc6.5-1.2.jar

-cm

-Original Message-
From: Risto Reinpold [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 21, 2000 10:39 PM
To: [EMAIL PROTECTED]
Subject: Type 4 JDBC driver for PostgreSQL


HI,

Does anybody know, if there is type 4 JDBC driver for PostgreSQL available.

Thanks,

Risto

===
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: Sending files

2000-09-07 Thread Murphy, Chris (OTS-EDH)

I have used the oreilly package with great success. My question is, how do
you get rid of a file? I don't want to shell-out and use 'rm somefile.tx'
because it might not work if I port to NT.

-cm

-Original Message-
From: Jaspreet Singh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 05, 2000 3:35 AM
To: [EMAIL PROTECTED]
Subject: Re: Sending files


Hi,

http://www.jspsmart.com


Regards

Jaspreet Singh

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Maciej TylczyƄski
Sent: Tuesday, September 05, 2000 2:31 PM
To: [EMAIL PROTECTED]
Subject: Sending files


Hi All

I need to give user posibility to send some local files to the
server.
 How can it be done ? Maybe I can find some source codes on the WWW.
 Thanks for any suggestions

Maciek

===
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: how to pass security information

2000-08-21 Thread Murphy, Chris (OTS-EDH)

Here's how I do it:

You can keep the userinfo handy via a bean.  For example, I pass in a
username and password from a regular html file and the ensuing jsp file will
validate the user. If valid, then load up a bean (mine is UserBean).

As long as you keep the scope="session", then the authenticated user will
travel to each jsp page.

-cm

-Original Message-
From: Gary Choi [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 18, 2000 10:00 PM
To: [EMAIL PROTECTED]
Subject: how to pass security information


Dear all,

Since I have to pass some security information from one jsp to another jsp.
how use get method now. People can see the information in the html source or
in query string.
How can I avoid the information to display?
Or make it impossible to view the html source?
Thank

Gary

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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



Tomcat running on Solaris 8 (x86)

2000-08-14 Thread Murphy, Chris (OTS-EDH)

O wise ones:

I have installed tomcat 3.1 on my Solaris 8 machine. When connecting to
http://mybox:8080 , I can run the servlet examples ok.  When I run the
NumberGuess, the harddrives on the server just spin and spin and spin.  I
telnet'd in and noticed that the drive space was being chewed up in the
../jakarta-tomcat/work directory. I had to kill the java process because it
had chewed over 120MB!

Here is what I have installed:
OS: Solaris 8 (intel)
JDK: Solaris VM (build Solaris_JDK_1.2.2_05a, native threads, sunwjit)
Tomcat: 3.1

While we're on the Solaris-Intel subject, has anyone compiled apache's
module:
mod_jserv.so ?  This allows you to dangle webapps right off of your website,
example:
http://myserver/webapp1

Thanks

  Chris Murphy
OTS Information Systems
   OTS-WEST
  (916) 939-5868
 MS: 4050

===
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: Free MSQLS Server JDBC driver

2000-08-10 Thread Murphy, Chris (OTS-EDH)

I have downloaded, but not tried, something called "freetds".  Take a look
at this and see if it works for you.

ftp://ftp.techrev.net/pub/freetds_jdbc.tgz

-cm

-Original Message-
From: Lynch Wu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 3:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Free MSQLS Server JDBC driver


Hi

Maybe you can't. In Sun's java site, only commercial solutions are
available for MS SQL JDBC, and none of them is free. We are
also curious if any freeware exists.

Regards
Lynch Wu

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