I want to print restaurant bill directly to printer when user click button "Print Bill" without display content is printed. My project is JSP/Servlet web appplication.So, solution can write in java or javascript. Can you help me ? Thanks so much. Sorry, I don't know post this question in which topic Java or Web development.
tannghia
Posts
-
How to print restaurant bill directly to printer ? -
How to know user still connect to my website in local network ?I have a system include : apache tomcat webserver, a JSP/Servlet website, a local network (LAN). I want to check user's connection to my webiste by using java code. Please to help me !. Thanks so much.
-
Connection Information to DB in Java Web ?I want to store connection information to Database (username, password, port ) into a file named "WebConfig". Then I create a java class named "Connect" use these information to connect to MS SQL Server. But I cann't read information from "WebConfig" because I don't know it's directory. Can you help me ? (Don't use HttpSerletContext ! ) Thanks alot !
-
Get complete URL address on address bar of browserI tried it but it only return the address of JSP page which is called by Serlet. I want to get the Serlet which called this JSP Page
-
Get complete URL address on address bar of browserhttp://wwww.eshop.com/ShowMember?name=Peter White&id=123 : display a JSP page on browser which is called by ShowMember Serlet But the follwing code will return http://wwww.eshop.com/ShowMember.jsp?name=Peter White&id=123 String url = request.getScheme() + "://" + request.getServerName() + "/" + request.getContextPath() + "/" + request.getServletPath() + (request.getQueryString() != null ? "?" + request.getQueryString() : ""); I want to get the Serlet which called the JSP page which mean the address does not contain ".jsp"
-
Get complete URL address on address bar of browserI want to get complete URL address is displaying on address bar of browser in JSP Example At present,The address bar of browser is containing the following address http://wwww.eshop.com/ShowMember?name=Peter White&id=123 In JSP, how to get this address.I cann't get it with request.getRequestURL().toString()
-
Get complete URL address on address bar of browserI want to get complete URL address is displaying on address bar of browser. Example http://wwww.eshop.com/ShowMember?name=Peter White&id=123 I use JSP and Serlet to create web application. In above exmaple : ShowMember is a serlet http://wwww.eshop.com/ShowMember?name=Peter White&id=123 : display a JSP page on browser that is invoked by ShowMember Serlet
-
Install Oracle 10g on Win7I use Sony Vaio laptop.I want to install Oracle 10g Server on Win7.I download Oracle Database 10g Release 2 (10.2.0.3/10.2.0.4) for Microsoft Windows Vista and Windows 2008 .My friends installed this version successfully on Win7 but I can't because file setup.exe of Oracle 10g not run on my laptop but I can see setup.exe is running on Windows Task Manager.Please help me solve this problem! Thanks so much!
-
SQL Server Agent not displayed in Object Explorer in SQL Server 2005 Express EditionAlthough I logon with administrator permisson but I can't see SQL Server Agent is displayed.I use Win7 Please help me!
-
Neutralize click event on TabI don't want users can choose any tab when they click on tabheader.How to do this?Please help me!!!!
-
VB 2008!! Error arise from a Sub although This sub isn't called!!!! Why?When start debugging in VB 2008,an error appear in a Sub although I still don't call this Sub. Is VB 2008 compile all code in the class before Form is shown?
-
DataGridView in VB.NET.The empty row in the end!!!Please help me to answer the following question! Thanks! 1.In VB.NET, when datasource of datagridview = datatable(Datatable contains data).On the datagridview display a grid of data ,the end row is empty. What type of value of the cells on this row in VB.NET?How to check ? 2.Can I make the end row disappear?
-
Error when Copy and Move Database files .mdf and .ldf on Vista/Win7I have a folder contain 2 file .mdf and .ldf.I can't create file .rar from this folder because Win7/Vista not permit to access with the error "Access is denied".I want to compress this folder to bring to other computer. How can I do this? Please help me!!! Thanks so much!!!
-
Please help me to solve problem from Component DevExpress for Visual Studio 2008This clue is helpfull for me.Thank you very much!!!!!!
-
Please help me to solve problem from Component DevExpress for Visual Studio 2008After I setup Component DevExpress for Visual Studio 2008, I can't run my project on other computer.Please help me to solve thisproblem!!!!! Please guide me create setup file for my project that I can setup and run application on other computer that don't need to install DevExpress Component on that computer.Thanks alot!!!!
-
How to type special character such as √ ,Π in C#?I want to type the special characters in C#.I don't know how to do that?Please help me.Thanks alot!!!!!
-
How to add a application to system menu and Startup in System Configuration Utility?I wamt to add my application to menu(appear when right click at a folder or a file) and add it to Startup in System Configuration Utility (Run - > msconfig).Thank you very much!!!!!