Do i have to do something configuration in weblogic 6.1 to put a javabean?
Hi,
I'm trying to do a simple example about a simple javabean....but it...is giving to my some errors....my question is:
Do i have to do something configuration in weblogic 6.1 to put a simple javabean?...
i have created a web application called mywebapp, I have created \WEB-INF\classes directory�there I have put my simpleBean.class��my jsp is in the root of \mywebapp directory�.
I am using weblogic 6.1�..jdk 1.3��.Somebody could help me or give me some suggestions or ideas?�..
Thanks in advance�
Mary
<!-- JSP Directives -->
<html>
<head>
<title>Hello</title>
</head>
<body>
<basefont face="Arial">
<jsp:useBean id="simpleBean" scope="page" class="simpleBean" />
<!-- Set bean properties -->
<jsp:setProperty name="simpleBean" property="fname" value="Andrew"/>
<jsp:setProperty name="simpleBean" property="lname" value="Patzer"/>
<!-- Display welcome message -->
<center>
<b><%= simpleBean.welcomeMsg() %></b>
</center>
</body>
</html>
public class simpleBean implements java.io.Serializable {
/* Member Variables */
private String lname;
private String fname;
public simpleBean() {
/* Initialize bean properties */
setLname("");
setFname("");
/* Accessor Methods */
public String getLname() {
return lname;
public void setLname(String _lname) {
lname = _lname;
public String getFname() {
return fname;
public void setFname(String _fname) {
fname = _fname;
/* Display personalized message */
public String welcomeMsg() {
return "Hello " + fname + " " + lname +
", welcome to the wonderful world of JavaBeans!";
////////////////errors
Full compiler error(s):
/apps/wclust1/bea/wlserver6.1/config/domadmin/applications/mywebapp/WEB-INF/_tmp_war_srvadmin_srvadmin_mywebapp/jsp_servlet/__hello.java:87: cannot resolve symbol
symbol : class simpleBean
location: class jsp_servlet.__hello
simpleBean simpleBean = null; //[ /hello.jsp; Line: 12]
^
/apps/wclust1/bea/wlserver6.1/config/domadmin/applications/mywebapp/WEB-INF/_tmp_war_srvadmin_srvadmin_mywebapp/jsp_servlet/__hello.java:88: cannot resolve symbol
symbol : class simpleBean
location: class jsp_servlet.__hello
simpleBean = (simpleBean)pageContext.getAttribute("simpleBean"); //[ /hello.jsp; Line: 12]
^
/apps/wclust1/bea/wlserver6.1/config/domadmin/applications/mywebapp/WEB-INF/_tmp_war_srvadmin_srvadmin_mywebapp/jsp_servlet/__hello.java:91: cannot resolve symbol
symbol : class simpleBean
location: class jsp_servlet.__hello
simpleBean = (simpleBean)pageContext.getAttribute("simpleBean"); //[ /hello.jsp; Line: 12]
^
/apps/wclust1/bea/wlserver6.1/config/domadmin/applications/mywebapp/WEB-INF/_tmp_war_srvadmin_srvadmin_mywebapp/jsp_servlet/__hello.java:93: cannot resolve symbol
symbol : class simpleBean
location: class jsp_servlet.__hello
simpleBean = new simpleBean(); //[ /hello.jsp; Line: 12]
^
4 errors
Well...i already could resolve my problem.....
I only put my javabean into a package...and with it....all is working very fine....
Best regards,
Mary
Similar Messages
-
I have an iPhone 4s and a hotmail account, and despite having configured push mail notifications to be received automatically and immediately, I fail, I have to do something extra? thanks
IOS supported push mail account http://support.apple.com/kb/HT2625#
-
What is the most sensible way to extend a wifi signal. I am in a cinderblock house and I have to buy something that will give me a single network but added range from my airport extreme base station.
Use an Airport Express. Configure the AEBS to allow it's wireless network to be extended. This is a dropdown menu option under the Wireless tab. Configure the Airport Express to Extend an Existing Network also under it's Wireless tab. You will need to provide the name of your network used in the AEBS as well as the network's access password.
-
Hi,
Thanks in advance to anyone that can offer support.
I have used the Apple Configurator to add a profile to both my iPhone 5 and AppleTV (both with latest OS) to enable them to be on our corporate network.
I can now airplay from my Mac to the TV and my iPhone to the TV.
The phone can access the internet fine and the AppleTV can access YouTube and Photo Stream without any issues.
THE PROBLEM: The AppleTV cannot access the iTunes Store and the iPhone cannot get e-mail (either from Exchange server or from iCloud (or Gmail).
Thanks again for any support in rectifying the issue.
TimYes, it's pretty much the same with photos, you can't save them to iCloud. Again you're better using something like dropbox.
There is a photo feature with iCloud call photo stream, however it only saves your most recent photos, 1,000 and your last 30 days. -
I have a DAQ Assistant configured to read 2 channels at the same
time. When I wire a graph indicator to the output, I see the 2
signals jumbled together. How do I split them up into seperate signals?
When I wire any type of indicator it is showing just one output of a single channel.
I want 2 indicators showing 2 different signals as expected from the 2 channels configured. How to do this?
I have tried using split signal but it end up showing only 1 output from 1 signal in both the indicators.
thanks in advance.
Solved!
Go to Solution.Yes you are right. I tried that but I did not get the result.
I just found the way. When we launch split signal, we should expand it (split signal icon) from above and not from below. It took me a while to figure out this.
thanks -
How can I disable the automatic hiding of known file attachments, and why are always about 10 internet pages where I have to download something when I use mozila firefox?
Windows Computer1) If you are talking about the file names on the computer, there is a
setting to turn off known file types. Open your file browser. Then
just under the location bar, press '''Tools,''' then '''Folder Options.'''
A new window will open. Select '''View.''' Look for
'''Hide Extensions For Known File Types.'''
2) Never NEVER '''NEVER''' download anything unless you know what
it is. If a web site claims it needs to download something, what is it?
It could be something like the flash player, '''or a virus ! !'''
Ask questions, or go somewhere else. -
i have moved from an iphone 4 to iphone 5 and have done a back up of my iphone 4 and restored this back up to the iphone 5, but the apps do not appear to have come across. Have I done something wrong? Please can someone tell me how to move my apps across?
After you Restore from backup, sync the iPhone.
-
Have deleted temp video, configured anti spam and firewall, and one specific video keeps giving me an error. Just tried downloading a previous episode of the show and it worked just fine. Always sunny in philly "Charlie rules the world" anyone else??
Have deleted temp video, configured anti spam and firewall, and one specific video keeps giving me an error. Just tried downloading a previous episode of the show and it worked just fine. Always sunny in philly "Charlie rules the world" anyone else??
-
OK; have been trying to setup a test VM based RDS deployment for a few days now with no luck.
this error mentioned above:
"Server <server name> either does not have a virtual switch configured or none of the configured virtual switches have an IP address assigned" error is driving me nuts!
I have removed and re-added the RD Virtualization Host role numerous times, each time having the "create a virtual switch" checkbox selected, but it did NOT create any virtual switch.
I created the external virtual switch manually and tried to create the desktop collection again, no luck with the same error.
a few questions:
1. you don't assign IP to a switch! you assign IP to Network Interfaces. why does the error puts it like this?! it is technically wrong.(yeah yeah I know all about how you'd assign IP to managed switches in real world to telnet into them and manage them.
you know better than me that it is not the case here!)
2.the RDS Virtualization hosts are using their wifi card as the card for the virtual switch. could that be the reason? I even disabled their unplugged wired NIC just to make sure that the wifi is the only available option for the RDS wizard to use for the
virtual switch creation; but it didn't use it and it didn't create any virtual switch automatically.
3.if WIFI nic is indeed the reason, is it your suspension or an official documents is there somewhere stating so (that the WIFI NICS on a Virtualization hosts are not supported as the hub for a virtual switch).
4.what are the properties of the virtual switch the RDS requires? does it have to be external? why can't it work even with my manually created external switch?
5.how would I fix it?
P.S: the environment is made up of 2 laptops, having windows 2012 R2 trial installed on them, using their wifi to connect to the out world. no cable is plugged into their wired NIC card.Hi,
Thank you for posting in Windows Server Forum.
The simplest short term solution was to connect each computer to a small switch that had no other connectivity. This brought up the link light on the external NIC and allowed the creation of the collection to complete. You need to use an external switch. You
can create one external switch which might fix the problem.
Please check below article for information.
VDI Deployment Error About Virtual Switch
In addition please referthis article for information regarding virtual switch.
Hope it helps!
Thanks.
Dharmesh Solanki
TechNet Community Support -
My question mark and forward slash key have suddenly stopped working. Have I pressed something I shouldn't have. Any ideas what to do.
judith147 wrote:
My question mark and forward slash key have suddenly stopped working.
If they do nothing at all, double check system preferences/speech and make sure they have not somehow gotten set as the trigger for Text to speech or speech recognition, etc.
Also try an external keyboard. If it works ok, then your internal keyboard is probably damaged and needs repair or replacement. -
My computer no longer plays some purchases because it says my computer is not authorised but it is, but now Itunes say the cd is no longer available at the store, so I have paid for something but can not no play it.
Hi and welcome to the WD community.
Try to see if perhaps you are connecting the drive to a surge protector and it might not be getting enough power, try to connect the adapter directly to a power outlet on the wall to see if you get a different result. -
I had updated itunes and now have no songs when I open itunes, do I have to do something else?
See Empty/corrupt iTunes library after upgrade/crash.
tt2 -
thanks
Locked - please see duplicate discussion:
My bluetooth will not turn on, I may have accidentally deleted something while using "clean master"? is there a way to r…
Message was edited by: Admin ModeratorSorry to hear that the Bluetooth data/profiles may have been deleted from your phone. Accidents happen!
oznaw, to be honest, I believe you will need to perform a master reset in order to recover the missing Bluetooth data, as there is nothing really available in the Play Store that just updates the Bluetooth profiles/data. Let us know if you have any additional questions, or if you found an alternative. Thank you oznaw.
NicandroN_VZW
Follow us on twitter @VZWSupport -
hi,
1-whan I install eseentials server 2012 on a systeem with 2 processors , do I hav to make additional configurations to take advantage of 2 processors , or there is no need for any additional configuration?
2- I ask the same question for standaard edition for example when I install this version on a systeem with 4 or 8 processors do I have to make additional configurations ? if yes what are those steps or configurations?
thanks
johan
h.davidHi
1- dont need any additional configuration for second processors.
Essentials spec
https://technet.microsoft.com/en-us/library/dn383626.aspx?f=255&mspperror=-2147217396
2-no need also
standard spec
http://blogs.technet.com/b/matthts/archive/2012/10/14/windows-server-sockets-logical-processors-symmetric-multi-threading.aspx -
In which server v have to do ale configuration (production or development)
hi consultants,
in which server v have to do ale configuration (production or development)..
kindly give me some clear idea about that
thanks
bhanuHi
First you have to develop the complete scenario in DEVelopment server and to check that it is working fine.
So you create a request for the same in DEV server.
You never develop/configure anything in production
all the things that are configured/developed will be moved to Production using the transport requests transportation only
<b>Reward points for useful Answers</b>
Regards
Anji
Maybe you are looking for
-
Fault with phone line cleared, but IP profile stil...
Hi, Apparently there was a fault with my phone line (didn't seem anthing wrong to me), which had caused my IP profile to be dropped, although my connection had never dropped. So an Openreach engineer came out and did something down the road from my h
-
ITunes 10.6.1.7 doesn't work
I upgraded to 10.6.1.7 and now iTunes doesn't work. I also tried to install the iCloud but I can't find that either. Should I remove the iCloud application?
-
Satellite U200-122: Fingerprint Software doesn't work correctly with Firefox
When I first installed Firefox on my U200-122, everything worked fine. LogIn on different sites by fingerprint was no problem. After an firefox update the problems began. Instead of filling in my username and pw, Fingerprint software popups and asks
-
Cancelled billing document number missing in document flow
Hello Experts, there is a MAM sales order in which one line item created as a separate billing document is cancelled.however in the document flow the cancelled billing document is not visible.any suggestions how to slove the issue? Regards, Raj
-
Hi, I've been having some trouble with JavaSound... basically, I just want to play a clip, and return control only after the clip has finished playing (its for a bunch of new CS students who dont know a thing about threads / synchronization, but want