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...
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
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...
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...
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...
hi
look at the "root cause" (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 "compile" method of class...
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...
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
hi
public static boolean isDate(String strDate) {
if( strDate == null ) return false;
try {
SimpleDateFormat formatter = new SimpleDateFormat("dd/MM/yyyy");
Date date = formatter.parse(strDate);
String strDate2 = formatter.format(date);
// analyse de la date...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.