Init object in contextServlet

2002-06-06 Thread Aline

Hi,

Can anyone tell me how to create an object instance and put it in the
servlet context at the beginning of a web application.

Is it in the web.xml that I must declare it?

thanks.
Aline
Webcaster
T +33 (0)3 28 36 25 23
F +33 (0)3 20 13 06 04
http://www.oeilpouroeil.fr
http://www.visiodrome.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Problem With Params In Web.xml

2002-06-07 Thread Aline

Hi,

Try to init your parameters like yhis :



configFile
/WEB-INF/conf.xml
path ...



myServlet
MyServlet



And to :
getServletContext().getInitParameter("configFile") in your servlet.

Aline
Webcaster 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




windows to linux

2002-06-10 Thread Aline

Hi,

I have an application which works under Tomcat on windows.
I tried to move the application to Tomcat linux. 

But the xtags in my jsp pages don't work anymore.
Is there any file to init in linux or something else to do so that it work?

Thanks

Aline
Webcaster


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Can't Stop Tomcat 4.03

2002-06-10 Thread Aline

You can try to press keys Ctrl+c in the Tomcat Window

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




problem with context-param in web.xml

2002-03-14 Thread Aline

Hello,

I work with Tomcat 4.0 and I'd like to set a context-param in my web.xml
file of my web application.
So I do this :




  add
  AddServlet


 logFile

c:/jakarta-tomcat-4.0.1/webapps/myWebapps/file
 

 
  javax.servlet.UnavailableException
   /unavailable.html 
 




But when I declare my context-param and then when I restart my server, I
have a SAXException whitch explain me that the web.xml file is not correct.

Can anyone help me please?

thanks.
Aline
WEBCASTER
T +33 (0)3 28 36 25 25
F +33 (0)3 20 13 06 04
http://www.oeilpouroeil.fr
http://www.visiodrome.com



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




session listener

2002-03-15 Thread Aline

Hello,

I'd like to add a listener to a session (there's no method for this in
HttpSession class).
I read that I have to configure the web.xml file but I don't know how

Does anyone can help me?

thanks

Aline
WEBCASTER
T +33 (0)3 28 36 25 25
F +33 (0)3 20 13 06 04
http://www.oeilpouroeil.fr
http://www.visiodrome.com



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Conncurency issue with tomcat???

2002-05-16 Thread Aline

Hello,

I have a jsp page with a form.
In this form there is a button which send parameters to a
servlet and this servlet forward the request to another jsp page ( all in
popup).
Is there a way to get, from the popup window, the opening window ? I have to
reaccess to a field in the form.

Thanks.

Aline
http://www.oeilpouroeil.fr
http://www.visiodrome.com




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Jsp window opener

2002-05-16 Thread Aline

Hello,

I have a jsp page with a form.
In this form there is a button which send parameters to a
servlet and this servlet forward the request to another jsp page ( all in
popup).
Is there a way to get, from the popup window, the opening window ? I have to
reaccess to a field in the form.

Thanks.

Aline
http://www.oeilpouroeil.fr
http://www.visiodrome.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Jsp window opener

2002-05-16 Thread Aline

I tried the different solutions, but the parent of my popup window seem to
be the servlet and not the first jsp page.
Is there an other solution?

Aline


> Alternitively if the pop-up window is still open you can retieve
> the fields
> values by using javascript (i.e. parent.. name>. name>.value or something like that)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




catalina.policy

2002-02-21 Thread Aline

Hi list,

I'm using -security option when I' starting my tomcat 4.0 server.
I'd like to allow a web application to access files from another web application. So I 
have added those lines in my catalina.policy file : 

grant codeBase "myApp1" {  
 permission java.security.FilePermission 
"file:${catalina.home}/webapps/myApp2/-","read,write";
};

But I have a error when I'm starting my server.

Can anyone help me?

thanks

Aline
www.visiodrome.com
www.oeilpouroeil.fr