name of jsp bean

1999-12-01 Thread Henric Larsson

Hi,

how can I control the name of a jsp bean in a session or application.

If I create a bean like this:

jsp:useBean id="voteEngine" scope="application"
class="nation.app.vote.VoteEngine" 
 jsp:setProperty name="voteEngine" property="database" value="rosta" /
/jsp:useBean

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 from the application
object in my jsp file, but I want the attribute name to be:
nation.app.vote.voteEngine



.henric

| www.abelbaker.com | [EMAIL PROTECTED] |

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html



Re: Car won't start after installing JSP...

1999-06-10 Thread Henric Larsson

Your car probably has a microsoft runtime engine, try switching to a Sun engine, like 
hot spot or something...



- Original Message -
From: Taylor Gautier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 10, 1999 8:02 PM
Subject: Car won't start after installing JSP...


I installed JSP and now my car won't start.

Any ideas?

-tg

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".