They don't work in harmony - that is certainly true.
I have since swapped to Resin (http://www.caucho.com) and Enhydra (http://www.enhydra.org).
Tim --
Tim <tim@planetedge.co.uk>
Scott,
You need to ensure you XSL/XML includes no other namespace declaration other than <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
Tim --
Tim <tim@planetedge.co.uk>
Hi Guys,
I'm using GD at the moment to try and create GIF file in which I need to be able to align the fonts used to left, right, center and justify. Is this possible GD? I can't seem to find any information about it in the O'Reilly book.
If not, are there any other modules out there that...
What errors do you get with using the <SCRIPT SRC=> tag? You can't use JavaScript to manipulate JSP variables, if that's what you're trying to do. Otherwise give us some more info on what the problem is - what's the function do? Source code? Error msg's?
Thanks,
Tim --
Tim <tim@planetedge.co.uk>
If your admin has installed it, just type 'crontab' :)
Create an empty file called 'mycron' although it can be called anything. Inside the file you need to put some crontab configuration commands like the following:
* * * * * /home/user/blah.sh
Will run blah.sh every minute, on the minute...
Hi,
If you're running under Unix/Linux, use crontab to execute your script at specific intervals - 'man crontab' should give you the info you need.
There is similar scheduling software under Windows but I don't think it's that reliable.
Finally, you may not be able to specify which subroutine...
MrBabe:
JSP files are compiled the first time they are accessed by the web server, and only again if the server is restarted or forces a refresh. So, you yourself don't have to compile the JSP as you would a servlet or Java file into a .class.
What you need however is a Web server and a...
Try this Elise:
import java.util.*;
// Init an array
String[] MyArray = new String[3];
// Add some data to the array
MyArray[0] = "Test";
MyArray[1] = "Blah";
MyArray[2] = "hah";
// Cast n as (int)myVar
int n =...
Well, you can get the browser type by simply parsing the string 'ua' in the following example:
<%
String ua = request.getHeader("user-agent");
out.println(ua);
%>
Based on whether 'ua' contains 'MSIE' or 'NAV' will tell you the browser type.
I suggest you use <jsp:forward> or...
Hi,
VisualCafe from Symantec is reportedly very good. JBuilder as you say, but pricey. Microsoft J++ is a goodun or InterDev. There's lots to choose from...the biggest con is the price ;)
However, Sun have released a free IDE called Forte for Java Community Edition which you can use for...
I'm using Resin from Caucho.com as my servlet engine and SAX to parse my XML files. Also, for XSL I use Xerces and am in the process of writing a wrapper servlet for serving the conents of my site in xhtml and wml.
I also have found little information on the web and other lists about this sort...
Couple of things...
1) You don't need to include the scriptlet between the FORM tags. Doing this is confusing. Save the bit in the FORM tag for <input> or other form elements used to pass variables to your servlet i.e. <input type="hidden" name="myvar"...
That is correct Elise. Also, if you want your servlet to support both GET and POST you should add this:
To do that simply add,
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
doPost(request, response);
}
Now your servlet...
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.