I downloaded an example from the following:
http://java.sun.com/products/jsp/html/jsptut.html
and was running the jsp file, which worked Ok. The jsp file had the
following import statement:

<%@ page import="hello.NameHandler" %>

<jsp:useBean id="mybean" scope="page" class="hello.NameHandler" />
<jsp:setProperty name="mybean" property="*" />

I thought lets change "hello.NameHandler" to "hello.*". I tried to run the
same jsp file, but this time it did not work. So I changed the "hello.*"
back to "hello.nameHandler" and ever since I have been trying to run this
example, but only God knows why its not working anymore. So u can understand
why the End of the World is Coming.

No, honestly, if u know what's happening , then please do let me know.

Regards
 -----Original Message-----
From:   Mayuresh Kadu [mailto:[EMAIL PROTECTED]]
Sent:   Wednesday, May 23, 2001 11:26 AM
To:     [EMAIL PROTECTED]
Subject:

well ... one way would be to check the REFERRER Header ... it will give u
the filename from which the JSP was called before checking the QueryString
Params.

Alternatively .. u could pass a additional param that would indicate the
source using

<input type="hidden" name="source" value="jsp1">

in ur form. although that would increase the variable numbers by one



Mayuresh

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Nicholas Larsson
Sent: Wednesday, May 23, 2001 3:21 PM
To: [EMAIL PROTECTED]
Subject:


Hi!

I use a "search" jsp which is accessed from two different jsp's.
One of the jsp's only needs to send in 1 parameter and the other sends in 3
parameters.
if I use request.getParameter("aaa") I get a nullpointer when parameters
aren't found.

Is there a work around except from including them in the URL (looks bad)?

/Nico

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

Reply via email to