Urgent - Help needed for JSP access
Hi, When i try to access the JSP in Tomcat i am getting the following error in the browser.Pls. help. Thanks in advance. Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107) at java.lang.Thread.run(Thread.java:484) root cause java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger at org.apache.jasper.Constants.message(Constants.java:244) at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at
Urgent Help needed !
Hi All, Can Anybody help ? I have a Oracle 9i table named Contacts which contain about 1 records. I need to show them in a JSP page ordered by last name or first name or in any other order (as per user request). But only 100 records should be shown at a time. User can click Previous or Next links to see more records ( as in Google/Yahoo search ) I have done this by creating a temporary table. Records are sorted and kept in the temporary table . But this seems to be a very slow and inefficient method. ( Each request involves a select from the original table, creation of tempory table, insertion into temp table and finally select from temp table. ) Can anybody suggest a better approach ? Thanks Joshy === 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: Urgent Help needed !
Try looking at Oracle's ROWNUM field which will allow you to select specific rows from a result. Something like SELECT whatever FROM (SELECT whatever, RONUM rnum from TABLE order by SOMEFIELD) WHERE rnum between 11 and 20 will do nicely. Clayton - Original Message - From: JOSHY MON M C [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 14, 2002 8:34 AM Subject: Urgent Help needed ! Hi All, Can Anybody help ? I have a Oracle 9i table named Contacts which contain about 1 records. I need to show them in a JSP page ordered by last name or first name or in any other order (as per user request). But only 100 records should be shown at a time. User can click Previous or Next links to see more records ( as in Google/Yahoo search ) I have done this by creating a temporary table. Records are sorted and kept in the temporary table . But this seems to be a very slow and inefficient method. ( Each request involves a select from the original table, creation of tempory table, insertion into temp table and finally select from temp table. ) Can anybody suggest a better approach ? Thanks Joshy === 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: Urgent Help needed !
Hi joshy, U can use the Pager Tag Library available at http://jsptags.com/tags/navigation/pager/. it helps to generate Google style dispaly. regards kishor - Original Message - From: JOSHY MON M C [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 14, 2002 2:04 PM Subject: Urgent Help needed ! Hi All, Can Anybody help ? I have a Oracle 9i table named Contacts which contain about 1 records. I need to show them in a JSP page ordered by last name or first name or in any other order (as per user request). But only 100 records should be shown at a time. User can click Previous or Next links to see more records ( as in Google/Yahoo search ) I have done this by creating a temporary table. Records are sorted and kept in the temporary table . But this seems to be a very slow and inefficient method. ( Each request involves a select from the original table, creation of tempory table, insertion into temp table and finally select from temp table. ) Can anybody suggest a better approach ? Thanks Joshy === 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 _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.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://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: Urgent Help needed !
Try to use Oracle Rownum property and you will get a good result. Say If your query returns 1000 records put another condition in your query as rownum100 and then for next time put the condition as rownum100 and rownum200 you will get it solved. Thanx Yogaraj -Original Message- From: JOSHY MON M C [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 2:04 PM To: [EMAIL PROTECTED] Subject: Urgent Help needed ! Hi All, Can Anybody help ? I have a Oracle 9i table named Contacts which contain about 1 records. I need to show them in a JSP page ordered by last name or first name or in any other order (as per user request). But only 100 records should be shown at a time. User can click Previous or Next links to see more records ( as in Google/Yahoo search ) I have done this by creating a temporary table. Records are sorted and kept in the temporary table . But this seems to be a very slow and inefficient method. ( Each request involves a select from the original table, creation of tempory table, insertion into temp table and finally select from temp table. ) Can anybody suggest a better approach ? Thanks Joshy === 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 THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are notified that any dissemination, distribution or copy of this communication is strictly Prohibited. If you have received this message by error, please notify us immediately, return the original mail to the sender and delete the message from your system. === 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: Urgent Help needed !
You can use the method setMaxRows(int) of the java.sql.Statement to limit the number of rows and you can also use the absolute(int) method of the java.sql.ResultSet to move to a specific row if the ResultSet is scrollable (that's an option when creating the Statement or PreparedStatement). With the previous two methods you can obtain the desired rows of a query. -Original Message- From: JOSHY MON M C [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 2:04 PM To: [EMAIL PROTECTED] Subject: Urgent Help needed ! Hi All, Can Anybody help ? I have a Oracle 9i table named Contacts which contain about 1 records. I need to show them in a JSP page ordered by last name or first name or in any other order (as per user request). But only 100 records should be shown at a time. User can click Previous or Next links to see more records ( as in Google/Yahoo search ) I have done this by creating a temporary table. Records are sorted and kept in the temporary table . But this seems to be a very slow and inefficient method. ( Each request involves a select from the original table, creation of tempory table, insertion into temp table and finally select from temp table. ) Can anybody suggest a better approach ? Thanks Joshy === 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 THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are notified that any dissemination, distribution or copy of this communication is strictly Prohibited. If you have received this message by error, please notify us immediately, return the original mail to the sender and delete the message from your system. === 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: Urgent Help needed !
There are several taglibs that do that automatically for you, one is TICL from http://www.kobrix.com. --- JOSHY MON M C [EMAIL PROTECTED] wrote: Hi All, Can Anybody help ? I have a Oracle 9i table named Contacts which contain about 1 records. I need to show them in a JSP page ordered by last name or first name or in any other order (as per user request). But only 100 records should be shown at a time. User can click Previous or Next links to see more records ( as in Google/Yahoo search ) I have done this by creating a temporary table. Records are sorted and kept in the temporary table . But this seems to be a very slow and inefficient method. ( Each request involves a select from the original table, creation of tempory table, insertion into temp table and finally select from temp table. ) Can anybody suggest a better approach ? Thanks Joshy === 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 __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.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://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: urgent help please - error connecting to the db
Just try the following java -classpath .;%classpath% Connect Should be nothing more than the classpath problem. --- Shahata, Ashraf [EMAIL PROTECTED] wrote: I have the following code, which is quite simple and used to connect to the db, but I keep getting the error: Exception in thread main java.lang.NoClassDefFoundError: connect (wrong name: Connect) I'm trying to connect to mySQL using the mm.mysql-2.0.4-bin.jar jdbc driver, which I placed in the CLASSPATH. Here's the code: import java.sql.*; public class Connect { public static void main(String args[]) { Connection con = null; try { Class.forName(org.gjt.mm.mysql.Driver); System.out.println(JDBC driver loaded); con = DriverManager.getConnection(jdbc:mysql://localhost/ash ?user=ashahatapassword=ash123); System.out.println(Database connection established); } catch (ClassNotFoundException cnfe) { System.out.println(ClassNotFoundException: Could not locate driver); } catch (SQLException cnfe) { System.out.println(SQLException: +cnfe); } catch (Exception e) { System.out.println(An unknown error occurred while connecting to the database); } finally { try { if ( con != null ) con.close(); } catch(SQLException sqle) { System.out.println(Unable to close database connection.); } } } } === 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 __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.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://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 : urgent help please - error connecting to the db
Hi ashraf, U can try this code before : Driver driver = (Driver)Class.forName(driverClassName).newInstance(); DriverManager.registerDriver(driver); -Message d'origine- De : A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] De la part de Shahata, Ashraf Envoyé : jeudi 7 février 2002 18:33 À : [EMAIL PROTECTED] Objet : urgent help please - error connecting to the db I have the following code, which is quite simple and used to connect to the db, but I keep getting the error: Exception in thread main java.lang.NoClassDefFoundError: connect (wrong name: Connect) I'm trying to connect to mySQL using the mm.mysql-2.0.4-bin.jar jdbc driver, which I placed in the CLASSPATH. Here's the code: import java.sql.*; public class Connect { public static void main(String args[]) { Connection con = null; try { Class.forName(org.gjt.mm.mysql.Driver); System.out.println(JDBC driver loaded); con = DriverManager.getConnection(jdbc:mysql://localhost/ash ?user=ashahatapassword=ash123); System.out.println(Database connection established); } catch (ClassNotFoundException cnfe) { System.out.println(ClassNotFoundException: Could not locate driver); } catch (SQLException cnfe) { System.out.println(SQLException: +cnfe); } catch (Exception e) { System.out.println(An unknown error occurred while connecting to the database); } finally { try { if ( con != null ) con.close(); } catch(SQLException sqle) { System.out.println(Unable to close database connection.); } } } } === 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
urgent help please - error connecting to the db
I have the following code, which is quite simple and used to connect to the db, but I keep getting the error: Exception in thread main java.lang.NoClassDefFoundError: connect (wrong name: Connect) I'm trying to connect to mySQL using the mm.mysql-2.0.4-bin.jar jdbc driver, which I placed in the CLASSPATH. Here's the code: import java.sql.*; public class Connect { public static void main(String args[]) { Connection con = null; try { Class.forName(org.gjt.mm.mysql.Driver); System.out.println(JDBC driver loaded); con = DriverManager.getConnection(jdbc:mysql://localhost/ash ?user=ashahatapassword=ash123); System.out.println(Database connection established); } catch (ClassNotFoundException cnfe) { System.out.println(ClassNotFoundException: Could not locate driver); } catch (SQLException cnfe) { System.out.println(SQLException: +cnfe); } catch (Exception e) { System.out.println(An unknown error occurred while connecting to the database); } finally { try { if ( con != null ) con.close(); } catch(SQLException sqle) { System.out.println(Unable to close database connection.); } } } } === 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: urgent help please - error connecting to the db
just check your file name how u saved it as. - Original Message - From: Shahata, Ashraf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 08, 2002 12:03 AM Subject: urgent help please - error connecting to the db I have the following code, which is quite simple and used to connect to the db, but I keep getting the error: Exception in thread main java.lang.NoClassDefFoundError: connect (wrong name: Connect) I'm trying to connect to mySQL using the mm.mysql-2.0.4-bin.jar jdbc driver, which I placed in the CLASSPATH. Here's the code: import java.sql.*; public class Connect { public static void main(String args[]) { Connection con = null; try { Class.forName(org.gjt.mm.mysql.Driver); System.out.println(JDBC driver loaded); con = DriverManager.getConnection(jdbc:mysql://localhost/ash ?user=ashahatapassword=ash123); System.out.println(Database connection established); } catch (ClassNotFoundException cnfe) { System.out.println(ClassNotFoundException: Could not locate driver); } catch (SQLException cnfe) { System.out.println(SQLException: +cnfe); } catch (Exception e) { System.out.println(An unknown error occurred while connecting to the database); } finally { try { if ( con != null ) con.close(); } catch(SQLException sqle) { System.out.println(Unable to close database connection.); } } } } === 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: URGENT HELP WANTED RE: TOMCAT 3.2
Actually, the problem was not made up. It had to do with a date issue that is now resolved. Since Tomcat itself was displaying the symptom and failing to process its own index.jsp, I thought it reasonable to ask a bunch of people who were more experienced in using Tomcat when normal research was turning up nothing. I am also working with JSP and Servlets for my job. And in my job, we occasionally run into problems that look like they might be global. In this case it turned out to be in our code, but had the symptoms of either a virus or a Tomcat issue. If you have not run into these types of situations at your job, you are lucky. However, it is unwise to assume people are pulling your leg when they are asking for help. Someday, you may be the one faced with this type of problem and asking for help. How would a response like this one help you? And isn't that the point of this mailing list? That we all help each other? Margaret -Original Message- From: QAS LAILA [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 6:16 PM To: [EMAIL PROTECTED] Subject: Re: URGENT HELP WANTED RE: TOMCAT 3.2 I know that these messages which have been sent are just made up. For instance Urgent , abhi, etc I am logged on here because I am doing JSPs servlets which is my job. It is treating a person as if they are stupid. Can you please explain the messages. Regards, Zahid From: Margaret Fisk [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: URGENT HELP WANTED RE: TOMCAT 3.2 Date: Mon, 1 Oct 2001 12:07:43 -0700 Hi everyone, I'm running into a major problem and hoped someone had seen it before. Tomcat has suddenly stopped running this morning. It won't launch the index at http:\\localhost:8080\index.jsp or any other of my files. If I turn back the date on the computer, it works again, but other processes fail. I've checked the Jakarta Project site and there doesn't see to be a message that the version, 3.2 is expiring, but that's all I can think of. Please help, Thanks, Margaret -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 12:05 PM To: [EMAIL PROTECTED] Subject: Re: multiple delims... James, Check the JavaDocs again on the usage of StringTokenizer, it does have the ability to have multiple delimeters. You specify the delimiters in the 2nd argument of the constructor. The nextToken() method will return the token with or without the delimiting characters depending on the value of the returnDelims flag in the constructor. If you need to find the char position of the token, you could first copy the stringbuffer into a string variable and then do a String.indexOf() call to return the char position. Regards, Richard Yee At 02:06 PM 10/1/01 -0400, you wrote: I am trying to take a line of text from a StringBuffer object and pull out a chunk of text from it. I has investingated the StringTokenizer, but this sorts with only one delim. also, Tokenizer cannot return me the location #(on the line) of the tokens. only the amount of them. question... what can I use to return 2 delimeters, and the locations of both? essentially I want the characters between the two tokens. James McKain 800.473.3789 x2013 Contract Support Engineer lDePuy Orthopaedics, Inc. a Johnson Johnson Company === 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 _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp === 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
Re: URGENT HELP WANTED RE: TOMCAT 3.2
I would recommend using JRun instead. More robust. -Original Message- From: Margaret Fisk [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 12:08 PM To: [EMAIL PROTECTED] Subject: URGENT HELP WANTED RE: TOMCAT 3.2 Importance: High Hi everyone, I'm running into a major problem and hoped someone had seen it before. Tomcat has suddenly stopped running this morning. It won't launch the index at http:\\localhost:8080\index.jsp or any other of my files. If I turn back the date on the computer, it works again, but other processes fail. I've checked the Jakarta Project site and there doesn't see to be a message that the version, 3.2 is expiring, but that's all I can think of. Please help, Thanks, Margaret -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 12:05 PM To: [EMAIL PROTECTED] Subject: Re: multiple delims... James, Check the JavaDocs again on the usage of StringTokenizer, it does have the ability to have multiple delimeters. You specify the delimiters in the 2nd argument of the constructor. The nextToken() method will return the token with or without the delimiting characters depending on the value of the returnDelims flag in the constructor. If you need to find the char position of the token, you could first copy the stringbuffer into a string variable and then do a String.indexOf() call to return the char position. Regards, Richard Yee At 02:06 PM 10/1/01 -0400, you wrote: I am trying to take a line of text from a StringBuffer object and pull out a chunk of text from it. I has investingated the StringTokenizer, but this sorts with only one delim. also, Tokenizer cannot return me the location #(on the line) of the tokens. only the amount of them. question... what can I use to return 2 delimeters, and the locations of both? essentially I want the characters between the two tokens. James McKain 800.473.3789 x2013 Contract Support Engineer lDePuy Orthopaedics, Inc. a Johnson Johnson Company === 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
URGENT HELP WANTED RE: TOMCAT 3.2
Hi everyone, I'm running into a major problem and hoped someone had seen it before. Tomcat has suddenly stopped running this morning. It won't launch the index at http:\\localhost:8080\index.jsp or any other of my files. If I turn back the date on the computer, it works again, but other processes fail. I've checked the Jakarta Project site and there doesn't see to be a message that the version, 3.2 is expiring, but that's all I can think of. Please help, Thanks, Margaret -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 12:05 PM To: [EMAIL PROTECTED] Subject: Re: multiple delims... James, Check the JavaDocs again on the usage of StringTokenizer, it does have the ability to have multiple delimeters. You specify the delimiters in the 2nd argument of the constructor. The nextToken() method will return the token with or without the delimiting characters depending on the value of the returnDelims flag in the constructor. If you need to find the char position of the token, you could first copy the stringbuffer into a string variable and then do a String.indexOf() call to return the char position. Regards, Richard Yee At 02:06 PM 10/1/01 -0400, you wrote: I am trying to take a line of text from a StringBuffer object and pull out a chunk of text from it. I has investingated the StringTokenizer, but this sorts with only one delim. also, Tokenizer cannot return me the location #(on the line) of the tokens. only the amount of them. question... what can I use to return 2 delimeters, and the locations of both? essentially I want the characters between the two tokens. James McKain 800.473.3789 x2013 Contract Support Engineer lDePuy Orthopaedics, Inc. a Johnson Johnson Company === 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: URGENT HELP WANTED RE: TOMCAT 3.2
Hello Margaret, Although I have never had the problem myself. May I suggest that you first go to http://archives.java.sun.com/ from there you will be able to find the archives for servlets and JSP and chances are that some one has had the problem before and you will find an answer. I hope this helpful. Most Kindest Regards, From: Margaret Fisk [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: URGENT HELP WANTED RE: TOMCAT 3.2 Date: Mon, 1 Oct 2001 12:07:43 -0700 Hi everyone, I'm running into a major problem and hoped someone had seen it before. Tomcat has suddenly stopped running this morning. It won't launch the index at http:\\localhost:8080\index.jsp or any other of my files. If I turn back the date on the computer, it works again, but other processes fail. I've checked the Jakarta Project site and there doesn't see to be a message that the version, 3.2 is expiring, but that's all I can think of. Please help, Thanks, Margaret -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 12:05 PM To: [EMAIL PROTECTED] Subject: Re: multiple delims... James, Check the JavaDocs again on the usage of StringTokenizer, it does have the ability to have multiple delimeters. You specify the delimiters in the 2nd argument of the constructor. The nextToken() method will return the token with or without the delimiting characters depending on the value of the returnDelims flag in the constructor. If you need to find the char position of the token, you could first copy the stringbuffer into a string variable and then do a String.indexOf() call to return the char position. Regards, Richard Yee At 02:06 PM 10/1/01 -0400, you wrote: I am trying to take a line of text from a StringBuffer object and pull out a chunk of text from it. I has investingated the StringTokenizer, but this sorts with only one delim. also, Tokenizer cannot return me the location #(on the line) of the tokens. only the amount of them. question... what can I use to return 2 delimeters, and the locations of both? essentially I want the characters between the two tokens. James McKain 800.473.3789 x2013 Contract Support Engineer lDePuy Orthopaedics, Inc. a Johnson Johnson Company === 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 _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp === 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
urgent help
Hi There, I am trying to run a applet in internet explorer. In this applet i am instantiating a class which is extending JFrame but it is but it is not running and showing security exception. Though by appletviewer it is running. can anyone help me in this. thanks rana - Original Message - From: SriHari [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 2:36 PM Subject: encryption and decryption Hi There Can any One Point me to the information avaliable on net to encrypt and decrypt using java Actually i need two seperate methods forl encryption and decryption Cheers SriHari === 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: urgent help
Your browser doesnot support the jdk1.2 version that your applet uses. Have a nice day. With regards, Sachin S. Khanna http://www.emailanorder.com - Original Message - From: Surender Rana [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 29, 2000 2:51 PM Subject: urgent help Hi There, I am trying to run a applet in internet explorer. In this applet i am instantiating a class which is extending JFrame but it is but it is not running and showing security exception. Though by appletviewer it is running. can anyone help me in this. thanks rana - Original Message - From: SriHari [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 2:36 PM Subject: encryption and decryption Hi There Can any One Point me to the information avaliable on net to encrypt and decrypt using java Actually i need two seperate methods forl encryption and decryption Cheers SriHari === 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: urgent help
Two ways : a) Either add the java 2 plugin to your browser, then your applet should load, but this wouldn't be a universal solution as not all browsers that surfers use to browse your site would have that plugin. b) Try redesigning your applet with the jdk 1.1 version classes, don't think you will be able to use the swing classes in that case. Have a nice day. With regards, Sachin S. Khanna http://www.emailanorder.com - Original Message - From: Surender Rana [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 29, 2000 4:20 PM Subject: Re: urgent help so how should i make it to support that. thanks - Original Message - From: Sachin S. Khanna [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 3:40 PM Subject: Re: urgent help Your browser doesnot support the jdk1.2 version that your applet uses. Have a nice day. With regards, Sachin S. Khanna http://www.emailanorder.com - Original Message - From: Surender Rana [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 29, 2000 2:51 PM Subject: urgent help Hi There, I am trying to run a applet in internet explorer. In this applet i am instantiating a class which is extending JFrame but it is but it is not running and showing security exception. Though by appletviewer it is running. can anyone help me in this. thanks rana - Original Message - From: SriHari [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 2:36 PM Subject: encryption and decryption Hi There Can any One Point me to the information avaliable on net to encrypt and decrypt using java Actually i need two seperate methods forl encryption and decryption Cheers SriHari === 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 === 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
Urgent Help for Tomcat Newbie
Hi I installed Tomcat as a standalone Server an I also executed the examples. But I´ve Problems when I want to execute my own Test files, Java_Home lives at c:\jdk1.3.1 and I placed my File in Tomcat´s webapp directory. Do I need more configuration, and which tomcat jar files should be included in the CLASSPATH? Thanx in advance Othmar -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net GMX Tipp: Machen Sie Ihr Hobby zu Geld bei unserem Partner 11! http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a === 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: Urgent Help for Tomcat Newbie
The best way to learn is to read the Installation guide that ships with tom cat. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Othmar Stehlik Sent: 17 July 2001 10:56 To: [EMAIL PROTECTED] Subject: Urgent Help for Tomcat Newbie Hi I installed Tomcat as a standalone Server an I also executed the examples. But I´ve Problems when I want to execute my own Test files, Java_Home lives at c:\jdk1.3.1 and I placed my File in Tomcat´s webapp directory. Do I need more configuration, and which tomcat jar files should be included in the CLASSPATH? Thanx in advance Othmar -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net GMX Tipp: Machen Sie Ihr Hobby zu Geld bei unserem Partner 11! http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a === 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: Urgent help needed
I'm not sure if it is the same problem but... We use VA Java as a development IDE, and in the past we had a problem where a class that we exported from VA Java could not be loaded by any other JVM. After working with IBM we found that it is because VA Java had a bug and it was exporting a java class with invalid byte codes. The error we'd recieve when trying to load this class was very similar to what you are getting. I'd try writing a small test stub that uses the class loaded to load the class, and test on a couple of different JVM's. The class file that you have may be corrupt. If it fails to load in other JVM's as well, you'll have to contact the authors of the class and see what can be done. Hope this helps. Joseph Karau Kingland Systems [EMAIL PROTECTED] 507-536-3629 AIM: jkara3629 -Original Message- From: M Sankar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 11:16 PM To: [EMAIL PROTECTED] Subject: Urgent help needed Hi all, I am using Netscape Iplanet Web Server and JSP.I am trying out a cryptography module. Now my application is made and is working fine using Tomcat on a trial basis. But when I put these application on iPlanet, JSP Compiler is throwing an Classformat error. It is showing the message for a particular Java class which is used for cryptography. The specific message is Illegal constant pool type. Given below is the error message:: failure ( 4941): Internal error: exception thrown from the servlet service function (uri=/cryptix/intro.jsp): java.lang.ClassFormatError: DES (Illegal constant pool type), Stack: java.lang.ClassFormatError: DES (Illegal constant pool type) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass0(Compiled Code) at java.lang.ClassLoader.defineClass(Compiled Code) at java.security.SecureClassLoader.defineClass(Compiled Code) at java.net.URLClassLoader.defineClass(Compiled Code) at java.net.URLClassLoader.access$1(Compiled Code) at java.net.URLClassLoader$1.run(Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivileged(Compiled Code) at java.net.URLClassLoader.findClass(Compiled Code) at java.lang.ClassLoader.loadClass(Compiled Code) at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code) at java.lang.ClassLoader.loadClass(Compiled Code) at java.lang.ClassLoader.loadClassInternal(Compiled Code) at Profile.(Profile.java:86) at Profile.getInstance(Profile.java:65) at Logintry.createRequest(Compiled Code) at _jsps._cryptix._intro_jsp._jspService(_intro_jsp.java:91) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:826) at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav a:497) Any help on this would be great. Thanks Sankar === 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: Urgent help needed
Try decompiling the .class with jad and compiling the result with javac. PS: I use the ABA crypto library heavily with VAJ and have never once experienced this. Besides, ABA comes with source. At 7:47 AM -0500 06/06/2001, Karau, Joe wrote: I'm not sure if it is the same problem but... We use VA Java as a development IDE, and in the past we had a problem where a class that we exported from VA Java could not be loaded by any other JVM. After working with IBM we found that it is because VA Java had a bug and it was exporting a java class with invalid byte codes. The error we'd recieve when trying to load this class was very similar to what you are getting. I'd try writing a small test stub that uses the class loaded to load the class, and test on a couple of different JVM's. The class file that you have may be corrupt. If it fails to load in other JVM's as well, you'll have to contact the authors of the class and see what can be done. Hope this helps. Joseph Karau Kingland Systems [EMAIL PROTECTED] 507-536-3629 AIM: jkara3629 -Original Message- From: M Sankar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 11:16 PM To: [EMAIL PROTECTED] Subject: Urgent help needed Hi all, I am using Netscape Iplanet Web Server and JSP.I am trying out a cryptography module. Now my application is made and is working fine using Tomcat on a trial basis. But when I put these application on iPlanet, JSP Compiler is throwing an Classformat error. It is showing the message for a particular Java class which is used for cryptography. The specific message is Illegal constant pool type. Given below is the error message:: failure ( 4941): Internal error: exception thrown from the servlet service function (uri=/cryptix/intro.jsp): java.lang.ClassFormatError: DES (Illegal constant pool type), Stack: java.lang.ClassFormatError: DES (Illegal constant pool type) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass0(Compiled Code) at java.lang.ClassLoader.defineClass(Compiled Code) at java.security.SecureClassLoader.defineClass(Compiled Code) at java.net.URLClassLoader.defineClass(Compiled Code) at java.net.URLClassLoader.access$1(Compiled Code) at java.net.URLClassLoader$1.run(Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivileged(Compiled Code) at java.net.URLClassLoader.findClass(Compiled Code) at java.lang.ClassLoader.loadClass(Compiled Code) at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code) at java.lang.ClassLoader.loadClass(Compiled Code) at java.lang.ClassLoader.loadClassInternal(Compiled Code) at Profile.(Profile.java:86) at Profile.getInstance(Profile.java:65) at Logintry.createRequest(Compiled Code) at _jsps._cryptix._intro_jsp._jspService(_intro_jsp.java:91) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:826) at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav a:497) Any help on this would be great. Thanks Sankar === 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 -- --- For industrial age goods there were checks and credit cards. For everything else there is mybank.dom at http://virtualschool.edu/mybank Brad Cox, PhD; [EMAIL PROTECTED] 703 361 4751 === 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: 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: urgent help needed on checkbox property!!!!
I had to ask, what kinda of service does TCS offer? -Original Message- From: Agarwal, Shekhar (MED, TCS America) [mailto:[EMAIL PROTECTED]] 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
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
Re: urgent, help on sorting records in xml?
hi santosh, thanks for your reply. i use the following to sort my records. xsl:for-each select="favouritecars/item" order-by="car" by the way, is there anyway in XSLT that i can specify my how many records to return? sorry, but i am new to XSLT and XML, i notice that i can't add in a form tag(button or text) in the XSL document.so how do i go about to do this? i actually put response.setContentType("text/xml") in my jsp, so that an xml doc is output and transformed into html using xsl by IE itself, my question is, is the solution workable? or is there any other solutions out there? thanks and best regards, cedric A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] wrote: You can use XSL to sort XML nodes before processing Here's some sample code sort.xslt table border="1" xsl:for each select="servlet" xsl:sort select="servlet_name" data_type="text"/ tr td xsl:apply-templates /td /tr /table try this Santosh cedric sk chin [EMAIL PROTECTED] on 03/30/2001 10:23:20 AM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Santosh Daryani/IT/Aon Consulting) Subject: urgent, help on sorting records in xml? hi fellow developers, can anyone give me some ideas on how to sort records in xml? perhaps a sample code would do, i need this urgently, i'm using jdom as my back-end. appreciate if anyone could shed some light on this thanks for any help and suggestions. ced. for example in this xml file, how do i sort it by the servlet name: ?xml version="1.0" encoding="ISO-8859-1"? web-app servlet servlet-name snoop /servlet-name servlet-class SnoopServlet /servlet-class /servlet servlet servlet-name login /servlet-name servlet-class LoginServlet /servlet-class /servlet servlet servlet-name file /servlet-name servlet-class ViewFile /servlet-class /servlet /web-app __ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.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 __ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.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
urgent, help on sorting records in xml?
hi fellow developers, can anyone give me some ideas on how to sort records in xml? perhaps a sample code would do, i need this urgently, i'm using jdom as my back-end. appreciate if anyone could shed some light on this thanks for any help and suggestions. ced. for example in this xml file, how do i sort it by the servlet name: ?xml version="1.0" encoding="ISO-8859-1"? web-app servlet servlet-name snoop /servlet-name servlet-class SnoopServlet /servlet-class /servlet servlet servlet-name login /servlet-name servlet-class LoginServlet /servlet-class /servlet servlet servlet-name file /servlet-name servlet-class ViewFile /servlet-class /servlet /web-app __ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.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
Re: urgent, help on sorting records in xml?
You can use XSL to sort XML nodes before processing Here's some sample code sort.xslt table border="1" xsl:for each select="servlet" xsl:sort select="servlet_name" data_type="text"/ tr td xsl:apply-templates /td /tr /table try this Santosh cedric sk chin [EMAIL PROTECTED] on 03/30/2001 10:23:20 AM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Santosh Daryani/IT/Aon Consulting) Subject: urgent, help on sorting records in xml? hi fellow developers, can anyone give me some ideas on how to sort records in xml? perhaps a sample code would do, i need this urgently, i'm using jdom as my back-end. appreciate if anyone could shed some light on this thanks for any help and suggestions. ced. for example in this xml file, how do i sort it by the servlet name: ?xml version="1.0" encoding="ISO-8859-1"? web-app servlet servlet-name snoop /servlet-name servlet-class SnoopServlet /servlet-class /servlet servlet servlet-name login /servlet-name servlet-class LoginServlet /servlet-class /servlet servlet servlet-name file /servlet-name servlet-class ViewFile /servlet-class /servlet /web-app __ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.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: RV: URGENT HELP ME!!!!!
hi, you can use jdbc's CallableStatement class in which you can pass the stored procedures arguments Merrill christian hamann [EMAIL PROTECTED]@java.sun.com on 02/19/2001 04:13:27 AM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent by: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RV: URGENT HELP ME! Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: christian hamann [EMAIL PROTECTED] To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent: Sunday, February 18, 2001 5:24 PM Subject: RV: URGENT HELP ME! Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: christian hamann [EMAIL PROTECTED] To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent: Sunday, February 18, 2001 5:23 PM Subject: URGENT HELP ME! Hi All I have Problems... First i have to send an array since my servlet to my DB.. my dtabase is Oracle.. but i dont now how can one store procedure receive an array. Does anybody know about it?.. Could you give me some advices to solve this problem... can i use SQLJ?.. or another thing please thanks for all PDTA: PLEASE IS VERY URGENT .. PLEASE PLEASE Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: Sunil Kumar Roy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 15, 2000 3:01 PM Subject: Re: Too many webservers ...Apache/Tomcat/Inprise Apps Server === 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: RV: URGENT HELP ME!!!!!
Hi thanks for answering.. But How can send my array parameter in java to my store procedure... atte Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: Merrill George [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 19, 2001 3:26 AM Subject: Re: RV: URGENT HELP ME! hi, you can use jdbc's CallableStatement class in which you can pass the stored procedures arguments Merrill christian hamann [EMAIL PROTECTED]@java.sun.com on 02/19/2001 04:13:27 AM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent by: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RV: URGENT HELP ME! Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: christian hamann [EMAIL PROTECTED] To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent: Sunday, February 18, 2001 5:24 PM Subject: RV: URGENT HELP ME! Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: christian hamann [EMAIL PROTECTED] To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent: Sunday, February 18, 2001 5:23 PM Subject: URGENT HELP ME! Hi All I have Problems... First i have to send an array since my servlet to my DB.. my dtabase is Oracle.. but i dont now how can one store procedure receive an array. Does anybody know about it?.. Could you give me some advices to solve this problem... can i use SQLJ?.. or another thing please thanks for all PDTA: PLEASE IS VERY URGENT .. PLEASE PLEASE Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: Sunil Kumar Roy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 15, 2000 3:01 PM Subject: Re: Too many webservers ...Apache/Tomcat/Inprise Apps Server === 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: RV: URGENT HELP ME!!!!!
hi, why not call the statement in a loop until your array is complete. in that case the arg of the the procedure may not be a array, vector or any other sort of list !! may be just a primitive type or any other object Merrill christian hamann [EMAIL PROTECTED]@java.sun.com on 02/19/2001 10:17:52 PM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent by: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: RV: URGENT HELP ME! Hi thanks for answering.. But How can send my array parameter in java to my store procedure... atte Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: Merrill George [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 19, 2001 3:26 AM Subject: Re: RV: URGENT HELP ME! hi, you can use jdbc's CallableStatement class in which you can pass the stored procedures arguments Merrill christian hamann [EMAIL PROTECTED]@java.sun.com on 02/19/2001 04:13:27 AM Please respond to A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent by: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RV: URGENT HELP ME! Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: christian hamann [EMAIL PROTECTED] To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent: Sunday, February 18, 2001 5:24 PM Subject: RV: URGENT HELP ME! Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: christian hamann [EMAIL PROTECTED] To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent: Sunday, February 18, 2001 5:23 PM Subject: URGENT HELP ME! Hi All I have Problems... First i have to send an array since my servlet to my DB.. my dtabase is Oracle.. but i dont now how can one store procedure receive an array. Does anybody know about it?.. Could you give me some advices to solve this problem... can i use SQLJ?.. or another thing please thanks for all PDTA: PLEASE IS VERY URGENT .. PLEASE PLEASE Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: Sunil Kumar Roy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 15, 2000 3:01 PM Subject: Re: Too many webservers ...Apache/Tomcat/Inprise Apps Server === 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 === 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
URGENT HELP ME!!!!!
Hi All I have Problems... First i have to send an array since my servlet to my DB.. my dtabase is Oracle.. but i dont now how can one store procedure receive an array. Does anybody know about it?.. Could you give me some advices to solve this problem... can i use SQLJ?.. or another thing please thanks for all PDTA: PLEASE IS VERY URGENT .. PLEASE PLEASE Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: Sunil Kumar Roy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 15, 2000 3:01 PM Subject: Re: Too many webservers ...Apache/Tomcat/Inprise Apps Server === 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
RV: URGENT HELP ME!!!!!
Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: christian hamann [EMAIL PROTECTED] To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent: Sunday, February 18, 2001 5:23 PM Subject: URGENT HELP ME! Hi All I have Problems... First i have to send an array since my servlet to my DB.. my dtabase is Oracle.. but i dont now how can one store procedure receive an array. Does anybody know about it?.. Could you give me some advices to solve this problem... can i use SQLJ?.. or another thing please thanks for all PDTA: PLEASE IS VERY URGENT .. PLEASE PLEASE Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: Sunil Kumar Roy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 15, 2000 3:01 PM Subject: Re: Too many webservers ...Apache/Tomcat/Inprise Apps Server === 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
RV: URGENT HELP ME!!!!!
Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: christian hamann [EMAIL PROTECTED] To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent: Sunday, February 18, 2001 5:24 PM Subject: RV: URGENT HELP ME! Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: christian hamann [EMAIL PROTECTED] To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] Sent: Sunday, February 18, 2001 5:23 PM Subject: URGENT HELP ME! Hi All I have Problems... First i have to send an array since my servlet to my DB.. my dtabase is Oracle.. but i dont now how can one store procedure receive an array. Does anybody know about it?.. Could you give me some advices to solve this problem... can i use SQLJ?.. or another thing please thanks for all PDTA: PLEASE IS VERY URGENT .. PLEASE PLEASE Christian Hamann Linares Area de Desarrollo de Aplicaciones FICS-DATA USMP e-mail: [EMAIL PROTECTED] - Original Message - From: Sunil Kumar Roy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 15, 2000 3:01 PM Subject: Re: Too many webservers ...Apache/Tomcat/Inprise Apps Server === 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
VERY URGENT !!! HELP !!! Is editable combo possible in html/jsp,i f yes how?
Is editable combo possible in html/jsp,if yes how? === 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
Urgent Help: Accepting German characters
Hi everyone, I have a slight problem which some one of would have solved before. I am accepting some text in a html form. The form posts to a servlet that takes the values using request.getParameter("textfieldname"). Now, when the user types characters like auml; (umlauts), the character gets changed to symbols like "%" (division sign). This causes some problems when I compare it in a select statement like select * from offer where state = 'value entered by user'; Is it possible to take the values as are entered by the user, store it in the same form without using the uml; symbols. Thanks Nagaraj. === 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
Java Mail Urgent help...
Hi all! I need some help to get mail with javamail and use these information on a class. If somebody has any simple example to get pop mail please send me. Thank all u, Marcelo === 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
properties file for JSP(Urgent help reqd)
Hi All To invoke a servlet from jsp , I need to give url as /WebappPath/servlet/package name.servlet name in WebSphere app server. This WebAppPath ,I dont want to hard code in my JSPs. So I am thinking to read this WebAppPath from a property file of JSP to avoid hard coding in JSP. How to do that, pl. guide me.(If possible , particular to WebSphere/Visual age). If any other solution possible apart from property file , pl. let me know. Thanx in advance. *** * Ashutosh Kumar * HCL Perot Systems Ltd. * B-26, Sector-57 * Noida-201301. U.P. * India. * Phone: +91-11-8-4581236/37/38/39/40 * Fax: +91-11-8-4581235 * email: [EMAIL PROTECTED] *** === 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: properties file for JSP(Urgent help reqd)
"Kumar, Ashutosh(sdc)" wrote: Hi All To invoke a servlet from jsp , I need to give url as /WebappPath/servlet/package name.servlet name in WebSphere app server. This WebAppPath ,I dont want to hard code in my JSPs. So I am thinking to read this WebAppPath from a property file of JSP to avoid hard coding in JSP. How to do that, pl. guide me.(If possible , particular to WebSphere/Visual age). If any other solution possible apart from property file , pl. let me know. Standard configuration for JSPs and servlets is WEB-INF/web.xml file. There, you can put all your configuration data and inside a servlet (JSP too as at the end it's a servlet), you are only required to call HttpServlet.getInitParameter(String name) to receive a value of a parameter. It's simple and *portable* across 2.2 compilant servlet engines. servlet servlet-name='myJSPpage' jsp-file='/myfirst.jsp' init-param param1='value1'/ init-param param2='value2'/ /servlet Take a look at the servlet container's documentation. * Ashutosh Kumar Jacek Laskowski === 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
urgent Help on UPLOAD a file
Hi all guru ...i've one problem which is bugging me since last two days.I NEED URGENT HELP from all of u ...the problem is like this: ...creating a web-based application in which one of the functionality is to UPLOAD a file (in my case it will be .xls file)from the client's machine. Now requirement is that if you select a file to upload THEN IF THAT FILE is opened at the client's system at that time then it SHOULD NOT UPLOAD the file and give some Message to the User.It is to prevent that the user could be editing the file at that time and without saving he can go for uploading(this is to prevent as application requires this)...so we will prevent the UPLOAD if that file is opened at that time.(if you have used www.driveway.com then you would hv found that they allow the UPLOAD taking the old ie last updated file...this thing we want to prevent) HOW TO GO ABOUT IT ?..I'm using Java, Servlet etc. one thing i feel that i need to check the Task Manager before uploading BUT still here atmost we can check is whether that application(MS-Excel for ex) is running and can't check which file... HELP Please...if u have anything to say on this problem u can send at [EMAIL PROTECTED] also thanx and regards, Rajesh __ Do You Yahoo!? Yahoo! Mail Free email you can access from anywhere! http://mail.yahoo.com/ === 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: urgent Help on UPLOAD a file
IMHO the only real solution for this is smarter or better trained users - maybe put a warning next to the browse button, or popup a javascript prompt when they click the button, like confirm("Hey, are you sure you saved your most recent changes?"). As for a hack, if you are on an intranet using client-side vbscript/ActiveX on Windows, (I really don't know if this is possible), maybe you could try to rename or move the file and see if Windows complains about a sharing conflict. If it does then you know its still open. Of course, if something goes wrong your users will be really pissed off that they can't find their local files anymore. -Original Message- From: Rajesh Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 22, 2000 1:52 PM To: [EMAIL PROTECTED] Subject: urgent Help on UPLOAD a file Hi all guru ...i've one problem which is bugging me since last two days.I NEED URGENT HELP from all of u ...the problem is like this: ...creating a web-based application in which one of the functionality is to UPLOAD a file (in my case it will be .xls file)from the client's machine. Now requirement is that if you select a file to upload THEN IF THAT FILE is opened at the client's system at that time then it SHOULD NOT UPLOAD the file and give some Message to the User.It is to prevent that the user could be editing the file at that time and without saving he can go for uploading(this is to prevent as application requires this)...so we will prevent the UPLOAD if that file is opened at that time.(if you have used www.driveway.com then you would hv found that they allow the UPLOAD taking the old ie last updated file...this thing we want to prevent) HOW TO GO ABOUT IT ?..I'm using Java, Servlet etc. one thing i feel that i need to check the Task Manager before uploading BUT still here atmost we can check is whether that application(MS-Excel for ex) is running and can't check which file... HELP Please...if u have anything to say on this problem u can send at [EMAIL PROTECTED] also thanx and regards, Rajesh __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ === 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: urgent Help on UPLOAD a file
Hi Rajesh. Try the following 1. For intracting with the client (node) :- Try using java web start . it allows u to interact with the client(node) or may be signed applets. 2. use boolean java.io.File.canWrite() method to see if u can write to file. if u r sucessful in writing to the file (i.e the method returns true) that means that the file is not in use with any other program or if the method returns false that means that the file is not writeble due to some reason (Most probably coz it may be already in use). I hope that 2 will solve ur problem Cheers Tripat - Original Message - From: Rajesh Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 22, 2000 5:22 PM Subject: urgent Help on UPLOAD a file Hi all guru ..i've one problem which is bugging me since last two days.I NEED URGENT HELP from all of u ..the problem is like this: ..creating a web-based application in which one of the functionality is to UPLOAD a file (in my case it will be .xls file)from the client's machine. Now requirement is that if you select a file to upload THEN IF THAT FILE is opened at the client's system at that time then it SHOULD NOT UPLOAD the file and give some Message to the User.It is to prevent that the user could be editing the file at that time and without saving he can go for uploading(this is to prevent as application requires this)...so we will prevent the UPLOAD if that file is opened at that time.(if you have used www.driveway.com then you would hv found that they allow the UPLOAD taking the old ie last updated file...this thing we want to prevent) HOW TO GO ABOUT IT ?..I'm using Java, Servlet etc. one thing i feel that i need to check the Task Manager before uploading BUT still here atmost we can check is whether that application(MS-Excel for ex) is running and can't check which file... HELP Please...if u have anything to say on this problem u can send at [EMAIL PROTECTED] also thanx and regards, Rajesh __ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ === 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
need urgent Help
Hi everybody ...i'm sorry but i've one query which is not relevant here BUT need ur help: it's regarding creating an Administration-module for some item (like Contest etc) for a web site thru which the team which will maintain the site will be able to change the contest , for example, and do other things. ...can anybody please suggest something on how to go about it? ...need one clarification on TCL/TK what i know is that using tcl/tk i can create Templates...and using these templates contents could be put to the web-siteWILL IT BE OF SOME HELP IN creating above-mentioned Admin.-module? ..need urgent help Thanx and regards, Rajesh __ Do You Yahoo!? Send instant messages get email alerts with Yahoo! Messenger. http://im.yahoo.com/ === 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: Need and urgent help if possible
Hi fellows, I am developing a client Server Application(Chat client). The problem is : i am using Text Area in Applet for displaying chating. Now i want to display different lines of text with different colors and fonts. i am using only AWT classes. Can anyone help me in displaying different lines of text with different colors in TEXT AREA using AWT. Anyones help will be highly appreciated. Thanx in advance. Hamid Hassan === 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: Need and urgent help if possible
Hamid, I'm afraid you're out of luck. What you ask is difficult in Swing and impossible using AWT components. Gary -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of hamid Sent: Tuesday, August 15, 2000 1:23 AM To: [EMAIL PROTECTED] Subject: Re: Need and urgent help if possible Hi fellows, I am developing a client Server Application(Chat client). The problem is : i am using Text Area in Applet for displaying chating. Now i want to display different lines of text with different colors and fonts. i am using only AWT classes. Can anyone help me in displaying different lines of text with different colors in TEXT AREA using AWT. Anyones help will be highly appreciated. Thanx in advance. Hamid Hassan === 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: Need and urgent help if possible
Hamid, You can do this but it a little painful. Use textArea.getGraphics() to get the Graphics and instead of doing a setText() use g.drawString(). With the Graphics object at your disposal you can change font properties. hope this helps. R -Original Message- From: Gary Fidler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 15, 2000 7:30 AM To: [EMAIL PROTECTED] Subject: Re: Need and urgent help if possible Hamid, I'm afraid you're out of luck. What you ask is difficult in Swing and impossible using AWT components. Gary -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of hamid Sent: Tuesday, August 15, 2000 1:23 AM To: [EMAIL PROTECTED] Subject: Re: Need and urgent help if possible Hi fellows, I am developing a client Server Application(Chat client). The problem is : i am using Text Area in Applet for displaying chating. Now i want to display different lines of text with different colors and fonts. i am using only AWT classes. Can anyone help me in displaying different lines of text with different colors in TEXT AREA using AWT. Anyones help will be highly appreciated. Thanx in advance. Hamid Hassan === 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 === 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
Urgent help reqd: applet/servlet , html/applet
Hi all i want to establish a applet servlet communication my applet is supposed to get some data from servlet and there can be many instances of my servlet running at server at a point of time so how would my applet come to know which instance to talk to as each instance will be processing some different data and if there is any way to specify the instance then what is that ? and the second problem is how to communicate between html/java script and my applet at run time that is at a click of a button i want to send some data from my html to a applet . Is it possible Kindly Help Its urgent thanks Deepak __ Do You Yahoo!? Yahoo! Mail Free email you can access from anywhere! http://mail.yahoo.com/ === 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
Urgent help on XML
Hi, Please suggest an XMLParser/DOM Implementation that allows me to do the following: * Initialize the DOM using a string that contains a valid XML Document hierarchy (via probably org.xml.sax.InputSource) * Extract a section of the tree hierarchy that meets a specified criteria viz. a given tagName, or has a given Attribute with a given value etc. Thanx George Varghese === 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: Urgent help on XML
Following link may help you ... http://java.sun.com/xml/docs/tutorial/dom/index.html With regards, Atchutarao Killamsetty, http://karao.tripod.com/myjava.html -Original Message- From: George Varghese [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Saturday, July 29, 2000 10:42 PM Subject: Urgent help on XML Hi, Please suggest an XMLParser/DOM Implementation that allows me to do the following: * Initialize the DOM using a string that contains a valid XML Document hierarchy (via probably org.xml.sax.InputSource) * Extract a section of the tree hierarchy that meets a specified criteria viz. a given tagName, or has a given Attribute with a given value etc. Thanx George Varghese === 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: Urgent help needed
I'm still running into this same problem. However I noticed that if I hit the test.jsp first, then hit the servlet, it worked. Has anyone ran into this problem using Java Web Server 2.0, and servlet 2.1? TIA, Kachana --- Vasudha Deepak [EMAIL PROTECTED] wrote: Hi, Check the version of servlet.jar.Probably it needs the new one ie servlet.jar version2.2 Also verify your classpath. If you have the new verison,may be it is referring to the old one somewhere. Vasudha - Original Message - From: Kachana Ung [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 21, 2000 10:18 AM Subject: Urgent help needed Hi, I tried unsuccessfully to write a servlet that simply forwards the request to another jsp page (test.jsp) to be proccessed. The test.jsp is a simple PURE html page that just prints something. Here's the code: = package workflow.servlet; import javax.servlet.*; import javax.servlet.http.*; public class TestServlet extends HttpServlet{ public void service (HttpServletRequest req, HttpServletResponse res) throws ServletException, java.io.IOException{ RequestDispatcher rd = getServletContext().getRequestDispatcher("/workflow/test.jsp"); rd.forward(req, res); } } === I kept getting the following error message: --- 500 Internal Server Error The servlet named Test at the requested URL http://sabrejspServlet reported this exception: java.lang.NullPointerException. Please report this to the administrator of the web server. java.lang.NullPointerException at com.sun.server.http.pagecompile.GenericPageCompileServlet.loadClass(GenericP ageCompileServlet.java:517) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.compileAndLoadServlet (JspServlet.java:274) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspSer vlet.java:254) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.ja va:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:202) at com.sun.server.http.HttpRequestDispatcherImpl.forward(HttpRequestDispatcherI mpl.java:249) at com.thevegroup.client.service.workflow.servlet.TestServlet.service(TestServl et.java:21) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.ServletManager.callServletService(ServletManager.java:936) at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423) at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79) at com.sun.server.http.stages.Runner.process(Runner.java:79) at com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294) at com.sun.server.Service.process(Service.java:204) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java :374) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java :166) at com.sun.server.HandlerThread.run(HandlerThread.java:162) --- However when I rewrote the servlet to forward the request to an html page (test.jsp above saved as test.html), the message is displayed correctly. Please, help. I'm using NT, jws 2.0, and servlets 2.1. Thanks, Kachana __ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ === 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 __ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/ === 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.
Re: need urgent help about session handling!
hai... abhay... i want onething... ie.. i want to achive session in jsp... ie.. i want to create the session object... by using that want to get value from someother jsp.. otherwise tell how to use set and getAttribute... send the sample program... reply soon at [EMAIL PROTECTED] --- Abhay Bhatnagar [EMAIL PROTECTED] wrote: use getAttribute() setAttribute() -Original Message- From: rahul jadhav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 19, 2000 8:19 PM To: [EMAIL PROTECTED] Subject: need urgent help about session handling! hi friends, when session timeouts we redirect it to login page. we check it as //if(session.getValue("login")==null) then redirect it. It works fine in netscape but not in IE even it works fine on intranet but not on internet in ie. we are using iplanet server. On the same page where value is put in session, it returns proper value in ie also but on other pages it returns null for ie5.0. we are putting values as //session.putValue now by urlrewriting it can be solved. but how to solve it without using urlrewriting?(as at this stage it's to difficult to change all files) has anybody else also faced this problem? how to solve it? please help me.it's urgent. thanking you all, Rahul. Get free email and a permanent address at http://www.netaddress.com/?N=1 === 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 __ Do You Yahoo!? Get Yahoo! Mail Free email you can access from anywhere! http://mail.yahoo.com/ === 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: need urgent help about session handling!
hi ... aray... session object is implicit object available in your jsp pages. so all you have to do is to put your value is it using session.putValue(String , Object) and then on the page where you need this value retrive it using session.getValue(String). Khush raho Yasir - Original Message - From: Suriya Narayanan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 21, 2000 11:26 AM Subject: Re: need urgent help about session handling! hai... abhay... i want onething... ie.. i want to achive session in jsp... ie.. i want to create the session object... by using that want to get value from someother jsp.. otherwise tell how to use set and getAttribute... send the sample program... reply soon at [EMAIL PROTECTED] --- Abhay Bhatnagar [EMAIL PROTECTED] wrote: use getAttribute() setAttribute() -Original Message- From: rahul jadhav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 19, 2000 8:19 PM To: [EMAIL PROTECTED] Subject: need urgent help about session handling! hi friends, when session timeouts we redirect it to login page. we check it as file://if(session.getValue("login")==null) then redirect it. It works fine in netscape but not in IE even it works fine on intranet but not on internet in ie. we are using iplanet server. On the same page where value is put in session, it returns proper value in ie also but on other pages it returns null for ie5.0. we are putting values as file://session.putValue now by urlrewriting it can be solved. but how to solve it without using urlrewriting?(as at this stage it's to difficult to change all files) has anybody else also faced this problem? how to solve it? please help me.it's urgent. thanking you all, Rahul. Get free email and a permanent address at http://www.netaddress.com/?N=1 === 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 __ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ === 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
Urgent help needed
Hi, I tried unsuccessfully to write a servlet that simply forwards the request to another jsp page (test.jsp) to be proccessed. The test.jsp is a simple PURE html page that just prints something. Here's the code: = package workflow.servlet; import javax.servlet.*; import javax.servlet.http.*; public class TestServlet extends HttpServlet{ public void service (HttpServletRequest req, HttpServletResponse res) throws ServletException, java.io.IOException{ RequestDispatcher rd = getServletContext().getRequestDispatcher("/workflow/test.jsp"); rd.forward(req, res); } } === I kept getting the following error message: --- 500 Internal Server Error The servlet named Test at the requested URL http://sabrejspServlet reported this exception: java.lang.NullPointerException. Please report this to the administrator of the web server. java.lang.NullPointerException at com.sun.server.http.pagecompile.GenericPageCompileServlet.loadClass(GenericPageCompileServlet.java:517) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.compileAndLoadServlet(JspServlet.java:274) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspServlet.java:254) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:202) at com.sun.server.http.HttpRequestDispatcherImpl.forward(HttpRequestDispatcherImpl.java:249) at com.thevegroup.client.service.workflow.servlet.TestServlet.service(TestServlet.java:21) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.ServletManager.callServletService(ServletManager.java:936) at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423) at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79) at com.sun.server.http.stages.Runner.process(Runner.java:79) at com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294) at com.sun.server.Service.process(Service.java:204) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:166) at com.sun.server.HandlerThread.run(HandlerThread.java:162) --- However when I rewrote the servlet to forward the request to an html page (test.jsp above saved as test.html), the message is displayed correctly. Please, help. I'm using NT, jws 2.0, and servlets 2.1. Thanks, Kachana __ Do You Yahoo!? Get Yahoo! Mail Free email you can access from anywhere! http://mail.yahoo.com/ === 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: Urgent help needed
There may be a problem in your JSP. Tag not ended properly, etc. -Original Message- From: Kachana Ung [mailto:[EMAIL PROTECTED]] Sent: Friday, July 21, 2000 9:19 AM To: [EMAIL PROTECTED] Subject: Urgent help needed Hi, I tried unsuccessfully to write a servlet that simply forwards the request to another jsp page (test.jsp) to be proccessed. The test.jsp is a simple PURE html page that just prints something. Here's the code: = package workflow.servlet; import javax.servlet.*; import javax.servlet.http.*; public class TestServlet extends HttpServlet{ public void service (HttpServletRequest req, HttpServletResponse res) throws ServletException, java.io.IOException{ RequestDispatcher rd = getServletContext().getRequestDispatcher("/workflow/test.jsp"); rd.forward(req, res); } } === I kept getting the following error message: --- 500 Internal Server Error The servlet named Test at the requested URL http://sabrejspServlet reported this exception: java.lang.NullPointerException. Please report this to the administrator of the web server. java.lang.NullPointerException at com.sun.server.http.pagecompile.GenericPageCompileServlet.loadClass(GenericP ageCompileServlet.java:517) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.compileAndLoadServlet (JspServlet.java:274) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspSer vlet.java:254) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.ja va:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:202) at com.sun.server.http.HttpRequestDispatcherImpl.forward(HttpRequestDispatcherI mpl.java:249) at com.thevegroup.client.service.workflow.servlet.TestServlet.service(TestServl et.java:21) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.ServletManager.callServletService(ServletManager.java:936) at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423) at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79) at com.sun.server.http.stages.Runner.process(Runner.java:79) at com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294) at com.sun.server.Service.process(Service.java:204) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java :374) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java :166) at com.sun.server.HandlerThread.run(HandlerThread.java:162) --- However when I rewrote the servlet to forward the request to an html page (test.jsp above saved as test.html), the message is displayed correctly. Please, help. I'm using NT, jws 2.0, and servlets 2.1. Thanks, Kachana __ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ === 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: Urgent help needed
Aparna, When I directly hit the jsp page, it worked fine. Thanks, Kachana --- "Joshi, Aparna" [EMAIL PROTECTED] wrote: There may be a problem in your JSP. Tag not ended properly, etc. -Original Message- From: Kachana Ung [mailto:[EMAIL PROTECTED]] Sent: Friday, July 21, 2000 9:19 AM To: [EMAIL PROTECTED] Subject: Urgent help needed Hi, I tried unsuccessfully to write a servlet that simply forwards the request to another jsp page (test.jsp) to be proccessed. The test.jsp is a simple PURE html page that just prints something. Here's the code: = package workflow.servlet; import javax.servlet.*; import javax.servlet.http.*; public class TestServlet extends HttpServlet{ public void service (HttpServletRequest req, HttpServletResponse res) throws ServletException, java.io.IOException{ RequestDispatcher rd = getServletContext().getRequestDispatcher("/workflow/test.jsp"); rd.forward(req, res); } } === I kept getting the following error message: --- 500 Internal Server Error The servlet named Test at the requested URL http://sabrejspServlet reported this exception: java.lang.NullPointerException. Please report this to the administrator of the web server. java.lang.NullPointerException at com.sun.server.http.pagecompile.GenericPageCompileServlet.loadClass(GenericP ageCompileServlet.java:517) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.compileAndLoadServlet (JspServlet.java:274) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspSer vlet.java:254) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.ja va:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:202) at com.sun.server.http.HttpRequestDispatcherImpl.forward(HttpRequestDispatcherI mpl.java:249) at com.thevegroup.client.service.workflow.servlet.TestServlet.service(TestServl et.java:21) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.ServletManager.callServletService(ServletManager.java:936) at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423) at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79) at com.sun.server.http.stages.Runner.process(Runner.java:79) at com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294) at com.sun.server.Service.process(Service.java:204) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java :374) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java :166) at com.sun.server.HandlerThread.run(HandlerThread.java:162) --- However when I rewrote the servlet to forward the request to an html page (test.jsp above saved as test.html), the message is displayed correctly. Please, help. I'm using NT, jws 2.0, and servlets 2.1. Thanks, Kachana __ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ === 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 __ Do You Yahoo!? Get Yahoo! Mail Free email you can access from anywhere! http://mail.yahoo.com/ === 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: Urgent help needed
Hi, Check the version of servlet.jar.Probably it needs the new one ie servlet.jar version2.2 Also verify your classpath. If you have the new verison,may be it is referring to the old one somewhere. Vasudha - Original Message - From: Kachana Ung [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 21, 2000 10:18 AM Subject: Urgent help needed Hi, I tried unsuccessfully to write a servlet that simply forwards the request to another jsp page (test.jsp) to be proccessed. The test.jsp is a simple PURE html page that just prints something. Here's the code: = package workflow.servlet; import javax.servlet.*; import javax.servlet.http.*; public class TestServlet extends HttpServlet{ public void service (HttpServletRequest req, HttpServletResponse res) throws ServletException, java.io.IOException{ RequestDispatcher rd = getServletContext().getRequestDispatcher("/workflow/test.jsp"); rd.forward(req, res); } } === I kept getting the following error message: --- 500 Internal Server Error The servlet named Test at the requested URL http://sabrejspServlet reported this exception: java.lang.NullPointerException. Please report this to the administrator of the web server. java.lang.NullPointerException at com.sun.server.http.pagecompile.GenericPageCompileServlet.loadClass(GenericP ageCompileServlet.java:517) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.compileAndLoadServlet (JspServlet.java:274) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspSer vlet.java:254) at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.ja va:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:202) at com.sun.server.http.HttpRequestDispatcherImpl.forward(HttpRequestDispatcherI mpl.java:249) at com.thevegroup.client.service.workflow.servlet.TestServlet.service(TestServl et.java:21) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.ServletManager.callServletService(ServletManager.java:936) at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423) at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79) at com.sun.server.http.stages.Runner.process(Runner.java:79) at com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294) at com.sun.server.Service.process(Service.java:204) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java :374) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java :166) at com.sun.server.HandlerThread.run(HandlerThread.java:162) --- However when I rewrote the servlet to forward the request to an html page (test.jsp above saved as test.html), the message is displayed correctly. Please, help. I'm using NT, jws 2.0, and servlets 2.1. Thanks, Kachana __ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ === 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
need urgent help about session handling!
hi friends, when session timeouts we redirect it to login page. we check it as //if(session.getValue("login")==null) then redirect it. It works fine in netscape but not in IE even it works fine on intranet but not on internet in ie. we are using iplanet server. On the same page where value is put in session, it returns proper value in ie also but on other pages it returns null for ie5.0. we are putting values as //session.putValue now by urlrewriting it can be solved. but how to solve it without using urlrewriting?(as at this stage it's to difficult to change all files) has anybody else also faced this problem? how to solve it? please help me.it's urgent. thanking you all, Rahul. Get free email and a permanent address at http://www.netaddress.com/?N=1 === 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: need urgent help about session handling!
now by urlrewriting it can be solved. but how to solve it without using urlrewriting?(as at this stage Sounds to me like you have cookies turned off in IE. --- Matt Lyons Trifast Systems Ltd === 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: need urgent help about session handling!
Recommended: add a Javascript library to the HTML that detects for "cookies disabled" condition and WARN the darn user that his life is going to be miserable unless cookies are enabled. Also provide a HelpCookies.html form to show him how to do it ! -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Lyons Sent: Wednesday, July 19, 2000 7:36 AM To: [EMAIL PROTECTED] Subject: Re: need urgent help about session handling! now by urlrewriting it can be solved. but how to solve it without using urlrewriting?(as at this stage Sounds to me like you have cookies turned off in IE. --- Matt Lyons Trifast Systems Ltd == = 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: [Re: need urgent help about session handling!]
hi, thanks for your kind help. but the thing is i had tried that option also. but it didn't work. is this the problem of iplanet to return null values of session in ie even after cookies enabled?is there any other way? thanks again. rahul. Abhay Bhatnagar [EMAIL PROTECTED] wrote: use getAttribute() setAttribute() -Original Message- From: rahul jadhav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 19, 2000 8:19 PM To: [EMAIL PROTECTED] Subject: need urgent help about session handling! hi friends, when session timeouts we redirect it to login page. we check it as //if(session.getValue("login")==null) then redirect it. It works fine in netscape but not in IE even it works fine on intranet but not on internet in ie. we are using iplanet server. On the same page where value is put in session, it returns proper value in ie also but on other pages it returns null for ie5.0. we are putting values as //session.putValue now by urlrewriting it can be solved. but how to solve it without using urlrewriting?(as at this stage it's to difficult to change all files) has anybody else also faced this problem? how to solve it? please help me.it's urgent. thanking you all, Rahul. Get free email and a permanent address at http://www.netaddress.com/?N=1 === 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 Get free email and a permanent address at http://www.netaddress.com/?N=1 === 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: need urgent help about session handling!
use getAttribute() setAttribute() -Original Message- From: rahul jadhav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 19, 2000 8:19 PM To: [EMAIL PROTECTED] Subject: need urgent help about session handling! hi friends, when session timeouts we redirect it to login page. we check it as //if(session.getValue("login")==null) then redirect it. It works fine in netscape but not in IE even it works fine on intranet but not on internet in ie. we are using iplanet server. On the same page where value is put in session, it returns proper value in ie also but on other pages it returns null for ie5.0. we are putting values as //session.putValue now by urlrewriting it can be solved. but how to solve it without using urlrewriting?(as at this stage it's to difficult to change all files) has anybody else also faced this problem? how to solve it? please help me.it's urgent. thanking you all, Rahul. Get free email and a permanent address at http://www.netaddress.com/?N=1 === 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
Urgent HELP!!!
Hi, I'm using Java Web Server but when I try to execute my JSP following errors occured : D:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_alps\_Hello.java:22: '}' expected. static char[][] _jspx_html_data = null; ^ D:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_alps\_Hello.java:20: Public class pagecompile.jsp._alps._hello must be defined in a file called "_hello.java". public class _hello extends HttpJspBase { ^ Any ideas? Tarun Dewan Software Engineer Nucleus Software Exports Ltd. 33-35, Thyagraj Nagar Market, New Delhi - 110003. Tel.: 4627552 Ext. 342 E-Mail : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] === 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: Urgent HELP!!!
Hi, Java is case-sensitive. Have have to - either name your source-file "_Hello.java" AND your Class "_Hello" - or name your source-file "_hello.java" AND your Class "_hello" Greetings Peter -Ursprüngliche Nachricht- Von: Tarun Dewan [mailto:[EMAIL PROTECTED]] Gesendet am: Dienstag, 6. Juni 2000 11:30 An: [EMAIL PROTECTED] Betreff: Urgent HELP!!! Hi, I'm using Java Web Server but when I try to execute my JSP following errors occured : D:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_alps\_Hello.java:22: '}' expected. static char[][] _jspx_html_data = null; ^ D:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_alps\_Hello.java:20: Public class pagecompile.jsp._alps._hello must be defined in a file called "_hello.java". public class _hello extends HttpJspBase { ^ Any ideas? Tarun Dewan Software Engineer Nucleus Software Exports Ltd. 33-35, Thyagraj Nagar Market, New Delhi - 110003. Tel.: 4627552 Ext. 342 E-Mail : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] === 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: Urgent HELP!!!
In the first case u must have forget to close one bracket and in other case u must have mentioned a wrong name to the file. Bye! Sandy. - Original Message - From: Tarun Dewan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 06, 2000 2:59 PM Subject: Urgent HELP!!! Hi, I'm using Java Web Server but when I try to execute my JSP following errors occured : D:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_alps\_Hello.java:22: '}' expected. static char[][] _jspx_html_data = null; ^ D:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_alps\_Hello.java:20: Public class pagecompile.jsp._alps._hello must be defined in a file called "_hello.java". public class _hello extends HttpJspBase { ^ Any ideas? Tarun Dewan Software Engineer Nucleus Software Exports Ltd. 33-35, Thyagraj Nagar Market, New Delhi - 110003. Tel.: 4627552 Ext. 342 E-Mail : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] === 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
IPlanet 4.1 error URGENT HELP
hi all, i am having the following exception when i run my JSP on IPlanet: [29/May/2000:09:19:28] info (21428): Aborting JVM [29/May/2000:09:19:28] info (21428): Exiting JVM due to: jvm_abort () and jvm.ex itOnAbort 0 [29/May/2000:09:19:28] info (21428): JVM exit statistics: AttachedThreads/Max=1/ 1, ActiveThreads/Max=1/1 anyone can help me thanx in avance regards marco === 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
Urgent help: AccessControlException
Hello everybody. I need to solve this problem... please help me!!! I have a bean on the server side and needs to execute the following: System.setSecurityManager( new RMISecurityManager() ); but when it gets to the point to execute that, it throws the following exception: java.security.AccessControlException: access denied. I am using the jsp web server that comes with jswdk-1.0.1 and when running it I have added the following: start java com.sun.web.shell.Startup -Djava.security.policy=policy.all -Djava.rmi.serve r.codebase=http://localhost:8080/ where policy.all file contains: grant { permission java.security.AllPermission; }; but still it doesn't work and I still get the exception: java.security.AccessControlException: access denied. What can I do? I need to solve it as soon as possible. PLEASE HELP ME. Joseba. === 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: Need Urgent Help needed regarding JSP Beans
set the scope="session" in the bean tag in all three jsp's then it should only get instantiated the first time you hit one those jsp's -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Vinay Kulkarni Sent: Thursday, March 16, 2000 3:54 PM To: [EMAIL PROTECTED] Subject: Need Urgent Help needed regarding JSP Beans HI Guys, I need some urgent help. I have a 3 JSP pages. In all the three JSP pages I am instantiating the a bean. The bean is used to set get a value. Now From the 1st page I set some value by calling a set method from the bean. Now when I go to the second or third page try to get the value set by using the get method, I am not able to see the value. The value is lost due to instantiating the bean once again in the second page. Please can anyone help me asto how can I retain the value in the second page. Thanks in advance. Vinay __ Get Your Private, Free Email at http://www.hotmail.com == = 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: Need Urgent Help needed regarding JSP Beans
Hi vinay, This is a prblem regarding the scope of the bean/jsp page. In the second jsp page you need not instantiate the bean again. Using the "id" attribute you can always manipulate the bean in the second jsp page. hope this should suffice. get back for more info. manoj --- Vinay Kulkarni [EMAIL PROTECTED] wrote: HI Guys, I need some urgent help. I have a 3 JSP pages. In all the three JSP pages I am instantiating the a bean. The bean is used to set get a value. Now From the 1st page I set some value by calling a set method from the bean. Now when I go to the second or third page try to get the value set by using the get method, I am not able to see the value. The value is lost due to instantiating the bean once again in the second page. Please can anyone help me asto how can I retain the value in the second page. Thanks in advance. Vinay __ Get Your Private, Free Email at http://www.hotmail.com === 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 = Manoj Kumar Infotech Consulting Inc, Camphill, PA USA [EMAIL PROTECTED] www.icibsl.com Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie === 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: Need Urgent Help needed regarding JSP Beans
scope="session" in the useBean tag. - Original Message - From: "Vinay Kulkarni" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 16, 2000 3:54 PM Subject: Need Urgent Help needed regarding JSP Beans HI Guys, I need some urgent help. I have a 3 JSP pages. In all the three JSP pages I am instantiating the a bean. The bean is used to set get a value. Now From the 1st page I set some value by calling a set method from the bean. Now when I go to the second or third page try to get the value set by using the get method, I am not able to see the value. The value is lost due to instantiating the bean once again in the second page. Please can anyone help me asto how can I retain the value in the second page. Thanks in advance. Vinay __ Get Your Private, Free Email at http://www.hotmail.com === 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: Need Urgent Help needed regarding JSP Beans
Use following jsp script at the top of all your jsp pages. jsp:useBean id="exampleBean" scope="session" class="xxx.yyy.ExampleBean" / Instantiate it only if it is null and you will be able to use it all the pages. Here 'ExampleBean' belongs to package xxx.yyy jk -Original Message- From: Vinay Kulkarni [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Friday, March 17, 2000 8:48 AM Subject: Need Urgent Help needed regarding JSP Beans HI Guys, I need some urgent help. I have a 3 JSP pages. In all the three JSP pages I am instantiating the a bean. The bean is used to set get a value. Now From the 1st page I set some value by calling a set method from the bean. Now when I go to the second or third page try to get the value set by using the get method, I am not able to see the value. The value is lost due to instantiating the bean once again in the second page. Please can anyone help me asto how can I retain the value in the second page. Thanks in advance. Vinay __ Get Your Private, Free Email at http://www.hotmail.com === 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
FW: Need Urgent Help needed regarding JSP Beans
Hi, PLEASE, ignore my previous mail. - I agree, if the bean is declared with USEBEAN tag in each (applicable) page with "session" scope then the same bean exists for that session. But, i don't see that the latest value is getting passed from one page to another where the bean is declared using USEBEAN tag with "session" scope. Example === Assume i have 2 jsp pages (say JSP1.jsp and JSP2.jsp) In JSP1.jsp USEBEAN NAME="beanId" TYPE="JSP_JAVABEAN.BeanTest" LIFESPAN="session" SETONCREATE BEANPROPERTY="userid" VALUE="INIT-NAME" SETFROMREQUEST BEANPROPERTY="*" /USEBEAN % HttpSession hs = request.getSession(true); % h1 USER_ID-1 is : DISPLAY PROPERTY="beanId:userid"/h1 % beanId.setnew(); % h1 USER_ID-2 is : DISPLAY PROPERTY="beanId:userid"/h1 a href=http://3.209.128.129:80/NASApp/JSP_JAVABEAN/JSP2.jsp CLICK /a Where beanId.setnew() sets the "userid" from INT-NAME to NEWNAME In JSP2.jsp USEBEAN NAME="beanId" TYPE="JSP_JAVABEAN.BeanTest" LIFESPAN="session" SETONCREATE BEANPROPERTY="userid" VALUE="INIT-NEW-NAME" SETFROMREQUEST BEANPROPERTY="*" /USEBEAN h1 USER_ID-1 is : DISPLAY PROPERTY="beanId:userid"/h1 Hear the same bean is declared with Session scope. Actually, the does not get initialized. But, still i have "userid" as INIT-NAME and not NEWNAME. It will be great if you can point me where i am doing mistake. Thanks... R. Bala -Original Message- From: Lee Collins [SMTP:[EMAIL PROTECTED]] Sent: Friday, March 17, 2000 3:53 AM To: [EMAIL PROTECTED] Subject:Re: Need Urgent Help needed regarding JSP Beans Vinay, Did you specify a scope?? jsp:useBean id="my_class" class="my.class" scope="" / If you set the scope to 'session', then when a user goes from page to page he will recieve the SAME BEAN. A new bean will NOT be instantiated. If ALL users wish to view/modify the bean then you probably want scope='application'. I don't know what the default is but it seems like scope='session' is what you want. Lee From: Vinay Kulkarni [EMAIL PROTECTED] Reply-To: Vinay Kulkarni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Need Urgent Help needed regarding JSP Beans Date: Thu, 16 Mar 2000 12:54:23 PST HI Guys, I need some urgent help. I have a 3 JSP pages. In all the three JSP pages I am instantiating the a bean. The bean is used to set get a value. Now From the 1st page I set some value by calling a set method from the bean. Now when I go to the second or third page try to get the value set by using the get method, I am not able to see the value. The value is lost due to instantiating the bean once again in the second page. Please can anyone help me asto how can I retain the value in the second page. Thanks in advance. Vinay __ Get Your Private, Free Email at http://www.hotmail.com === 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 __ Get Your Private, Free Email at http://www.hotmail.com === 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
FW: Need Urgent Help needed regarding JSP Beans
Hi, I agree, if the bean is declared with USEBEAN tag in each (applicable) page with "session" scope then the same bean exists for that session. But, i don't see that the latest value is getting passed from one page to another where the bean is declared using USEBEAN tag. Example === Assume i have 2 jsp pages (say JSP1.jsp and JSP2.jsp) In JSP1.jsp USEBEAN NAME="beanId" TYPE="JSP_JAVABEAN.BeanTest" LIFESPAN="application" SETONCREATE BEANPROPERTY="userid" VALUE="INIT-NAME" SETFROMREQUEST BEANPROPERTY="*" /USEBEAN % HttpSession hs = request.getSession(true); % h1 USER_ID-1 is : DISPLAY PROPERTY="beanId:userid"/h1 % beanId.setnew(); % h1 USER_ID-2 is : DISPLAY PROPERTY="beanId:userid"/h1 a href=http://3.209.128.129:80/NASApp/JSP_JAVABEAN/JSP2.jsp CLICK /a Where beanId.setnew() sets the "userid" from INT-NAME to NEWNAME In JSP2.jsp USEBEAN NAME="beanId" TYPE="JSP_JAVABEAN.BeanTest" LIFESPAN="application" SETONCREATE BEANPROPERTY="userid" VALUE="INIT-NEW-NAME" SETFROMREQUEST BEANPROPERTY="*" /USEBEAN h1 USER_ID-1 is : DISPLAY PROPERTY="beanId:userid"/h1 Hear the same bean is declared with Session scope. Actually, the does not get initialized. But, still i have "userid" as INIT-NAME and not NEWNAME. It will be great if you can point me where i am doing mistake. Thanks... R. Bala -Original Message- From: Lee Collins [SMTP:[EMAIL PROTECTED]] Sent: Friday, March 17, 2000 3:53 AM To: [EMAIL PROTECTED] Subject:Re: Need Urgent Help needed regarding JSP Beans Vinay, Did you specify a scope?? jsp:useBean id="my_class" class="my.class" scope="" / If you set the scope to 'session', then when a user goes from page to page he will recieve the SAME BEAN. A new bean will NOT be instantiated. If ALL users wish to view/modify the bean then you probably want scope='application'. I don't know what the default is but it seems like scope='session' is what you want. Lee From: Vinay Kulkarni [EMAIL PROTECTED] Reply-To: Vinay Kulkarni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Need Urgent Help needed regarding JSP Beans Date: Thu, 16 Mar 2000 12:54:23 PST HI Guys, I need some urgent help. I have a 3 JSP pages. In all the three JSP pages I am instantiating the a bean. The bean is used to set get a value. Now From the 1st page I set some value by calling a set method from the bean. Now when I go to the second or third page try to get the value set by using the get method, I am not able to see the value. The value is lost due to instantiating the bean once again in the second page. Please can anyone help me asto how can I retain the value in the second page. Thanks in advance. Vinay __ Get Your Private, Free Email at http://www.hotmail.com === 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 __ Get Your Private, Free Email at http://www.hotmail.com === 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
Urgent help --JSP
Dear friend(s), Our project is a portal site, where the pages are in JSP and server used for testing is Tomcat 3.00. JDK1.2.2 is used for compilation of JSP (i.e., tools.jar and javac.exe). The first (default) page is the "New Cars" page in which we're trying to initialise the relevant parameters.,i.e. "CAR" and "APD00_01", within the page. The code for session variable is: % HttpSession ses = null; ses = request.getSession(true); if (ses==null) { % jsp:forward page="/jsp/won/APD00_01.jsp" / % } else { ses.putValue("vehicle_code","CAR"); ses.putValue("page_id","APD00_01"); } String vehicle = (String) ses.getValue("vehicle_code"); String pageID = (String) ses.getValue("page_id"); % and for each of the top, left, right bottom parts of the page (below is given for top only): jsp:include page="top.jsp" flush="true" / jsp:params jsp:param name="vehicle_code" value="CAR" / jsp:param name="page_id" value="APD00_01" / /jsp:params /jsp:include However, things are not working. On adding "vehicle_code=CARpage_id=APD00_01" in the URL, the desired result is obtained. Here again, the history has to be cleared from time to time or else, old cache seems to be accessed, at the whims of heaven-knows-what! Incidentally, the first page contains static html, although beans and database access are used elsewhere. As a deadline is there, you can imagine the tremendous pressure that we're under and any help would be appreciated. Regards, Arnab === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html
setting check boxes /URGENT HELP
hi all, can anyone tell me how can i, using getProperty, set the value of a check box to 'checked`? how is it possible to do that?? please help me.. thanx to all in advance regards marco === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html
Re: setting check boxes /URGENT HELP
Mistroni Marco wrote: can anyone tell me how can i, using getProperty, set the value of a check box to 'checked`? how is it possible to do that?? please help me.. thanx to all in advance Using the ?: ternary operator inside an expression is what I do: INPUT NAME="chk1" TYPE="CHECKBOX"%= bean.isXXX() ? " CHECKED" : "" % The expression bean.isXXX() ? " CHECKED" : "" evaluates to a string that is either " CHECKED" (note the leading space) or the empty string, depending on whether the bean's XXX property is true or not. There is probably a better way to do this with custom tags in JSP 1.1, but I'm stuck at JSP 1.0 for now... === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html