Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: manu0
  • Order by date
  1. manu0

    Invoking Servlet thru URL ??

    hi yes you can but the url is function the way you map the servlet in your application server. if you don't map the servlet the standard url for calling a servlet is : http://server/webapp/servlet/com.mypackage.MyServlet if you have a servlet whose name is MyServlet and package is...
  2. manu0

    Migrating an existing web app from tomcat 3.1 to 3.2.4 or after

    hi Instead of : path="" docBase="webapps" try : path="/" docbase="tessWeb" because under webapps, each directory is a web application. you can map url "/" with a real directory "tessWeb". manu0
  3. manu0

    Simple Application

    hi Yes it's possible. If you intend to build a client side application: You should build a GUI interface with awt or swing graphic components and manage user inputs to provide the rigth behavior. If you want to do a web application, use JSP instead of awt and servlet for managing user input...
  4. manu0

    starting and shutting down applications

    hi Look at the java.lang.Runtime class and the exec methods... and the java.lang.Process class. manu0
  5. manu0

    Help with Static Recursive Method

    hi public class Test { public static void main(String[] args) { int[] testArray = new int[5]; testArray[0] = 5; testArray[1] = 8; testArray[2] = 42; testArray[3] = 1; testArray[4] = 19; System.out.println("The integers in...
  6. manu0

    Domino DSAPI and Tomcat

    hi I'm using DSAPI tomcat_redirector.dll to forward http requests to Tomcat (running as a servlet container) to handle servlet and jsp files. When one jsp contains parameters (<input> fields) and a POST method is used within a <FORM> tag to validate the form, the destination servlet or jsp...
  7. manu0

    DSAPI problem

    hi I'm using DSAPI tomcat_redirector.dll to forward http requests to Tomcat (running as a servlet container) to handle servlet and jsp files. When one jsp contains parameters (<input> fields) and a POST method is used within a <FORM> tag to validate the form, the destination servlet or jsp...
  8. manu0

    HTTP 500 Error with JSP's

    hi look at the &quot;root cause&quot; (the 2nd exception) in your error message : java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136) the meaning is : the &quot;compile&quot; method of class...
  9. manu0

    IllegalAccessError with Tomcat 4.01

    Hi I'm using a third party API and have deployed it (jar file) in the /lib folder of my webapp. One of my servlets instanciate a class of this API wich use another class of the same API (but this second class doesn't mention any package name). Then I get an IllegalAccessError : try to access...
  10. manu0

    simple question about request.getParameter();

    hi you'd better use the method : public java.lang.String[] getParameterValues(java.lang.String name) if a parameter name has more than one value... manu0
  11. manu0

    What is the best tool for portal development in java

    If you have to build a customizable portal web site, Which tool will you use ? manu0
  12. manu0

    date validation algorithm!!!

    hi public static boolean isDate(String strDate) { if( strDate == null ) return false; try { SimpleDateFormat formatter = new SimpleDateFormat(&quot;dd/MM/yyyy&quot;); Date date = formatter.parse(strDate); String strDate2 = formatter.format(date); // analyse de la date...
  13. manu0

    JSP URL's

    hi have a look at package javax.servlet.http; the class HttpServletRequest give a lot of information ex : getRequestURI() method, ... :-) manu0
  14. manu0

    function sequence error

    hi I think that such errors arise when the driver is not able to handle correctly some JDBC calls... I used to encounter this error when accessing some special column types in my requests such TEXT (or MEMO = a large text), and so on... I noticed that we can overcome this using different...
  15. manu0

    Need a JSP Server that works well on win2k

    you can also try JRUN from Allaire it's easy to use but also fit last J2EE specification manu0
  16. manu0

    SQL Server Stored Procedures

    hi 1) create a callable statement object : CallableStatement cstmt = myConn.prepareCall(&quot;{? = call procedurename(arg1,arg2,...) }&quot;); 2) register OUT parameters. see doc for CallableStatement 3) set IN parameters. ex : cstmt.setInt(index of parameter in the list of arguments...
  17. manu0

    passing form values

    hi use a &quot;name&quot; attribute in your html check box tag. assign it a value. then you can retrieve the value of the check box field using the &quot;request&quot; implicit variable. ex : jsp 1 <html-tag-for-a-check-box name=&quot;mycheckbox&quot;> </...> jsp 2 <% if(...
  18. manu0

    DATA MISSING MESSAGE

    hello When I use a POST method inside a FORM tag to send a request and getting a jsp page, and then use the 'Back' button of my browser I get a message that says &quot;DATA MISSING...&quot; how can I avoid this message ?? manu0
  19. manu0

    Output truncated after including a servlet

    hi did your output file begin with <HTML> and have a <BODY> tag ? if not you've got a problem :-) manu0
  20. manu0

    Applet and Parameter

    hi when you use an applet tag, you can set the &quot;name&quot; attribute to a value to give a name to the Applet object. you can then use this name to invoke applets methods on it. by example <APPLET ... name=&quot;myApplet&quot; ...> ... // javascript function function foo() {...

Part and Inventory Search

Back
Top