OMG! These web pages are java classes! :) A simple question!
I imported a web page fragment as "header". Now I'm trying to display the header before "page1".
I tried putting this into the page1.java, but no luck.
public HtmlForm getHeader() {
doug2005.header hd = new doug2205.header();
return hd.getForm1();
This has to be simple to do. How should I do the method?
Thanks!
Thanks! That worked very well. I think I'm getting the idea here. I'm working with something called "JSP" pages which is there own language like "ASP" pages.
You don't happen to know the current links to these directives and such. My searches tend to bring up outdated material.
Thanks much!
Similar Messages
-
how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA ?
Hi
I am not suprised no one answered your questions, there are simply to many of them. Can I suggest you read the faq on 'how to get help quickly at - http://forums.adobe.com/thread/470404.
Especially the section Don't which says -
DON'T
Don't post a series of questions in a single post. Splitting them into separate threads increases your chances of a quick answer.
PZ
www.pziecina.com -
Error "web pages are not responding"
What is the cause of this Safari error? What needs to be done to prevent it?
"Web pages are not responding. To reload this webpage, all pages in other tabs and windows must also be force reloaded. Do you want to reload this page?
Force reloading might cause you to loose information you have entered"
Several threads reference it when it occurs after performing various kinds of actions, and the author's ascribe it to their particular operation, but obviously it is a more general error.> look under "User Diagnostic Reports"
No entrys exist in that area. Looks like the system cleaned itself up earlier today:
11/11/11 1:06:49 PM SubmitDiagInfo[3887] Cleaning up expired diagnostic messages database at path: /var/log/DiagnosticMessages/2011.10.12.asl
Using OSX 10.6.8 and Safari 5.1.1
After posting my message I performed the latest Software Update.
But my question is also general -- what are the causes of this error? I have read assertions that it relates to the newest Flash Plugin, or Java, etc. but I would like an authoritative explanation. How can something cause ALL tabs to need to be reloaded? Is it caused by something on a web page, or by something internal like the cache getting too large or corrupted or what?
This error is associated with extremely high % of CPU time being taken up by Safari Web Content. -
How to embed 3D models in web page using JAVA?
Hello
I'm doing a project at University to create a virtual tour of a village. I am creating the buildings in MAYA using polygon planes and cubes and then exporting to VRML.
I plan to embed each individual model into a separate web page. Then when the user clicks on a location in a 2D map they will be taken to the web page containing that building.
However, I can't work out how to embed these 3D models into web pages using JAVA. Can anyone help me with this, please?
Also, I've been told to use JAVA 3D to interact with the project but am unclear as to how JAVA 3D would be used in this project - aqny ideas/suggestions welcome!
M.If you use Java-plugin, you can embed Java3D in a web page.
Here is the URL(http://www.geovista.psu.edu/products/demos/LorenzAttractor3D/index.html) which used Java3D.
I hope this helps.
Masa -
Parse errors while creating a Web service from Java class!
Can anybody tell me please, is it possible to create a Web Service from java class where the input from user is required ?
I have the following program, which is successfully compiled, but when I'm trying to make a web service in JDeveloper, the following error occurs:
"Validation failed.
The implementation class primePackage.isPrime ofport type MyWebService contains parse errors."
import java.io.*;
import java.util.*;
class isPrime
public static void main (String args[])
Scanner reader = new Scanner(System.in);
int n;
System.out.println ("Enter a number you want to know is it prime or not");
n=reader.nextInt();
if (isPrime(n))
System.out.println ("True");
else
System.out.println ("False");
static boolean isPrime (int n)
int i=2;
while (i<=n-1)
if (n%i==0)
return false;
i++;
return true;
}Hi,
Can anybody tell me please, is it possible to create
a Web Service from java class where the input from
user is required ?Yes, the parameters of your method will be mapped in WSDL.
But i've some considerations about your code.
I suggest you change the name of isPrime do Prime, its a good code convention to put the name of class starting with Upper case. and isn't good the name of class equals to name of method.
I suggest you to change the "static boolean isPrime (int n)" to "public boolean isPrime(int n)" to publish a method as a WebService method it's must be public and not static. After this change try to generate your Web Service.
Regards. -
Web Service From Java class, serialization problem
Hi,
I want to create Web Service from Java class, I made java project, generated web service from it, create web service archive project and deployed it to WAS 6.40.
My class have 2 methods,
public int add(int a, int b);
public MyResponse doSomthing(MyRequest req);
I can succesfully call add method from Web Service Navigator, it works fine but when I call doSomthing methods I get the following error:
<b>
Deserializing fails. Nested message: XML Deserialization Error. Result class [com.mycomp.sap_tech.ws.MyRequest] does not have property [Amount] of type [java.lang.String]. It is required to load XML..
</b>
Any ideas how to resolve it?
P.S. MyRequest class is exposed throw VI, has default constractor and public getters and setters for all properties. It implements Serializable as well. Any guesses?
Thanks in advance,
Victor.Hi Bhavik, thanks for response.
as I already mentioned it implements Serializable, so it is not the problem.
Thanks Avi but it didn't helps iether
Victor -
Safari has become unusable—it freezes, links are unclickable, then I get "Web pages are not responding..."
Safari has been my favorite browser for a long time. Nothing against the others but I have found it faster and better. Now I can really no longer use it. This has been going on and getting worse for atr least few weeks. Anyone know why?From the Safari menu bar, select
Safari ▹ Preferences ▹ Extensions
If any extensions are installed, disable them and test. -
Oracle Marketing online( Web pages are not opening)
Hello all,
I have got 11i installed on my machine. Application is running fine. I was trying my hand on Oracle marketing module and also CRM Administration modules.
I don't know what's going wrong the web pages are not opening ( Web page not found offline) error is appearing.
Infact all functions of Oracle Marketing Super user have they type selected as JSP.
I am unable to resolve this problem. Can some please help me.
Regards
Arun ( [email protected])Hi Arun,
Please let me know which OS you have installed apps.
Just try running adconfig and then check.
Cheers,
Kunal -
Safari is repeatedly crashing and web pages are not responding
So, my safari is constantly freezing (the spinning wheel of death shows up) and then I'm told that the web-pages are not responding and I need to force reload them all. And this can repeat a number of times; a full system re-start is the only fix.
Any fixes, solutions would be appreciated.
I'm using Safari 5.1.9; and Mac OS X 10.6.8MIght be third party plugins causing Safari to freeze.
Try the troubleshooting help here > Safari: Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
And see if you can do this before Safari freezes.
Launch Safari and immediately press Command , (comma) to open the Safari Preferences pane then select the Extentions tab.
If there are any extensions installed, turn that OFF, quit and relaunch Safari to test. If Safari doesn't freeze, uninstall one extension at a time, quit and relaunch Safari to test again. -
Some web pages are not loading on my Macbook pro, Safari,firefox,chrome,opera! Some web pages are loading pictures like thumbnails. Pls i need helpppppppppp!
It would help us help you if you provided a link to a non working page.
-
Hi,
I am curently using adobe CS3. I am facing this strange
problem where my web pages are being saved with a .new extension
when I am tryign to publish. Everytime I need to go and change the
extension from .cfm.new to .cfm inorder to see the changes made to
the web page. I have even enabled the option so that contribute
does not send the page for reviewing before publsihing. Even after
enabling it I am facine the same problem. And this problem is being
faced by everyone who has publishing rights including the admin.
Can anyone please suggest a way to get rid of the .new extension
after publishing.
Your help will be greatly appreciated.
Thanks!We, too, are having this problem. I see two posts in 2008-07 reporting this, but no answers and nothing via Google.
Details:
1. The web server is a Red Hat Linux / Apache.
2. It seems site-wide: several department webmasters have reported the problem. It may be limited to webs that are using Contribute and check-in/check-out.
3. The only thing I can think might be causing it is that our NTP daemon is broken, and the time of day drifted ~6 minutes (I have since reset the clock by hand). -
I often get the message that "web pages are not responding". Safari seems to slow down to a crawl, I've reset Safari and emptied the caches, t may get better for a few minutes but then returns it's slow down. Someone said to quit safari and then trash Home/Library/Caches/com.apple.Safari/ folder. That doesn't seem to help. Does anyone have any suggestions how to solve this annoying problem?
Read this whole message before doing anything.
Back up all data.
Quit Safari if it’s running. Then select
▹ Force Quit…
from the menu bar. A small window will open with a list of running applications. Safari may appear in that list, even though you quit it. If so, select it and press return. Close the window.
Step 1
In the Finder, press the key combination shift-command-A to open the Applications folder. Select the Safari icon in that folder and press the key combination command-I to open the Info window. There’s a checkbox in the Info window labeled Open in 32-bit mode. Uncheck it, if checked. Close the Info window and the Applications folder.
If Adobe Flash Player is installed, select
▹ System Preferences ▹ Flash Player ▹ Advanced
and click Delete All. Close the preference pane.
Hold down the option key and select
Go ▹ Library
from the Finder menu bar. Delete the following items from the Library folder (some may not exist):
Caches/com.apple.Safari
Caches/com.apple.WebKit.PluginProcess
Caches/Metadata/Safari
Preferences/com.apple.WebKit.PluginHost.plist
Preferences/com.apple.WebKit.PluginProcess.plist
Saved Application State/com.apple.Safari.savedState
Leave the Library folder open. Try Safari again. If it works now, stop here. Close the Library folder. If you still have problems, continue.
Step 2
Triple-click anywhere in the line below to select it:
rm -fr $TMPDIR../C/com.apple.Safari
Copy the selected text to the Clipboard (command-C).
Quit Safari again. Launch the Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window (command-V). Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal. Launch Safari and test.
Step 3
If Safari still doesn’t work right, quit, go back to the Finder and move the following items from the open Library folder to the Desktop (some may not exist):
Cookies/Cookies.binarycookies
Internet Plug-Ins
Preferences/com.apple.Safari.LSSharedFileList.plist
Preferences/com.apple.Safari.plist
Preferences/com.apple.Safari.RSS.plist
Preferences/com.apple.WebFoundation.plist
PubSub/Database
Safari
(Note: you are not moving the Safari application. You’re moving a folder named “Safari.”)
Try again. This time Safari should perform normally, but your settings and bookmarks will be lost. The default set of bookmarks will be restored. Delete them all.
If the issue is still not resolved, quit Safari again and put all the items you moved to the Desktop back where they were, overwriting the newer ones that may have been created in their place. You don’t need to replace the files you deleted in step 1. Stop here and post again.
If Safari is now working normally (apart from the lost settings), look inside the “Safari” folder on the Desktop for a file named “Bookmarks.plist”. Select
File ▹ Import Bookmarks
from the Safari menu bar. Import from that file. Recreate the rest of your Safari settings. You can then delete the items you moved to the Desktop.
Note: This step will remove your Safari Extensions, if any, and their settings. If you choose to restore them, do so one at a time, testing after each step to make sure you haven’t restored the problem.
If you don’t like the results of step 3, you can undo it completely by quitting Safari and restoring the items you moved or deleted in that step from your backup, overwriting any that were created in their place. -
I have a pretty good but basic understanding of web site
management but have discovered during testing that some of my sites
are pretty slow to respond. I understand how to set image densities
to 72ppi for monitor display and have been pretty consciencous
about that, but I'm finding that certain sites I have built are
still slow in spite of my best efforts.
Obviously there are some techniques I could use a little
education on.
Without getting too exotic, are there some simple, common
practices designers use to help the load speed of web pages?
I'm using simple html (no dynamics) and are just dealing with
text and images.
If you need to see an example, this site's homepage sometimes
can take a bit to load. I did say "sometimes" so obviously not all
the loading issues are design related. PLEASE note this is a PG-13
site (no porn or anything too bad; just adult humor and comment).
http://home.comcast.net/~buckanddusty/
Thanks
TomThat particular page is 257K. As such, it will take about 60
seconds to
completely load when accessed on a 56k dialup connection.
There is no magic
about this effort to minimize this loading time -
1. Use as few images as you can
2. Those images that you use should be no larger
(dimensionally) than the
smallest you can get away with to deliver the look/message
3. Those images that you use should be optimized (by reducing
their
quality) until they are almost unacceptable
That is about all you can do.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"TCarp" <[email protected]> wrote in message
news:flg06k$5j2$[email protected]..
>I have a pretty good but basic understanding of web site
management but
>have
> discovered during testing that some of my sites are
pretty slow to
> respond. I
> understand how to set image densities to 72ppi for
monitor display and
> have
> been pretty consciencous about that, but I'm finding
that certain sites I
> have
> built are still slow in spite of my best efforts.
>
> Obviously there are some techniques I could use a little
education on.
>
> Without getting too exotic, are there some simple,
common practices
> designers
> use to help the load speed of web pages?
>
> I'm using simple html (no dynamics) and are just dealing
with text and
> images.
>
> If you need to see an example, this site's homepage
sometimes can take a
> bit
> to load. I did say "sometimes" so obviously not all the
loading issues
> are
> design related. PLEASE note this is a PG-13 site (no
porn or anything too
> bad;
> just adult humor and comment).
>
>
http://home.comcast.net/~buckanddusty/
>
> Thanks
>
> Tom
>
>
> -
Web pages are missing their default scrollbars - help
Web pages are missing their scroll bars.
To be clear — I can create scroll bars for any element
within a page — no problem.
It’s that each pg itself which by default should come with its own scrollbars has none.
So if a viewer can’t see the entire page the viewer has no means to
horizontally or vertically scroll to see the off-screen portion of the page.
I’ve talk to the adobe tech support about the scroll-less pages.
They said the problem is beyond their expertise and lies in the code itself.
They advised me to reach across this platform for the answer.
The problem is consistent on all browsers.
I ran the pages thru Dreamweaver’s browsers’ lab. Pages varied slightly with each
Browsers, on the whole looked good. BUT a portion of the image on the right side
was cut off and the scrollbars were not available on the Adobe Browsers Test Lab page.
No errors were found when run thru Dreamweaver’s Browser Compatibility.
I reviewed the code but I have no idea what I’m looking for.
See For Yourself, the website with no scrollbars: voicesforthearts.com
Howard Blume
[email protected]
max os x system10.6.6
Dreamweaver 5While you are at it Howard, I noticed a METATAG in your BODY section.... it's already in the HEAD section.
<div id="logonavbar">
<ul>
<li><meta name="description" content="" /> -
Web pages are black when using Safari 4.0.3 on Windows 7
Web pages are black when using Safari 4.0.3 on Windows 7. It does not matter what page I try to view, all page are black. Sometime I can see pictures and white text box.
Screen capture:
http://users.jyu.fi/~ksalone/virhe/Safari403_Problem_onWin7.PNGHi and welcome....
Try deleting the temporary internet files (cache)
How to Delete the Contents of the Temporary Internet Files Folder
Carolyn
Maybe you are looking for
-
Adobe Photoshop CS3 Extended Activation Problem
Hi all, hoping someone can help me. I have a legitimate hard copy of Adobe Photoshop CS3 Extended which was only recently taken out of its sealed package. On installing and trying to activate I get an error. Now i am left with a window telling me "Re
-
Values in table control getting deleted on vertical scrolling
I have a table control which is associated with an internal table.Whenever I scroll down the values in the table control gets deleted. I tried solving the issue of scrolling by keeping another internal table as reference and syncing the values to my
-
It's been a while since my computer crashed and refused to work again and I cannot afford to get it fixed. It's been a long while since I was able to update it last. It's now told me it needs to be restored or something, but like I said, I don't have
-
BDC not inserting data in mandatory fields of MM01
Suddenly My BDC for sales maintenance View is not working as it is not inserting data in Mandatory fields.?can any one tell me the reason
-
How to add notes in iPod Touch?
Hi, I have a big text file that I want as a note in my iPod. I cant really type them all as it is a huge text note. Is there anyway that I can electronically copy it as a note in my iPod ?? Any tips, ideas ?