Re: Error..ORB implementation com.sybase.CORBA.ORB

2000-06-28 Thread Vasudha Deepak

In Jrun Default and Admin Server, there is an option of Java
Settings.Probably you need the set Java Arguments option in that .This is
where you can specify the ORB implementation details.


- Original Message -
From: Daryani Santosh <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 28, 2000 1:34 PM
Subject: Error..ORB implementation com.sybase.CORBA.ORB


> Hi All,
>  I am using JRun3.0 , Personal Web Server4.0 and JDK 1.2.2.
>  While calling a bean method from my JSP I get the following error.The
bean is
> trying to connect to a component on a Jaguar CTS 3.5 server.
>
> can't instantiate default ORB implementation com.sybase.CORBA.ORB
> org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
> com.sybase.CORBA.ORB
> minor code: 0  completed: No
> at org.omg.CORBA.ORB.create_impl(ORB.java:305)
>
>
> The same code works , when I tear it from a bean and put it into a stand
alone
> app.
> Its not a path problem . Any clues ? Suggestions ? Your help is
appreciated.
>
> Thanks
> Santosh
>
>
===
> 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: Development Tools

2000-06-30 Thread Vasudha Deepak

Hi Radha,
 These URL's might be able to answer some of your queries.

http://java.sun.com/products/jsp/faq.html#techfaq

http://java.sun.com/products/jsp/technical.html

http://java.sun.com/products/jsp/download.html.

Hope this helps.

Vasudha


- Original Message -
From: Radha Ramesh <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 30, 2000 8:56 AM
Subject: Development Tools


> Hi,
> I am new to JSP.  I would like to know a few things about JSP.
>
> 1. Is it good for real-time applications?
> 2.Which would be a good development tool for JSP?
> 3.Where can I find information about the kind of things we can do
> with JSP?
>
> Thanks for any help,
> Radha.
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



Re: JSP -- Bean -- Servlet

2000-06-30 Thread Vasudha Deepak

Hi,
 Your servlet is in servlets package, and ValidateBean is in Bean
package.Import the Bean package in Servlet code, and create  an object of
the bean adn further invoke the relevant methods.At exaclty which lline you
are getting the null pointer exception.Is it the second line after class
declaration of servlet.

Hope this helps.
Vasudha

- Original Message -
From: Garry Fisher <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 30, 2000 9:15 AM
Subject: JSP -- Bean -- Servlet


