JSP import directive does not work
We are using WebLogic 5.1. We have a problem with our
JSPs. The jsp compiler could not find the Connection class
until we said java.sql.Connection.
We had a valid import statement! We had
<%@ page import="java.sql.*" %> and this page worked
perfectly under Resin.
Does Weblogic not implement the JSP spec correctly?
Please help-- urgent!
Thanks,
Brian Williams
Try to put flush="true" behind the page attribute, maybe it'll work now.
for example: <jsp:include page="<%= inludeName%>" flush="true">
Greetz
Tom
"rl" <[email protected]> schreef in bericht
news:[email protected]..
> Hello,
> I'm new to weblogic.
>
> I got an jsp page wich shuold open another .
>
> I use the following command:
>
> <jsp:include page="<%= inludeName %>"/>
>
> This don't work.
>
> What can I do , that this will work?
>
> MfG,R.Lenz
>
>
Similar Messages
-
Import package does not work - beginner help
Hi, I'm a beginner with java. I just trying to figure out how to use packages. I followed everything in the tutorial, but I can't figure out why my simple example does not work.
I made the following directories three, for the sake of the example.
in /home/username/Desktop I created a directory named it
inside it I created prove
inside prove I created test1 and test2
Inside test1 I created the following sample class:
package it.prove.test1;
public class HelloWorld
private String message;
public HelloWorld(String message)
this.message = message;
public String getMessage()
return this.message;
}in the directory test2 I created this other one:
package it.prove.test2;
import it.prove.test1.HelloWorld;
public class HelloWorldProgram
public static void main(String[] args)
HelloWorld hw = new HelloWorld("Guten Tag, Welt!");
System.out.println(hw.getMessage());
}So now I have this three:
it
it/prove
it/prove/test1, it/prove/test2
As I said in test1 there is HelloWorld.java and in test2 HelloWorldProgram.java.
When I compile HelloWorld.java, it worked fine.
When I try to compile HelloWorldProgram.java, the compiler says that cannot find package it.prove.test1..
Why that? What did I make wrong?
Sorry both for my bad english (it is not my first language) and for the really trivial question (I'm a really beginner).
Tnx to whoever will helpAssuming you are running on Windows here.
Packages are directly tied to the classpath. Before java can find the it.prove.test1 package, it needs to be a part of the classpath. To make this possible, you need to add the root of the path, where the 'it' directory is in, to the classpath, like this:
javac -cp .;/home/username/Desktop file.java
the -cp switch tells java which classpath to use; it consists of two elements:
. = current directory
/home/username/Desktop = the directory containing the 'it' package root
When run like this, it should work. The same goes for running the code, you would run it like this:
java -cp .;/home/username/Desktop it.prove.test2.HelloWorldProgram
Hope that gives you the hints you need. -
Hello,
After the latest upgrade to Mozilla 32 a previously recorded imacros scirpt in which the data was being imported into mozilla from a csv file keeps erroring out. This same problem occurred with the with the upgrade to Mozilla 30 and was fixed when Mozilla was upgraded to 31. Can you please advise on how to correct the problem so that csv files can be used in conjunction with imacros scripts. I would like to point out that imacros still works without the use of csv files, but when you introduce a csv to the script the imacros does not work.
Thank you,
Eugenehello eugene, please directly contact the imacros extension developers through the means provided at their [http://forum.iopus.com/viewforum.php?f=11 forum] - they can likely give you more detailed guidance and are the only ones who can fix bugs or make necessary adjustments in the addon for new firefox versions. thank you...
-
Import bookmarks does not work
I am trying to import bookmarks from Safari but it does not work. I followed the online help for this but when I get to the 'Library' page after selecting 'Bookmarks' 'show all bookmarks', there is no 'import and back up' function so I cannot complete the next step. Please help with a solution. I'm running Firefox 16.0.1 on Mac OSX 10.7.5
That icon is there.<br />
The one that is meant is the last icon (third after the B/F buttons) on the toolbar with a star like shape and a drop down marker.
You may have to edit the HTML file and remove the FOLDED attributes in all H3 Tags.
*[[/questions/932927]] Firefox 14.01 not importing html bookmarks -
Do not import duplicates - does not work
After several Aperture and MacBrook Pro updates, Aperture does not recognozise duplicates when I check off "do not import duplicates". It has worked well in the past. Any ideas?
TksI have the same issues. i think its a 'known' bug just hope its addressed in the next release.
I think the Aperture product manager needs a kick in the pants. -
Try expose svn via http, but Location directive does not work.
Hello everyone,
I used svn exposed via http in OSX 10.6 and 10.7 using collabnet.
Now I take OSX server 10.8 and installed svn inside XCode.
SVN is correctly installed, apache respond to default site.
I copied the modules dav_svn_module and authz_svn_module compiled on my machine with same svn version of XCode [version 1.6.18 (r1303927)] .
I created a file into /etc/apache2/other called svn.conf that contain follow code:
LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so
LoadModule authz_svn_module libexec/apache2/mod_authz_svn.so
<Location /repo>
DAV svn
SVNPath '/Volumes/VMware HD/svn/repository'
</Location>
Checking if module are loaded with sudo apachectl -t -D DUMP_MODULES i obtain:
Loaded Modules:
dav_svn_module (shared)
authz_svn_module (shared)
Syntax OK
So file svn.conf is loaded and the module too.
When I try to check via browser with http://localhost/repo I obtain in /var/log/apache2/error_log the following error:
[Wed Feb 13 12:41:12 2013] [error] [client 192.168.1.114] File does not exist: /Library/Server/Web/Data/Sites/Default/repo
Is Location directive failing?!
How can I expose the right repository location instead of default site?Oeren,
I stumbled across this little tidbit buried in the BI Publisher forum: Dynamic Images in rtf
Glad you are up and running!
Joshua -
Report and Layout Import Wizard does not work
We used the Report and Layout Import Wizard extensively in 8.80 with no problems encountered.
We are now upgraded to 8.81 PL07. This is the first attempt at using the wizard in 8.81. The intro window of the wizard, with 'To Start, use the "Next" button' message is as far as I can get. The "Next" and "Cancel" buttons are inoperative - when I click them, there is no response (but they are not greyed out). The program has not crashed - I can move the window, and the "X" close button at top right works, but nothing else does. I am logged in as a superuser, running B1 in an RDP session on the server, same as under 8.80.
Any ideas out there?Hi,
This is a 8.81 PL07 bug!
I had the same problem this week, and i found the note [1615932 - Buttons "Cancel" and "Next" are inactive in Report and layout import wizard window], that says that it is corrected on PL08!
Regards,
Alice -
Importing bookmarks does not work. Why?
I tried following directions to import from IE (I'm running v8) but the FireFox 'File' menu link 'Import' is grayed out and doesn't work. I've already created the HTML file from IE. This is on a Windows Vista PC.
Make sure that you do not run Firefox in permanent Private Browsing mode.
*https://support.mozilla.com/kb/Private+Browsing
*You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
*To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
* Deselect: [ ] "Permanent Private Browsing mode" -
Datapump Import remap_Schema does not works
hi everybody,
i've a problem with the import under 10.2.0.3.0 on AIX.
I got an dump-file containing a full-databasedump.
I just want to import one schema. Under imp i used the fromuser, touser clause.
Now i tried it with the following parameters:
impdp system/manager remap_schema=user1:user1 directory=my_directory dumpfile=full_DB_Name.dmp logfile=impdpfull_Db_Name.log
The Import then starts but it imports allobjects from the system schema, creates all users etc.
What am i doing wrong????
Any help woul be appreciated!
Thanks JuliusHello,
You are importing the entire dumpfile, if you only want to import a single schema then you need to use the 'schemas' parameter, like this -
impdp system/manager remap_schema=user1:user1 schemas=foo directory=my_directory dumpfile=full_DB_Name.dmp logfile=impdpfull_Db_Name.logWhere 'foo' is the schema you wish to import.
Hope this helps,
John.
http://jes.blogs.shellprompt.net -
JSP Code completion DOES NOT WORK in JDev 9.0.3.1
Does anyone know when the next release of JDev will be? We are seriously considering dropping the use of JDev due to the bugs it has. In particular, the code completion for JSP authoring simply FAILS! This is a very very VERY nasty bug, and we are pleading!!!
Thanks,
-SeanWorks for me.
What OS/JDK etc are you using? -
DefaultFileName does not work with apache-webligic bridge in service pack 5
The DefaultFileName directive does not work with apache-webligic bridge
from service pack 5. It used to work with the apache-webligic bridge
from service pack 3. Can anybody tell me why? Thanks.
WeiI also had same issues using iPhone 5. Got chance to speak with senior engineers at NTC and they have confirmed 3G equipment they are using is not yet compatible with 3G band that iPhone 5 uses. So technically speaking, iPhone 5 has a hardware that is a generation ahead and not backward compatible to 3G system NTC currently uses.
On a bright side though, they confirmed that NTC is aware of the situation and is soon upgrading its hardware within next 1 or 2 months which will finally support 3G on iPhone 5. The other operator though already has support for this (don't want to mention their name but you know the alternative).
As for me, I'll be waiting for the (super frustrating) NTC to upgrade their hardware.
BTW - Apple has nothing to do with this issue. -
Importing element definition from an EDD into a template - does not work
FM 10.0.1 German on Windows XP SP3.
When importing the element definitions from an existing EDD into an existing template, FrameMaker converts the template into a new EDD.
So the element definitions which are correctly defined do not appear in the template.
The highest level element is than ElementCatalog in the template and not the higherst lvel element defined in the EDD.
In FM9 this was no issue.
Any help is appreciated, I have a deadline and must do some changes in the EDD.
Best Regards
ThomasLynne,
EDD is english (Version FM7.0), Interface language is German.
Maybe it´s a localization issue.
I have attached a captivate demo pdf so you can see what happens and the
defective EDD.
Mit freundlichen Grüßen
Best Regards
Thomas Zeisig
From: Lynne Price <[email protected]>
To: "Th. Zeisig" <[email protected]>
Date: 13.10.2011 14:12
Subject: Importing element definition from
an EDD into a template - does not work
Re: Importing element definition from an EDD into a template - does not
work
created by Lynne Price in FrameMaker Structured - View the full discussion
Thomas,
No question the behavior you describe is a bug. However, I am unable to
duplicate it. I created an EDD with two element definitions:
Element (Container): doc
Valid as the highest-level element.
General rule: (
When I imported element definitions from this EDD into a new portrait
document, FM reports that element a is referenced but not defined and that
b is defined but not referenced. However, with all elements listed, the
element catalog shows a, b, and doc. The metatemplate elements are not
available.
I wonder if this is a language-dependent problem. Is your EDD German or
English? What about your user interface?
Can you send me a short EDD that fails as you've described?
Thanks,
--Lynne
Replies to this message go to everyone subscribed to this thread, not
directly to the person who posted the message. To post a reply, either
reply to this email or visit the message page: [
http://forums.adobe.com/message/3969067#3969067]
To unsubscribe from this thread, please visit the message page at [
http://forums.adobe.com/message/3969067#3969067]. In the Actions box on
the right, click the Stop Email Notifications link.
Start a new discussion in FrameMaker Structured by email or at Adobe
Forums
For more information about maintaining your forum email notifications
please go to http://forums.adobe.com/message/2936746#2936746. -
I have a main.jsp, and in this main.jsp, I have two part, leftButton.jsp and view.jsp, I want to include the leftButton.jsp and view.jsp to main.jsp.
The code of main.jsp is like follows:
<%@ page language="java" contentType="text/html" %>
<html>
<head>
<title>JSP include element test</title>
</head>
<body>
<table>
<tr>
<td><jsp: include page="leftButton.jsp" flush="true"></jsp: include></td>
<td> <jsp: include page="view.jsp" flush="true"></jsp: include></td>
</tr>
</table>
</body>
</html>
Why the include does not works? by the way, I embeded a flash.swf file in view.jsp.Hi Mellon,
You might be better off using a JSPF segment for leftButton.jsp & view.jsp and the <%@ include file="relativeURL" %>.
Be careful that the included file does not contain <html>, </html>, <body>, or </body> tags. Because the entire content of the included file is added to the including JSP page, these tags would conflict with the same tags in the including JSP page, causing an error.
Note: It is conventional to put JSP segements under the WEB-INF/jspf/ folder so the file cannot be accessed directly by a URL
Note: JSPF files end with .jspf, so your files would be leftButton.jspf and view.jspf. -
I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie.I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie. -
Interface for Excel does not work in Windows 7 - Important
Hi,
Im using BPC 75 MS SP04 with a computer Windows 7, IE 9, Office 2007. Apparently the Excel works "fine", the issue is that whenever I try to access to Interface for web from the main page (clicking the icon) it does not work, does not do anything...
What do you suggest to do?
Working directly in excel is not a problem, accesing to templates vía "Etools - Open dynamic templates" is fine.
The issue is that users that have every access controlled by BPF's (using Interface for Web) cannot work.
Also, we use a template that uses 12 EVDRE reports in the background, we know it is a lot... but it was required like that.
Once accesing to this template vía Etools -Open dynamic template... Excel gets stuck and I have to force it to shut down.
Also Im working with a Vista system, Office 2003.
For this systems, we also use the template EVDRE (12 reports). Once any of both systems access to this specific template, Excel gets stuck and I have to shut it down. Any other template is able to work with, but these 2 machines (7 and Vista) cant.
Please help !
VelázquezHi Velázquez,
Based on SAP Note: 1603248, IE9 is not supported on BPC 7 and 7.5.
So you have to revert to IE8.
Only IE8 and IE7 are supported in 7.5 MS.
Hope this helps.
Karthik AJ
Maybe you are looking for
-
Determining the browser name and version using an applet
hi all, can we determine the version and the name of the browser using an applet. If it can be done then plz can anyone tell me how to do it. Thanx
-
How to write LOGO(SE78 CREATE) TO XLS FILE(USING OLE2 METHOD!
HI FYI! i put a logo into sap! and i will download this logo into XLS file ! how to do it! please give some demo code! thank you very much!
-
Can't print double sided in Windows 7 & Officejet J6450
I am running windows 7 Home Premium I am using Microsoft word 2010 I have an Officejet J6450 All-in-One When I try to print double sided from within word, It prints the last page of the document, retrieves the paper, turns it over, spits it out and q
-
I am using Apache 1.3 and Tomcat 2.3.2 for my JSP site. I have a JSP web page that is using some Java Beans. Everytime I try to access this page I am getting the error below. Does anyone have any ideas? Error: 500 Location: /display_pages/faculty/fac
-
What do you do if your ipod begins to restore itself but you unplug it and its frozen. Your computer does't even detect the ipods plugged in so you can't finish restoring it.