Re: resource for WebLogic and Scalability

2000-06-07 Thread Wasetis, Ken

We're working with it on a project.  The client's setup is:  IIS 4.0 and WL
4.51 running on Win NT 4.0 on two dual-processor HP boxes.  The database is
MS SQL Server 7.0 clustered on two similar machines.

We're starting load balancing today.  I doubt that we're using your ideal
configuration.  We're deploying 38 EJBs.  Pretty much just mirroring the
tables with entity-managed beans (not my decision- please no e-mail.  I say
this because there is obvious overhead with entity beans that we didn't
need, but it made things simple for developers.)

If you have specific questions in the near future, I can tell you what we
found in our stress testing /load balancing and tell you how the production
site operates as of next week after the soft launch and after the following
week when we really go live.

-Ken

-Original Message-
From: David Edmister [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 07, 2000 9:48 AM
To: [EMAIL PROTECTED]
Subject: resource for WebLogic and Scaleability


is there anyone on this list that i can keep in contact with that is using
BEA Sys's Weblogic web-server tools and EJBs.i'm going to be facing some
big scaleability issues in the next month and would like to converse about
the "scaleability" approach we're taking (or not).

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

===
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: What are Custom Tags?

2000-05-26 Thread Wasetis, Ken

I'm sure everyone will jump on this, but the hardcopy is indeed available.
Most folks on my team have it.  It's the best resource we've found on JSPs.

-Original Message-
From: Robert Nicholson [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 26, 2000 12:18 PM
To: [EMAIL PROTECTED]
Subject: Re: What are Custom Tags?


The manning book "Web Development with Java Server Pages" has the best
infomration available on tag libs... you can get the ebook for $12 at
http://www.manning.com/fields is the hardcopy isn't available.

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Ulises Chesini
 Sent: Friday, May 26, 2000 6:39 AM
 To: [EMAIL PROTECTED]
 Subject: What are Custom Tags?


 Hi all, sorry for my basic question, I'm new to JSP. Where can I find info
 about custom tags libraries?
 thanks in advanced, Ulises

 ==
 =
 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: write method within response object

2000-05-23 Thread Wasetis, Ken

out.println() if you want it to be displayed on your page.

Or, if you want to be really difficult, put the display value into a String
and use %= myString % to display it.

-Original Message-
From: Claire Ryan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 23, 2000 3:00 PM
To: [EMAIL PROTECTED]
Subject: write method within response object


hi
what's the method to use for to write to HTTP output, i 've tried using
response.write(String), but this doesn't work, any ideas?
thanks in advance
claire

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



Re: Weblogic JavaBeans

2000-05-22 Thread Wasetis, Ken

If you are just using normal beans, then I apologize for distracting you
with the properties file. Ryan's suggestion on using the page directive
import is the only way I seen simple beans used (along with usebean.)  If
you are using an earlier JSP spec, you'll have to use the BEAN: tag instead
of usebean:.  I haven't had the .jar problem Ryan has, though.  If you are
using EJBs and/or servlets, the below could help:

One of the last statements on the console as you startup the web server
should state that 'X EJBs deployed' if you are using EJBs.  If it states
that none were deployed, then look at the message on the console just after
it attempts to deploy each EJB, which should indicate the reason
(connectionpool couldn't be created, license expiration problem, etc.)  Here
is an example of how the ejb.deploy property is setup:

weblogic.ejb.deploy=\
c:/weblogic/myserver/serverclasses/user.jar ,\
c:/weblogic/myserver/serverclasses/plant.jar,\
c:/weblogic/myserver/serverclasses/backofficeuser.jar,\
c:/weblogic/myserver/serverclasses/contactinfo.jar,\
c:/weblogic/myserver/serverclasses/creditcheck.jar


-Original Message-
From: Shriver, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 22, 2000 12:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Weblogic  JavaBeans


Make sure you're doing the following:

1. Import the Bean's package:
%@ page import="com.package.whatever.myBean" %

2. Refer to the Bean's entire package in the useBean:
jsp:useBean id="myBean" class="com.package.whatever.myBean" /

3. Make sure the above mentioned class is in your classpath. I have known
Weblogic 4.51 to not find classes that are in .jar files in my classpath. So
if your class is in the .jar you might explode it out into a directory
that's already in your class path.

Do these things and it should work ok. You don't need to worry about the
weblogic.properties file for simple JavaBeans. However, for debugging you
might want to add the following in the JSP section of weblogic.properties:

weblogic.httpd.initArgs.*.jsp=\
   keepgenerated=true

There will already be other initArgs, but adding keepgenerated=true to the
end will keep the servlet.java file that was generated when compiling the
JSP page. You can look at this servlet's source and see how it's trying to
find the class. Enjoy.

ryan

 -Original Message-
 From: Kaylon Daniels [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 22, 2000 1:03 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Weblogic  JavaBeans


 Thanks Ken,

 I have read most of the properties file info, there is a section on
 configuring
 the JSPServlet. I have the server configured to run JSP's,
 any JSP which
 does not
 access a Bean via the useBean tag works fine. I just can't
 get it to locate
 my beans.
 Is there any special configuration within the properties file
 for locating
 javabeans?

 -Original Message-
 From: Wasetis, Ken [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 19, 2000 6:15 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Weblogic  JavaBeans


 There is a section in the weblogic.properties file.  One
 section for EJBs
 and one for servlets.  The properties file is pretty well
 documented.  It
 should be located in the \weblogic folder.

 -Original Message-
 From: Kaylon Daniels [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 19, 2000 2:51 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Weblogic  JavaBeans


 Does anyone know how to get the Weblogic 5.1 server
 to "find" Javabeans? I continue to get ClassNotFoundErrors
 whenever I try to load a JSP with a javabean.
 I am using a standard jsp:useBeans id=".." class="..." / tag.
 I have set the java classpath using the BEA Systems online
 help examples.

 Any insight would be helpful.

 Kaylon D
 [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

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

Re: Weblogic JavaBeans

2000-05-19 Thread Wasetis, Ken

There is a section in the weblogic.properties file.  One section for EJBs
and one for servlets.  The properties file is pretty well documented.  It
should be located in the \weblogic folder.

-Original Message-
From: Kaylon Daniels [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 19, 2000 2:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Weblogic  JavaBeans


Does anyone know how to get the Weblogic 5.1 server
to "find" Javabeans? I continue to get ClassNotFoundErrors
whenever I try to load a JSP with a javabean.
I am using a standard jsp:useBeans id=".." class="..." / tag.
I have set the java classpath using the BEA Systems online help examples.

Any insight would be helpful.

Kaylon D
[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



No Subject

2000-05-15 Thread Wasetis, Ken

Or define it within %! and % tags which should make it an instance
variable in the generated servlet.

-Original Message-
From: Vin Lisciandro [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 15, 2000 12:28 PM
To: [EMAIL PROTECTED]
Subject:


The compiler is not able to determine that 'myComputerName' will exist
because you only instantiate it inside of an IF statement

you should do a:
String myComputerName = new String();
outside of your IF so that the object is brought into scope, then
just perform a value assignment inside the IF
myComputerName = myComputer.getComputerName();

That way there will always be a 'myComputerName' object to satisfy the
compiler.

- vin




At 10:02 AM 5/15/00 -0700, you wrote:
Ok.  So in my JSP I call on a servlet that returns data to me via a
"Computer" object which has name and description properties, but I can't
seem to get to those properties once I'm back in my JSP.  The jsp code is
this:
%
 if (request.getParameter("selComputers") != null) {
 String getComputer = request.getParameter("selComputers");
 net.authentix.applicationdefs.Computer myComputer =
clsGetComputers.compGetAComputer(getComputer);
 String myComputerName = myComputer.getComputerName();
 String myComputerDescription =
myComputer.getComputerDescription();
 }
%

It is called in a file that get's included only if
request.getParameter("selComputers") exists.
But, if later in the same jsp I reference %=myComputerName% I receive
this
error





d:\InetPub\ServletExec\ISAPI\Servlets\pagecompile\_AprilRelease\_AdminFunct
i
ons\_System\_Services\_console_xjsp.java:189: Undefined variable:
myComputerName
 out.print( String.valueOf(  myComputerName  ) );
 ^
Is this a common or obvious error?  It has me quite stumped.  Admittedly I
am a COM/VB dll web programmer trying to learn jsp but I just want to
access
the properties of my object.  Is this possible in my jsp?
I wouldn't ask but I've been trying for a couple days now and cannot get
there.
Thanks.
Jt.

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



No Subject

2000-05-15 Thread Wasetis, Ken

Good point.

-Original Message-
From: Hans Bergsten [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 15, 2000 1:52 PM
To: [EMAIL PROTECTED]
Subject:


"Wasetis, Ken" wrote:

 Or define it within %! and % tags which should make it an instance
 variable in the generated servlet.

That's a dangerous solution; since %! ... % creates an instance variable,
the variable is shared by all threads (i.e. all concurrent accesses to the
page). In this case the variable value depends on request data, so if you
use an instance variable concurrent requests will overwrite each others
values.

A better solution here would be to develop a bean that has a write
access property named "selComputers" (set from the request parameter
with the same name using jsp:setProperty) and read-only properties
named "computerName" and "computerDescription". Then all code can be
replaced with action elements:

  jsp:useBean id="compInfo" class="com.mycomp.SomeClass" 
jsp:setProperty name="compInfo" property="*" /
  /jsp:useBean

  jsp:getProperty name="compInfo" property="computerName" /
  jsp:getProperty name="compInfo" property="computerDescription" /

Hans

 -Original Message-
 From: Vin Lisciandro [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 15, 2000 12:28 PM
 To: [EMAIL PROTECTED]
 Subject:

 The compiler is not able to determine that 'myComputerName' will exist
 because you only instantiate it inside of an IF statement

 you should do a:
 String myComputerName = new String();
 outside of your IF so that the object is brought into scope, then
 just perform a value assignment inside the IF
 myComputerName = myComputer.getComputerName();

 That way there will always be a 'myComputerName' object to satisfy the
 compiler.

 - vin

 At 10:02 AM 5/15/00 -0700, you wrote:
 Ok.  So in my JSP I call on a servlet that returns data to me via a
 "Computer" object which has name and description properties, but I can't
 seem to get to those properties once I'm back in my JSP.  The jsp code is
 this:
 %
  if (request.getParameter("selComputers") != null) {
  String getComputer =
request.getParameter("selComputers");
  net.authentix.applicationdefs.Computer myComputer =
 clsGetComputers.compGetAComputer(getComputer);
  String myComputerName = myComputer.getComputerName();
  String myComputerDescription =
 myComputer.getComputerDescription();
  }
 %
 
 It is called in a file that get's included only if
 request.getParameter("selComputers") exists.
 But, if later in the same jsp I reference %=myComputerName% I receive
 this
 error
 
 
 
 
 

d:\InetPub\ServletExec\ISAPI\Servlets\pagecompile\_AprilRelease\_AdminFunct
 i
 ons\_System\_Services\_console_xjsp.java:189: Undefined variable:
 myComputerName
  out.print( String.valueOf(  myComputerName  ) );
  ^
 Is this a common or obvious error?  It has me quite stumped.  Admittedly
I
 am a COM/VB dll web programmer trying to learn jsp but I just want to
 access
 the properties of my object.  Is this possible in my jsp?
 I wouldn't ask but I've been trying for a couple days now and cannot get
 there.
 Thanks.
 Jt.

--
Hans Bergsten   [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.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



No Subject

2000-05-15 Thread Wasetis, Ken

Unless you specify the page directive isThreadSafe to be 'false', the JSP
context will create only one instance per page (for all threads to use), so
if one thread changes an instance variable, all threads will see the same
value.  If you specify isThreadSafe to be 'false', each thread will get its
own instance for the page and therefore its own copy of the instance
variables.  This isn't very efficient, though, obviously.  Consider that if
you did it on a Logon page, every user trying to logon would create a new
instance of the Logon.jsp- yikes.

-Original Message-
From: Frank Apap [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 15, 2000 2:45 PM
To: [EMAIL PROTECTED]
Subject:


Hi, I am a little curious what you mean about the %! tag.  I am currently
using it and want to make sure I am not using it incorrectly.  In what cases
would it be a problem.  I am now using it to declare my variables, so are
you saying that if 1 user loads a jsp and the variable declared is set to
something if another user loads the page he can change user1's variable? Im
a little confused.

- Frank
- Original Message -
From: Hans Bergsten [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 15, 2000 2:51 PM


 "Wasetis, Ken" wrote:
 
  Or define it within %! and % tags which should make it an instance
  variable in the generated servlet.

 That's a dangerous solution; since %! ... % creates an instance
variable,
 the variable is shared by all threads (i.e. all concurrent accesses to the
 page). In this case the variable value depends on request data, so if you
 use an instance variable concurrent requests will overwrite each others
 values.

 A better solution here would be to develop a bean that has a write
 access property named "selComputers" (set from the request parameter
 with the same name using jsp:setProperty) and read-only properties
 named "computerName" and "computerDescription". Then all code can be
 replaced with action elements:

   jsp:useBean id="compInfo" class="com.mycomp.SomeClass" 
 jsp:setProperty name="compInfo" property="*" /
   /jsp:useBean

   jsp:getProperty name="compInfo" property="computerName" /
   jsp:getProperty name="compInfo" property="computerDescription" /

 Hans

  -Original Message-
  From: Vin Lisciandro [mailto:[EMAIL PROTECTED]]
  Sent: Monday, May 15, 2000 12:28 PM
  To: [EMAIL PROTECTED]
  Subject:
 
  The compiler is not able to determine that 'myComputerName' will exist
  because you only instantiate it inside of an IF statement
 
  you should do a:
  String myComputerName = new String();
  outside of your IF so that the object is brought into scope, then
  just perform a value assignment inside the IF
  myComputerName = myComputer.getComputerName();
 
  That way there will always be a 'myComputerName' object to satisfy the
  compiler.
 
  - vin
 
  At 10:02 AM 5/15/00 -0700, you wrote:
  Ok.  So in my JSP I call on a servlet that returns data to me via a
  "Computer" object which has name and description properties, but I
can't
  seem to get to those properties once I'm back in my JSP.  The jsp code
is
  this:
  %
   if (request.getParameter("selComputers") != null) {
   String getComputer =
request.getParameter("selComputers");
   net.authentix.applicationdefs.Computer myComputer =
  clsGetComputers.compGetAComputer(getComputer);
   String myComputerName = myComputer.getComputerName();
   String myComputerDescription =
  myComputer.getComputerDescription();
   }
  %
  
  It is called in a file that get's included only if
  request.getParameter("selComputers") exists.
  But, if later in the same jsp I reference %=myComputerName% I receive
  this
  error
  
  
  
  
  
 
d:\InetPub\ServletExec\ISAPI\Servlets\pagecompile\_AprilRelease\_AdminFunct
  i
  ons\_System\_Services\_console_xjsp.java:189: Undefined variable:
  myComputerName
   out.print( String.valueOf(  myComputerName  ) );
   ^
  Is this a common or obvious error?  It has me quite stumped.
Admittedly I
  am a COM/VB dll web programmer trying to learn jsp but I just want to
  access
  the properties of my object.  Is this possible in my jsp?
  I wouldn't ask but I've been trying for a couple days now and cannot
get
  there.
  Thanks.
  Jt.

 --
 Hans Bergsten   [EMAIL PROTECTED]
 Gefion Software http://www.gefionsoftware.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

Re: Answer Re: Q. How to config iPlanet 4.1 for Servlet-style 2.2 webapplications?

2000-05-12 Thread Wasetis, Ken

On my last project (iPlanet 3.0 or 3.1 I think), we had all our class files
in the same directory as our servlets (you can specify in the properties
files or via the online Admin GUI for the web server.)  Then, we used the
usebean: syntax of the 1.0/1.1 spec.  I think you still need to specify in
the iPlanet configurations where it should look for your beans and where it
should look for servlets.  Maybe they don't HAVE to be one and the same.

You should be able to find out how to setup (where to put your files)from
the iPlanet doc.  There is an www.iplanet.com site as well for more info.


-Original Message-
From: Pedro Meza [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 12, 2000 10:38 AM
To: [EMAIL PROTECTED]
Subject: Re: Answer Re: Q. How to config iPlanet 4.1 for Servlet-style
2.2 webapplications?


I am evaluating iPlanet 4.1.  I have read through much documentation and
through the news groups but have not found the answer.

I keep getting a error of class not found for a bean I am referencing in a
JSP.  Where or how do I need to setup the bean.  Does the bean go in the
servlet directory ???  Am I suppose to add it to the list of servlets in the
Admin ???

Thanks,

Pedro
U S West Web Master
(303) 624-1545

Drew Cox wrote:

 Well, I guess not too many people are using iPlanet 4.1 with Servlets
 2.2 yet, as I didn't get many responses to my post.  Anyways, I think I
 have sorted out how to setup Servlet 2.2 web apps in iPlanet, so I
 thought I would share it with the list.

 Notes:

 * iPlanet 4.1 does not seem to read the WEB-INF/web.xml file to
 configure the web app.  You will have to duplicate it's settings in a
 number of config files.  If you are listening Sun/Netscape, please fix
 this first!  I don't think you can *really* claim Servlet 2.2 compliance
 without it.  Also, iPlanet does work with .war archives.

 * Don't use the HTML admin interface to do any of his.  It's fine for
 setting up independant servlets and their mappings, but will break a web
 application because it doesn't yet know about contexts.

 * Always read the docs online at the iPlanet web site.  They appear to
 be a little more up to date than those you get with the software (thanks
 Jesse).  Try http://docs.iplanet.com/docs/manuals/enterprise.html#41

 Steps

 1) To create a web application, edit the contexts.properties file and
 add the following lines:

 # Web app name
 context.mercury.name=mercury
 # Virutal path mapping
 context.mercury.uri=/mercury
 # Where it actually lives
 context.mercury.docRoot=/u01/docs/mercury/webapp
 # Optional context initialisation parameters
 context.mercury.initArgs=JDBC_DRIVER=oracle.jdbc.driver.OracleDriver
 # Optional context-wide classpath

context.mercury.classpath=/u01/docs/mercury/webapp/WEB-INF/classes:/u01/docs
/mercury/webapp/WEB-INF/lib/classes111.jar

 2) Edit the servelets.properties and register your servlets with the
 following lines:

 # Map the name (CommandServlet) to the class
 servlet.CommandServlet.code=com.epredix.webapp.CommandServlet
 # Specify the parent servlet context (aka web app) it is in
 servlet.CommandServlet.context=mercury
 # Optional servlet initialisation parameters
 servlet.CommandServlet.initArgs=appName=Customer,appLoad=2

 3) Edit the rules.properties and specify the virtual path mappings for
 your servlets:

 # Context-relative virtual path for registered servlet
 /actions=CommandServlet

 And that's it.  Simple really, except you won't find the above
 instructions together anywhere in the iPlanet docs.  I have also noticed
 some minor irregularities between web apps in Tomcat 3.1 (which we use
 for development) and iPlanet, like not finding classes using
 Class.getResource().  Strange, given that iPlanet actually uses bits of
 Tomcat for its Servlet and JSP support.

 Regards

 Drew Cox
 ePredix

 Drew Cox wrote:
 
  We are currently evaluating iPlanet Web Server 4.1 for it's JSP and
Servlet support.  This iPlanet web site proudly boasts Servlet 2.2 and JSP
1.1 support, so I was hopeful.
 
  However, I am finding it difficult to configure the server to host
Servlet 2.2 style web applications - with the standard WEB-INF directory
structure and web.xml config file.
 
  First off, the HTML based admin app for iPlanet has zero knowledge of
web apps or servlet contexts.  The amount of available information is small
and spread very thinly, but it appears as if this *could* be done in the
contexts.properties file.  I have experimented quite a bit but it doesn't
appear to be happening.
 
  If someone out there can provide any info, or even better, provide a
snips from there contexts.properties, servlets.properties and
rules.properties files where they have setup a working web application, I
would be most appreciative.
 
  Regards
 
  Drew Cox
  ePredix
 
 
===
  To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
  Some relevant FAQs on JSP/Servlets can be 

Re: jsp:forward and UNIX Problems

2000-05-09 Thread Wasetis, Ken

With iPlanet, I saw differences between the Linux and SunOS implementations
with regard to the jsp:forward tag.

As a general rule, though, the forward tag seems to work much better when it
is used early on (before the HTML tag) in the JSP.

-Original Message-
From: Yandle, Nigel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 4:11 AM
To: [EMAIL PROTECTED]
Subject: JSP: jsp:forward and UNIX Problems


Hi,

I'm using jsp:forward page="%=request.getRequestURI()%/ within my page
to redirect back to the same page. This works fine under NT but I get a
page-not-found message from the exact same page under UNIX-Solaris.

Any ideas?,
Thanks,
Nigel.

===
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: get vs post

2000-05-09 Thread Wasetis, Ken

You won't be able to send variables in the URL when using POST, if you still
are doing that (which works fine with GET).

-Original Message-
From: Kent Symanzik [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 12:01 PM
To: [EMAIL PROTECTED]
Subject: get vs post


I have a login jsp with a form that uses get.  The action is handled by a
servlet.  The servlet authenticates and forwards to my main html page.  The
problem is that I want to switch to post so that the username and password
is not seen in the url but when I do this I get an error saying "HTTP method
POST is not supported by this URL".  This is after the servlet has
authenticated so I think it is a problem with my requestDispatcher.forward.

Any suggestions?

Kent

===
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: Attempt to clear a buffer that's already been flushed !

2000-05-03 Thread Wasetis, Ken

I have received this error due to ONE line which included only a
jsp:include tag.  When I took this one line out, everything worked fine.
The page I was including was an HTML file which just provided a common
navigation bar of links.  Perhaps null values also cause this.

Someone suggested changing the @page autoflush property from its default of
=true to =false.  Haven't tried again yet.  You might.

-Original Message-
From: [Vinod Govindan] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 03, 2000 1:04 AM
To: [EMAIL PROTECTED]
Subject: Re: Attempt to clear a buffer that's already been flushed !


That error normally occurs when the jsp page gets a null value..! The null
value causes and exception.. but the error reported is entirely different!
You'll have to do specific System.out debugging and find you the exact
location where you get a null value!

Wish you the best!

Vinod



Anna Sp\engberg
Anna.Spangberg@ICONMETo:
[EMAIL PROTECTED]
DIALAB.SEcc:
Sent by: A mailingSubject: Attempt to
clear a buffer that's
list about Java Serveralready been flushed !
Pages specification
and reference
[EMAIL PROTECTED]
.COM


05/02/00 06:27 PM
Please respond to A
mailing list about
Java Server Pages
specification and
reference





I got a error message in my jsp page

Error: 500
Error: Attempt to clear a buffer that's already been flushed

I´ve tried to changed the buffersize but nothing works!
Please help me!

/anna

===
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: IPlanet reliability

2000-05-01 Thread Wasetis, Ken

Seems pretty reliable for our project.  Two problems that I know of:

1) One of our three servers 'hangs' when trying to bounce it using the Admin
tool (which is a web page.)  This could be a configuration issue since the
other servers don't have this problem.  It tends to happen when a JSP page
(in development) causes a server error or a 'Cannot be displayed' error.

2) When using the jsp:include and jsp:forward tags, we have seen the I-O
error 'Attempting to clear a buffer which has already been flushed'.  I have
seen other posts from developers using other web servers with the same
problem.  Somebody indicated that this was a 'bug' which has been corrected
with Tomcat.  I'm not sure if this is an iPlanet bug, or a programming
issue.

Other than those two things, iPlanet has been very good to work with.

-Original Message-
From: Marco Fasoletti [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 01, 2000 9:02 AM
To: [EMAIL PROTECTED]
Subject: IPlanet reliability


Hi,
I am looking for info about Iplanet.
Is it stable and performing?
What bugs does it have on its support for jsp (a part from those listed
on www.iplanet.com site)?
What would it be the point in using EG New Atlanta jsp/servlet engineon
iWS insted of using the internal engine?

Thanks

__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.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: IPlanet reliability

2000-05-01 Thread Wasetis, Ken

Have to program around the forward and include problems.  To me, includes
seem to work, but I have problems with using forwards AFTER other JSP Java
processing.  For example, one JSP allows data entry, then posts to itself,
does data validation and sends an e-mail.  If I try to forward after the
email is sent, I get the I-O (buffer) type of error.  So, I have the page
post to itself yet again and do the forwarding before it gets to the main
processing, based upon whether or not the 'mailSent' flag is true or not.

You'll have to play with it.  I haven't gotten any great ideas from anyone
on why this error happens, so you'll have to find the work-around that works
best for you.

Ken

-Original Message-
From: Marco Fasoletti [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 01, 2000 2:30 PM
To: [EMAIL PROTECTED]
Subject: Re: IPlanet reliability


Hi,
Thanks for the answer.
How do you overcome the include and forward problem?

I read even of a problem with the errorpage's exception object, any problem
with this?

--
M Faso
[EMAIL PROTECTED] - email
(212) 699-3827 x2549 - voicemail/fax



 "Wasetis, Ken" [EMAIL PROTECTED] wrote:
 Seems pretty reliable for our project.  Two problems that I know of:

 1) One of our three servers 'hangs' when trying to bounce it using
 the Admin
 tool (which is a web page.)  This could be a configuration issue since
 the
 other servers don't have this problem.  It tends to happen when a JSP
 page
 (in development) causes a server error or a 'Cannot be displayed' error.

 2) When using the jsp:include and jsp:forward tags, we have seen
 the I-O
 error 'Attempting to clear a buffer which has already been flushed'.
  I have
 seen other posts from developers using other web servers with the same
 problem.  Somebody indicated that this was a 'bug' which has been
corrected
 with Tomcat.  I'm not sure if this is an iPlanet bug, or a programming
 issue.

 Other than those two things, iPlanet has been very good to work with.

 -Original Message-
 From: Marco Fasoletti [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 01, 2000 9:02 AM
 To: [EMAIL PROTECTED]
 Subject: IPlanet reliability


 Hi,
 I am looking for info about Iplanet.
 Is it stable and performing?
 What bugs does it have on its support for jsp (a part from those listed
 on www.iplanet.com site)?
 What would it be the point in using EG New Atlanta jsp/servlet engineon
 iWS insted of using the internal engine?

 Thanks

 __
 FREE voicemail, email, and fax...all in one place.
 Sign Up Now! http://www.onebox.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


__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.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



More on error: java.io.IOException: Error: Attempt to clear a bu ffer that's already been flushed

2000-04-27 Thread Wasetis, Ken

[27/Apr/2000:14:52:46] failure (18358): Internal error: exception thrown
from the servlet service function (uri=/m44.jsp): java.io.IOException:
Error: Attempt to clear a buffer that's already been flushed

I'm using iPlanet.  I've seen a number of members getting this same error
when doing jsp:include or jsp:forward tags.  I'm using a jsp:forward tag
and getting it.

Is there some syntax/logic error related to using the jsp:forward tag after
other java code within the JSP?

My code validates an e-mail address that was entered on the page and then
sends the e-mail (that part works fine.)  THEN, it tries to jsp:forward to
either a success.html or fail.html page, depending upon the success of the
e-mail transmission.

I have my jsp:forward placed just after the sendEmail() call.  The servlet
which is generated shows no sign of knowing it should forward to another
page.  And the result is that the e-mail is sent, but no forward to another
page is done.  The error log shows the error listed above.

When I've tried a preliminary test putting the forwarding logic at the top
of my JSP logic, the forwarding works after a second click of the Submit
button on the  page.  I can probably figure out a way to do it all with one
click, but I'm still baffled at the error.

Must all forwarding be done at the beginning of the JSP?  Or, can you do
some processing and then forward?

I saw other posts related to this error which indicated it was a 'bug'
related to Tomcat, and that this bug was resolved with the newest release
(last week).  I saw another post stating that Orion server gives more
valuable feedback when the problem is encountered.  WHAT'S THE FEEDBACK?  Is
there something specific causing this very general I-O error?

It's nice that some vendors are either resolving it or providing more
feedback, but does anyone know what specifically is causing it?

Thanks in advance for any insight, gang,

Ken


Ken Wasetis
Xqsite - a divine interVentures company
[EMAIL PROTECTED]
525 W. Monroe
Chicago, IL

===
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: JSWDK Problem

2000-04-26 Thread Wasetis, Ken

Check the 'hosts' file within your WINNT directory (do a search, but I think
it's under system32?)

There should be a line in this file which associates 'localhost' with an IP
address (127.0.0.1 by default).  To verify that this is working OK, just go
to the DOS command prompt and type 'ping localhost'.  If it does not reply
with your IP address for your local machine, you most likely don't have
things setup in that file correctly.

Also, you might need to modify the port assignment in the webserver.xml
properties file.  The default is either :80 or :8080.  Anyhow, if there is a
conflict because something else is assigned to that port, the server
probably won't start right.

Just my two cents.  Good luck.

Ken

-Original Message-
From: Arthur Gittleman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 26, 2000 12:49 PM
To: [EMAIL PROTECTED]
Subject: JSWDK Problem


JSWDK used to work but lately when I try to start the server the first two
lines of the message in the server window appear and then the window
disappears before displaying the third line.  I'm running NT4.0 on a
Pentium III.  I tried reinstalling, but with no success.  Has anyone
encountered this behavior or have any suggestions?

Thanks,
Art

===
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: Attempt to clear a buffer that's already been flushed

2000-04-25 Thread Wasetis, Ken

I have seen the same error on iPlanet.  Are you sure it's vendor-specific?
I've seen it related to a jsp:forward (I believe), so I don't know if it's
in response to any ONE tag, either.  Just FYI.  Good luck with the new
vendor, but you might still see the problem.

-Original Message-
From: Matt Krevs [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 25, 2000 7:59 PM
To: [EMAIL PROTECTED]
Subject: Re: Error: Attempt to clear a buffer that's already been
flushed


Are you using Tomcat?

This is a know problem that occurs when an exception is raised in your jsp
after a jsp:include has been processed.

I dont know of any workaround for this problem.

I have posted to this list several times regarding this issue and it seems
as though everyone is just living with the problem and hoping it will be
fixed in the next tomcat release. Unfortunately I couldnt wait so I changed
to another vendor.

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Howard Lee
Sent: Wednesday, 26 April 2000 10:04
To: [EMAIL PROTECTED]
Subject: Error: Attempt to clear a buffer that's already been flushed


Hi guys,

I get this error message once in awhile. Does anyone have seen this error
message? Got an idea what is causing this and what it means? Thanks!


javax.servlet.ServletException: Error: Attempt to clear a buffer that's
already been flushed
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:359)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:6
26)
at
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:5
34)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:144)
at
org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:304)
at java.lang.Thread.run(Thread.java:475)

===
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 have two submit buttons callingdifferentJSP's

2000-04-25 Thread Wasetis, Ken

Might try using action=variable and set the variable using Hidden
attributes?  If (HiddenA) {variable=HiddenA} else {variable=HiddenB}  or use
java vars even, don't have to be HTML Hidden vars.  My point is, maybe you
can just use a variable as the action and change it accordingly.

-Original Message-
From: friza taib [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 25, 2000 8:47 PM
To: [EMAIL PROTECTED]
Subject: Re: how to have two submit buttons callingdifferentJSP's


Hello,

How about having one submit form, action to 2/more forms synchronizely. Any
idea?

frizat.


From: Lin Bai [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: how to have two submit buttons callingdifferentJSP's
Date: Tue, 25 Apr 2000 12:28:13 -0400

Hi,

The javascript idea is really great. Now, what should I do if I also want
some of the submission buttons to pass parameters to the action
page/servlet? For a hypothetical example, I may display a number of placed
orders retrieved from the database. The form will have a submit button at
the bottom for some purpose. But, next to each order, I also want to  have
a
submit button for the purpose of deleting the order . Therefore, the order
id, which is a dynamic value, should also be passed. I can think of two
solutions. One is to create a hidden input field. Then in the javascript
code for the "onclick" action, set the hidden input field value. The other
way is to add a dynamically created query string to the url of each submit
button. What do you guys think? If both ways work, which is better? Thanks!

Lin

-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Vishwa
Sent: Tuesday, April 25, 2000 7:58 AM
To: [EMAIL PROTECTED]
Subject: Re: how to have two submit buttons callingdifferentJSP's

Hi,

We may also have to submit the form using the javascript code to
explicitly submit the form. Bill, please correct me if i am wrong.

like :
input type="submit" value="Submit 1"
Onclick="this.form.action='submit1.jsp';this.form.submit()"

bye,
vishwa

Bill Lynch wrote:
 
  By the way, a better way to do that (in javascript) is to use the "this"
  shortcut in the form element:
 
  input type="sumbit" value="Submit 1"
  onclick="this.form.action='submit1.jsp';"
 
  That way you don't even need to worry about names of form and form
  elements.
 
  regards,
  --Bill
 
  Howard Lee wrote:
  
   Thanks everyone!
  
   -Original Message-
   From: A mailing list about Java Server Pages specification and
reference
   [mailto:[EMAIL PROTECTED]]On Behalf Of Nathan Hoover
   Sent: Monday, April 24, 2000 2:02 PM
   To: [EMAIL PROTECTED]
   Subject: Re: [JSP-INTEREST] how to have two submit buttons calling
   different JSP's
  
   You can absolutely have two submit buttons on the same form. Just use
this
   code. Assumptions are that your form tag has name=f1.
  
   input type=submit value="Submit 1" onClick="document.f1.action =
   'submit1.jsp';"
   input type=submit value="Submit 2" onClick="document.f1.action =
   'submit2.jsp';"
  
   -Original Message-
   From: A mailing list about Java Server Pages specification and
reference
   [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Choe
   Sent: Monday, April 24, 2000 4:06 PM
   To: [EMAIL PROTECTED]
   Subject: Re: how to have two submit buttons calling different JSP's
  
   as far as i know you can only have one submit button per form.  but
you
can
   have
   more than on form per page.  so, i would say make different forms on
the
   page.
  
   peter choe
  
   Howard Lee wrote:
  
Hi,
   
I know this is more of an HTML question than JSP's but since many
people
   on
here are web gurus, I thought I asked here. How would you have two
submit
buttons to have two different URLs? I have two input type="submit"
buttons, and each calling different JSP's. Because I can only have
one
action in form, I couldn't see how I can do that. How would I have
two
submit buttons to have two different URL's? Thank you very much!
   
howard
 
  --
   Bill Lynch -- [EMAIL PROTECTED]  -
  CoolServlets.com  -- http://www.coolservlets.com
  ServletForum.com  -- http://www.servletforum.com
  ServletSource.com -- http://www.servletsource.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 

Re: Web Development with JavaServer Pages is Released

2000-04-19 Thread Wasetis, Ken

I have nothing to do with this book.  FYI, gang.  Just thought some folks on
this list in particular would be interested in the book.  I signed up for an
automatic notification of its availability.  I've already ordered it.

Good luck, all!

Ken

-Original Message-
From: Helen Trimes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 19, 2000 11:02 AM
To: FieldsListJM
Subject: Web Development with JavaServer Pages is Released


We are sending you this email because you joined our mailing list for
an update on this book's availability. To unsubscribe see instructions
below.



 Web Development with JavaServer Pages 
  by Duane K. Fields and Mark A. Kolb

The Print Version Is Now Available

Web Development with JavaServer Pages, by Duane K. Fields
and Mark A. Kolb, is the the first book to systematically cover
everything a developer needs to know to create effective web pages
and web-based applications with JSP.

Web Development with JavaServer Pages is now available in print.
It was originally released late last month as an ebook in
downloadable pdf format exclusively from the Manning site.

In Manning's tradition, the authors share their expertise in a public
forum, the Author Online, maintained on the Manning web site. Visitors
can post questions and have discussions with the author. Source code
from the book is also available on the publisher's site.

For a limited time, a 20% discount will be in effect for online
orders placed through the Manning web site at
http://www.manning.com. Information on telephone and FAX
orders is also available at the site.

The discount *only* applies to online orders.

Web Development with JavaServer Pages
By Duane K. Fields and Mark A. Kolb
Softbound, 584 pages, $44.95
ISBN 1-884777-99-6
www.manning.com/Fields

[To remove your name from this list, please reply to [EMAIL PROTECTED]]

Manning Publications Co.~32 Lafayette Place, Greenwich, CT 06830 USA

***

===
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 Testing Tools?

2000-04-14 Thread Wasetis, Ken

Does anyone know of any JSP testing tools?  Probably too new, but I'd love
to get my hands on something that would prevent me from having to redeploy
and bounce the server each time I want to test a JSP.

Thanks in advance,

Ken

Ken Wasetis
divine interVentures, inc.
525 W. Monroe
Chicago, IL
847-814-7401 - cell phone

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