> Can anybody help me with the following problem?
>
> I have a JSP, which is the first page to be displayed; the JSP should
create
> a ValidateBean Object.
>
> When the submit button is pressed the servlet FormValidate is called to do
> some validation processing. This mechanism all works ok but when I try to
> access the ValidateVBean object in the servlet I get a NULL POINTER
> EXCEPTION error because it cannot see the bean created in the JSP. I have
> checked that the JSP and server are accessing the same session and they
are.
>
>
>
> JSP (Simplified).
>
> 
> 
>
> <%@page language="java" import="bean.ValidateBean" %>
> 
>
> 
>
> <% session.putValue("validate", validate); %>
>
>  bgcolor="#FF9933" bordercolor="#99" align="center">
>   
>class="form">First
> Name 
>class="form">
> 
> 
>class="form">
> <% if (validate.isFirstNameValid() == true) { %>
> First Name Must Be Entered
> <% } %>
>
> 
>   
>  
>   
>   
>   
> 
>   
>   
> 
> 
>
>
> Java Bean Class.
>
> package bean;
>
> public class ValidateBean {
>
> private boolean firstNameValid = true;
>
> public boolean isFirstNameValid() {
> return firstNameValid;
>
> }
>
> public boolean validateFirstName(String inpFirstName) {
> if (inpFirstName == " ") {
> firstNameValid = false;
> return false;
> }
> else {
> firstNameValid = true;
> return true;
> }
> }
> }
>
> Processing Servlet.
>
>
> package servlets;
>
> import java.io.*;
>
> import javax.servlet.*;
> import javax.servlet.http.*;
>
>
> public class FormValidate extends HttpServlet {
>
> bean.ValidateBean validateBean;
>
> public void doGet (HttpServletRequest req, HttpServletResponse
res)
> throws ServletException, IOException
> {
>  doPost(req, res);
> }
> public void doPost(HttpServletRequest req, HttpServletResponse res) throws
> ServletException, IOException {
>
> //
>
> try {
> HttpSession sess = req.getSession();
> System.out.println(sess.getId());
> validateBean = (bean.ValidateBean)sess.getValue("validate");
> if
(validateBean.validateFirstName(req.getParameter("firstname")))
> valid = true;
> else
> valid = false;
>
> --- Other Stuff --
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



Re: JSP start point

2000-07-06 Thread Vasudha Deepak

These sites should be able to give you a good start in JSP's.

http://java.sun.com/products/jsp/technical.html
http://java.sun.com/products/jsp/faq.html#techfaq
http://java.sun.com/products/jsp/download.html.
http://www.jsptags.com
http://www.serverpages.com
http://www.jspin.com


Vasudha
- Original Message -
From: mike dell <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 06, 2000 9:57 AM
Subject: JSP start point


> Hi all,
> What is the best way to start learning JSP? Any online
> reference or any book u suggest?
> Thanks,
>
>
> __
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



Re: asp v. jsp/servlet environment?

2000-07-07 Thread Vasudha Deepak

www.serverpages.com has some good articles on this.



- Original Message -
From: Phil Campbell <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 07, 2000 8:33 AM
Subject: asp v. jsp/servlet environment?


> Can someone recommend a good on-line article on pros and cons of asp v.
jsp?
>
> We're not too impressed with what we know about asp, seeing no advantage
> over jsp and believing it may have noteworthy disadvantages.
>
> Any thoughts, comments are appreciated
>
> Phil Campbell
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



Re: passing value

2000-07-07 Thread Vasudha Deepak

Hi,
 Hidden values can be a good way too to pass parameters.When you set the
name value pairs , give the expression like<%=Str%>  for the value , where
Str can be any Java variable you wish to  pass, and then retireve it in
Disclaimer.jsp.

- Original Message -
From: Louis <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 07, 2000 4:38 AM
Subject: passing value


> Hi,
>   For example, I have one jsp page allow user enter the personal info
> (info.jsp) and another is disclamer page (disclamer.jsp).  When the user
> click submit in the info.jsp it will goto the disclamer.jsp, and if the =
> user
> click agree in the disclamer.jsp, then it will pass it to the servlet to
> process.
>   Please tell me how to pass all the value from the info.jsp to
> disclamer.jsp and to servlet.
>   I think I can create a bean or a hash table in the disclamer.jsp, get =
> all
> the value from the info.jsp and store it to the bean or hash table, and =
> set
> into the session and pass to the servlet.  But I don't think this is a =
> good
> way to do this, bcos if i do it like that, i need to put many java code =
> in
> disclamer.jsp.
>
>   Anyone can please suggest a good way to me.  Thank you.
>
>
>
> louis
>
>
===
> 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: variable passing????

2000-07-07 Thread Vasudha Deepak

This should work for you.

 New
Page  

orderID and itemID are strings.

Vasudha


- Original Message -
From: subramanian Athimoolam <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 07, 2000 9:19 AM
Subject: variable passing


> hi friends
>
> here i am passing variable form one jsp page to another page.
> single string means no problem.  its passing.
>
> ex.
>   value=category
>   
>
> it will give error..
> how can i correct it??
>
> thanks
> subu
>
> **
> Learnet India Ltd.,
> Bangalore
> **
>
>
>
>
>
>
> 
> 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: iplanet log file exception

2000-07-11 Thread Vasudha Deepak

Hi,
You will need to check the version of Servlet.jar you are using.
JspWriterImpl.flush method is in the servlet.jar version2.2.
Also check you classpath,probably it is using the older version
somewhere.

Vasudha


- Original Message -
From: phil bartholo <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 11, 2000 3:14 PM
Subject: iplanet log file exception


> I'm using JSP's on iPlanet Web Server.  After every request,
> the exception below appears in the log file.  I appears to me
> that iPlanet is compiling the jsp with a more recent jsdk than
> when it tries to run the resulting servlet.  As required, I
> installed iPlanet with my own JDK (1.2.2).  One fix I tried for
> this was adding the latest j2ee.jar at the front of the
> server's jvm classpath, but that didn't work.
>
> The funny thing is, everything works fine.  JSP's compile and
> run properly...  It's just that every request for a jsp creates
> this exact exception in the logs.
>
> Any thoughts?  Thanks, Phil
>
> Exception:
>
>
> [11/Jul/2000:14:07:43] failure (21953): Internal error: exception thrown
> from the servlet service function (uri=/index.jsp):
> java.lang.NoSuchMethodError: javax.servlet.ServletResponse: method
> flushBuffer()V not found, Stack: java.lang.NoSuchMethodError:
> javax.servlet.ServletResponse: method flushBuffer()V not found
> at
> org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:195)
> at _index_jsp._jspService(_index_jsp.java:246)
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
> at
>
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
a:476)
>
> --
> *
>   Phil Bartholo
>   Software Products and Platforms
>   Sun Microsystems Inc.
>   [EMAIL PROTECTED]
> *
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

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



Re: pick more than one parameter in request

2000-07-11 Thread Vasudha Deepak

Hi,
Are you passing more than one parameter, from one file to another or are
you referring to multiple values of a single parameter?

Vasudha

- Original Message -
From: Liart Martins <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 11, 2000 8:23 PM
Subject: pick more than one parameter in request


> How can I get more than one value using request.getParameter method?
>
> I'm using:
>
> request.getParameter("mySelect")
>
>
> Thank's
>
> Junior
> WebDeveloper
>
>
===
> 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 get started

2000-07-19 Thread Vasudha Deepak

You should install the Java WebServer from http://java.sun.com and start
your work on JSP's.
There are a number of Servlet and JSP examples to give an overview of their
functionality.
You can then place your JSP's in the appropriate directory and get them
running.

Hope this helps,
Vasudha

- Original Message -
From: mike dell <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 19, 2000 1:28 PM
Subject: How to get started


Hi friends,
I have found some JSP example which I am trying to run
but I don't know what I need to get started. How to
run these example? Is there any software installation
required? If yes, what is that and where to get it
from?

Thanks for your help folks.



If you fail to plan, you are planning to fail.

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

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

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

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

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



Re: Urgent help needed

2000-07-21 Thread Vasudha Deepak

Hi,
 Check the version of servlet.jar.Probably it needs the new one ie
servlet.jar version2.2
Also verify your classpath. If you have the new verison,may be it is
referring to the old one somewhere.


Vasudha
- Original Message -
From: Kachana Ung <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 21, 2000 10:18 AM
Subject: Urgent help needed


Hi,

I tried unsuccessfully to write a servlet that simply
forwards the request to another jsp page (test.jsp) to
be proccessed. The test.jsp is a simple PURE html page
that just prints something.  Here's the code:

=
package workflow.servlet;
import javax.servlet.*;
import javax.servlet.http.*;
public class TestServlet extends HttpServlet{
public  void service (HttpServletRequest req,
HttpServletResponse res) throws ServletException,
java.io.IOException{

RequestDispatcher rd =
getServletContext().getRequestDispatcher("/workflow/test.jsp");
rd.forward(req, res);

}
}
===

I kept getting the following error message:
---
500 Internal Server Error
The servlet named Test at the requested URL

http://sabrejspServlet
reported this exception:
java.lang.NullPointerException. Please report this to
the administrator of the web server.

java.lang.NullPointerException at
com.sun.server.http.pagecompile.GenericPageCompileServlet.loadClass(GenericP
ageCompileServlet.java:517)
at
com.sun.server.http.pagecompile.jsp.runtime.JspServlet.compileAndLoadServlet
(JspServlet.java:274)
at
com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspSer
vlet.java:254)
at
com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.ja
va:97)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.sun.server.ServletState.callService(ServletState.java:226)
at
com.sun.server.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:202)
at
com.sun.server.http.HttpRequestDispatcherImpl.forward(HttpRequestDispatcherI
mpl.java:249)
at
com.thevegroup.client.service.workflow.servlet.TestServlet.service(TestServl
et.java:21)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.sun.server.ServletState.callService(ServletState.java:226)
at
com.sun.server.ServletManager.callServletService(ServletManager.java:936)
at
com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)
at
com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)
at
com.sun.server.http.stages.Runner.process(Runner.java:79)
at
com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294)
at com.sun.server.Service.process(Service.java:204) at
com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java
:374)
at
com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java
:166)
at
com.sun.server.HandlerThread.run(HandlerThread.java:162)

