web.xml

2001-01-02 Thread Marina Kalkanis
Hello All, I use Tomcat and am having problems correctly formatting the web.xml file. I have added an entry for a taglib but then I get a parse error in my jsp when attempting to use the taglib. If I remove all the other entries from the web.xml except the taglib entry then the parser doesn&#

web.xml

2002-02-04 Thread krithikav
Hi, I have just started using Tomcat. I have a web module with a few jsp pages. In the web.xml, an entry userinfoinput userinfoinput userinfoinput.jsp is giving me an error while this works fine in Weblogic. Tomcat works fine without any such entry in the web.xml. I have placed all my jsp

Re: web.xml

2001-01-02 Thread Kevin Jones
r www.develop.com > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Marina Kalkanis > Sent: 02 January 2001 11:49 > To: [EMAIL PROTECTED] > Subject: web.xml > > > Hello All, >

Re: web.xml

2001-01-02 Thread Marina Kalkanis
Sorry I did fix that error but have sent the original version. Even with the tags correctly closed I still get parse errors. -Original Message- From: Kevin Jones [mailto:[EMAIL PROTECTED]] Sent: 2 January 2001 13:03 To: [EMAIL PROTECTED] Subject: Re: web.xml You haven't close

Re: web.xml

2001-01-02 Thread Kevin Jones
If I create a new app and put your web.xml in then I get this error 2001-01-02 08:04:36 - Ctx( /jobs ): Mapping with unregistered servlet invoker which may be a difference between our setups, but the xml parses fine, Kevin Jones DevelopMentor www.develop.com > -Original Mess

Tomcat's web.xml

2001-03-09 Thread Sello Mathibe
Hola! How does tomcat know about my application's classes/servlets? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". So

Editing web.xml

2003-03-13 Thread Lakshmeenarayana G G
Hi, Why Servlets API / J2EE API doesn't contain any methods to edit web.xml file? Is it fine if to edit web.xml file through my program using some XML parser ? If not then why? Cheers Lakshmeenarayana G G ArisGlobal India Development Center, SysArris Software Pvt. Ltd., Bangalore, India Tel

WEB-INF/web.xml

2000-10-11 Thread Dimitrij Kisselev
Hi All, i am new in JSP. can somebody say how to map servlets. i read something about web-inf or web.xml. how can write the web.xml - with an editor or generator. can somebody say where to get an introduction. Thx DK

Re: Tomcat's web.xml

2001-03-09 Thread Jose Ramon Rodriguez
Hi There's a good tutorial on servlets and their use with Tomcat and an introduction to configuring Tomcat with a bookstore example in java Sun's web page. Try: http://java.sun.com/docs/books/tutorial/servlets/servletrunner/webappdd.html Hope this helps. Regards. --- Jose Ramon Rodriguez Garcia

properties in web.xml ??

2001-06-19 Thread sufi malak
Hi, I am still have the same error : Error: 503 Location: /fvote/servlet/fastvote java.io.FileNotFoundException: /WEB-INF/fv.properties (The system cannot find the path specified) Service is permanently unavailable the web.xml is like this : . fastvote

web.xml application variables

2001-11-19 Thread Eric Fleming
rameter in the web.xml file that would allow me to call it on every page and if it needed to be changed, just change it in one place. I can do it using session variables, but I would not like to do this. I was looking into the web.xml file and thought that I may be able to do something similar in JSP

Re: WEB-INF/web.xml

2000-10-11 Thread Rogério Saran
Dimitrij, the best reference for web.xml syntax is the JavaServer Pages reference (actual version is 1.1). Look at http://java.sun.com/jsp/download.html Dimitrij Kisselev wrote: > > Hi All, > > i am new in JSP. can somebody say how to map servlets. i read something > about web

new bie servelt, web.xml ??

2001-02-26 Thread sufi malak
Hi, I am new to servlet, I am trying to use the Upload servlet from Java Servlet Programming book, Jason Hunter, this is whay I have : tomcat\webapps\myapp\WEB-INF\classes\UploadTest.class tomcat\webapps\myapp\WEB-INF\web.xml ??? I created this web.xml : http://java.sun.com/j2ee/dtds/web

Auto-login thorugh web.xml

2001-04-18 Thread Raja Nagendra Kumar
Hi! Is there any tags defined in web.xml for auto-login feature? Presently web.xml is written to provide OS level security. If there are no standards in this direction, can any one point me to the location of auto-login example code. Regards, Nagendra

Basic question about web.xml

