Problems placing compiled jsp in the right directory
I have problems placing compiled jsp in the right directory.
- My document root is weblogic/myserver/public_html
- My jsp's are placed in weblogic/myserver/public_html/ram/jsp.
- My folder for placing compiled jsp is in weblogic/myserver/compiled_jsp.
- When weblogic compiles my jsp it places them in
weblogic/myserver/compiled_jsp/jsp_servlet/_ram/_jsp
Now I want to compile ram1.jsp and place it in above directory. I tried the
following but it does not place class correct.
1: java weblogic.jspc -d C:\weblogic\myserver\compiled_jsp ram1.jsp
**** Places the class in weblogic/myserver/compiled_jsp/jsp_servlet
2: java weblogic.jspc -d
C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp ram1.jsp
C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp\jsp_servlet\_ram1.cl
ass
What am I doing wrong ?
cheers Per
I would try this...
cd public_html
java weblogic.jspc -prefix compiled_jsp ram/jsp/ram1.jsp
I'm not sure if -prefix is the exact option - something like that - maybe package_prefix.
As always, things work better/easier when you leave things at the default value
(jsp_servlet).
Mike
"Per Lovdinger" <[email protected]> wrote:
>I have problems placing compiled jsp in the right directory.
>
>- My document root is weblogic/myserver/public_html
>- My jsp's are placed in weblogic/myserver/public_html/ram/jsp.
>- My folder for placing compiled jsp is in weblogic/myserver/compiled_jsp.
>
>- When weblogic compiles my jsp it places them in
>weblogic/myserver/compiled_jsp/jsp_servlet/_ram/_jsp
>
>Now I want to compile ram1.jsp and place it in above directory. I tried
>the
>following but it does not place class correct.
>
>1: java weblogic.jspc -d C:\weblogic\myserver\compiled_jsp ram1.jsp
>**** Places the class in weblogic/myserver/compiled_jsp/jsp_servlet
>
>2: java weblogic.jspc -d
>C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp ram1.jsp
>****
>C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp\jsp_servlet\_ram1.cl
>ass
>
>What am I doing wrong ?
>
>cheers Per
>
>
Similar Messages
-
Does anyone have problems with Mail (Display on the right) ?
Hi to everybody !
Does anyone have problems with Mail (Display on the right) ?
What could be the cause of not displaying HTML correctly ?
Could it be because I use SIMBL, that allows me
to have Colourful SideBar ?
Best regards
VialatteTry This...
Close All Open Apps... Perform a Reset... Try again...
Reset ( No Data will be Lost )
Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
http://support.apple.com/kb/ht1430 -
Problem in compiling JSP(JSPG0059E)
Hi
I have 2 JSPs navleft.jsp and navSupplier.JSP
In my navLeft scrpitlet I have
boolean disputeSubLinks = PppNavigator.openDisputeSubLinks(amtAction);
and in navSupplier.JSP i use this value
<% if (disputeSubLinks) { %>
<%@ include file="navSupplierDisputeSubLinks.jsp" %>
<% } %>
the problem is quite crazy if the D in disputeSubLinks is in caps it compiles and if I make it small at both places it throws an exception
Kindly can anybody help??
I am putting the stack trace here:
Error Message: JSPG0059E: Unable to compile class for JSP
Error Code: 500
Target Servlet: null
Error Stack:
java.lang.NumberFormatException: H
at java.lang.Integer.parseInt(Integer.java:406)
at java.lang.Integer.parseInt(Integer.java:455)
at org.apache.jasper.compiler.Compiler.getJspLineErrors(Compiler.java:472)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:697)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:244)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:430)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:565)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
at financing.framework.controller.MainServlet.service(MainServlet.java:66)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
at com.ibm.servlet.engine.webapp.InvokerServlet.service(InvokerServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:184)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:125)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)Hi
I found something vague tell me if i am correct??
The problem in my .java of the JSP was that I had missed changing the name of the variable at one place and my javac gives an error something like this.
test.java:5: cannot resolve symbol
symbol : variable i
location: class test
i=4;
^
1 error
I think the jasper compiler tries to get the line numbers in the errors given by javac to map it to appropriate line numbers in .jsp file.This line number is found betn 2 colons(eg 5 above).But this missing variable causes 2 more lines to be printed with colons.Can it be the problem??
Thanks -
Problem in compiling JSP page in OC4J 10.1.3.0.0
Dear all,
I started the ocj4 container that came with Jdeveloper. After starting the ocj4 server, I try to test it with the Servlet and JSP example. The Servlet Example work fine but I encounter the following error when I run the JSP example.
2006-01-12 11:08:39.379 NOTIFICATION J2EE JSP0008 Unable to dispatch JSP Page :Exception:oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\Program Files\Oracle\j2ee\home\application-deployments\default\defaultWebApp\persist
ence\_pages\_examples\_jsp\_jsp2\_el\_basic_2d_arithmetic_2e_jsp.java</H3><pre><
/pre>
I think this should be a setup problem, please kndly advise.After reading the theads in the forum, I am able to get the jsp running by using full path to specify the java executable.
e.g. C:\Program Files\Java\jdk1.5.0_02\bin\java -jar oc4j.jar
This should be a path problem. After I set the path variable correctly
i.e. add C:\Program Files\Java\jdk1.5.0_<version>\bin to PATH environment variable. It work fine. I hope this help the newbie like me. :D
Indeed, I wonder why we need two jdk for the oc4j. Follow the instruction, I need to install a jdk. However, I find there is another jdk under $ORACLE_HOME\jdk. This is make the situation confusing and saw quite a lot of threads are related to this problem long time ago! -
My airport exrreme can't get the right ip if I try to make a new network
I use also the apps
I have 3 devices but just can used always one
My ip and my user name is from the university
I need to fix the ip, username and password in the airport extrem, but he always copy a wrong ip in the system
Thanks for help
EliasYou're only allowed to authorize 5 devices with your apple id.
How many have you got authorized?
Maybe deauthorize one of them. -
Problem while compiling JSP in FORTE
Hello Friends,
I am using Fore for Java 4 Community Edition, I have created a web module. I am using internal tomcat 4.0 server. When I request for a JSP which has a bean or a class file stored in the WEB-INF\classes folder either using useBean tag or if try to create an object of that class, I get compilation error as forte is not including those classes in its classpath. But when I deploy the same application on external tomcat, it works fine. Even after I mount the classes folder in the project, it doesn't solve the purpose. Please help me to get rid of this problem. My directory structure is as follows.
root - jsp and html files
root\WEB-INF\web.xml
root\WEB-INF\classes - all class files
root\WEB-INF\lib - lib jarsI am also working on Forte. Forte has an inbuilt Tomcat. You dont need to copy any files to any where in the file mount system. You need to specify the External / Internal Browser settings, So that when you try to execute it, the .jsp file can be displayed in the browser. I havent faced any problem as you said.
Uma
http://www.javagalaxy.com -
Hi,
i am using tomcat 4.12 and jdk 1.4.
My login page contains 3 frames. after succesful login into ur application, 7 frames are getting called.
i have called a jsp page for each frame.
sometimes while accessing my application, i am getting jasper exception like cannot resolve symbol....
for example
D:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\sample\web\helpdesklogin_jsp.java:404: cannot resolve symbol
symbol : method --ite (java.lang.String)
location: class javax.servlet.jsp.JspWriter
out.write("<tr bgcolor=\"ffffff\">\r\n ");
i do not understand the what is the problem here....
likewise i am getting jasper exception. but it is not frequently occured in the frame.
is there any relation with autoflush page directive attribute...?
if it then should i increase default buffer size ?
Reply please
ThanksYour helpdesklogin.jsp file has a compilation error. It's hard to tell, but it looks like you mis-typed out.write() somewhere.
- Saish -
How do you get tomcat 5.5. to compile JSPs in the Sun JDK
Tomcat 5.5 JSPs do not compile with Java 5 code therefore how do you change it to use the Sun's JDK to compile Java 5 code.
It does seem odd that you can compile Java 5 servlets but not JSP's.I've followed all these steps, but my Tomcat/5.5.4 still won't compile my 1.5-java-syntaxed JSP's.
Here is exception stack:
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:342)
org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:248)
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)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:62)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
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)
apollinary.filter.EncodingFilter.doFilter(EncodingFilter.java:19)
root cause
Error running javac.exe compiler
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:473)
org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:47)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:213)
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)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:62)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
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)
apollinary.filter.EncodingFilter.doFilter(EncodingFilter.java:19)I tried to substitute /common/lib/jasper-compiler-jdt.jar with Tomcat/5.0.27's /common/lib/ant.jar or IDEA 5.0's /lib/ant/ant.jar - effects are the same as described above.
What's the problem? -
We have had real trouble synicing my other half's Zire. The computer recognizes him as a user, moves horrendously slowly and then no information shows up in his Palm files on the Mac. It's all still in his Palm, but the sync has obviously failed. I downloaded software for my M500, because in our previous life as PC people, I'd been told that that software covered both devices. Was I mistaken? Do I need to remove it and download different software? Or do I need to have two separate software programs on our Mac and is that even possible without them cancelling each other out?
Any suggestions and help would be greatly appreciated.
Thanks,
jcmarstenOutstanding! Thanks for the assistance.
I'm all ears for any other suggestions that anyone else has.
William -
Tomcat won't compile jsps if they are in any directory other than root
I'm running a new instance of Tomcat, and can't get a simple jsp file to compile, if it's in any directory other than the root.
The jsp is:
<%@ page import="test.Simple" %>
<%@ page contentType="text/html" language="java" %>
<html>
<body><%=Simple.makeText()%>
</body>
</html>
and the Simple class is:
package test;
import java.util.Random;
public class Simple {
public static String makeText() {
return String.valueOf(new Random().nextInt());
When I place the jsp in the root directory, it works fine.
When I place the jsp in any subfolder (eg: /debug/1b.jsp), I get the following error:
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: Unable to compile class for JSP
Generated servlet error:
Only a type can be imported. test.Simple resolves to a package
An error occurred at line: 14 in the jsp file: /1b.jsp
Generated servlet error:
Simple cannot be resolved
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
Only a type can be imported. test.Simple resolves to a package
An error occurred at line: 14 in the jsp file: /1b.jsp
Generated servlet error:
Simple cannot be resolved
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:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Here's the server info:
Server version: Apache Tomcat/5.5.25
Server built: Sep 24 2007 11:31:18
Server number: 5.5.25.0
OS Name: Linux
OS Version: 2.6.20.20-071008a
Architecture: amd64
JVM Version: 1.5.0_10-b03
JVM Vendor: Sun Microsystems Inc.
Using fedora core 6.
I looked into the Tomcat work directory, and it looked as if the jsp was successfully converted to a java file. I'm not sure where to look, as all the settings are defaults.
Any help is greatly appreciated. Thanks:D :D :D...
My friend it'd be great idea if you can find google tutorial on TOMCAT/web application basics
anyways coming back to your problem
whenever,an application is deployed on tomcat a new folder is being created at the following location %CATILINA_HOME%/webapp/ with respect to application name.
Therefore try to maintain an architecture like the one below if you programmin any web application.
%CATILINA_HOME%/webapp/<applicationName>/(place all your .jsp files)
-----------------%CATILINA_HOME%/webapp/<applicationName>/META_INF/(Place your mainfest files & context specific configuration files)
-----------------%CATILINA_HOME%/webapp/<applicationName>/WEB_INF/ (Genrally used to save secured files which cannot be access directly and always make sure you prepare a web.xml file associated to the application)
-----------------%CATILINA_HOME%/webapp/<applicationName>/WEB_INF/lib (place where all your .jar file libraries are being placed)
-----------------%CATILINA_HOME%/webapp/<applicationName>/WEB_INF/classes (place where all your .class,resource files are being placed as the pacakage structure you have choosed in)
If this doesnot work even if you ensuring everything's right.Reading through tutorials & speding time on finding resources by yourself would be a great idea.
I hope there are no hard issue on this. :)
REGARDS,
RaHuL -
Problem trying to run compile jsp containing JSTL tags
Hi,
I am facing a problem regarding compiling jsp containing JSTL tags.
Can anybody help me out?Yes it is giving an error when i try to compile the jsp.
And it's giving error on the include of the taglib in the jsp as
C:\dev\ppdev\DOMA\jspcompile\WEB-INF\jstl\c-rt.tld" is an invalid archive file!
Actually we are not using th default entry for taglib. Instead we have made an entry in the web.xml. Like this
<taglib>
<taglib-uri>/WEB-INF/c.tld</taglib-uri>
<taglib-location>/WEB-INF/jstl/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/c-rt.tld</taglib-uri>
<taglib-location>/WEB-INF/jstl/c-rt.tld</taglib-location>
</taglib>
And using this uri in the jsp page like this
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/c-rt.tld" prefix="c_rt" %>
And when we try to compie the jsp its giving the error.
C:\dev\ppdev\DOMA\jspcompile\WEB-INF\jstl\c-rt.tld" is an invalid archive file!
I would appreciate your help and update me if any more information is required. -
I have configured Forte to put compiler output, i.e. my classes, in the root directory of the project. I now find that the debugger does not find the source code when it is in a sub-directory. However, if I temporarily copy a classes' source code to the root directory the debugger will display it.
To direct compiler output to the root directory I selected Project >Settings>Compiler types, then External Compiler ( which is the default compiler in my case ) and set Target to be the root project directory. This is the only directory it will allow.This Forum is for Forte 4GL or UDS as its called today. I am not sure if anybody is going to be able to answer your question here. Sorry.
ka -
Problem with index.jsp and JSF
hi all
I have an index page "index.jsp" in the root directory of deployed project and in that page there is just a <jsp:forward> tag:
<jsp:forward page="pages/mainPage.jsf" />I am using facelets and I have a template.xhtml
when I run the browser nothing will be desplayed. by looking at Tomcat console, it seems that it renders the template.xml. if I place the path of the page directly in the address bar of browser, everything is OK
http://localhost:8080/myproject/pages/mainPage.jsf
but if I put following, it doesnt work.
http://localhost:8080/myproject/
I set the welcome-page to index.jsp in web.xml, and my pages are located in a directory namely "pages"
any help will be appreciated.
regards
MohammadI'm not sure what the problem is exactly. This topic might help though:
http://forum.java.sun.com/thread.jspa?threadID=696586
Be sure to read right to the bottom. You may be able to try a couple other things.
Hope this helps,
CowKing -
I am running a custum OA page and forward it to a jsp page. I got all the jtf class and jsp files in my directory, Also added jtf/jar to my additional classpath project settings ,but gives me the following error:
Errors compiling:C:\JdevIDE\jdevhome\jdev\myclasses\.jsps\\_jtfacerr.java
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
method getExceptionStackTrace(java.lang.Throwable) not found in class oracle.apps.jtf.admin.adminconsole.HtmlWriter
Where as this method is sitting in the right directory. Do I need to setup OJSPCOMPILE utility and/or apply Patch 2886919 "Precompiler for JSP Pages"
any suggestions please.ThanksI did as you suggested. but same error pops up.
On my OAF page , I have submit button, which calls a CO and there I am forwarding the control to a jsp page which has some includes:
example-
<%@include file="jtfincl.jsp" %>
"hello jsp"
If I remove the include , I get hello jsp printed on the page.
I went through 'Launching a JTT Page from an OA Framework Application'
but did not get any clue how to implement it in my custom application.
would JTF files go under jdev/myhtml/OA_HTML ?
I have put all the classes under oracle/apps/jtf
Any reference to how to set the classpath for jtf files, in OA would be a great help.
Thanks -
Viewing compiled JSPs in JDeveloper
Hello
I was wondering if there is a way of viewing the compiled versions (_jspname.java) of any JSPs run on the embedded OC4J in JDeveloper? I am using version 10.1.3.2 .
Currently I have to view them through Textpad or similar, which seems to me to be a very long winded way of viewing these files. Surely there must be a way of opening and viewing these files in JDeveloper?
I have had a look for a solution to this on the web and on these forums but no luck so far.
Any help appreciated.
Cheers
PaulHi Frank,
Thanks for the reply, I'll give that a bash.
It seems strange though that the project being run cannot point to the compiled jsps within the project (maybe listed under Application Sources rather than Web Content?).
Is it worth my while submitting this as a feature request? It would be useful to be able to do this in my opinion, as error messages from the embedded oc4j do not have a line number for where the problem occurs in the jsp. It would save users a bit of time - debugging JSPs is already tricky enough!
Thanks again
Paul
Maybe you are looking for
-
Building in carriage returns using Report Query
I am using Report Querys and Report Layouts. I am trying to build in some carriage returns that will be recognized in my rtf template. I tried using 'chr(10)', br's etc, but it doesn't work. It prints the characters instead of doing the carriage retu
-
Highly anooying as I can't even use the Express Card slot at all, due to the fact the Macbook doesn't even recognize it exists. Has anyone else had this problem. If so, how was it fixed? I only upgraded my Macbook Pro due to the fact Ineeded a better
-
Speed up time of AI Create Channel.vi task containing thousands of channels
I am creating an AI task containing a total of 8000 channels of different channels with each channel being acquired many times before the next channel is acquired. The channel list is something like 0,0,0,...,1,1,1,...,2,2,2...3,3,3... where each ch
-
How do I know if each of these Beta 'updates' actually installed?? Should it say Ver. 29.0,b3 or something like that?
-
Give information/site for Complete one QM Cycle, please!!!
Hi! SAP QM Gurus Please give information about one QM complete cycle. Thanks & Regard MDS Edited by: MOHAMMAD SUBHANI on Feb 20, 2012 9:52 AM