Re: urgent help needed on checkbox property!!!!
You can probably use javascript or DHTML for this.. but it would entail using images. Just use javascript. Have an image that looks like a checkbox,,,when someone clicks on it, it swaps out the image with one that has an X on itthen it sets a variable that will be applied to the value of a form element. -- eats a easy solution. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Agarwal, Shekhar (MED, TCS America) Sent: Thursday, April 12, 2001 2:31 PM To: [EMAIL PROTECTED] Subject: urgent help needed on checkbox property hi all i need a javascript function invoking which we can either mark a check or a cross on a select box .(X or a check mark) can anyone help me SHEKHAR AGARWAL TATA CONSULTANCY SERVICES Email : [EMAIL PROTECTED] Tel: 268-548-2592 (work) 262-798-1052 (home) -Original Message- From: Nishit Trivedi [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 2:36 PM To: [EMAIL PROTECTED] Subject: OT:java.io.StreamCorruptedException hi. I am storing serialized objects in a file on my machine.. when i read back the objects from file, it perfectly displays properties of object which is read first but when it tries to read second object, it gives me java.io.StreamCorruptedException.. I don't know what's the problem... I appreciate if somebody can help... I am in desparate need to solve this... Here is the snippet of my code: ArrayList al = new ArrayList(); try{ while((sge = (SerializableGBEntry)ois.readObject()) != null){ al.add(sge); } ois.close(); fis.close(); } catch(Exception deserializingE){ deserializingE.printStackTrace(); out.println("the deserializingE exception is:"+deserializingE.getMessage()); } TIA... Nishit Trivedi Software Engineer Planet Access Networks - An InSage Company 973-691-4704 X157 === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: JAVASCRIPT PROBLEM
You can't get rid off that error..cause you are trying to close the "parent" windowmaybe an "onerror" will squash the error box--not sure. If you find a solution, let us know. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of paramjit singh Sent: Wednesday, April 04, 2001 10:50 PM To: [EMAIL PROTECTED] Subject: JAVASCRIPT PROBLEM Hello.. I am opening new Pop up internet explorer window when user clicks next button of current window by using javascript function window.open() but i also wana to close the previous window(parent) i do it like this this.close and then called window.open("new window"); but when user clicks next button javascript's alert box pop's up asking for the confirmation of wheteher to close the current window or notyes or no.. but i don't want this i want that the window should be closed without the user intervention.. any idea.. paramjit singh Get free email and a permanent address at http://www.netaddress.com/?N=1 === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: Any views on the Java Web market in the US ???
where did you hear this? I haven't heard about this at all. Thanks, ~~~ Dean Sacramone Magnet Interactive - West [EMAIL PROTECTED] Lead Programmer 310-815-5091 ~~~ If a kid asks where rain comes from, I think a cute thing to tell him is: God is crying. And if he asks why God is crying, another cute thing to tell him is: Probably because of something you did. - Original Message - From: Mathew, Binoy (CORP, GEITC) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 06, 2001 1:03 AM Subject: Any views on the Java Web market in the US ??? Hi all, We keep hearing news on the downtrends of the Java web market in the US? How true is this and is this a slug or a permanent downfall of Java web based technologies like JSP, Servlets, XML ??? What about Europe? Would like your thoughts. Rgds, Binoy. === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
JSP and MYSQL
Hey,, is there a good tutorial on how to intergrate JSP and MYSQL cause I want to do some practicing. Thanks, ~~~ Dean Sacramone Magnet Interactive - West [EMAIL PROTECTED] Lead Programmer 310-815-5091 ~~~ If a kid asks where rain comes from, I think a cute thing to tell him is: God is crying. And if he asks why God is crying, another cute thing to tell him is: Probably because of something you did. === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: test
test too, this list has been nonexistent for the last week.?? Thanks, ~~~ Dean Sacramone [EMAIL PROTECTED] Lead Programmer--310-815-5091 ~~~ "If there was any logic in this world, it would be men who ride side-saddle, not women." -- - Original Message - From: Pauline Li [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 18, 2000 12:38 PM Subject: test test === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Again: class questions.. any help is appreciated
Hello all, --thanks for all those who helped me out. HERE ARE A FEW QUESTIONS that I need assistance on. I am not gonna lie...this is for a extension course that I am taking, so its not a actual school class. I am just stuck.. I have 3 form boxes processed by a servlet. QUESTIONS: 1.) if the second edit box contains the string "A" then it should read the initialization parameter from the context called 'startup' and present its value back to the browser. 2)If the third box contains the string "B" then it should redirect the pate to the url that is represented by the string contained in the first edit box. 3.) If the second edit box contains the string "D" then it should return the user agent that it is dealing with back to the browser 4.) If the server receives an ACCEPT header that has a value "text' returns a page with text stating "page in text mode". Be sure to set the content type to text mode. For all other requests that does not have the ACCEPT header value as 'text' return pages with content type html. 5)If the first edit box contains the string "E" then it should send an error response with status code 403 and text information "got an error". This will override processing any other of data in any other edit boxes. ANY help would be appreciated. I know its a lot, but I fell behind. Thanks, ~~~ Dean ~~~ "If there was any logic in this world, it would be men who ride side-saddle, not women." -- - Original Message - From: JSP-INTEREST [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 07, 2000 10:13 AM Subject: JSP CoveragePlease Participate.. we would like to manage Data Bank on JSP for our Server side peolpe It is basically Covers Interview FAQ... so please send Q A form Your Experiance. Appreciation for Your Dynamic please participation... Responce Clear about Topic name and Ser No.. Posting address [EMAIL PROTECTED] Ser No Topic name 1.1)Overview of servlets and JSP 1.2)The servlet life cycle 1.3)Query data 1.4)Common MIME Types 1.5)SSI 1.6)Servlet chaining 1.7)Using HTTP 1.8)Handling cookies 1.9)Session Tracking 1.10)Using Applets As Servlet Front Ends 1.11)JDBC and Database Connection Pooling 2.1)Introduction to JSP 2.2)JSP Scripting Elements 2.3)The JSP page directive 2.4)Including Files and Applets in JSP Documents 2.5)Using JavaBeans with JSP 2.6)Creating Custom JSP Tag Libraries 2.7)Integrating Servlets and JSP reply to Posting address [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
this doesn't work.why...code snippet
this doesn't work,,why? I thought this would be a simple procedure, but no. The IF test doesn't work it ignore the parameter field1 and laways prints the first thing "you didn't ." regardless... why? String title = "Deans First Example"; if(request.getParameter("field1") !="dean"){ out.println("You DIDNT put dean in field oneBR"); } else{ out.println("you did put dean in field oneBR"); } out.println("html"); out.println("body"); out.println("head"); out.println("title" + title + "/title"); out.println("/head"); out.println("body bgcolor=\"white\""); out.println("THIS IS THE NEW ONE 4BRBR"); out.println(request.getParameter("field1") + "--this is field 1BRBRBR"); out.println(request.getParameter("field2") + "that was field twoBRBR"); out.println(request.getParameter("field3") + "BRBRBR"); Thanks, ~~~ Dean Sacramone [EMAIL PROTECTED]~~~ "If there was any logic in this world, it would be men who ride side-saddle, not women." -- - Original Message - From: JSP Insider [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 06, 2000 5:39 PM Subject: Re: Book Check out http://www.jspinsider.com/reference/book/index.html there are some reviews of good JSP books there. I'd suggest Pro JSP from Wrox. Jayson Falkner [EMAIL PROTECTED] - Original Message - From: "Rahman, Zahid" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 06, 2000 2:56 AM Subject: Book New to JSP - Can any one Please recommend a good book on writing applications using JSP ? Regards, Zahid === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
servlet tutorial for form processing with checking?
anyone direct me to a servlet tutorial for form processing with some field checking. I have 3 fields (this is for a school assignment), and I check against each field. alaif field one contains the letter A, do this if field two contains the letter N, throw a 404 page error etc... etc... I have most of the code, but I am losing something on the error checking. please forgive, I am just getting into JSP/Servlets. Thanks, ~~~ Dean ~~~ "If there was any logic in this world, it would be men who ride side-saddle, not women." === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
jswdk 1.0.1? mapping question or not, not sure..please advise
Hello, I've created a form that calls to a servlet for processing. the thing is that its not finding the servlet. I am calling it correctly, but its not finding it,,so I am thinking its a mapping issue. I am using the freebie Java web development kit from sun to practice servlets and jsp. I have this HTML file.. ReadForm.html in this directory. jswdk1.0.1/examples/servlets/ReadForm.html and it calls a servlet here jswdk1.0.1/examples/Web-inf/servlets/ReadParamEx YET, its not finding it. I am using form action="/servlet/ReadParamEx" method=POST and its not working. Any help would be appreciated. thanks, dean === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
question. anyone know this one.
1. What class should you inherit from to create a servlet that handles the HTTP protocol? Thanks, ~~~ Dean Sacramone [EMAIL PROTECTED] ~~~ "If there was any logic in this world, it would be men who ride side-saddle, not women." -- - Original Message - From: Antonio W. Lagnada [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 29, 2000 12:05 PM Subject: Re: how do extract the zip file in Java You might want to look at the deflater() method. I believe you should read the file in and then extract it using this method. Look at the API documentation: http://java.sun.com/j2se/1.3/docs/api/index.html http://java.sun.com/j2se/1.3/docs/api/java/util/zip/package-frame.html -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. arun prakash [EMAIL PROTECTED] wrote: HI All., I have seen the java.util.zip package but what i want to do is extract the contents of the zip file and store it in some directory using Java. How can i do this... ?? thanx in advance arun prakash. __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets ___ To get your own FREE ZDNet Onebox - FREE voicemail, email, and fax, all in one place - sign up today at http://www.zdnetonebox.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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: a little offtopic
have you received any responses from this or an answer. I know perl and will supply you with the answers you need. just let me know. Thanks, ~~~ Dean Sacramone [EMAIL PROTECTED] Lead Programmer--310-815-5091 ~~~ "If there was any logic in this world, it would be men who ride side-saddle, not women." -- - Original Message - From: Daniel Lynn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 28, 2000 9:12 PM Subject: a little offtopic OK, I know this is off-topic, but it's a bit of a pain to go log onto other lists and stuff for a question I only have to deal with once, so please bear with me.. Does anyone out there know perl and know what this line of code means? if (-e $datafile) {} else { open (DATA, "$datafile") || ShowErrMessage("Blah"); } I have a ecommerce program that I'm having problems with and we've narrowed the problem down to this line. I don't really understand what the -e is or the open statement... Thanks to anyone that knows and once again, sorry for the off-topic question. -Daniel === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: (Off Topic)Javascript: enter event in Javascript
Put this for the "open window" function. The names are arbitrary, but I like medievel names. put the focus in a setTimeOut cause microsoft will not work otherwise assuming the popup is more than just text (graphics) etcat least I have found.buggy function launchstatement() { swordWindow = window.open('statementindex.html', 'state', "toolbar=no,directories=no,location=no,status=no,menubar=no,scrollbars=no,re sizeable=no,width=400,height=500, screenx=200, screeny=100,top=100 ,left=400") perseus=swordWindow setTimeout('perseus.focus()',1000); } *** Now, if that doesn't manage itself across all resolutions, do a resolution test and then sub in values for the "screen x, screeny, top, and left" attributes.. this means your gonna have to document.write this out in javascript... ** For example.. TEST for resolution.. if(screen.width == "1024"){ scrnx=100; scrny=100; top=100; left=100; } if(screen.width == "800"){ scrnx=200; scrny=200; top=200; left=200; } if(screen.width == "640"){ scrnx=300; scrny=300; tp=300; lft=300; } THEN when you 'document.write" out the popup window code... just sub in the variables above into the code ala.. document.write("ALLTHECODEHERE" +'screenx='+scrnx+', screeny='+scrny+',top='+tp+' ,left='+lft+"); is that explained clearly???. test this yourself in the different resolutions, you might not even have to test for resolutionsbut if you do, just test then applies to the variables and document.write then into the open window function. Remember, your gonna have to put the approriate coordinates into the (screenx=, screeny=,top= ,left=). Thanks, ~~~ Dean Sacramone [EMAIL PROTECTED] Lead Programmer--310-815-5091 ~~~ "If there was any logic in this world, it would be men who ride side-saddle, not women." -- - Original Message - From: Lorena Carlo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 16, 2000 2:49 PM Subject: (Off Topic)Javascript: enter event in Javascript Hi all, Sorry for writting this off topic mail, How can I know when a user has pressed the enter key, which is the name of the event in javascript?. Also, is there a way with javascript, to generate a child window from another, and that this child window appears centered on the monitor, for wichever monitor resolution, especially 800*600. Thanks in advance, please help me Lorena === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === 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://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
3 questions easy I am sure
Hey all, I have 3 questions. They are textbook questiions but I can't find the answers. 1.) What servlet method would you call to get the protocol being used in the client/server transmission? 2.) What is the java API package name that contains the classes to support the servlet HTTP functions? 3.) Whare are the 2 primary methods that are supported by HTTP protocol to send data to the server?? Thanks, ~~~ Dean Sacramone [EMAIL PROTECTED] Lead Programmer--310-815-5091 ~~~ "If there was any logic in this world, it would be men who ride side-saddle, not women." -- - Original Message - From: Philip Weaver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 16, 2000 1:32 PM Subject: Finding Taglib Documentation Yeah, your reply is off-thread. However, I would say the best thing to do would be to use Sun's example taglib as a starting point. That's what I did. Sun has improved their taglib documentation since introducing JSP 1.1. I don't think the following URL was there since day but I wish it had been. And it's not well marked. http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html http://java.sun.com/products/jsp/tutorial/examples/examples.zip http://developer.java.sun.com/developer/Books/projsp/ -- download chapter 12 pdf on 11/16/00 2:27 PM, Adrian Papari at [EMAIL PROTECTED] wrote: hmm... i've recently been looking for a server-side "XML" - HTML-parser: ie, you have the definitions for the custom-tags stored in a separate file, and thus, you can very easily change the layout for different user-profiles or whatever suits your needs preferences. so, Q being; is this possible with jsp taglibs? i've been looking for documents tutorials on the internet describing the use of taglibs, but i've been unable to locate any - perhaps anyone of you got some url:s lying around? cheers, file://adrian === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Re: (off topic) How can I control the printing of an html page without the icon of the browser
Hey, do you mean like a "print button" that is on the html page?? I have done this many times. Where I use a grahic on a html page and it prints the page.. works fine in most browsers.. let me know and I will throw you the code. Thanks, ~~~ Dean Sacramone [EMAIL PROTECTED] Lead Programmer--310-815-5091 ~~~ "Don't tell me how hard you work. Tell me how much you get done." -- James J. Ling - Original Message - From: Lorena Carlo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 30, 2000 10:21 AM Subject: (off topic) How can I control the printing of an html page without the icon of the browser Hello all, Sorry for this off topic mail, but I need help, does anybody know how can I control printing without using the icon of the browser, which command can I use in an html or jsp page for printing what I have in a frame (I have some frames). Thanks in advance Lorena Carlo === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Here it is.. PRINT for javasscript. To the whole list..
Okay,,, here it is... ON your image etc... use this call to the function "return printPage()" SCRIPT LANGUAGE="JavaScript" !-- var da = (document.all) ? 1 : 0; var pr = (window.print) ? 1 : 0; if (da !pr) document.write('OBJECT ID="WB" WIDTH="0" HEIGHT="0" CLASSID="clsid:8856F961-340A-11D0-A96B-00C04FD705A2"/OBJECT'); function printPage() if(navigator.appName == "Microsoft Internet Explorer" (navigator.appVersion.indexOf("Mac") != -1 || navigator.appVersion.indexOf("3.1") != -1)) { alert("Sorry, your browser doesn't support this feature. Please click on this page and then press Ctrl-P on a PC or Command-P on a Mac."); } else if (pr) // NS4, IE5 parent.bottom2.print(); !-- this is the frame name where the page resides that you want printed -- else if (da) // IE4 vbPrintPage() else // other browsers alert("Sorry, your browser doesn't support this feature. Please click on this page and then press Ctrl-P on a PC or Command-P on a Mac."); return false; } // -- /SCRIPT SCRIPT LANGUAGE="VBScript" !-- Sub window_onunload On Error Resume Next Set WB = nothing End Sub Sub vbPrintPage OLECMDID_PRINT = 6 OLECMDEXECOPT_DONTPROMPTUSER = 2 OLECMDEXECOPT_PROMPTUSER = 1 On Error Resume Next WB.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER End Sub // -- /SCRIPT Thanks, ~~~ Dean Sacramone [EMAIL PROTECTED] Lead Programmer--310-815-5091 ~~~ "Don't tell me how hard you work. Tell me how much you get done." -- James J. Ling === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets