We use a lot virtual host around 20 dotcom, splitted for around 5 tomcat, jboss and glassfish in one server
/m/ -----Original Message----- From: "Jerson John" <jer...@cprvision.com> Date: Thu, 17 Feb 2011 18:58:25 To: 'Struts Users Mailing List'<user@struts.apache.org> Reply-To: "Struts Users Mailing List" <user@struts.apache.org> Subject: RE: Integrate JasperReports into a Struts2 web application Hi, Please help me out.I have Struts2 Application which works fine when I run in localhost.Somehow I am failed to run using Virtual host name.It comes to stating login page after then it cannot execute my action classes..I am try to google for the solution but nothing works out.Please help me on this issue... If My application can work in localhost I assume it will works for virtual host also.Please advice me on what can be the possible cause. Many Thanks and Regards, Jerson Many Thanks and Regards, Jerson CPR Vision Management Pte Ltd CRM Software & Marketing E: jer...@cprvision.com T: + (65) 6535 0996 F: + (65) 6327 8085 www.cprvision.com CPR Vision - Nominated finalist for CRM, Marketing & Loyalty "Agency of the Year" Award - Organized by Marketing Magazine -----Original Message----- From: @rju [mailto:nagarjunabatt...@gmail.com] Sent: Thursday, February 17, 2011 6:42 PM To: user@struts.apache.org Subject: Re: Integrate JasperReports into a Struts2 web application hey in my java script file am calling action as follows and it displays the jasper report. window.open("itemsNotInPackageReport.action?branchName=" + $('select#branchName option:selected').val()); so now i want to send this to printer directly when i am calling action. Is it possible??? i ve used like this also window.open("itemsNotInPackageReport.action?branchName=" + $('select#branchName option:selected').val()); window.print(); but it is printing the empty page but generating the report successfully action in struts.xml <action name="itemsNotInPackageReport" method="getItemsNotInPackageReport" class="com.ae.school.web.action.sales.reports.ItemsNotInPackageAction"> <result name="itemsNotInPackageReport" type="jasper"> /jasper/sales/ItemsNotInPackageReport.jasper itemNameList PDF </result> </action> please help me its urgent for me @rju wrote: > > hello boss > previously you ve helped a lot > hope u remember me. > boss am giving action call through ajax. > so after that action i dont want my result as a jasper report i want to > send that report directly to the printer... dat to without user > interaction > > Dave Newton-6 wrote: >> >> He's saying "Hit Ctrl-P from inside a PDF reader. >> >> On Wednesday, February 16, 2011, @rju <nagarjunabatt...@gmail.com> wrote: >>> >>> if dont mind can you tell in detailed manner >>> -- >>> View this message in context: >>> http://old.nabble.com/Integrate-JasperReports-into-a-Struts2-web-application -tp23479814p30946620.html >>> Sent from the Struts - User mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >>> For additional commands, e-mail: user-h...@struts.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> >> > > -- View this message in context: http://old.nabble.com/Integrate-JasperReports-into-a-Struts2-web-application -tp23479814p30948479.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org