How to run jsp using tomcat server?
hai friends,
i'm using jsp for my application and for that i'm using tomcat server.
i was runing my jsp files like this
http://localhost:8080/examples/jsp/myapp/index.jsp but instead of this
i need to run my jsp files like this
http://localhost:8080/myapp/index.jsp
what r the changes that i should do in tomcat installation to run myapplication in such a way.
thanks in advance
you need to redefine the server root...
for that do the following...
copy all the directory tree rooted at
JAKARTA-HOME/webapps/ROOT/examples/jsp/myapp/ to
JAKARTA-HOME/webapps/ROOT/myapp/
-OR-
in the server.xml, search for "Tomcat Root Context" and un-comment the code defining Root Context...
change the docBase value from "ROOT" to "ROOT/examples/jsp"
that shud help...
-Pranav
hai friends,
i'm using jsp for my application and for that i'm
using tomcat server.
i was runing my jsp files like this
http://localhost:8080/examples/jsp/myapp/index.jsp but
instead of this
i need to run my jsp files like this
http://localhost:8080/myapp/index.jsp
what r the changes that i should do in tomcat
installation to run myapplication in such a way.
thanks in advance
Similar Messages
-
How to run jsp in tomcat server
hi this is satish1529,
i am new to jsp technology,i have written small jsp file and html file,i don't know where to place jsp and html files in tomcat server and where i have to do setting in the server and how to run jsp file. pls give me step by step describing how to run jsp in tomcat server.
i am showing u files
this is jsp file
<html>
<body>
<center> data recieved from client <center>
<%
String s= request.getParameter("t1");
String a= request.getParameter("t2");
%>
username :<%=s%><br>
address :<%=a%>
</body>
</html>
this is html file
<html>
<body>
<form action="http://localhost:8080/form.jsp">
enter name <input type="text" name="t1"> <br>
enter address <textarea name="t2"> </textarea> <br>
<input type="submit" vaule="login">
</form>
</body>
</html>Thanx a lot for ur promt reply.
we r succful in running simple jsp in tomcat6.0.
bt one more problem occured as following when we r trying to run jsp file in tomcat.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /main1.jsp(1,1) The value for the useBean class attribute webCounter is invalid.
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1200)
org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1155)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
org.apache.jasper.compiler.Generator.generate(Generator.java:3374)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:210)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs. -
How to Run JSP in Tomcat Server 3.3.2
Hi all,
i have just installed tomcat server 3.3.2 in my system which as windows xp home edition as a operating system and no problem i can able to start the tomcat server.But the problem is that i dont no how to run jsp in tomcat i listed some of my problems below..
How to put my jsp file in the virtual directory(default and also i want to create ) then tell me how use IE to run the JSP file.
Thanks in advance..
With Regards
VijayHi all,
i have just installed tomcat server 4.1 in my
system which as windows NT 4.0 home edition as a
operating system and no problem i can able to start
the tomcat server.But the problem is that i dont no
how to run jsp in tomcat i listed some of my problems
below..
How to put my jsp file in the virtual
directory(default and also i want to create ) then
tell me how use IE to run the JSP file.
Thanks in advance..
With Regards
Baliram -
Calling a external Java method from JSP - using Tomcat server
Hi all,
I am trying to call a method in an external Java file from my JSP. I am using Tomcat server.
I have my class within the package package "mypackage" and it is called myclass.class. It has only one static method mymethod() which reads from a file and writes to a file.
I compiled the java class and I put the class file under webapps/ROOT/web-inf/classes/mypackage/myclass.class
I am trying to say something like this from my JSP file(which is under webapps/ROOT) :
<%@ page import = "mypackage.myclass"%>
<% myclass.mymethod(); %>
I am not instatiating the class as its a static method.
This is what I get while accessing my jsp file :
javax.servlet.ServletException: try to access class mypackage.myclass from class org.apache.jsp.index_005ftest_jsp
To put my problem in a nutshell, Can someone guide me how to access a method of an external class from a JSP page? I have a bunch of pages doing the same operation so I thought I would have it in a method and call it from every page. Even though I tried to put the file under web-inf/classes, The JSP is not able to see the class.
Please help.
Thanks
-UdayI have a situation that is a bit similar. I have successfully used beans for storing methods used in JSPs and used by other methods in the same class as was suggested above. Now I would like to break some methods into another (utility) class since they are lower level and can be used by lots of things. They are for database operations (given a String query and String dbname, it queries and returns ResultSet for example). I want to have them in a separate class for reusability and OOP.
I am having problems calling those public static methods in the public class from my bean that communicates with the JSP. I can't compile the class that calls the method in the database ops class. I get an error like :
loginHelper.java:45: cannot find symbol
symbol : variable sqlHelper
location: class dbHelperBean.loginHelper
and when I include the package name in the call I get
loginHelper.java:45: cannot find symbol
symbol : class sqlHelper
location: package dbHelperBean
That's strange since the package of both classes is dbHelperBean and the class is indeed called sqlHelper. I tried to compile it in the same directory as sqlHelper as well. What am I doing wrong?
Thanks for any help. -
How to run jsp in weblogic server
hi,
how to run jsp application in weblogic server,plz send the procedure how to deploy..
ThanksHow to run JSP and EJB program using weblogic server
-
Hi i am new to java web application, i am running JSP(edited in notepad) in tomcat
<html>
<head>
<title>first jsp page</title>
</head>
<body>
<%! String st = "shyam your JSP Code" %>
Welcome ::<%= st %>
</body>
</html>
i saved this jsp as first.jsp and D:\shyam\Apache Software Foundation\Tomcat 5.0\webapps\ROOT putting jsp in this folder.
then started tomcat webserver
then opeand browser giving URL: http://localhost:8080/first.jsp
the error coming like--> HTTP status 500
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
root cause:
unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
Error coming like this, plz tell how to rectify this, I want to set any thing in web.xml, tell where i did mistake.hi,
your problem is you didn't set java home in your path..
before running your application create a ".bat" file like,
set JAVA_HOME="path where you installed jdk eg: c:\jdk1.5"; -
How to run jsp using javabean class in tomcat
hello all,
i have bean class placed in classes folder of tomcat and placed jsp and html in root directory. i am not able to run it , if i have do any setting in web.xml, pls let me know from uNo XML required, but you must put the class into a package.
Packages are folders with some files that identify whats in them, so you will end up with something like
yourWebbApp/classes/yourPackage/yourClass -
JasperExceptionError while running JSP on Tomcat server
I am using a html page to get the values of Employee No , Name and set the values in the bean and display them using JSP.
JSP PAGE
<%@ page import="java.util.*" %>
<%@ page import="java.beans.*" %>
<%@ page import="Servlets.*" %>
<%@ page language="java" %>
<jsp:useBean id="em" class="EmpBean" />
<jsp:setproperty name="em" property="eno" />
<jsp:setproperty name="em" property="ename" />
<html>
<head>
<title> Employee details </title>
</head>
<body>
<center>
<% String eno=em.getEno();
String ename=em.getEname();
%>
Employee No:<%= eno %>
Employee Name:<%= ename %>
</center>
</body>
</html>
error is
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /employee.jsp(5,5) jsp.error.badaction
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:49)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:383)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
at org.apache.jasper.compiler.Parser.parseAction(Parser.java:626)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:758)
at org.apache.jasper.compiler.Parser.parse(Parser.java:77)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:157)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:111)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:183)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)Hi ram,
i wonder if you could help me. i have same error but my class is fully defined and useBean syntax is also case correct.
i get the following relvant output from tomcat:-
2005-11-04 23:28:20 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /results.jsp(61,6) jsp.error.badaction
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126)
at org.apache.jasper.compiler.Parser.parseAction(Parser.java:671)i think i know where the problem is ---please see below code.
i dont know how to create a unique variable name to be populated with several data rows and then pass this collection on to jsp and use this collection using <taglib>.
code below this comment (in code below) i think is throwing the error
// this is the problem part - dont know if this would work ie i need a unique object to be crated eg - varabridgment1, varabridgment2, varabridgment3...... and then be able to get attributes of each object in jsp page using a <iterator taglib>
eg code is below for servlet where data is being stored.
//create Results - a collection object for storing individaual Abridgment objects
Results abridgeresults = new Results();
abridgeresults.setName("NaeemColl");
Abridgment varabridgment = null;
int nRows = 0;
while(resultSet.next()){
nRows++;
// this is the problem part - dont know if this would work ie i need a unique object to be crated eg - varabridgment1, varabridgment2, varabridgment3...... and then be able to get attributes of each object in jsp page using a <iterator taglib>
// varabridgment = varabridgment +nRows;
varabridgment = new Abridgment();
varabridgment.seta_county(county);
varabridgment.seta_year_date(Integer.parseInt(year));
// varabridgment.a_sub_year_volume = Long.parseLong(c_phone);
varabridgment.seta_sub_year_volume(resultSet.getInt("a_sub_year_volume"));
varabridgment.seta_page_id(resultSet.getString("a_page_id"));
varabridgment.seta_image_id(resultSet.getLong("a_image_id"));
abridgeresults.addAbridgment(varabridgment);
//trying to use vector construct
//AbridgeResults.add(abridgment);
//session.setAttribute("isNewAbridgment", new Boolean(false));
req.setAttribute("results",abridgeresults);the jsp code ....
<jsp:useBean id="results" scope="request" type="com.fut.mes.Results"/>
<jsp:useBean id="abridgment" class="com.fut.mes.Abridgment" scope="session">
</jsp:useBean>
<mt:iterate name="abridgment" collection="<%= results.getAbridgments()%>" type="com.fut.mes.Abridgment">
<p><input type="checkbox" name="list" value="ON"><span style="font-size:12pt"><jsp:getProperty name="abridgment" property="a_sub_year_volume"/></span><span style="font-size:12pt">,
<a href="abridgment_link.htm"><jsp:getProperty name="abridgment" property="a_volume_id"/></a>, </span><jsp:getProperty name="abridgment" property="a_batch_id"/>,<p:onmouseclick
hyperlinktype="url"
href="file://nc-fileshare-01/land%20and%20property/ROS%20Partnership/Management/Change%20Control/Active%20CCNs/CR%20003%20-%20Registers%20Archive%20Scanning/Technical/Design%20Workshops/Design%20Workshop/00000007.tif"/><span style="font-size:12pt;mso-color-index:6"><jsp:getProperty name="abridgment" property="a_image_id"/></span><span style="font-size:16pt;mso-color-index:6"> </span><br>please can some one help me with this - first can anyone tell me how i can create a unique varaible name of an object typr that i can store into Results type collection object - that might sort it all out.
thanks -
Issues running JSP using Tomcat
Hello,
I have installed Eclipse 3.0, Tomcat 5.0 with JDK 1.4.2 . I can view HTML pages but not JSP pages. I am able to run java code and servlets on Eclipse/Tomcat. When I point to a JSP page the page gives the following error
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:434)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:492)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:471)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:459)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tools.ant.taskdefs.compilers.Compile
Any help is much appreciated.Like the message says, you haven't set the JAVA_HOME variable correctly.
Have you set it?
It should point to the ROOT of your java install
eg
JAVA_HOME = c:\j2sdk1.4.2_04
Are you running Tomcat through Eclipse, or on its own? -
Hi ,
How to run servlets in tomcat server. I created two files html and servlet file.
Html file
callservlet.html
<html>
<body>
<form method=post action="servletcalled.class">
<input type=submit value="submit">
</form>
<body>
</html>
servlet file
servletcalled.java contains
public void doPost(HttpServletRequest req,HttpServletResponse res ){
java.io.PrintWriter out = req.getWriter();
out.println("Hi, executed");
i put the callservlet.html in webapps/examples/ and servletcalled.class was in webapps/examples/Web-inf/classes/
After starting the tomcat and running the program html file is getting exceuted but when i click on the submit button this error is prompted
type Status report
message servletcalled.class
description The requested resource (servletcalled.class) is not available.
Thanks in advanceThanks,
I created a new directory in webapps
s "webapps/test".
Test directory contains
1. callservlet.html file
2. another directory Web-inf (i.e,
webapps/test/Web-inf)
Web-inf directory contains
1. web.xml file
2. another directory classes (i.e,
webapps/test/Web-inf/calsses)
classes directory contains
1. servletcalled.class file
web.xml file contains
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web
Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>Example</servlet-name>
<servlet-class>Example</servlet-class>
</servlet>
</web-app>
-->should be: <servlet-class>servletcalled</servlet-called>
then in the <web-app> scope define this:
<servlet-mapping>
<servlet-name>Example</servlet-name>
<url-pattern>/servlets/Example</url-pattern>
</servlet-mapping>
>
thanks in advance i am working hard on that but
notable to get the solutionbtw by reading the documentation of tomcat and tutorials of jave on the java site (here), you would have known this! -
How to run Servlet in Tomcat 5.5.7 Server
Hi,
How to run Servlet in Tomcat 5.5.7 Server. I mean where I should copy my *.class file.
Thanks in Advance.
bbye.In order to complile the servlet you need to tell java where to find the servlet libary (as stated above by setting the class path). or (much easier IMO)
copy the servlet-api.jar to
JavaInstallDirectory\jre\lib\ext -
How to run exception using JSP?
How to run exception using JSP?
Why would you need the <%%> between the if else blocks? Even if you attempt to write some data within the blocks in java, you will still get an error. For example, this is illegal:
if(done)
System.out.println(true);
System.out.println("Hello World");
else
System.out.println(false);
}The compiler is expecting the 'else' to be directly after the body of the if. If it encounters anything else, it will complain. So you cannot do this in jsp either, regardless if it's a different technology, it's the same compiler. -
How to Run servlet in Tomcat 5.5.9
hi
How to run servlet in tomcat 5.5.9?how to set context path in server.xml of conf folder in tomcat since there is no context tag in server.xml.
JitenHi ! I have a similar problem, well, it's along the same line ...
I'm using NetBeans 4.1, and i've coded a servlet. Using NetBeans to launch my servlet (with the bundled Tomcat 5.5.7) works fine, however i need to deploy my application unto a Tomcat 5.5.9 server.
Thus, i copied the WAR file generated by NetBeans into the Tomcat 5.5.9 webapps directory, and Tomcat expands it.
Problem is when i run my JSP pages with the form tags, they do not work on the Tomcat 5.5.9 environment. Anyone knows why?
(These work on the NetBeans Tomcat bundle 5.5.7)
My form action :
<form name="index" method="get" action="PageServlet">
My web.xml :
<servlet>
<servlet-name>PageServlet</servlet-name>
<servlet-class>application.PageServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>PageServlet</servlet-name>
<url-pattern>/PageServlet</url-pattern>
</servlet-mapping>
I'm really stumbed on why it doesn't work in Tomcat 5.5.9, any help is greatly appreciated, thanks in advance ^_^ -
How to deploy JSPs in Tomcat 5.5
hello all
i am Mayuresh Trivedi. i don't know how to Deploy Jsps in Tomcat 5.5. i m using MYSql as Backend. i m trying to use "import" command in Jsp so it shows me error like under :
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
Syntax error on token "import", delete this token
Generated servlet error:
Syntax error on token "import", delete this token
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.7 logs.
so , can any body help me please ?hi
first create a arbitrary folder in \webapp folder in tomcat home foder.
for instance \webapp\myJSP
second you must create a folder with this name : \WEB-INF under myJSP folder
then make a web.xml in that
so write in web.xml this :
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<description>
myJSP
</description>
<display-name>JSP 2.0 Examples</display-name> -
Unable to run jsp in tomcat 5.0
hi ,
iam unable to run jsps in tomcat 5.0.
i get an error saying ,unable to compile java compiler
iam able to compile servlets & execute them.
i have already set the paths for JAVA_HOME & CATALINA_HOME
please guide me accordingly
regards ,
shaileshthe same code gets executed in other system in which there is only one jdk.
the system which iam using has got many jre s due to
1) netbeans IDE
2)Weblogic server
3) jdk 1.4 was previously installed
4) jdk 1.5 was also installed
but i have set JAVA_HOME =jdk1.6
I doubt the compiler is trying to compile itself or another compiler
regards ,
shaileshkumar
Maybe you are looking for
-
Can I hook up another monitor to the iMac for dual monitor use. Looks like it can be done looking through the post, just want to make sure. Thanks
-
With holding Tax for Interested paid to bank
Dear Gurus, User making payment to bank ( which include interest), he want to withheld TDS @22.44% on interest amount. How we can map into SAP. Regards, Venkat
-
TS1398 My iPod is connecting to the wifi but my iPad is only connecting facebook
My iPod has full wifi connectivity. My I pad air is connected only allowing Facebook. Cannot sync get into iTunes or any browseing
-
Need help setting up open source Strobe Player
Iam following the instructions to set up the Stobe player, downloaded the Stobe player 1.5.1, and 1.6.127. I unzipped the files, next step says to copy the files to root directory of server and point to the test file. There is no test file in the
-
Do port numbers belong in a resource bundle?
They cant be localised really but I am asking because I am moving all my application constants to appropriate resource bundles. Should I leave ports and "" in a constant class?