It all seems to be right, but... are you sure webapps/wi/WEB-INF/classes
directory is in your classpath? AFAIK, tomcat.sh doesn't add automatically
the WEB-INF/classes directory under webapps/context when it builds its own
CLASSPATH, so you should modify the script to add
Hi, there is difference between context attributes and context init
parameters...
Context attributes are managed with setAttribute and getAttribute
methods.
Init parameters are defined in the web.xml file and are read with
getInitParameter method.
Then, you should modify your code in following
Hi Andreas,
the problem is that you put an attribute in the request and then you get it
from the context... you should, instead, get it from the request, so:
request.setAttribute(Constants.VARIABLE_KEY, variable);
...
variable =
Hi, I've a suggestion: to make easy for the account manager to fill the body
with right tags without remembering them, you could use in your HTML page a
textarea with some buttons that, in their onClick event manager, call a
JavaScript function that appends the tag string to the area-field value.
AFAIK Tomcat4 doesn't accept ZIPped class archives, but only JARred ones.
So, if you use a .zip JDBC driver archive, you should unzip it and either
put unzipped classes in classes dir, or archive them in a .jar archive.
Regards
Alessio
-Messaggio originale-
Da: Juan [mailto:[EMAIL
Hi Halil, maybe you disabled GET requests for your JSP. Have a look at this
tomcat3 examples application's web.xml:
security-constraint
web-resource-collection
web-resource-nameProtected Area/web-resource-name
!-- Define the context-relative URL(s) to be
Hi Vano, I think that the cause of the unexpected behaviour is the absence
of a default option (one of the option tags should have a selected
attribute). I suppose in your sample code IE shows the first option (00),
but doesn't treat it as a selected by default option and doesn't insert
the th
Hi Jeff, just for information, the problem is caused by a bug (?) of MSIE:
that occurs when you have access to your application clicking on a hyperlink
(for example if you have a custom local homepage with links to your
frequently used applications/sites, or you click on a hyperlink in an
outlook
I think you're talking about struts...
AFAIK a taglibrary is not directly related to a servlet, but a tag handler
has access to the request, where struts sets an attribute for each
datasource, which name is corrisponding to datasource's key attribute:
HttpServletRequest req =
Hi Kris, the jar that contains the applet and related classes *must* be
accessible by the browser. If not the browser could not load it and extract
the applet (throwing the java.io.FileNotFoundException).
-Messaggio originale-
Da: Kris Kras [mailto:[EMAIL PROTECTED]]
Inviato: martedì 7
to understand what my
options are.
Thanks
Kris
-Original Message-
From: Alessio Fiore [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 9:37 AM
To: 'Tomcat Users List'
Subject: R: Help with hiding resources
Hi Kris, the jar that contains the applet and related classes *must* be
accessible
Hi, you can use context params in web.xml:
context-param
param-nameConfigFilePath/param-name
param-value/foo/bar.properties/param-value
/context-param
Then you can read this parameter in all your servlets:
String strPath =
A javax.sql.* implementation is commonly included in a JDBC driver package
(i.e. classes12.zip, Oracle JDBC driver).
-Messaggio originale-
Da: rainer jünger [mailto:[EMAIL PROTECTED]]
Inviato: lunedì 6 maggio 2002 14.01
A: Tomcat Users List
Oggetto: OT: where javax.sql.*
Hi,
I don't
Hi Raphael, you could use an intermediate base servlet in your app,
something like:
public abstract class BaseServlet extends HttpServlet
{
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
{
14 matches
Mail list logo