---

However when I rewrote the servlet to forward the
request to an html page (test.jsp above saved as
test.html), the message is displayed correctly.

Please, help.
I'm using NT, jws 2.0, and servlets 2.1.


Thanks,

Kachana

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

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

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

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

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



Re: What does this error mean?

2000-07-26 Thread Vasudha Deepak

NullPointerException is thrown by an application whenever it uses null, at a
place where it expects an object.
For example ,you may be trying to use a method of a object which is null, or
may be trying to modify some fields of that object.
In such cases it may throw a nullpointerexception.

A JSP  may be expecting a parameter to be passed from a previous JSP or may
be an HTML.
String BWavailable = request.getParameter("BWavailable");

However if this JSP does not receive any parameter by this name, then it
will throw a nullpointerException.

Hope this helps,

Vasudha


- Original Message -
From: Aaron Prohaska <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 26, 2000 2:35 PM
Subject: What does this error mean?


> Can someone tell me what this means?
>
> java.lang.NullPointerException:
> thanks,
>
> Aaron
>
> <<:::..:::...::: Aaron Prohaska :::..:::...:::>>
> VerdeSoft Internet Services
> mailto:[EMAIL PROTECTED]  http://www.verdesoft.net/
>
>
===
> 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 404 when I run my own JSP

2000-08-01 Thread Vasudha Deepak