2001-04-23 Thread chris brown
I'm trying to create my own web.xml file for use in Tomcat. I've read the doc, but I need help to understand what's going on exactly... I created a new document folder, and added the context mapping in server.xml. I put a simple HTML file and a simple JSP file in the folder,

init-param in web.xml ??

2001-06-18 Thread sufi malak
I have an application called fvote under tomcat : tomcat\webapps\fvote\WEB-INF\web.xml tomcat\webapps\fvote\fvdata\fv.propertiesand when Invoke the servlet like this : http://mil2wwds10/fvote/servlet/fastvote?object=booths&message=LIST I got this error : Error: 503 Location: /fvote/ser

Re: properties in web.xml ??

2001-06-19 Thread Brad Cox
Put fv.properties in your classpath; e.g. the WEB-INF/classes that contains the referencing class. WEB-INF is not in your classpath. On Tuesday, June 19, 2001, at 09:51 AM, sufi malak wrote: > properties --- For industrial age goods there were checks and credit cards. For everything else there i

Re: properties in web.xml ??

2001-06-19 Thread sufi malak
it still does not work. >From: Brad Cox <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and >reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: properties in web.xml ?? >Date: Tue, 19 Jun 2001 10:05:38 -040

Re: web.xml application variables

2001-11-19 Thread Hans Bergsten
to "My Website", could I create a parameter in the > web.xml file that would allow me to call it on every page and if it needed > to be changed, just change it in one place. I can do it using session > variables, but I would not like to do this. I was looking into the web.xml > f

Re: web.xml application variables

2001-11-19 Thread Joe Cheng
If you're using the servlet method, and specify , you want to put the startup code in Servlet.init(), right? (as opposed to the Servlet.service() method.) I've never actually needed to use that parameter but it seems like a good thing to know... =

get parameters from web.xml

2002-05-09 Thread Eric Cho
Hi all, I have this problem where I want to get a parameter value from the web.xml file. In JSP, you would do it this way: <%=config.getInitParameter("username")%> How would I do this from a regular class? Would I have to parse through the xml as i would with any other xml

DB Connection in web.xml

2003-03-25 Thread Deepak
Hi Can anyone tell me how to set up a db connection in the web.xml? I mean how to set the driver, url, user and pwd as parameters and how to call them in the jsp page or servlet. Is it possible to call the same from a javabean? Thanks Deepak

Reading Context Params from web.xml

2000-09-07 Thread Gaurav Gehlot
Hi, Is there a way to programatically read the context params specified in the web.xml file under the WEB-INF directory. TIA, gg === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST&q

Re: JSP tags web.xml file

2000-09-18 Thread Sajeev Anand
The following is my web.xml file: http://java.sun.com/j2ee/dtds/web-app_2.2.dtd'> Web App no description hello_jsp hello_jsp no description hello.jsp 30 -Original Message- From: A mailing list about Java Server Pages specification and r

Re: new bie servelt, web.xml ??

2001-02-26 Thread Robert Nelson
You have the servlet mapping defined, which maps a URL to a servlet, but you don't have the actual servlet declared (which actually associates a class file with the servlet name). You should have the following text block in your web.xml file as well. SomeName fully.qualified.Servle

Re: new bie servelt, web.xml ??

2001-02-26 Thread sufi malak
Now my web.xml looks like this : http://java.sun.com/j2ee/dtds/web-app_2_3.dtd"> UploadTest UploadTest UploadTest UploadTest But I got this error in line 15: Starting service Tomcat-Standalone Apache Tomcat/4.0-b1 ERROR reading java.io.FileInputStream@7

Re: new bie servelt, web.xml ??

2001-02-26 Thread sufi malak
I found a solution, thanks just I changed UploadTest to /UploadTest >From: sufi malak <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: new bie servelt, we

JSP Taglib config in web.xml

2001-03-08 Thread FuGui
In JSP, if I use a jsp custom taglib, I must include one line in all JSP file: <%@ taglib uri="http://java.apache.org/tomcat/examples-taglib" prefix="eg" %> but in more occasion, a taglib will use in all JSP of a application, Can I config it in web.xml and don&

Re: Basic question about web.xml

2001-04-23 Thread Dennis Leary
Difficult to say what the problem is but it sounds like something in your web.xml file. I recommend replying with your web.xml contents in your message. >>> chris brown <[EMAIL PROTECTED]> 04/23/01 09:12AM >>> I'm trying to create my own web.xml file for use in Tomc

Re: Basic question about web.xml

2001-04-23 Thread chris brown
Thanks for responding. I have the default "web.xml" file in my tomcat/conf folder. I copied this into a the WEB-INF folder of a new context, which I successfully added using the "context" directives of "server.xml". Things only started going wrong *after* I

