TOMCAT, IIS 5 SSL - direction please.
If anyone on the list would be so kind as to direct me to the document/url where I can get a clue as to how I should go about using ssl with both IIS and Tomcat on the same machine without requiring client requests to go directly to non-default port. Thanks in advance Regards, Ernst Bekker [EMAIL PROTECTED] Coding Clerk +27 +11 489 4147 IS Services -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
NEWBIE: Passing object from Servlet to JSP with session?
Hi, I am running TomCat 4, and am attempting to forward an object to a JSP from a servlet. I have set up a new directory under .../webapps and the class files for both the servlet and the class of which I am trying to send an instance of are in .../ webapps/newdir/WEB-INF/classes. The JSP file is in .../webapps/newdir. It seems that the servlet forwards the request but the JSP coughs up the following exception: The Exception: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred between lines: 11 and 13 in the jsp file: /SessionAtempt.jsp Generated servlet error: C:\jakarta-tomcat-4.0.2\work\localhost\rd\SessionAtempt$jsp.java:60: Class org.apache.jsp.MyClass not found. MyClass sessionvars = null; ^ ... Code snippets: Servlet: Constructing the object: MyClass sessionvars = new MyClass (parm1, parm2, parm3, parmn); HttpSession ses = req.getSession(true); ses.setAttribute(Sessionvars, sessionvars); Servlet Sending the class: public void GoToPage(String addy, HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { RequestDispatcher disp = getServletContext().getRequestDispatcher(addy); disp.forward(req, res); } JSP: jsp:useBean id=sessionvars class= MyClass scope=session / Any direction would be greatly appreciated TIA Ernst Bekker [EMAIL PROTECTED] Coding Clerk +27 +11 489 4147 IS Services Confidentiality Caution and Disclaimer This message and/or any attachment thereto (the message) contains privileged and confidential information intended only for the recipient named above. If you are not the intended recipient of this message, please erase it permanently once you have notified the sender, per return e-mail, that you have received the message in error. Unless the sender is duly authorised by either the Telesure Group, or any of its subsidiary companies or I.S Services (the Group) to send this message and unless the content of this message is also duly authorised by the Group, any views expressed in this message are those of the individual sender and the Group will not accept liability therefore, nor for any consequential damage arising therefrom. Any recipient of an unacceptable communication, a chain letter or offensive material of any nature is requested to report it to [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: NEWBIE: Passing object from Servlet to JSP with session?
Bean should have one constractor without papameters. It does have that. Besides if you setup new directory (the place where you made it is for new application) The Context is set up. What am I still missing? Ernst Bekker wrote: Hi, I am running TomCat 4, and am attempting to forward an object to a JSP from a servlet. I have set up a new directory under .../webapps and the class files for both the servlet and the class of which I am trying to send an instance of are in .../ webapps/newdir/WEB-INF/classes. The JSP file is in .../webapps/newdir. It seems that the servlet forwards the request but the JSP coughs up the following exception: The Exception: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred between lines: 11 and 13 in the jsp file: /SessionAtempt.jsp -- Confidentiality Caution and Disclaimer This message and/or any attachment thereto (the message) contains privileged and confidential information intended only for the recipient named above. If you are not the intended recipient of this message, please erase it permanently once you have notified the sender, per return e-mail, that you have received the message in error. Unless the sender is duly authorised by either the Telesure Group, or any of its subsidiary companies or I.S Services (the Group) to send this message and unless the content of this message is also duly authorised by the Group, any views expressed in this message are those of the individual sender and the Group will not accept liability therefore, nor for any consequential damage arising therefrom. Any recipient of an unacceptable communication, a chain letter or offensive material of any nature is requested to report it to [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomact + apache + warp (mod_webapp) + SSL
Similar problem here, if all the content comes from Tomcat it works fine. Servlet html that referenced image urls on apache caused apache to die. -- Hi. I have the same problem as you. Tomcat4.0 and mod_webapp with SSL it seems to be a taboo topic. There isn't any information. [EMAIL PROTECTED] wrote: Hi all Does any one have an idea how to make mod_webapp work properly with a apache mod_ssl vitual server? Here is the scenario: I have a web application that can run in either native tomcat or with apache as a fron end. I use mod webapp to provide a mapping of the application to the apache server (ala old style JServ) and then it talks to tomcat on port 8008. I was under the impression that this is how it works: apache gets a request for a mapped web application so that it looks like this: https://somehost/app?appdata on the client end, picks up the app-data and then shoves it down port 8008 on localhost (thats where the warp connector is told to go) and then returns the data to the client via SSL. SO it would look like this: client --- HTTPS --- Apache -- warp connection to locahost:8008 -- tomcat Is this possible or am I better of running native tomcat on port 443 and not bother with apache at all? regards Tomasz Ciolek -- Tomasz M. Ciolek Systems Administrator - CSIRO Entomology Phone: 02-62464391 * Fax: 02-62464000 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- - Gabriel Lopez Millan - Grupo ANTS-CIRCuS Facultad de Informática Universidad de Murcia (España) Tfo: +34 968367645 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Confidentiality Caution and Disclaimer This message and/or any attachment thereto (the message) contains privileged and confidential information intended only for the recipient named above. If you are not the intended recipient of this message, please erase it permanently once you have notified the sender, per return e-mail, that you have received the message in error. Unless the sender is duly authorised by either the Telesure Group, or any of its subsidiary companies or I.S Services (the Group) to send this message and unless the content of this message is also duly authorised by the Group, any views expressed in this message are those of the individual sender and the Group will not accept liability therefore, nor for any consequential damage arising therefrom. Any recipient of an unacceptable communication, a chain letter or offensive material of any nature is requested to report it to [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: NEWBIE: Passing object from Servlet to JSP with session?
Thank you very very very much everyone who contributed, you are my heros. All that was missing was that one freak'n import page directive. I have been batteling with this for almost two days now, RTFMing till it came out my ears. -- You have to put into your JSP: %@ page import = mysubdir.MyClass % before jsp:useBean... assuming that MyClass is in newdir/WEB-INF/classes/mysubdir. Ernst Bekker wrote: Bean should have one constractor without papameters. It does have that. Besides if you setup new directory (the place where you made it is for new application) The Context is set up. What am I still missing? Ernst Bekker wrote: Hi, I am running TomCat 4, and am attempting to forward an object to a JSP from a servlet. I have set up a new directory under .../webapps and the class files for both the servlet and the class of which I am trying to send an instance of are in .../ webapps/newdir/WEB-INF/classes. The JSP file is in .../webapps/newdir. It seems that the servlet forwards the request but the JSP coughs up the following exception: The Exception: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred between lines: 11 and 13 in the jsp file: /SessionAtempt.jsp -- Confidentiality Caution and Disclaimer This message and/or any attachment thereto (the message) contains privileged and confidential information intended only for the recipient named above. If you are not the intended recipient of this message, please erase it permanently once you have notified the sender, per return e-mail, that you have received the message in error. Unless the sender is duly authorised by either the Telesure Group, or any of its subsidiary companies or I.S Services (the Group) to send this message and unless the content of this message is also duly authorised by the Group, any views expressed in this message are those of the individual sender and the Group will not accept liability therefore, nor for any consequential damage arising therefrom. Any recipient of an unacceptable communication, a chain letter or offensive material of any nature is requested to report it to [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- Lev AssinovskyPeterlink Web ProgrammerSt. Petersburg, Russia Tel/Fax: +7 812 3275343 197022 ul.Chapigina 7Á E-mail: [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Confidentiality Caution and Disclaimer This message and/or any attachment thereto (the message) contains privileged and confidential information intended only for the recipient named above. If you are not the intended recipient of this message, please erase it permanently once you have notified the sender, per return e-mail, that you have received the message in error. Unless the sender is duly authorised by either the Telesure Group, or any of its subsidiary companies or I.S Services (the Group) to send this message and unless the content of this message is also duly authorised by the Group, any views expressed in this message are those of the individual sender and the Group will not accept liability therefore, nor for any consequential damage arising therefrom. Any recipient of an unacceptable communication, a chain letter or offensive material of any nature is requested to report it to [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]