]
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
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
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
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
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
[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
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
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
]
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
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
: 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
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
-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
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
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
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
: 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
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
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
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
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
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
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.
- - - - - -
[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
[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
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
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]
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
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
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
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
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
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...
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
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
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
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(
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
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 /
();
%
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
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);
}
-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
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
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
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
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
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:
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
-
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
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
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
%
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
= 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
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
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
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
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
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
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
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_
60 matches
Mail list logo