Make a jar file of the class generated from the Bean.Include it in the
System and Web Server classpath.Also restart your server after changing your
classpath.

Hope this helps,
Vasudha

- Original Message -
From: Krimm, Nik <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 01, 2000 12:10 PM
Subject: Re: error 404 when I run my own JSP


> I am having a similar problem, just starting out with JSP.  I get an error
> 500 - internal server error - everytime I try to
> access a bean that I have made.  My theory is that for some reason that
JSP
> is not recognizing the bean is out there, so I've adjusted the CLASSPATH
in
> the environmental variables, and I tried moving the .class over to where
the
> jsp example classes are (these examples work correctly in my browser), but
> no luck.  Is there any other kind of registration I need to do to let JSP
> know that a bean is out there?
>
> TIA
>
>
> -Original Message-
> From: Wei Qin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 01, 2000 12:16 PM
> To: [EMAIL PROTECTED]
> Subject: Re: error 404 when I run my own JSP
>
>
> Hello,
>
> I installed JDK 1.2.2 and JSWDK , and now I can run examples in JSWDK. =
> But when I put my own JSP files in /examples/jsp, either directly or in =
> their own subdirectory, I got 404 error(The page cannot be found)
>
> Can some one can tell me what the reason is?=20
>
> Thanks a lot.
>
>
===
> 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