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...
hi
1) create a callable statement object :
CallableStatement cstmt = myConn.prepareCall("{? = call procedurename(arg1,arg2,...) }");
2) register OUT parameters. see doc for CallableStatement
3) set IN parameters.
ex : cstmt.setInt(index of parameter in the list of arguments...
hi
use a "name" attribute in your html check box tag.
assign it a value.
then you can retrieve the value of the check box field using the "request" implicit variable.
ex :
jsp 1
<html-tag-for-a-check-box name="mycheckbox"> </...>
jsp 2
<%
if(...
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 "DATA MISSING..."
how can I avoid this message ??
manu0
hi
when you use an applet tag, you can set the "name" 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="myApplet" ...> ...
// javascript function
function foo() {...
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.