Re: Taglib Example?

2000-02-15 Thread Mike Cannon-Brookes
The orion examples are excellent for getting a start into developing tags. For some more advanced tags, the JSPTags project https://sourceforge.net/project/?group_id=1282 ) has two libraries with almost 15 tags combined now (growing daily). They're completely open source so you can poke around

Re: Send Mail in JSP

2000-02-15 Thread Mike Cannon-Brookes
There is a tag being developed at JSPTags http://www.sourceforge.net/project/?group_id=1282 ) that will allow you to easily send mail from a JSP page - something along these lines. the body of the email goes between the tags It should be completed by the end of the week! It's also slated to

ANN: JSPTags - First Open Source JSP Tag Library

2000-02-13 Thread Mike Cannon-Brookes
We're proud to announce the release of JSPTags - the first open source JSP tag library project.   JSP tag libraries are lacking at the moment because they are proprietary, closed source or closely tied to one app server or another. We're creating a comprehensive library of open source tags t

Re: FW: J2EE Application Programming Model and JSP

1999-12-15 Thread Mike Cannon-Brookes
Easy ;) If you look in the estore_war.xml (the WAR descriptor) you'll see these lines: no description centralJsp webTierEntryPoint Main.jsp -1 webTierEntryPoint /control/* You'll then also notice that ALL urls contain the /control/ directory. Basically t

Re: Does this list have a FAQ?

1999-11-01 Thread Mike Cannon-Brookes
Quenten, Take a look at the bottom of EVERY MESSAGE - it might be enlightening ;) Cheers, Mike __ | | The BookmarkBox P/L | | http://www.bookmarkbox.com |/\| Manage and share your bookmarks online! Do you enjoy our service? Why not tell your friends about us? http://www.bookmarkbox.com/email

Re: DISC: Servlet List FAQ?

1999-10-15 Thread Mike Cannon-Brookes
G'day guys, Let me immortalise myself ;) , for I have just finished writing this exact code! Check it out at http://www.starfaq.com . It is still in 'beta' so to speak, so if the server is down, I'm probably just reloading and it will be up in a minute. We are launching on Monday so please do no

Code on server start / accessing Application scope from a servlet?

1999-10-10 Thread Mike Cannon-Brookes
G'day guys, I have some business objects that need to be accessible to all of my JSP pages, and as such I can grab them from any of the JSP pages using . My problem is, when the server starts up (I am using JRun on NT4 / IIS4) I need to create and setup these business objects. Basically I need t

JRun JSPDBConnection

1999-10-04 Thread Mike Cannon-Brookes
Has anyone used this bean / does anyone use this bean in a production environment to connect to MS SQL 7? What settings did you use? Below are the settings I'm trying and they always return a JSPDBResult with 0 records. The getTotalConnections() method also always returns -1. (Leading me to belie

Bad magic number?

1999-10-02 Thread Mike Cannon-Brookes
All of a sudden today SOME of my JSP pages give me this error: 500 Internal Server Error com.livesoftware.jsp.JSPServlet: java.lang.ClassFormatError: jsp/faq/question (Bad magic number) Any ideas? Anyone seen this message? WTF is a magic number? ;) I'm running JRUN on NT with IIS4 / SQL7. Tha

jsp:setproperty not a string?

1999-09-30 Thread Mike Cannon-Brookes
I'm having problems using jsp:setproperty when the property I'm setting is not a string? eg: does NOT set the request property of the bean to the current request object. but this : <% textarea.setRequest(request); %> works fine ? How can I s

Re: Working out if a bean has been instantiated?

1999-09-27 Thread Mike Cannon-Brookes
ted.Otherwise the the existing instance is used. In your case also same is the answer. -Ram Mike Cannon-Brookes wrote: > G'day guys, > > How can I work out if a bean has been instantiated? > > ie - > > fileA.jsp : > > <%@ include file="fileB.jsp"%> &

Working out if a bean has been instantiated?

1999-09-27 Thread Mike Cannon-Brookes
G'day guys, How can I work out if a bean has been instantiated? ie - fileA.jsp : <%@ include file="fileB.jsp"%> fileB.jsp : Sometimes fileB.jsp is included in a file where the bean has already been used, hence the variable exists. Othertimes, fileB will be the first to use the bean, and wil