Is it possible to do this in JSTL / JSP - JavaBean with static properties ?
javaBean:
public class Util {
private static String s;
public static void setS(String s) { this.s = s; }
public static getS() { return s; }
// some other static utilities needed to be called by other classes
}JSP Page needs to output the value of s (the static value)
Is it okay for the JavaBean used to have static values and static get and set?
By the way, the correct way to write your static setS method (without this!) is:
public static void setS(String s) { Util.s = s; }
Similar Messages
-
Is it possible to do this sort of sophisticated manipulation with a TREE?
We want to replace our normal Oracle forms menu system with a tree.
However, we have a requirement like this:
(1.) We want to stop using roles to grant access to menu options.
Now what happens is:
-- We create a db role for every form (using the form name as the role name).
-- before we launch the form from the menu we check whether the user has been granted this role.
-- If he has not been granted the role we give an error message
(2.) So now, instead of showing ALL the menu options and giving error messages when a user trying to invoke a form to which has no access to, we want to show in the tree ONLY THE MENU options he can access.
(3.) In order to do this we want to create templates, which consist of SUBSETS of the tree to which the user can access.
(4.) So instead of having a form to assign form roles to users, we want to have a form where on the left the entire menu is shown and the right another box where admin user can create template menus (i.e. a sub-set of the main menu).
(5.) We have to have <-- and --> buttons to shift the menus from left to right.
Below image shows what the menu template building form will look like:
http://www.freeimagehosting.net/uploads/4b4dd38668.gif
Is this sort very sophisticated menu manipulation possible with the menu item in Oracle forms?Any thing is possible but i think you are taking this to little complicated way.
My Idea is
- Create tables contains all Menu names with their types like FORM, REPORTS etc etc
- Table for all Application Roles
- Table to store information Role's Menus ( Like Admin can have multiple Create user form, Change password form)
- Table for all users
- Table to assign Users specific Roles ( John can be Admin , Manager)
- Create query to populate tree with User who logged in retrieve his Roles You can always get how many Menu should display on Run time
My 2 cents
Baig,
http://baigsorcl.blogspot.com -
I wish to export several frames from iMovie as if they were images (like JPEGs or TIFFs). Is it possible to do this using iMovie, if so how? Any advice is greatly appreciated. I've already managed to 'add a freeze frame' to isolate the desired frames but I can't export it. Thanks.
Ach... I found a solution thanks to previous posts which came to light after I'd posted what was obviously a question that had been asked before.
-
I am trying to find out if I can change a setting of the calendar in my iPhone.
When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday. Is it possible to make this change?Hello SMEvans32
You can use iCloud to share the Calendar, that way she will always be up to date on that particular section of your work calendar. If you want to use iCloud, I would recommend backing up so you have a safe copy of your data.
iCloud: Calendar sharing overview
http://support.apple.com/kb/PH2689
iCloud Setup
http://www.apple.com/icloud/setup/
Thanks for using Apple Support Communities.
Regards,
-Norm G. -
I'd like to transfer all of my songs from iTunes from my old laptop (windows) to a newer laptop (mac). Is it possible to do this? If so, how?
See Here...
Move iTunes Library from PC to MAC
http://www.macworld.com/article/146958/2010/03/move_itunes_windows_mac.html -
i am looking for a simple app to enable me to crop a face from one pic to another(fun). is it possible to do this via iPhoto or aperture?
No, you will need something more advanced, like Photoshop.
-
My ipod shuffle (1st generation) will not restore. It says it is corrupted(error 1442) Is it possible to correct this problem, or is it beyond repair. It worked last time I used it on my laptop with Windows Vista. Any help would be much appreciated.
Im actually tilting it up where it cinnects to my iPod, not where it connects to my computer, and i have tried three(yes, 3) different cables, one of which i bought brand new. still nothing, and i've also tried different USB ports on my computer,....nothing. Could this simply be a hardware failure of somekind? maybe a physical problem...i mean, why would i have to tilt the cable in order for my computer to actually read my iPod? im looking at the USB connector on my iPod (maybe it's my imagination, not sure) it possible might be bent, the little metal part in the port.
-
long story short...i attempted to import pics from iphoto to a folder on my desktop but somehow clicked desktop so 45,000 pics loaded to my desktop and now my computer freezes up after trying to load everything, and i'm not able to just drag the photos into the folder. is it possible to reverse this? what are my options? restore hd from time machine?
a further question to restoring my hd from a previous backup on time machine...it says it will erase the hd. does it actually erase everything or does it just erase anything that may have been added or downloaded since that backup? this is confusing to me.
another problem which is part of the original problem is it seems that when i connect my iphone to my computer and iphoto uploads my pics...it doesn't just upload new ones, it duplicates and uploads every picture again...which is why i have 45,000 pics...they are 40,000 duplicates! what's up with that?
I have a macbook pro, and recently updated the os to Yosemite. the iphoto app is out of date, but i'll worry about that once i can figure out how to get all those pics off the desktop. also, i recently purchased and installed 8g of new ram, but that hasn't seemed to help.
any advice would be appreciated!
thanks!!thanks for replying.
the booting and walking away and then attempting to browse and clean method is what i've been trying to do. it won't let me drag and drop and just freezes up and goes to sleep after 2 minutes. it's a never ending battle with very few results. which is why i questioned the method of just restoring the hd from a time machine backup.
do you think restoring the hd from time machine will resolve the issue with all pics on the desktop? and everything will be as it was from the date i restore it from? sorry, as you can tell, i'm not overly computer savvy.
i have a really old desktop mac...i can try connecting the two...how does one boot a mac in 'target mode'?
as for the iphoto cleaning and organizing issue...that is what i was trying to accomplish with importing them to a folder. was going to browse and clean from there...but somehow imported to desktop which is what's complicating everything. once i get them off the desktop i can work on the iphoto issue...which as i mentioned...i didn't take 45,000 pics...i've just taken about 4,500 over the last few years, and they are being duplicated in iphoto. this was my attempt to clean it out entirely and start over. it will basically be a lot of deleting.
one problem, seems to lead me to more...which is just my luck. :-)
thanks again, for your help. -
asking for an address and not mine and I am the owner of this device and I can not pave if there is a possibility of me to help me open it with my address as I opened before
Read the following about, "Activation Lock".
http://support.apple.com/kb/ht5818 -
I am not able to go to the facebook site. www.facebook.com is not working. I get the following error message. 404 Error - Not Found
The resource you have requested could not be found on the server. There are many possible reasons for this. Either the file does not exist, there is an error in your request, or the file is not accessible in the requested directory. Please verify that:
* You have used the proper case; requests ARE case-sensitive!
* You have entered the URL correctly. (i.e. proper directory/filename)
* You used the FULL URL. (i.e. proper file type: .html, .gif , .jpg, etc.)
* You use a tilde (~) before user directories. (i.e. www.furcen.org/~jurann/ )
* The user/file still exists on this server.
I also get redirected to "Busca Google" when typing www.facebook.com in the address bar.
== URL of affected sites ==
http://facebook.com; buscagoogle.comI have the same problem and it does not have to do with firefox. Do you have any idea how to fix it through?
-
I have a mac mini and just purchased a moshi hdmi connector for my LED TV. The problem is, I wanted to be able to take my mouse from one screen to another, not just as a mirror image! Is it possible to do this some how?
The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
If you have two displays attached, then the function to change from mirrored to extended Desktop will appear in System Prefs/Displays. -
The bottom part of my iphone4 screen cannot tap.. I restored it 2 times with the latest firmware and yet still the same..is it possible to fix this?how? please guys help me =(
iPhone and iPod Touch: Troubleshooting touchscreen response: http://support.apple.com/kb/TS1827
-
In fcp7 there is a "close gap" option so you don't have to highlight and move everything every time you delete a small section in the middle of a video. Is it possible to do this in fcpx? I can't seem to find it...Thanks!
This isn't the actual clip, I fixed it by highlighting and moving everything over but it'd still be a good thing to know for the future. This is essentially the situation i'm talking about. I would never use it for something this simple, but when more complicated editing is being done it isn't so easy to just move all the clips over.
-
I have created a merged letter (mail merge) using Word for Mac. But I cannot merge the letter to my contacts which are in the Apple Mail Application. Is it possible to do this?
Word for Mac 8
i mac intelThis is the Apple Keynote discussion, you should post in the Microsoft forums where the experts there can help you, there is a dedicated mailmarge discussion here: Microsoft Office Word Mailmerge
-
Even if we have bought the advance version of Adobe FormsCentral, is it possible to receive via e-mail the completed form in .pdf? If not, is it possible to develop this option? How much would it cost?
I know of no way to do this with Reader or XML.
Maybe you are looking for
-
Mac Crashes in the middle of Time Capsule backup --HELP!
Been using time capsule for several months without any issues. In fact, it has been great until recently. A week or so ago, my MacBookPro began crashing in the middle of a time capsule back up. Just suddenly the MAC curtain comes down and tells me I
-
Report Transfer price of product in FOC order
Hi Gurus, I need to report from SAP free of charge deliveries in an specific timeframe in kEur. For this purpose Should I need to have a column in our order type ZGFD with the transfer price of product and total sum. or is there any other transation
-
Can I sync and/or stream to more than one AppleTV? I would be interested in having one in my basement and one in my bedroom.
-
Embedded image in SVG doesn't show up in An, but opens in browser.
I feel stupid cause it seems nobody else has this problem:) I've exported svg file from Illustrator, some graphics and embedded .jpg image, but when i open the svg file in Edge i can see only graphics , the image layer is there but i can't see the im
-
How do I uninstall the Application Manager?
After a difficult installation of Creative Cloud, my Windows 7 64-bit Desktop freezes after a period of time ranging from minutes to hours. Desktop icons won't launch, and context menus won't display. Quick Launch icons still work OK. I asked a com