IDE for Database Mappings
Title: IDE for Database Mappings Hi All, Could someone give me pointers in the IDE for mapping database fields and we could directly do INSERT, UPDATE, DELETE on the automatic-generated JSP pages? Currently we have knowledge of http://www.alachisoft.com. Thanks you very much! David
Re: Leaving the JSP page
You could control this behavior in client-side scripting, ie JavaScript. Or you could write taglib to control the fields. -Original Message- From: sanjib B [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 11:01 AM To: [EMAIL PROTECTED] Subject: Leaving the JSP page Hi All, In my JSP page I have some editable fields which the user can edit but before applying those changes to database updates, if the user clicks some other link or wants to leave the page I want to prevent the user from doing so and wnats to show a message box. If the user presses "Ok" and want to discard the previous edits then only I want to allow the user to leave the page. How do I do so? any idea ?? thanks sanjib === 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
Form submit
Hi All, This is a question in JavaScript. Could you tell me how to change the FORM ACTION based on the input type? say Mexican Dish Italian Dish upon submit, if dish value is "mexican" I want to send GET to /mexican/index.jsp directory - otherwise /italian/index.jsp directory. any idea??? Thanks! === 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: Carriage return for Oracle
Insert into your column of table like this: 'text first line' || chr(13) || 'text next line' Reading whether text has carriage return: instr( column_name,chr(13))>0; Disclaimer: in Oracle - not sure about the rest. David -Original Message- From: [Alan Leung] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 11:49 AM To: [EMAIL PROTECTED] Subject: Carriage return for Oracle Well, although it's a bit off topic, but what I want is to enter a carriage return in a insert statement when I do a DML statement in Oracle but not servlet-wise. === It really depends on the language you are using to interpret the results from the database. For example, if you include a (i.e. 1st line2nd line3rd line) and display the results from the query in HTML, you should get a display of: 1st line 2nd line 3rd line Replace in this concept with whatever is a new line character delimiter in the language you are using to display the results. -Original Message- From: [Alan Leung] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 11:40 AM To: [EMAIL PROTECTED] Subject: Carriage return for Oracle Hi all, Does anyone know how to insert a carriage return for a char type in a Oracle command statement? Example: Insert into values (1,'1st line 2nd line 3rd line'); Thanks all === 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 === 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
HTTP Post Maximum Length
Hi All, I need to do BLOB via http POST. By theory, there is no maximum limit to POST method (up to client machine) compared to 2048 bytes in GET. Could someone confirm that? Thanks! David === 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]
You could start off reading JavaMail http://java.sun.com/products/javamail/. The demo codes offer useful Servlet container-level and client AWT examples. Good Luck! David -Original Message- From: Thuan N. Nguyen [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 9:05 AM To: [EMAIL PROTECTED] Subject: Hi all, I am a student. I am attending a class Java Programming and having a project of building a mail server. As I am new to Java programming, I don't know where to start, can any one please give me some advices? Thanks in advance. ThuanNN ==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: Simple Question
String myVar = VarName; -Original Message- From: Papo Napolitano [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 1:40 PM To: [EMAIL PROTECTED] Subject: Simple Question Hi! How can I do to to put inside a JSP String Variable this information <%=VarName%> I'd tried with this but i get an error: String myVar = "<%=VarName%>" ; Any idea ?? Regards, Papo === 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: disable back button
Meta tag with cache expires in history, with no-cache. -Original Message- From: Eric Cho [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 1:39 PM To: [EMAIL PROTECTED] Subject: disable back button Hey all, Is there any way via jsp or any other method you can think of to disable the back button on the browsers?!?! Thanks, Eric ** The contents of this email and any attachments are confidential. It is intended for the named recipient(s) only. If you have received this email in error please notify the system manager or the sender immediately and do not disclose the contents to any one or make copies. ** eSafe scanned this email for viruses, vandals and malicious content ** ** === 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: How do you convert a jsp page into Java?
Check your /WEB-INF/work/ directory. For every JSP page, the server generate (servlet) codes i.e. if test.jsp, the java file will be "_test_jsp.java". Hope this help! -Original Message- From: Anand Desai [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 1:59 PM To: [EMAIL PROTECTED] Subject: How do you convert a jsp page into Java? I am seeing errors in my java code embedded in my jsp pages. The java code line #s reported are incorrect. How do I convert my jsp page into java code? Thanks, Anand === 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