Re: JavaScript/JSP Question

2004-11-24 Thread Andoni
] Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Wednesday, November 24, 2004 4:33 AM Subject: JavaScript/JSP Question I'm using the following JavaScript to create lists of restaurants by Location and Cuisine. Is there a way to modify the script to accept a value for the restaurant name that would

[OT] Re: JavaScript/JSP Question

2004-11-24 Thread Ben Souther
This question is not tomcat specific so I'm marking [OT]. I believe Javascript has the same startsWith/endsWith string functionality that Java has. You should be able to simulate that pretty easily. On Tue, 2004-11-23 at 23:33, Jack Lauman wrote: I'm using the following JavaScript to

Re: [OT] Re: JavaScript/JSP Question

2004-11-24 Thread erh
On Wed, Nov 24, 2004 at 07:11:31AM -0500, Ben Souther wrote: This question is not tomcat specific so I'm marking [OT]. I believe Javascript has the same startsWith/endsWith string functionality that Java has. You should be able to simulate that pretty easily. js also has full

JavaScript/JSP Question

2004-11-23 Thread Jack Lauman
I'm using the following JavaScript to create lists of restaurants by Location and Cuisine. Is there a way to modify the script to accept a value for the restaurant name that would be similar to a %LIKE% function in MySQL when the user hits the submit button? Thanks, Jack script

JSP question

2003-10-21 Thread epyonne
Hello All, I am pulling my hair on this problem, and since there are many Java experts on this mailing list, I hope someone can help me on this. I have a simple servlet that calls a JSP page where the user can enter a search value. When the user clicks on the submit button, the search value

RE: JSP question