What's going on with web.xml ?!

2001-04-24 Thread chris brown
This follows on from my questions from yesterday... still not solved... :-( >From a fresh Tomcat install -- which worked, including the addition of a simple "hello world" type context of my own -- I then tried to add my own custom "web.xml" file. As soon as I put this in

Storing encryption key in web.xml

2001-05-31 Thread Mohammed Ali
Hello, I am writing a web application using the MVC in jsp/servlet. The data in the table is encrypted. Is it safe to store the encryption key in my application's web.xml file so that it can be retrieved by the servlet ? If it's not, where else ? I am using Tomcat as the container.

Accessing web.xml parameters via beans

2001-06-15 Thread Paul Long
Hello, I have a JSP page which uses a bean. I want the bean to be able to read the web.xml deployment descriptor parameters. As far as I know I need a ServletContext to access this. Is this true? Or is there a way to access parameters without passing the ServletContext into the bean. Thanks

Re: init-param in web.xml ??

2001-06-18 Thread Tinou Bao
]> Sent: Monday, June 18, 2001 3:12 PM Subject: [JSP-INTEREST] init-param in web.xml ?? > I have an application called fvote under tomcat : > tomcat\webapps\fvote\WEB-INF\web.xml > tomcat\webapps\fvote\fvdata\fv.propertiesand when Invoke the servlet like > this : > http://mil2w

read variable out of web.xml

2001-09-12 Thread Haering Christian
I'd like to craete a jsp with databaseaccess and have - due to security reasons - to put the login parameters and serverlocations in a special file. Can I therefor use the web.xml file, which JBuilder 5 is automatically creating? If yes, how do I read out the data? thx alot Christian Ha

store parameters in web.xml file?

2001-09-17 Thread cedric.chin
dear all, i've just downloaded the DBTags Tag library from jakarta.apache.org. the documentation mentioned that the connection info can stored in the web.xml file, so i was wondering how do i specify it in the xml file. can anyone give me some examples? thank you. sincerely, ced <%

Re: DB Connection in web.xml

2003-03-26 Thread Lakshmeenarayana G G
In web.xml you can use username myusename java.lang.String and you can access this from bean like this.. String username = (String)ctx.lookup("java:comp/env/username"); For this you need to import javax.naming.*; Well why you need to edit the web.xml?? c

Re: DB Connection in web.xml

