Re: MVC architecture

2001-08-30 Thread Jann VanOver
Try searching google.com for "jsp MVC" and you'll find a lot of good information. -Original Message- From: Hardeep Singh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 10:27 PM To: [EMAIL PROTECTED] Subject: MVC architecture Hi, I want to know about the MVC architecure.

Re: JSP Beans vs. Java Beans

2001-08-29 Thread Jann VanOver
Thanks for the correction, Richard! Your explanation is great! -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 1:59 PM To: [EMAIL PROTECTED] Subject: Re: JSP Beans vs. Java Beans Steve, I would say that the term 'JSP Bean' is useful and

Re: JSP Beans vs. Java Beans

2001-08-29 Thread Jann VanOver
no difference. beans is beans. EJB -- now those are different. -Original Message- From: Steve Bang [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 9:58 AM To: [EMAIL PROTECTED] Subject: JSP Beans vs. Java Beans Is the term "JSP Beans" useful? I've noticed that in several

Re: how to insert a row in table?

2001-08-28 Thread Jann VanOver
Where's the JSP? -Original Message-From: lf q [mailto:[EMAIL PROTECTED]]Sent: Monday, August 27, 2001 5:56 PMTo: [EMAIL PROTECTED]Subject: how to insert a row in table? hi,this is Jtable example.someone help me to modify it,and finish these job, one:when i press 'inse

Re: tomcat-apache setup

2001-08-27 Thread Jann VanOver
The Tomcat User mailing list is a better place for this -- and before you ask, search the archive. This is a VERY frequent question there. Tomcat User Archive http://mikal.org/interests/java/tomcat/index.jsp The Tomcat User Mailing http://jakarta.apache.org/site/mail.html -Original Messa

Re: jar file in Tomcat configuration

2001-08-27 Thread Jann VanOver
Tomcat will see your jar files if you put them in WEB-INF/lib It will see your class files if they are put in proper package hierarchy in WEB-INF/classes. (ie. package org.apache.Stuff will be found in WEB-INF/classes/org/apache/Stuff.class) No need to change classpath values anywhere. That IS

jsp:usebean and Exceptions

2001-08-21 Thread Jann VanOver
When I use jsp:usebean and my code throws a specific Exception, this exception is never seen by the JSP file. Instead, I get a general Exception from the bean tags. Can anyone tell me if there's a way to throw a specific exception from bean code that can be seen from the JSP? Here's an example,

Re: Debug a jsp with coldfusion studio 4.5

2001-08-21 Thread Jann VanOver
You can't. JRun Studio can do some java/JSP tasks, but CF Studio is only good for editing code. -Original Message- From: Pablo Sanchez [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 10:58 PM To: [EMAIL PROTECTED] Subject: Debug a jsp with coldfusion studio 4.5 Hi, how can i c

Re: Using DATE and CALENDAR objects...

2001-08-16 Thread Jann VanOver
Check out java.text.SimpleDateFormat It is one of my BEST FRIENDS! Used something like this: static SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/"); ... Date myDate = new Date(); ... out.println(sdf.format(myDate)); -Original Message- From: Rice, David [

Re: URL reading

2001-08-16 Thread Jann VanOver
"http://"+request.getServerName()+":"+request.getServerPort()+request.getCon textPath() -Original Message- From: Alireza Nahavandi [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 5:07 AM To: [EMAIL PROTECTED] Subject: URL reading Hi All, How can read the URL of a page. Some m

Re: Learning servlet before start learning JSP

2001-08-15 Thread Jann VanOver
Necessary no. Very helpful, yes. -Original Message- From: Aftab Ahmad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 2:29 AM To: [EMAIL PROTECTED] Subject: Learning servlet before start learning JSP Hello Is it necessary to learn servlet before start learning jsp? Regard

Re: Include directive

2001-08-14 Thread Jann VanOver
No. This won't work. The <@ include directive happens AT COMPILE TIME! You're trying to change it at runtime. You must use -Original Message- From: Orozco, Juan Carlos [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 8:23 AM To: [EMAIL PROTECTED] Subject: Include directive

Re: Help regarding Tomcat

2001-07-26 Thread Jann VanOver
Tomcat has a VERY active mailing list that is archived at: http://mikal.org/interests/java/tomcat/index.jsp This a VERY FREQUENTLY ASKED QUESTION there -- Please search the archives and see what you can find. -Original Message- From: Hamid Mukhtar [mailto:[EMAIL PROTECTED]] Sent: Thurs

Re: Title Problem in Netscape : URGENT

2001-07-25 Thread Jann VanOver
What does this have to do with JSP? http://javascript.internet.com is a good source for answering questions like this. -Original Message- From: Abhijeet Surve [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 3:49 PM To: [EMAIL PROTECTED] Subject: Title Problem in Netscape : U

Re: Cookies persistency

2001-07-25 Thread Jann VanOver
Antoine, did you mean that you open another window with the same browser? Or did you really mean that you used a different browser? The first case SHOULD get the cookie, the second will NOT. As Doug said -- if you create a cookie with netscape, you can't read it from IE and vice versa. -Ori

Re: Read from keyboard

2001-07-24 Thread Jann VanOver
This has WHAT to do with JSP? -Original Message- From: Alireza Nahavandi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 11:34 AM To: [EMAIL PROTECTED] Subject: Read from keyboard Hi All, Is there any way to read the keyboard using java. I need a process to be stopped once user

Re: Need your help on stored procedure in oracle

2001-07-24 Thread Jann VanOver
This has WHAT to do with JSP? General Java & JDBC answers can be found: http://forum.java.sun.com/forum.jsp?forum=31 Sun's JDBC Mailing list (To subscribe, send an email message to [EMAIL PROTECTED] with subscribe jdbc-interest your name in the message body) And more. -Original Message-

How can a Class find out about servlet context?

2001-07-20 Thread Jann VanOver
I have a generic database class that is used by a bean from my JSP page. I would like my database class to get the location of its property file from WEB.XML Is there any way to get the initParameters() from inside my database class without having to pass it in through the bean? Is there some w

Re: change html form elements within a <%@ include file fileex.ht ml>

2001-07-13 Thread Jann VanOver
Have you tried to run this at all yet? It looks to me like it won't work. Here's why. you are attempting to use an include directive (<%@ include ...) which is a COMPILE TIME directive and change its behavior at RUN TIME (by having it inside an if/else block) This is an important distinction --

Re: Simple custom tag example or tutorial

2001-07-13 Thread Jann VanOver
Go to http://jakarta.apache.org/taglibs/ , find a taglib that looks interesting, then follow the installation instructions and try it out. There's not much to it. -Original Message- From: Pantarotto, Sio [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 11:37 AM To: [EMAIL PROTECTED]

Re: resultset

2001-07-13 Thread Jann VanOver
Create your own class. -Original Message- From: sanjib B [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 11:13 AM To: [EMAIL PROTECTED] Subject: resultset In my resultset I am getting result in the form of two dimensional array. What will be the best way to store them ?? And the

Re: How to compress an image

2001-07-12 Thread Jann VanOver
I've never heard of doing this with JSP. -Original Message- From: Raghu Babu [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 11, 2000 10:31 PM To: [EMAIL PROTECTED] Subject: How to compress an image Hi all, I have a requirement in my project to compress an image to a small image withou

Re: Browser Incompatibility

2001-07-11 Thread Jann VanOver
All Active Requests All closed requests for my project All closed requests for my team in IE the select list looks fine, in NS4 the list contents appear one after another in what look like a box. Glenn > -Original Message- > From: Jann VanOver [mailto:[EMA

Re: Browser Incompatibility

2001-07-10 Thread Jann VanOver
This is a Javascript problem. Has nothing to do with JSP. I find http://irt.org a useful website for Javascript help. -Original Message- From: Smita [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 6:30 PM To: [EMAIL PROTECTED] Subject: Browser Incompatibility Hi all, I

Re: jsp - html editor

2001-07-10 Thread Jann VanOver
NO NO NO NO! Run screaming from Frontpage! It is Satan! It is the Beast! Use ANYTHING ELSE! Notepad! Emacs! Vi! Anything but Frontpage -Original Message- From: Lewis, James S [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 11:11 AM To: [EMAIL PROTECTED] Subject: jsp - html

Re: jsp - html editor

2001-07-10 Thread Jann VanOver
w.cfdev.com/ > > Activedit 2.5 WebEditor JSP Version Just released > > > > > > -----Original Message- > > From: A mailing list about Java Server Pages specification > > and reference > > [mailto:[EMAIL PROTECTED]]On Behalf Of Jann VanOver > > Sent

Re: Rogue url

2001-07-10 Thread Jann VanOver
(), last(), previous(), On JDBC 2.0 if you declare the ResultSet navigable you can call all the methods just named, and also you can get the data on one row in any order. Good luck Atilio --- Jann VanOver <[EMAIL PROTECTED]> wrote: > Yeah, Bryan, I found this one out the hard

Re: Session scope

2001-07-10 Thread Jann VanOver
rules in beans. I will care next time. Hamid Mukhtar -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Jann VanOver Sent: Tuesday, July 10, 2001 1:02 AM To: [EMAIL PROTECTED] Subject: Re: Session scope You

Re: frontpage cache problem ??

2001-07-10 Thread Jann VanOver
Don't do frontpage. It will just cause you trouble. Frontpage is for secretaries who want to make web pages. -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 7:37 AM To: [EMAIL PROTECTED] Subject: frontpage cache problem ?? Hi, I am using fro

Re: setProperty of a bean

2001-07-10 Thread Jann VanOver
The jGuru tutorial has a nice section on JSP and beans. See http://developer.java.sun.com/developer/onlineTraining/JSPIntro/ , specifically http://developer.java.sun.com/developer/onlineTraining/JSPIntro/contents.htm l#JSPIntro11 -Original Message- From: M Sankar [mailto:[EMAIL PROTECTED

Re: forward onClick

2001-07-10 Thread Jann VanOver
No, you can't. All JSP commands are done on the server before the page is sent out to the client. All browser events (like onClick) and Javascript happen after the server has done its job. You should do some research on Javascript, though, because you can probably do what you want with that. I

Re: Passing data

2001-07-10 Thread Jann VanOver
<% request.getRequestDispatcher("PageYouWantToForwardTo.jsp").forward(request,r esponse); %> -Original Message- From: M Sankar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 4:27 AM To: [EMAIL PROTECTED] Subject: Passing data Hi I have a small problem. I aam having a JSP page

Re: How to install a service on a NT server?

2001-07-09 Thread Jann VanOver
What does this have to do with JSP? -Original Message- From: Tom Yang [mailto:[EMAIL PROTECTED]] Sent: Monday, July 09, 2001 10:24 AM To: [EMAIL PROTECTED] Subject: How to install a service on a NT server? Hi all: I have a Java application named MyApplication. I need to run it on a NT

Re: Session scope

2001-07-09 Thread Jann VanOver
You ALSO need the line: on page 2 before the getProperty line. That's how you tell page 2 that the bean is available in session scope. By the way: to follow common style guidelines, your bean id should not be capitalized. Capital names are for classes. So you should use: -Original Mes

Re: Rogue url

2001-07-07 Thread Jann VanOver
Yeah, Bryan, I found this one out the hard way, too. Many (most?) db drivers require you to get each field just once and TO GET THEM IN THE SAME ORDER as they appeared in the SELECT statement. It is often advisable to loop through the result set once and save the data into your own class or othe

Re: Does tomcat support EJBs?

2001-07-06 Thread Jann VanOver
Not by itself. JBoss has been recommended to those who need to add EJB capability to Tomcat -Original Message- From: Pantarotto, Sio [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 3:54 PM To: [EMAIL PROTECTED] Subject: Does tomcat support EJBs? Hi All, I need someone expert to

Re: JCE DES Crypto Error Urgent

2001-07-06 Thread Jann VanOver
And this has WHAT to do with JSP? -Original Message- From: AYTUG AYDIN [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 4:58 AM To: [EMAIL PROTECTED] Subject: JCE DES Crypto Error Urgent Below is a CODE and its associated ERROR. Does any body have any idea about the problem? We ar

Re: Downloading Files

2001-07-06 Thread Jann VanOver
Are you doing this with JSP? -Original Message- From: Clayton Nash [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 3:40 AM To: [EMAIL PROTECTED] Subject: Downloading Files Hi All, I have a servlet page that returns a file to a user. This works just fine in IE 5, but I'm have a p

Re: I need your help about the build command in Tomcat.

2001-07-06 Thread Jann VanOver
You really should be searching the Tomcat-User mailing list archives with this type of question. http://mikal.org/interests/java/tomcat/index.jsp -Original Message- From: lancelot [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 1:17 AM To: [EMAIL PROTECTED] Subject: I need your he

Re: Stop I want off

2001-07-06 Thread Jann VanOver
It depends on which JSP container you're using. I use Tomcat and it requires me to stop and restart Tomcat when bean code is changed. I have heard that JRun is a "nicer" container in this respect but I don't know from personal experience. I have never had to "reboot" the server for bean changes

Re: SCROLLABLE TABLE IN JSP

2001-07-06 Thread Jann VanOver
This is interesting and all, but it's NOT JSP. A good source for Dynamic HTML (which is what you are talking about) is http://www.webreference.com/dhtml/ -Original Message- From: chintha ratnasiri [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 9:34 AM To: [EMAIL PROTECTED] Subjec

Re: problems with a JTree in an applet

2001-07-05 Thread Jann VanOver
Is this a JSP thing? Looks like a Java/Swing/Applet thing. -Original Message- From: Pantarotto, Sio [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 04, 2001 12:12 AM To: [EMAIL PROTECTED] Subject: problems with a JTree in an applet Hi All, I am trying to create a JTree in an applet t

Re: Adding rows of a table dynamicall in client side !

2001-07-05 Thread Jann VanOver
Try a Javascript or DHTML source. I don't think that JSP can help you at all with this. -Original Message- From: Sreenath Venkatramanappa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 04, 1995 12:28 AM To: [EMAIL PROTECTED] Subject: Adding rows of a table dynamicall in client side !

Re: Apache Tomcat configuration in UNIX

2001-07-05 Thread Jann VanOver
Please check the Tomcat User list Archives. (http://mikal.org/interests/java/tomcat/index.jsp) -Original Message- From: Arnab Nandi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 04, 2001 6:49 AM To: [EMAIL PROTECTED] Subject: Apache Tomcat configuration in UNIX Hi all, I have the fol

Re: signoff JSP-INTEREST

2001-06-29 Thread Jann VanOver
PLEASE READ THE FOOTER! Signoff email must be sent to [EMAIL PROTECTED] and must contain signoff JSP-INTEREST in the BODY of the message -Original Message- From: Agbinya, Johnson [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 10:39 PM To: [EMAIL PROTECTED] Subject: signo

FW: call from JSP Page to Java Bean is repeating itself?

2001-06-28 Thread Jann VanOver
: Dasti, Hassan [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 7:21 AM To: Jann VanOver Subject: RE: call from JSP Page to Java Bean is repeating itself? Sensitivity: Personal Hello, here is the Java and JSP CODE. personnelPhone.jsp has two forms one update and delete a phone and the

Re: sign-off

2001-06-28 Thread Jann VanOver
Does NOONE read the footer of each email? You have to send your sign off email to [EMAIL PROTECTED] Note that this is NOT the same email address as the list ([EMAIL PROTECTED]) And include in the body of your email: signoff JSP-INTEREST -Original Message- From: Kwong Brian [mailt

Re: Recompile class not picked up in TOMCAT

2001-06-28 Thread Jann VanOver
Someone just reported that there's a bug in tomcat 4, beta 5 that is preventing the reloading. -Original Message- From: Chris Pratt [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 10:59 AM To: [EMAIL PROTECTED] Subject: Re: Recompile class not picked up in TOMCAT If it's a jsp

Re: call from JSP Page to Java Bean is repeating itself?

2001-06-27 Thread Jann VanOver
Send us the Java code for the bean, and the JSP code. -Original Message- From: Dasti, Hassan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 27, 2001 11:45 AM To: [EMAIL PROTECTED] Subject: call from JSP Page to Java Bean is repeating itself? Sensitivity: Personal Hi I have a JSP Page

Re: javax.servlet.ServletException: No data found... why???? plea se h elp..!!

2001-06-26 Thread Jann VanOver
Well, what Atilio says is theoretically true, but even JDBC 2 drivers are not REQUIRED to support scrollable result sets. No matter what the spec says, your DRIVERS may NOT support them correctly. Unless you KNOW your drivers support them, follow Chris's advise -- go through the resultSet ONCE,

Re: Tomcat 4.0 w/ Apache in Windows NT

2001-06-21 Thread Jann VanOver
The tomcat mailing list has an archive where you would have found this right away. This is a VERY frequently asked question about Tomcat. You can find out about many Jakarta mailing list archives from http://jakarta.apache.org/site/mail2.html and the SEARCHABLE Tomcat list archive can be found a

Re: Urgent...any help would be appreciated

2001-06-06 Thread Jann VanOver
I've got two answers to this and neither one is JSP. Both require Javascript, is that Okay? 1. Your login page could pop up in a separate window. That's what M$oft's Web interface to exchange does. If the session times out, a new window pops up for you to log back in, then you are returned to

Re: tracking email-off topic

2001-06-06 Thread Jann VanOver
Any kind of macro like that will be disabled by many virus-protection systems. I certainly hope that there is NOT any way to do what Thakkar asks because I see that as an invasion of privacy. If you have control of the mail server that is used, you could do it through that, but to link into a cl

Re: Passing objects to tag-libs?

2001-06-05 Thread Jann VanOver
yes, you can -Original Message- From: Duffey, Kevin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 3:46 PM To: [EMAIL PROTECTED] Subject: Re: Passing objects to tag-libs? So are you saying that you can pass objects using the syntax of <%= Object %>? > -Original Message

Re: Java Mail in JSP - Problem with multiple addresses

2001-06-01 Thread Jann VanOver
How did you enter the multiple addresses? Most SMTP servers will accept multiple names with a comma and no space in between them. -Original Message- From: Sivakumar Chiluvuri [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 12:03 AM To: [EMAIL PROTECTED] Subject: Java Mail in JSP -

Re: jrun:sendmail

2001-06-01 Thread Jann VanOver
Pop is for reading mail. SMTP is for sending mail. They are not interchangible -Original Message- From: Supreme Being [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 31, 2001 10:02 PM To: [EMAIL PROTECTED] Subject: Re: jrun:sendmail Jim, thank you very much Sir. i guess finally i've u

Re: Good Afternoon

2001-05-30 Thread Jann VanOver
Is this JSP? -Original Message- From: Vadlmudi Harischandra [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 29, 2001 11:57 PM To: [EMAIL PROTECTED] Subject: Good Afternoon Hai Dear Bros & sisters, Can Any one solve my problem..?? problem is.. I had one .html page .. t

Re: URGENT How TO Handle (MULTIPLE FORMS)

2001-05-30 Thread Jann VanOver
Hmmm ... I don't see any JSP here. Please folks, let's try to re-route HTML and Javascript questions to other resources. We should all be learning to tell the difference between what can be done with JSP vs. what can be done with Javascript or HTML or Applets. Just answering these off topic que

Re: URGENT Multiple Forms

2001-05-30 Thread Jann VanOver
This is a HTML problem, not JSP. http://www.irt.org/ has a lot of answers to questions like this. -Original Message- From: jyothirmai porika [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 29, 2001 10:44 AM To: [EMAIL PROTECTED] Subject: URGENT Multiple Forms Hi All, I have a jsp page w

Re: How to install SSL onto Tomcat?

2001-05-25 Thread Jann VanOver
Please checkout the tomcat mailing list. And check the archives first, this is a VERY COMMON question that is answered there many times over. See http://mikal.org/interests/java/tomcat/index.jsp -Original Message- From: RuaidhrĂ­ Fernandes [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25,

Re: SQL Instruction to bean

2001-05-24 Thread Jann VanOver
I don't know if it's a GOOD example, but here's some code from a class that I'm working on to do this. See below. -Original Message- From: Jonas Devries [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 3:00 AM To: [EMAIL PROTECTED] Subject: Hi, I'm trying to make a JSP file th

Re: Frames and Submit

2001-05-24 Thread Jann VanOver
This is a generic HTML question and is not specific to JSP at all. Include target="_top" on the form being submitted. Like this: Or if your're submitting with Javascript: document.formname.target="_top"; document.formname.submit(); -Original Message- From: Merrill George [mailt

Re: problem in jdbc-odbc driver

2001-05-23 Thread Jann VanOver
No, no, no. It just means that the sun.jdbc.odbc.JdbcOdbcDriver doesn't support it. It tells you NOTHING about the capabilites if the SQL Server. -Original Message- From: Shawn Zhu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 12:27 PM To: [EMAIL PROTECTED] Subject: Re: probl

Re: jndi taglib example, how it works ???

2001-05-17 Thread Jann VanOver
Did you check the documentation available with the tag? See http://jakarta.apache.org/taglibs/doc/jndi-doc/intro.html -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 7:19 AM To: [EMAIL PROTECTED] Subject: jndi taglib example, how it works ???

Re: Frames and Submit

2001-05-16 Thread Jann VanOver
Yes, with JavaScript or with HTML. The easiest way is with HTML. Include a target attribute on your form, like this, that should cause it to break out of the frame and fill the whole window. -Original Message- From: Merrill George [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 200

Re: apache + tomcat ??

2001-05-15 Thread Jann VanOver
Check out the tomcat-user mailing list. (http://jakarta.apache.org/site/mail.html -- read the page, then click "here" at the bottom). And read before you post (Tomcat-User Archives at http://mikal.org/interests/java/tomcat/index.jsp) -- this is a common question and the answer is probably already

Strangeness with request.getHeader("User-Agent")

2001-05-14 Thread Jann VanOver
I can use request.getHeader() in my JSP scriptlet (Tomcat 3.2.1) and it works just fine: <% String myUserAgent = request.getHeader("User-Agent"); %> User-Agent = <%= myUserAgent %> But when I try to use it directly in a jsp:setProperty statement, I get an error: " /> ... Attribute User-Agen

End of line character RE: Can anyone answer this??? HELP

2001-05-13 Thread Jann VanOver
If the email is plain text, include "\n" where you want a line break, like: String textfinal = text01 + "\n" + text02; or String text01 = "This is \nyour email"; If it is HTML, include "" to force a line break. -Original Message- From: King Maurice [mailto:[EMAIL PROTECTED]] Sent: Sunday

Re: Help on JSP Entry Form

2001-05-11 Thread Jann VanOver
This is a JavaScript problem. http://irt.org/ is a good sight for Javascript resources. -Original Message- From: Joe / NeoSoft [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 4:55 AM To: [EMAIL PROTECTED] Subject: Help on JSP Entry Form Hi, In the modify mode of a JSP Entry form

Re: working with JSP on JRun 3.0

2001-05-07 Thread Jann VanOver
d it? do i have to create it? regards, T. Edison jr. >Date: Fri, 4 May 2001 11:24:04 -0700 >From: Jann VanOver <[EMAIL PROTECTED]> >SUBJECTTo: [EMAIL PROTECTED] > >Question 1: You SHOULD be able to add a new context in your server.xml file >like this: > >reloa

Re: Passing a string from a JSP to a Java class and back.

2001-05-04 Thread Jann VanOver
So, where DO you instantiate "test" ??? How is it being shared between pages? The RIGHT way to do this in JSP would be to create a bean in the Application scope. Have you tried that? -Original Message- From: Arcady [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 2:47 PM To: [EMAI

Re: Passing a string from a JSP to a Java class and back.

2001-05-04 Thread Jann VanOver
Your JSP needs to create the new instance of Test ... <% Test test = new Test() %> Then you can do the rest of the JSP and it should work <% String hello="Hello World" %> <% test.setFoo(hello); %> <%= test.getFoo() %> Also, I don't know if you're new to Java as well as to JSP, but the standard

Re: working with JSP on JRun 3.0

2001-05-04 Thread Jann VanOver
Question 1: You SHOULD be able to add a new context in your server.xml file like this: or like this: Question 2: you should check out the JRUN-talk list for good answers on this product. You can sign up from http://houseoffusion.com -- look for the "mailing list" link on the left. -O

Re: Application Runs very slow in netscape

2001-05-02 Thread Jann VanOver
Is the page content inside a large table? Netscape is MUCH slower to render tables -- it doesn't show you any of the table until it is ready to show the whole thing. IE doesn't wait -- it shows you what it can as it goes along. -Original Message- From: Lenin Lopez [mailto:[EMAIL PROTECT

Re: Difference between bean.field and

2001-05-01 Thread Jann VanOver
I'm not sure why it isn't working, but to be a "good" bean, your attributes contract_id and payment_method should be private, not public. This answers your original question -- mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 12:15 AM To: [EMAIL PROTECTED] Subject: Re: Difference between

Re: cookie problems

2001-04-25 Thread Jann VanOver
Make sure the variable "key" is not null! It is a string, isn't it? -Original Message- From: Charles Luo [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 3:47 AM To: [EMAIL PROTECTED] Subject: cookie problems Dear mailinglist, Currently, I am trying to use cookies to store dat

Re: jdbc taglib solved

2001-04-19 Thread Jann VanOver
That's not at all crazy! you are building a URL and a space is not a valid URL character! Makes perfect sense to me. -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 19, 2001 8:21 AM To: [EMAIL PROTECTED] Subject: jdbc taglib solved Hi, that was cra

Re: Javascript question/discussion list?

2001-04-19 Thread Jann VanOver
You can use the "onFocus" handler. On the element you want to skip, add: onFocus="document.formname.fieldYouWantSelectedNext.focus()" or onFocus="this.form.fieldYouWantSelectedNext.focus()" -Original Message- From: Barbara Geelan [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 19, 2

Re: <%! %> and <% %> ??? Which is it? Im confused

2001-02-20 Thread Jann VanOver
I'm not sure what Geert was referring to saying that <%! wasn't to declare variables. Here's what my book says: "A declaration allows you to make page-wide definitions within a JSP page. A declaration is typically used to define variables or methods used in your JSP page. Declarations do not wr

Re: Close browser window

2001-02-08 Thread Jann VanOver
You can't unless YOU (your javascript) opened the window or you're running signed scripts (in a secure environment). Think about it, you've been browsing along, lots of good stuff in you browser history, then some dumb web page comes along and closes the window and you loose it all. I wouldn't b

Re: how to start the server

2001-02-02 Thread Jann VanOver
I can answer the first part if you're talking about WinNT : Go to http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i38 6/ and download jk_nt_service.zip. Unzip it and follow the instructions. -Original Message- From: Ramagopal, Mudigonda (CORP, Consultant) [mailt

Re: Which JSP Engine/Application Server is the best?

2001-01-31 Thread Jann VanOver
One problem with Tomcat is that the Exception messages are exceptionally cryptic. Jrun's error messages were much more helpful in tracking down the source of a problem. So -- if you've got junior programmers, you may find that Tomcat's error messages are over their heads. -Original Message-

Re: HTML Q: length validation in a textarea field

2001-01-19 Thread Jann VanOver
You can't do it with HTML directly. Most people use JavaScript handlers to do this. function checkStuffLength(aField) { if (aField.value.length > 1024) { alert('sorry, only 1024 characters allowed in field '+aField.name); aField.value = aField.value.substr(1,1024); }