Re: Urgent, Making taglib available to JSPs without those being in a WAR
He still has to have a web application. Create a web-inf directory and create a web.xml file. Maybe I am missing something. -- padhu - Original Message - From: "Karr, David" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 29, 2002 12:06 PM Subject: Re: Urgent, Making taglib available to JSPs without those being in a WAR You're answering a different question than he asked. He doesn't have a web.xml file, as he doesn't have a WAR. I don't see how you can do this. > -Original Message- > From: padhu vinirs [mailto:[EMAIL PROTECTED]] > > put > > <%@ taglib uri="..." prefix="..." %> > > in your jsp pages. Read about this directive in the jsp spec. > Also register > the taglib in the web.xml using the "taglib" element. > > -- padhu > > - Original Message - > From: "m batsis" <[EMAIL PROTECTED]> > > > Hello, > > > > Apologies for the dumb question but I have zero time; hope > one of you > > can save me here. > > I'm under a situation where I have some JSPs *not* in a WAR > file. How > > can make a taglib available to those JSPs without deploying > them using a > > WAR file? > > > > I'm using iplanet application server 6. = To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Urgent, Making taglib available to JSPs without those being in a WAR
You're answering a different question than he asked. He doesn't have a web.xml file, as he doesn't have a WAR. I don't see how you can do this. > -Original Message- > From: padhu vinirs [mailto:[EMAIL PROTECTED]] > > put > > <%@ taglib uri="..." prefix="..." %> > > in your jsp pages. Read about this directive in the jsp spec. > Also register > the taglib in the web.xml using the "taglib" element. > > -- padhu > > - Original Message - > From: "m batsis" <[EMAIL PROTECTED]> > > > Hello, > > > > Apologies for the dumb question but I have zero time; hope > one of you > > can save me here. > > I'm under a situation where I have some JSPs *not* in a WAR > file. How > > can make a taglib available to those JSPs without deploying > them using a > > WAR file? > > > > I'm using iplanet application server 6. ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Urgent, Making taglib available to JSPs without those being in a WAR
put <%@ taglib uri="..." prefix="..." %> in your jsp pages. Read about this directive in the jsp spec. Also register the taglib in the web.xml using the "taglib" element. -- padhu - Original Message - From: "m batsis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 29, 2002 6:49 AM Subject: Urgent, Making taglib available to JSPs without those being in a WAR > Hello, > > Apologies for the dumb question but I have zero time; hope one of you > can save me here. > I'm under a situation where I have some JSPs *not* in a WAR file. How > can make a taglib available to those JSPs without deploying them using a > WAR file? > > I'm using iplanet application server 6. > > Thanks in advance for your time and help. > > Manos > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Urgent, Making taglib available to JSPs without those being in a WAR
Hello, Apologies for the dumb question but I have zero time; hope one of you can save me here. I'm under a situation where I have some JSPs *not* in a WAR file. How can make a taglib available to those JSPs without deploying them using a WAR file? I'm using iplanet application server 6. Thanks in advance for your time and help. Manos === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: How should i proceed with
- Original Message - From: "Dror Matalon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 29, 2002 7:16 AM Subject: Re: How should i proceed with Hi, -- CLIP > > 1. IsUserInRole() is about authorization, so that won't solve > > the problem at all, I fear. With this method, you can check > > what a user is allowed to do. You can't check if the user > > tries to log in twice, regardless of the authentication > > scheme used. > > No true. The way "BASIC" authentication works, you set things up > so that the user can't log in twice. Now this is interesting. How would one 'set things up' so that a user can't log in twice using declarative security? I may be dumb, but I just didn't find any fitting mechanism for that. Considering realms: I always had the impression that realms were basically a (container-specific) means of telling Tomcat where to look for the credentials and map usernames to roles. I can't see why using BASIC authentication makes any difference in this context. In fact, even re-reading the Tomcat realms how-to didn't help. I just can't see what roles may have to to with the number of logins a user may perform concurrently. But obviously I'm wrong or missing something. Would you care to explain the details? -- CLIP > While this might be true, most modern day web applications are > almost useless if they can't trust their database to be up. On top > of that, most modern databases are at least as reliable as the > servlet engine (after all dbs have been around for a lot longer), > so your database uptime's going to be much higher. Specifically > in our case, I find our database, Postgres, to be quite a bit > more solid than Tomcat. YMMV. We even use the 'unbreakable' one, but that's not the point. If you store session state information in a database - which may be a necessity in distributed applications -, you'll also have to have a means to keep the database in sync with the web tier. Otherwise, if the web tier crashes, the 'active' flag will still be there, effectively keeping the user out. @Ravi: http://www.stardeveloper.com/articles/display.html?article=200901&page=1 http://www.stardeveloper.com/articles/display.html?article=2001112001&page=1 How to implement a global UserRegistryBean stored in the ServletContext (application scope) is also explained in detail in the O'Reilly JSP book. You can easily adapt the mechanism described there to not storing a token in the session scope after succesful authentication, but maintaining a Collection of loginNames in ServletContext instead, using a listener in place of a filter and the like. If you don't have the book, you might still want to look at the example sources, available from http://www.thejspbook.com/download.jsp. -- Chris (SCPJ2) === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Porting application from tomcat3.3.1 to 3.2.3
Hello, I am not sure if is the same problem, but I must append this at the beggining of the script catalina.sh to get tomcat working ok. (in a SuSE 7.0 linux) RC_LANG="es_ES" export RC_LANG LANG="es_ES" export LANG Josep R. Raurell En/na Deepak ha escrit: Hi all I have a jsp application running on Tomcat 3.3.1 in one linux machine. ( Machine1) This jsp app uses Internationalization to deal with the Japanese language. The backend db used is mysql and I frequently insert, update and retireve japanese data to/from the db. Today I deployed the application in another linux machine running Tomcat 3.2.3 (which is actually my Client's server)( Machine2) To my horror I discovered that all the japanese data stored in the db are now displayed as ' ?' marks like this '??' ! The db is the same one in Machine1. Only the app has been moved to Machine2 The problem is seen only with japanese data retrieved from the db. The japanese words from the resourcebundle are displayed perfectly. If I have not made myself clear please do tell me so. Can somebody please explain whats going on here? I am at my wits end. Thank you Deepak === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Porting application from tomcat3.3.1 to 3.2.3
Hi all I have a jsp application running on Tomcat 3.3.1 in one linux machine. ( Machine1) This jsp app uses Internationalization to deal with the Japanese language. The backend db used is mysql and I frequently insert, update and retireve japanese data to/from the db. Today I deployed the application in another linux machine running Tomcat 3.2.3 (which is actually my Client's server)( Machine2) To my horror I discovered that all the japanese data stored in the db are now displayed as ' ?' marks like this '??' ! The db is the same one in Machine1. Only the app has been moved to Machine2 The problem is seen only with japanese data retrieved from the db. The japanese words from the resourcebundle are displayed perfectly. If I have not made myself clear please do tell me so. Can somebody please explain whats going on here? I am at my wits end. Thank you Deepak === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
[no subject]
Hi all, I have a requirement as below... I click on a link and goto a pagewhile the page is loading I need to get the Status Code...there is not getStatus Method in the Response or even Requestonce the page is sent to the client it is thro' Response so there must be a way to get the status code in my JSP thanks in advance Regards Laxmikanth M S Off* : 91-80-6610330 extn 1256 Res* : 91-80-5267150 * Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. * === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Can i use session object from jsp in java class
Hi, I would recommmend you use a javabean,this java bean call the session. perpaps it will be better. ¡¡ ¡¡J.H,Feng ¡¡ ¡¡2002-11-29 Original Message From: [EMAIL PROTECTED] >why do you want to pass the session object. each session object will have a >session id. you can get this in jsp by simply invoking session object >but there is no reason why you should set this to a java class. think can >help you if you are clear in your reqr.. > > Regards > > Ramesh Kesavanarayanan > [EMAIL PROTECTED] > > > >-Original Message- >From: mahesh.kagalkar [mailto:[EMAIL PROTECTED]] >Sent: Thursday, November 28, 2002 2:02 PM >To: [EMAIL PROTECTED] >Subject: Can i use session object from jsp in java class > > >Hi >Can i pass the seeion object from jsp page to a java class and >in java class can i use that session object as in jsp page > >give me the details > >Thanks you > >=== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff >JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST >DIGEST". >Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com = = = = = = = = = = = = = = = = = = = = Database Dept. Computer Network Info Center,Chinese Academy of Sciences Tel: 010-62580066-408 Fax: 010-62578544 ==To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com