2003-03-26 Thread Deepak
Hi As you explained I added the to the web.xml and tried to call it in my javabean as below: --- Context ctx = null; try { ctx = new InitialContext(); } catch (Exception

Re: DB Connection in web.xml

2003-03-26 Thread Christian Bollmeyer (GMX)
sure he would help you on this specific occasion (pp. 485-489), but anyway, I think this generally is a must-have in your library. No, I'm not being paid for that statement. -- Chris (SCPJ2) > Hi > > As you explained I added the to the web.xml an

Re: Reading Context Params from web.xml

2000-09-07 Thread Craig R. McClanahan
Like this: String value = getServletContext().getInitParameter("paramname"); Craig McClanahan Gaurav Gehlot wrote: > Hi, >Is there a way to programatically read the context params specified in > the web.xml file under the WEB-INF dir

Re: Reading Context Params from web.xml

2000-09-07 Thread Shiraz Wasim Zaidi
> Is there a way to programatically read the context params specified in > the web.xml file under the WEB-INF directory. You can access it from servlet and JSP. For e.g. idleTimeout 30 >From Servlet: String idleTimeoutValue = getServletContext().getInitParameter("idleTim

Basic question about web.xml --- more info

2001-04-23 Thread chris brown
:05 - PoolTcpConnector: Starting Ajp13ConnectionHandler on 8009 No "tomcat.log" file was generated. I have no webapps in the "webapps" folder, I just use one context which maps to "/". Does having the same mapping in /conf/web.xml and any other "web.xml" cause the mapp

Re: What's going on with web.xml ?!

2001-04-24 Thread Michael Sweeney
Chris, I'm not sure I understand what you are doing exactly. You've mentioned that you put a copy of the default web.xml file in your application directory, but you have mentioned that you edited the file to reflect your application, so I'm beginning to guess that you haven'

Re: What's going on with web.xml ?!

2001-04-24 Thread chris brown
Sorry, here's some more information then... I have read the servlet spec (2.2 and 2.3), and have looked at web.dtd as well. Normally, as you say, each web application should have a copy of "web.xml" in its "web-inf" folder. Tomcat additionally allows one "su

Re: Storing encryption key in web.xml

2001-05-31 Thread Shawn Zhu
Other place can be in the DB > -Original Message- > From: Mohammed Ali [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 31, 2001 9:47 AM > To: [EMAIL PROTECTED] > Subject: Storing encryption key in web.xml > > > Hello, > > I am writing a web applicatio

Re: read variable out of web.xml

2001-09-12 Thread horwat
using javax.servlet.ServletContext.getResource() method. Justy - Original Message - From: "Haering Christian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 12, 2001 5:34 AM Subject: read variable out of web.xml > I'd like to craete a jsp with databa

AW: read variable out of web.xml

2001-09-13 Thread Haering Christian
1 80 3127 Fax:+49 9621 80 2274 > -Ursprüngliche Nachricht- > Von: horwat [SMTP:[EMAIL PROTECTED]] > Gesendet am: Mittwoch, 12. September 2001 20:47 > An: [EMAIL PROTECTED] > Betreff: Re: read variable out of web.xml > > The application's WE

Can I read application level web.xml dynamically ?

2001-04-12 Thread amit
Hi, I'm running a site based on JSP , using tomcat 3.2.1 and Apache 1.3.12 on Windows.i would be thankful if someone , with this reference , will put some light on following issues : (1) During run time , can a JSP page from *same* web application context can read web.xml file of m

Howto get the value of web.xml parameters?

2001-08-13 Thread ivy chen
Hi,all. I want to set some global variables by the parameters in web.xml when the web server inited. so: 1)How I can get the value of web.xml parameters in jsp? 2)How I can make a servlet run at the beginning of the web server inited? Thanks for your answer(s). BestRegards Ivy

Error in setting error-code in web.xml

2001-08-16 Thread bipin_jsp
Dear All,   I want to set when client makes request from xxx.jsp that jsp is not in our list then it will display the error-page.   so i set in web-xml like     404     /404.jsp   and place 404.jsp in our application with jsp. sometime it works and sometime it didn't works.   anyone know

Help with web.xml and ServletContext init parameters

2000-04-08 Thread Glenn Wilson
Listed below is a copy of my web.xml file located in the /web-inf directory of my application. Here is the problem. When the JSP page listed below is invoked for the first time I was expecting the Enumeration to list out three params and their values. Instead, I only see the last params and it&#

[solved]Re: store parameters in web.xml file?

2001-09-17 Thread cedric.chin
kindly pls ignore my previous mail, i have it solved already. many thanks. [EMAIL PROTECTED] wrote: > dear all, > > i've just downloaded the DBTags Tag library from jakarta.apache.org. > the documentation mentioned that the connection info can stored in the > web.xml file

Re: Howto get the value of web.xml parameters?

2001-08-13 Thread Claudio Parnenzini
age- From: ivy chen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 2:30 AM To: [EMAIL PROTECTED] Subject: Howto get the value of web.xml parameters? Hi,all. I want to set some global variables by the parameters in web.xml when the web server inited. so: 1)How I can get the value of web.

AW: Error in setting error-code in web.xml

2001-08-16 Thread Cossmann, Alexander
-Ursprüngliche Nachricht- Von: bipin_jsp [mailto:[EMAIL PROTECTED]] Gesendet am: Freitag, 17. August 2001 07:27 An: [EMAIL PROTECTED] Betreff: Error in setting error-code in web.xml Dear All, I want to set when client makes request from xxx.jsp that jsp is not in our list then it

Re: Error in setting error-code in web.xml

2001-08-17 Thread Rishabh Agarwal
: [EMAIL PROTECTED] Subject: Error in setting error-code in web.xml Dear All, I want to set when client makes request from xxx.jsp that jsp is not in our list then it will display the error-page. so i set in web-xml like 404 /404.jsp and place 404.jsp in our application with jsp

Re: Help with web.xml and ServletContext init parameters

2000-04-08 Thread Craig R. McClanahan
Glenn Wilson wrote: > > Webmaster > [EMAIL PROTECTED] > JNDIServer > 201.201.201.201 > LooneyName > BillGates > > Context parameters have to be listed separately, with one name/value pair apiece: Webmaster [EMAIL PROTECTED] JNDIServer 201.201.201.201 LooneyName

web.xml parsing bug in Tomcat3.1 (custom tag libs) ???

2000-05-02 Thread Heiko Gottschling
gs in the web.xml file. Tags must appear in this order: Any deviation of this order yields an error when calling the JSP page. The error can easily be reproduced with the web.xml file of the example webapp provided with tomcat. Re-arranging the order of tags within that file breaks the "