2003-10-21 Thread Matt Raible
[mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 9:35 AM To: Tomcat Users List Subject: JSP question Hello All, I am pulling my hair on this problem, and since there are many Java experts on this mailing list, I hope someone can help me on this. I have a simple servlet that calls a JSP page

RE: JSP question

2003-10-21 Thread Peter Guyatt
td input type=submit /td /tr /table /form Thanks Pete -Original Message- From: epyonne [mailto:[EMAIL PROTECTED] Sent: 21 October 2003 16:35 To: Tomcat Users List Subject: JSP question Hello All, I am

RE: JSP question

2003-10-21 Thread Walker Chris
Users List Subject: JSP question Hello All, I am pulling my hair on this problem, and since there are many Java experts on this mailing list, I hope someone can help me on this. I have a simple servlet that calls a JSP page where the user can enter a search value. When the user clicks

Re: JSP question

2003-10-21 Thread epyonne
] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 10:45 AM Subject: RE: JSP question Most likely document.form1 is not visible in the browser object model. There are various ways to address the form, but the most portable in this case is probably document.forms[0

Re: JSP question

2003-10-21 Thread epyonne
Thank you Matt and Peter for the suggestion. It works!!! - Original Message - From: Peter Guyatt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 10:42 AM Subject: RE: JSP question Hi There, Why dont you change the button back to a submit

Re: JSP question [solved]

2003-10-21 Thread laurent marot
: epyonne [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 5:35 PM Subject: JSP question Hello All, I am pulling my hair on this problem, and since there are many Java experts on this mailing list, I hope someone can help me on this. I have a simple

JSP Question

2003-01-08 Thread Luc Foisy
I am trying to use %@ include file=filename % I am sending to the page that has this with the line: response.sendRedirect(main.jsp?p=+applicationJar.getPageName()); So in main.jsp I would like to include an external file to insert into a default page, something like: SOME DEFAULT PAGE STUFF

RE: JSP Question

2003-01-08 Thread Tim Moore
-Original Message- From: Luc Foisy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 1:54 PM To: Tomcat User List (E-mail) Subject: JSP Question I am trying to use %@ include file=filename % I am sending to the page that has this with the line

RE: JSP Question

2003-01-08 Thread Ricardo_Bosch
the other way around and redirect to different pages with SOME DEFAULT PAGE STUFF HERE incuded instead. -rick -Original Message- From: Luc Foisy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 1:54 PM To: Tomcat User List (E-mail) Subject: JSP Question I am trying to use

RE: JSP Question

2003-01-08 Thread Luc Foisy
pages based on applicationJar.getPageName() instead of including dynamic content in a common page -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 3:16 PM To: [EMAIL PROTECTED] Subject: RE: JSP Question I may be referring

Re: General HTML/jsp question, any one

2002-09-04 Thread garrett smith
To convert the string to xml compliant string, you could use a custom tag to convert to quot;, to lt;, et c. instead of having an input tag, you could have a custom tag such as filtered-input. This custom tag would replace with quot; You could try to use single-quotes for attributes, but

RE: General HTML/jsp question, any one

2002-09-04 Thread Rui Fernandes
: Wednesday, September 04, 2002 7:43 PM Subject: Re: General HTML/jsp question, any one To convert the string to xml compliant string, you could use a custom tag to convert to quot;, to lt;, et c. instead of having an input tag, you could have a custom tag such as filtered-input. This custom

General HTML/jsp question, any one

2002-09-03 Thread Dinesh Khetarpal
I have an html page generated dynamically by jsp, this page has input field and value=A string which has in it. I should generate the page converting to quot; but I don't and html assumes string ends early. Do you know a method to overcome this or utilities which will convert the string to xml

JSP question

2002-03-28 Thread Michael Molloy
I'm working on a web application that will be used by about 150 people concurrently. One of the requirements is to show text field hints in the status bar whenever the mouse passes over a text field. All of the hints are stored in the database. I need to write a class that will be available at

Re: JSP question

2002-03-28 Thread Jeff Larsen
Message - From: Michael Molloy [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 28, 2002 9:11 AM Subject: JSP question I'm working on a web application that will be used by about 150 people concurrently. One of the requirements is to show text field hints

RE: RE: newbie jsp question

2002-03-20 Thread Randy Layman
technical support with the issue. Randy -Original Message- From: Magnus Jansson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 3:14 AM To: [EMAIL PROTECTED] Subject: Ang: RE: newbie jsp question Well! I already have a connection to the database, I can extract

Ang: RE: RE: newbie jsp question

2002-03-20 Thread Magnus Jansson
that exhibits this problem and contact the vendor's technical support with the issue. Randy -Original Message- From: Magnus Jansson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 3:14 AM To: [EMAIL PROTECTED] Subject: Ang: RE: newbie jsp question Well! I

newbie jsp question

2002-03-19 Thread Magnus Jansson
I'm getting nuts I tries to execute a stored procedure that looks like this: INSERT_INTO_MATSEDEL (MATTEXT BLOB, DATUM Date, ISVEGO Integer, ISLUNCH Integer) But I haven't got a clue how to write the jsp code to execute that procedure. I'm using Interbase 6.5 Pleeeaseee help me. - - - - - -

RE: newbie jsp question

2002-03-19 Thread Jeff Macomber
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 11:22 AM To: [EMAIL PROTECTED] Subject: newbie jsp question I'm getting nuts I tries to execute a stored procedure that looks like this: INSERT_INTO_MATSEDEL (MATTEXT BLOB, DATUM Date, ISVEGO Integer, ISLUNCH Integer) But I haven't got a clue

RE: newbie jsp question

2002-03-19 Thread Randy Layman
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 11:22 AM To: [EMAIL PROTECTED] Subject: newbie jsp question I'm getting nuts I tries to execute a stored procedure that looks like this: INSERT_INTO_MATSEDEL (MATTEXT BLOB, DATUM Date, ISVEGO Integer, ISLUNCH Integer) But I

Ang: RE: newbie jsp question

2002-03-19 Thread Magnus Jansson
know how to execute the stored procedure from regular Java, JSP is trivial. Randy -Original Message- From: Magnus Jansson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 11:22 AM To: [EMAIL PROTECTED] Subject: newbie jsp question I'm getting nuts I tries

OT: jsp question about uploading images to a database

2002-02-01 Thread Magnus Jansson
I want to insert images into a database via http and jsp pages. Does anyone have any experience or tips how to do that -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: jsp question about uploading images to a database

2002-02-01 Thread Marc Ostrow
http://www.servlets.com/cos/index.html These classes will get you the upload part. -Original Message- From: Magnus Jansson [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 9:20 AM To: [EMAIL PROTECTED] Subject: OT: jsp question about uploading images to a database I want

Duplicate Class Names in JSP Question

2001-11-14 Thread Thomas Burns
I have the following code in one of my .jsp files. %@ page import=com.redsoft.ems.beans.app.User % %@ page import=com.redsoft.ems.tags.app.User % It causes the errors listed below. Interestingly, if I comment out either page directive, I don't get the error. I also verified through testing

Re: Duplicate Class Names in JSP Question

2001-11-14 Thread Craig R. McClanahan
Burns [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], Thomas Burns [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Duplicate Class Names in JSP Question I have the following code in one of my .jsp files. %@ page import=com.redsoft.ems.beans.app.User

Fw: Duplicate Class Names in JSP Question

2001-11-14 Thread Thomas Burns
in JSP Question I have the following code in one of my .jsp files. %@ page import=com.redsoft.ems.beans.app.User % %@ page import=com.redsoft.ems.tags.app.User % It causes the errors listed below. Interestingly, if I comment out either page directive, I don't get the error. I also verified

Login j_security_check JSP question

2001-10-02 Thread Gerry Duhig
Help! I want to find a sample of a JSP Page to use as the authentication form in a secure application. I have seen reference to such a page but cannot find a sample. We currently use an html page but need some additional processing. Please direct me to a URL or send me a sample Thanks Gerry

Réf. : Login j_security_check JSP question

2001-10-02 Thread R . DAVIDOVICH
in the folder $CATALINA8HOME/webapps/examples/jsp/security/protected/ there are three pages: login.jsp, error.jsp and index.jsp... and in the server's web.xml there's the security constraint and the login configuration... hope it's what you're looking for...

XML version of JSP question

2001-09-10 Thread James Smith
Hello. I've looked through the archives, but I haven't seen a solution to this problem. I'm using XSLT to create a JSP page and to get that to work, I am using Tomcat 4.0 Release Candidate 1 (on a Windows 2000 box, only running Tomcat--no Apache nor IIS). But the simple tests of the

RE: XML version of JSP question

2001-09-10 Thread Greg Trasuk
To: [EMAIL PROTECTED] Subject: XML version of JSP question Hello. I've looked through the archives, but I haven't seen a solution to this problem. I'm using XSLT to create a JSP page and to get that to work, I am using Tomcat 4.0 Release Candidate 1 (on a Windows 2000 box, only running Tomcat

Re: XML version of JSP question

2001-09-10 Thread James Smith
Excellent. It worked. Thank you very much. James Smith - Original Message - From: Greg Trasuk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 10, 2001 2:28 PM Subject: RE: XML version of JSP question Hi James: It appears that you need to put your text into CDATA

Newbie JSP Question:

2001-08-30 Thread Peter L. Markowsky
I know this doesn't relate to Tomcat directly, but since Tomcat hosts JSPs or at least is able I was wondering if anyone out there knew / could recommend how to pass values from one JSP page to another. The problem I'm having is that when I try to submit a form and then use request.getParameter(

Re: Newbie JSP Question:

2001-08-30 Thread Nirav S. Desai
Do you have a submit button. Peter L. Markowsky wrote: I know this doesn't relate to Tomcat directly, but since Tomcat hosts JSPs or at least is able I was wondering if anyone out there knew / could recommend how to pass values from one JSP page to another. The problem I'm having is that

Re: Newbie JSP Question:

2001-08-30 Thread Dmitri Colebatch
try request.setAttribute( ... ) in the first jsp and request.getAttribute( ... ) in the second. hth dim On Thu, 30 Aug 2001, Peter L. Markowsky wrote: I know this doesn't relate to Tomcat directly, but since Tomcat hosts JSPs or at least is able I was wondering if anyone out there knew /

Re: Newbie JSP Question:

2001-08-30 Thread Guilherme Zambon
(); % The parameter %=s% has value%=request.getParameter(s)%br % } % /pre /body - Original Message - From: Peter L. Markowsky [EMAIL PROTECTED] To: Sukhwinder Singh [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 6:28 PM Subject: Newbie JSP Question: I know this doesn't

Java Beans and JSP Question.

2001-07-31 Thread Dan Hinojosa
I have a standard java bean. The different thing about it is that I usually have two overloaded set methods per attribute. For example, public class MyBean { private int a; public setA (int a) throws Exception { if (a 100) throw new Exception (Must be less than 100); }

Re: Java Beans and JSP Question.

2001-07-31 Thread Pritchard
-Original Message- From: Dan Hinojosa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 12:40 PM To: [EMAIL PROTECTED] Subject: Java Beans and JSP Question. I have a standard java bean. The different thing about it is that I usually have two overloaded set methods per attribute

Re: Java Beans and JSP Question.

2001-07-31 Thread Craig R. McClanahan
On Tue, 31 Jul 2001, Dan Hinojosa wrote: I have a standard java bean. The different thing about it is that I usually have two overloaded set methods per attribute. Doing this violates the design patterns for getters and setters listed in the JavaBeans specification. Therefore, the JDK's

Java Beans and JSP Question.

2001-07-31 Thread Shawn
Dear Dan, I believe I'm familiar with the problem you're having and think it's related to Forte. In my case, either Tomcat or Forte complained about methods that were clearly there. What I've had to do is take my bean and put it in two places. Within Explorer in Forte which shows my

AW: Java Beans and JSP Question.

2001-07-31 Thread Nikolic Branislav
UNSUBSCRIBE!!! -Ursprungliche Nachricht- Von: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 31. Juli 2001 23:52 An: [EMAIL PROTECTED] Betreff: Re: Java Beans and JSP Question. On Tue, 31 Jul 2001, Dan Hinojosa wrote: I have a standard java bean. The different

Java Beans and JSP Question

2001-07-31 Thread Shawn
Dear Dan, I believe I'm familiar with the problem you're having and think it's related to Forte. In my case, either Tomcat or Forte complained about methods that were clearly there. What I've had to do is take my bean and put it in two places. Within Explorer in Forte which shows my

white space in JSP - question from a newbie

2001-07-28 Thread Rodney J. Lucas
I ran across a problem while trying to learn how to program with tomcat/jsp. I was running a simple case statement and got an error stating Statement not reached. = Error: 500 Location: /lucas/switch.jsp Internal Servlet Error: org.apache.jasper.JasperException:

Jsp question

2001-06-28 Thread Fredrik Liden
Let's say I have multiple forms on a page. Does anyone know if I can retrive the name of the form that was submitted using the request object? or if there is any other way to find out. Thanks! Fredrik

Re: Jsp question

2001-06-28 Thread Matt Christensen
- From: Fredrik Liden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 28, 2001 1:44 PM Subject: Jsp question Let's say I have multiple forms on a page. Does anyone know if I can retrive the name of the form that was submitted using the request object? or if there is any other way

Tomcat/JSP Question

2001-06-01 Thread Mike Alba
Hi, Forgive me for the beginner question but I am trying to instantiate a class for a JSP. I am using: jsp:useBean id = "EX" class = "Example" scope = "session" / Thus I am under the assumption that my "Example" class is being instantiated and the constructor is called, is this

RE: Tomcat/JSP Question

2001-06-01 Thread Purcell, Scott
PROTECTED] Subject: Tomcat/JSP Question Hi, Forgive me for the beginner question but I am trying to instantiate a class for a JSP. I am using: jsp:useBean id = EX class = Example scope = session / Thus I am under the assumption that my Example class is being instantiated and the constructor

Re: Tomcat/JSP Question

2001-06-01 Thread Mike Alba
% It says that this doesnt exist? Is there no way to do this? Thanks so much for your help! Mike - Original Message - From: Purcell, Scott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 01, 2001 12:47 PM Subject: RE: Tomcat/JSP Question I think you may have the syntax

Re: Tomcat/JSP Question

2001-06-01 Thread Francisco Areas Guimaraes
= EX.myObject % It says that this doesnt exist? Is there no way to do this? Thanks so much for your help! Mike - Original Message - From: Purcell, Scott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 01, 2001 12:47 PM Subject: RE: Tomcat/JSP Question I think you may have

Re: Tomcat/JSP Question

2001-06-01 Thread Mike Alba
Oops it is supposed to be % Object myObject = EX.myObject % - Original Message - From: Francisco Areas Guimaraes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 01, 2001 3:22 PM Subject: Re: Tomcat/JSP Question I could be wrong, but 'int' is a primitive type, I don´t know

RE: Tomcat/JSP Question

2001-06-01 Thread Skidmore, Walt
Title: RE: Tomcat/JSP Question Try putting in get/set methods for the object, then getting them that way, e.g.: -- public Object getMyObject() { return myObject; } public void setMyObject(Object _o) { myObject = _o; } % Object myObject = EX.getMyObject

Re: Simple Catalina/JSP question

2001-05-29 Thread Gary Gwin
Sachin, Until they fix the bug, you don't need to reboot. Simply delete the compiled classes in the tomcat/work/localhost directory. Gary sachin chaudhari wrote: I am using catalina 4.0 B5. But if I make changes to the JSP page it does recompile the page. Even after restarting the

Simple Catalina/JSP question

2001-05-28 Thread sachin chaudhari
I am using catalina 4.0 B5. But if I make changes to the JSP page it does recompile the page. Even after restarting the catalina. Only way to see the changes is to add a new JSP page restart the server. What configs in server.xml I need to change? Thanks in advance for your help. = Sachin

Re: Simple Catalina/JSP question

2001-05-28 Thread Remy Maucherat
I am using catalina 4.0 B5. But if I make changes to the JSP page it does recompile the page. Even after restarting the catalina. Only way to see the changes is to add a new JSP page restart the server. What configs in server.xml I need to change? Thanks in advance for your help. It's a

Re: Simple Catalina/JSP question

2001-05-28 Thread sachin chaudhari
Thanks a lot! You think I can get the latest build from the same place from apache.org on July 1st. --- Remy Maucherat [EMAIL PROTECTED] wrote: I am using catalina 4.0 B5. But if I make changes to the JSP page it does recompile the page. Even after restarting the catalina. Only way to

mod_include/jsp question...

2001-01-10 Thread Nate Roe
I'm trying to use Apache to parse the bulk of a web page, pulling in a small amount of JSP in the footer with SSI. I'd like the page to be SHTML, and the footer to be JSP. But I'm having trouble... apparently, mod_include doesn't treat included files exactly the way Apache does. (I am _not_