How can I view .JSP files

Install Apache on your PC. Put the JSP file in the /htdocs/JSP folder in the Apache installation. You will have to create the JSP folder. Name the JSP file index.jsp. Open Apache and start the web service (the top one. Click Start) To view it, go to your browser and type in the following URL: … Read more

How to loop over something a specified number of times in JSTL?

The <c:forEach> tag is definitely suitable for this. It has begin and end attributes where you can specify the, well, begin and end. It has a varStatus attribute which puts a LoopTagStatus object in the loop tag scope which in turn has several methods like getIndex() and on. Here’s a kickoff example:

Unable to compile class for JSP

From the error it seems that you are trying to import something which is not a class. If your MyFunctions is a class, you should import it like this: If it is a package and you want to import everything in the package you should do like this: Edit: There are two cases which will give you … Read more

tech