Re: Error in setting error-code in web.xml

2001-08-21 Thread bipin_jsp
ect: Re: Error in setting error-code in web.xml > U might probably be trying with IE 5 and above. Try making your 404.jsp more > than 500 kb (by putting in some gif or whatever).. and it would work. > > Lemme know if it doesnt. > > Rishabh. > > -Original Message- &

Re: [solved]Re: store parameters in web.xml file?

2001-09-17 Thread SANJIB BISWAS
ar all,>> i've just downloaded the DBTags Tag library from jakarta.apache.org.> the documentation mentioned that the connection info can stored in the> web.xml file, so i was wondering how do i specify it in the xml file.> can anyone give me some examples?>> thank you.>> since

the correct order of tags in web.xml file

2001-12-25 Thread yilmaz
Hi all, can anyone tell me where i can find a piece of doc about the order of the tags in a web.xml file? For a while, i have been trying to use different combinations of those tags but still i couldn't find out the right order. I searched archives, FAQs , even http://java.sun.com/dtd/web-ap

Re: web.xml parsing bug in Tomcat3.1 (custom tag libs) ???

2000-05-02 Thread Allan Scott
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 02, 2000 12:22 PM Subject: Re: web.xml parsing bug in Tomcat3.1 (custom tag libs) ??? > What in the DTD below requires this? Simply the order of the Elements? > > Scott Evans > > > > -Original

Re: web.xml parsing bug in Tomcat3.1 (custom tag libs) ???

2000-05-02 Thread Scott Evans
What in the DTD below requires this? Simply the order of the Elements? Scott Evans > -Original Message- > From: Allan Scott [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 02, 2000 5:08 PM > To: [EMAIL PROTECTED] > Subject: Re: web.xml parsing bug in Tomcat3.1 (

Re: web.xml parsing bug in Tomcat3.1 (custom tag libs) ???

2000-05-02 Thread Allan Scott
, 2000 7:47 AM Subject: web.xml parsing bug in Tomcat3.1 (custom tag libs) ??? > Hi, > > you may (or may not) have noticed my posting some days ago regarding a > problem with Tomcat3.1 and a custom tag library. Since no one solved > this problem, I had to solve it myself. Here's

Re: the correct order of tags in web.xml file

2001-12-27 Thread Robert Burdick
Just take a look at the DTD file associated with web.xml. It's in the DOCTYPE tag, for example: http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";> At 11:20 AM 12/26/2001 +0800, you wrote: >Hi all, >can anyone tell me where i can find a piece of doc about >the order of the

Servlets / Tomcat / JSP / How to setup web.xml and server.xml tags

2001-02-19 Thread NewsNet2000
Hi group, I just installed tomcat, and Im coming up to speed on JSP/Servlets. However, I cant seem to digest how to setup my own virtual directory (context) which involves creating web.xml and server.xml entries. I want to install my servlets and access them and Im confused how to accomplish

Re: Servlets / Tomcat / JSP / How to setup web.xml and server.xml tags

2001-02-19 Thread Jabran Asghar
t2000 [mailto:[EMAIL PROTECTED]] Sent: Monday, February 19, 2001 7:38 PM To: [EMAIL PROTECTED] Subject: Servlets / Tomcat / JSP / How to setup web.xml and server.xml tags Hi group, I just installed tomcat, and Im coming up to speed on JSP/Servlets. However, I cant seem to digest how to setup my

Re: Servlets / Tomcat / JSP / How to setup web.xml and server.xml tags

2001-02-20 Thread Gregory Polimis
-Original Message- From: NewsNet2000 [mailto:[EMAIL PROTECTED]] Sent: Monday, February 19, 2001 9:38 AM Subject: Servlets / Tomcat / JSP / How to setup web.xml and server.xml tags >>Hi group, >>1) Is there a source/link/website to explain (or HOW-TO) on creating >>

How can I get initail parameter from web.xml in JSP page ?

2000-05-29 Thread Choi Jong Myung(SS)
Hello. I wrote jspInit() method to get initial parameter from web.xml file. The JSP page contains this: <%! public void jspInit() { ServletContext c = getServletContext(); String data = (String)c.getInitParameter("name"); } %> and web.xml fi

How to run more than one servlet in Weblogic server using web.xml file

2002-05-14 Thread Biji Harees
Hi all, I am trying to use two servlets in weblogic... but web.xml file is allowing me to register only one servlet. If anybody used more than one servlet in weblogic server by registering through web.xml file please give suggetion how to register them. If possible please send the contents of