Check whether your jar file has a folder harman in which you have your bean
class.
Have a nice day.
With regards,
Sachin S. Khanna.
- Original Message -
From: Cory L Hubert <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 02, 1999 1:34 AM
Subject: Newbie having trouble
Pretty much the same way as you do in Java except the code should be written
in the java scriptlet tags.
<%.%>
Have a nice day.
With regards,
Sachin S. Khanna.
- Original Message -
From: Suresh Kumar Nittala <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, Decem
You need to first import your bean class before calling the jsp:useBean tag
as well as check out the syntax of the useBean tag.
<%@ page import = "harman.BeanTest" %>
This should solve your problem.
Have a nice day.
With regards,
Sachin S. Khanna.
- Original Message -
From: Cory L Hubert <
Fellow JSP users...
I am using JRUN verion 2.3.3 running under Netscape Fasttrack server which is
running on a Solaris 2.6 box. I am finding that my JSP pages can be a maximum of
15581 bytes before I get a "ArrayIndexOutOfBoundsException" exception. I have
come to this file size via a process of
So where does one declare application scope stuff? Is there a special file
for this?
I suppose the answer could be in the first JSP that is entered, but what if
there is no single JSP that is the entry point? Or what if it's necessary to
have both page scope and application scope in the same page
Check out this error I get.
500 Internal Server Error
javax.servlet.ServletException: Can't create the bean Object: Object
[Object]
at com.livesoftware.jrun.plugins.jsp.JSP.getBean(JSP.java:1392)
at jsp.testbeans.service(testbeans.java:82)
at javax.
Hi,
I need a list of differences between 1.0 and 0.92(syntax mainly).
More if some one can tell me if is possible to migrate from 1.0 back to 0.92
how difficuld could be that and more is there a patch for IPlanet that
provide support for JSP 1.0 ?
Thanks,
Mircea
=
Henric Larsson wrote:
> Hi,
>
> how can I control the name of a jsp bean in a session or application.
>
> If I create a bean like this:
>
> class="nation.app.vote.VoteEngine" >
>
>
>
> how do I know what name the bean gets if I want to use the bean in a servlet
> like this:
>
> ServletContext
Suresh,
You
don't need to call a method from your JSP in order to print out a message to the
browser.
Just
write something like:
<% if (User info In database) {
%>
You're OK buddy!
<% } else {
%>
The user
name you provided is incorrect.
<% } %>
-
Can a JSP directly access an EJB, or does it need to access an EJB through a
bean that establishes the connection using jndi?
Thanks!
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JS
You need to get a PrintWriter object and then it should work:
PrintWriter pw = response.getWriter();
pw.println("The user name you provided is incorrect");
Ken
-Original Message-
From: Suresh Kumar Nittala [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 01, 1999 11:13 AM
To: [EMAIL
> How can I come out of an If Loop, a for loop and a while loop in JSp?
i guess <% break; %> will do it
AndySoft
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
Hi, I am new to JSP. I just download ServletExec from www.newatlanta.com
and installed on my MS PWS. I downloaded the 3 tutorials from jsp
homepage and tested them. two of them works fine, one give the following
error message. What does it say? How can I debug the tutorial (JSP)code?
Thanks for yo
> I wouldn't want to see an edict completely
> banning attachments in email.
> Sometimes they are necessary.
I agree with the concern about edicts but disagree with the need for
attachments.
In the context of this group, I cannot think of any necessary attachment
that may
Daniel Tillin wrote:
> Does anyone know of any documentation which defines the
> lifecycle/times of scopes for JSPs?Cheers Dan
One way to understand these scopes more clearly is to review the servlet
API specification, and the associated books and tutorials. The concepts
match up like this (an
Hi,
I have a question regarding the shutdown of the
orion server. To shutdown orion I've been doing a
simple control C and killing the VM. I read in their
mailing list that control C won't trigger the destroy
servlet call unless you are using the 1.3 beta JDK.
Then I read they've provided a shut
Suresh Kumar Nittala wrote:
> By using out.println ("The user name you provided is incorrect.");
> gives an error. (Doesn't Work.)
By "doesn't work" do you mean it throws an exception?
Can you tell us the error message?
--shawn
=
Hi all.
I'm storing some data in several static vectors in a servlet and I access
this data from the JSPs of my application like the way I access data .in a
bean ( NameOfServlet.getNameOfStaticVariable() ).
I do this to emulate the scope "application" in JSP 0.92. ( I don't put the
data in session
Hello,
How can I come out of an If Loop, a for loop and a while loop in JSp?
Can anybody tell me?
Regards,
Suresh Kumar
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be fou
Hi,
If the entered information by the user doesn't match with the information
existing in the database then I wish to print a message on the browser
to the end user which explains as given below.
For Example:
By using System.out.println ("The user name you provided is incorrect.");
prints in the
Hi all.
I'm storing some data in several static Vectors in a servlet and I access
this data from the JSPs of my application like the way I access data .in a
bean : NameOfServlet.getNameOfVariable().
I do this for emulate
===
Need a small help.
wrote is a servlet which has makes a HTTP get request to the outside
intranet
The main function of servlet is to get the resource(like some html files
on internet ), in the servlet iam creating a url connection, and in order
to get the contents
I use VisualAge for Java's JSP Execution Monitor - it gives you almost all you could want from the debugging side.
--
dIon Gillard, Multitask Consulting
Work: http://www.multitask.com.au
Play: http://www.trongus.com
I've just returned from THE Java Programming Conference, http://www
For some reason my useBean syntax is being ignored. When I do a view
source I see unrendered code. If I use scripting it works fine though. ?!?
Help!
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "sig
Hey. Just getting started with JSP Beans. I compiled my bean and I put
it in a jar file called harman. It's in my Classpath. Check out the
following. I would appreciate it if you could help me figure out this
problem.
-- JSP FILE--
Bean Test
Hi
--- Bean ---
package harm
C W Wilson wrote:
> Ok. That explains a few things. I was also wondering, why can't I do the
> following?
>
> <%! public void test() throws Exception {
> Cookie[] cookies = request.getCookies();
> }
> %>
>
> Java won't allow me to request anything in there? Is there any way to solve
>
Hi,
how can I control the name of a jsp bean in a session or application.
If I create a bean like this:
how do I know what name the bean gets if I want to use the bean in a servlet
like this:
ServletContext.getAttribue("voteEngine");
I want a servlet to create the bean and then pull it f
C W Wilson wrote:
> Hi,
>
> I need to access a method in a bean, like such:
>
> ---
>
>
> <%!
> public boolean test() throws Exception {
> return beanTest.returnValue();
> }
> %>
> <%
>
> out.println(test());
> %>
>
> ---
>
> What do I have to do to access
Folks,
EzWebTools Lightweight Servlet Engine Beta 0.1.6 (used to be called
JAWS) is now available for download at http://www.ezwebtools.com
EzWebTools Lightweight Servlet Engine (ELSE) is a Lightweight
Servlet/JSP WEB Server designed for supporting multiple hosts (servers)
with each hosts having
Hello there folks
I was wondering what would be my best approach to performing secure
authentication on an NT network through a jsp?
Currently I am mirroring all accounts that exist on the domain controller in
order to determine access levels and employee information (in a db). I was
wondering
Mitul,
Every
property of a bean should have a get method and a set method (that's essentially
how a property is defined - by the existence of set and get methods).
Anytime you use a bean, these
methods are used to pass values to the bean, and to
retrieve values from the bean.
The
'pr
John,
If you were using a hardcoded string in your JSP for the userid, and you
simply replaced that string
with a <%= request.getParameter("user") %> the JSP should work exactly as
before, except that the username
can now be set in the HREF just as you have indicated:
http://webserver/js
Paul,
I think you'll find that most people don't send attachments. However, when
these viruses are sent out, the sender is usually unaware that the email
went out. Fortunately here they filter out most of these viruses before
they reach me and simply send me an email message warning me that a v
Craig et al,
What if you have a business process you would like to implement using the
Central Servlet Model (CSM). Let's say the business process is completing an
application for some common service.
Now, when the user logs into the system there is some information that
connects that user to t
__
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
===
To unsubscribe: mailto [EMAIL PROTECTED] with bod
Chris Wilson wrote:
> hello all,
>
> i have a quick question regarding html special entities. i've done some
> development in php and they have a function called htmlentities() that will
> take a string and convert any appropriate characters to their html entities
> (i.e. '<' converted to '<').
Sorry for the off topic post - a number of people e-mailed me about this so
I thought I'd post the URL here.
If you go to kevinj.develop.com and follow the 'download' link, you can then
get a zip file call JavaHeirarchy.zip.
BTW this was written and tested on JDK 1.3 beta 2 on which it works fin
Interesting. I will try again using the browser warnings. Maybe I was missing
something.
I just confirmed with the person who spoke with the support dept there that they
said that they are not using cookiesbut maybe there was miscommunication.
Carles Pi-Sunyer wrote:
> My experience with w
hello all,
i have a quick question regarding html special entities. i've done some
development in php and they have a function called htmlentities() that will
take a string and convert any appropriate characters to their html entities
(i.e. '<' converted to '<'). is there any similar functional
Can we agree to just not send attachments to the group? I delete all
attachments without opening them.
Paul Warner
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
Hi,
I need to access a method in a bean, like such:
---
<%!
public boolean test() throws Exception {
return beanTest.returnValue();
}
%>
<%
out.println(test());
%>
---
What do I have to do to access beanTest in test()?
Thanks,
C W
__
Hi,
you should give a ? instead of the & and
& between parameters
http://ggig/hh.jsp?udsafu=sarfa&shfash=hfuds
> -Original Message-
> From: John Keyes [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, December 01, 1999 5:17 PM
> To: [EMAIL PROTECTED]
> Subject: JSP URL's
>
> Hi,
>
> I
Apologies, disregard mail me and my stoopid typing should be ?
not &, looks like its going to be a bad day !
-John K
John Keyes wrote:
>
> Hi,
>
> I have a JSP that is executed directly via a URL. For testing purposes
> I hard-coded the user-id. I now want to pass the user-id into the JSP.
>
Does anyone know of
any documentation which defines the lifecycle/times of scopes for
JSPs?
Cheers
Dan
Hi,
I have a JSP that is executed directly via a URL. For testing purposes
I hard-coded the user-id. I now want to pass the user-id into the JSP.
I thought I could do this via the URL:
http://webserver/jsp/MyJsp.jsp&user=john
but I cannot, I get a 404 Not Found (which is understandable).
Is t
Hi there,
I am wondering how do I convert Server.URLPathEncode(str) to JSP? I
checked there is no response.encodeUrlPath.
And also is there something similar to 'response.End' in JSP?
Thanks.
Well it surely does return "true" for the code below:
str1="Hello"
str2="Hello"
str1==str2
Have a nice day.
With regards,
Sachin S. Khanna.
- Original Message -
From: fgs <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 30, 1999 3:00 PM
Subject: Comparing Strings
>
47 matches
Mail list logo