request.getScheme() (returns http,https, etc)
request.getServerName()
request.getServerPort()
request.getContextPath()
You can use these to construct the URL or use HttpUtils getRequestURL()
method
- Original Message -
From: "Stefn F. Stefnsson" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
to the best of my knowledge -- no ! However it is expected that the same
should be avialable via CLASSPATH
Mayuresh
- Original Message -
From: "Stanley Tan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, April 08, 2001 05:15
Subject: Import
If a JSP page were to contain:
Thanks Sujith
Bye
Sunil
- Original Message -
From: "Sujith B" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, April 08, 2001 10:27 AM
Subject: Re: Visual Age Help Pl. (settings servlets/jsp)
Download Visual Age docs from the site
Hi i can help you.
What is your requirement.
email me
Regards
Deepak
--- ntrgiang [EMAIL PROTECTED] wrote:
Hi,
I want to build a forum using jsp technology. All of
your ideas, guides,
advices, and demos are welcome. :-)
Thanks alot
Giang Nguyen
Hi again,
Thanks for replying. I think I know the answer to my own question.
When using a JavaBean in JSP, make sure that the Bean belongs to a
package. If not, it will not be located and you must directly import it -
even if it's in the classpath. However, if the JavaBean DOES belong to a
I tried this kind of jsp :
%@ page errorPage="errorpage.jsp" %
jsp:useBean id="myFoo" scope="page" class="foo" type="foo" /
jsp:setProperty name="myFoo" property="name" /
And when I make a mistake on the web page I've got this exception error
org.apache.jasper.JasperException
I don't know
u need to create errorpage.jsp with the page directive
isErrorPage=true
Franck Samson [EMAIL PROTECTED]@java.sun.com on 04/09/2001
11:04:46 AM
Please respond to A mailing list about Java Server Pages specification
and reference [EMAIL PROTECTED]
Sent by: A mailing list about Java