Can not get URL using GetPageContext().getRequest().getRequestURI()
Hi guys,
I am coding a web application using ColdFusion 8.
The situation is as follow:
- I type https://mypage.com/aaa/bbb.html on web browser where aaa and bbb.html does not exist in my web folder.
- And this will drive the error 404 PageNotFound occurred, in the code that processing error 404, I tried to get URL aaa/bbb.html by using GetPageContext().getRequest().getRequestURI() but the result of this command is my created 404 error page.
- I also tried to get URL by using CGI, but also couldn't get it.
Can you guys show me the way to get URL when no page is found error occurred?
Thank you very much in advanced!
No screen wrote:
- I type https://mypage.com/aaa/bbb.html on web browser where aaa and bbb.html does not exist in my web folder.
- And this will drive the error 404 PageNotFound occurred, in the code that processing error 404, I tried to get URL aaa/bbb.html by using GetPageContext().getRequest().getRequestURI() but the result of this command is my created 404 error page.
ColdFusion will know nothing of https://mypage.com/aaa/bbb.html! As the requested page is HTML, the web server will respond to it, without involving ColdFusion. The ColdFusion function GetPageContext() is therefore irrelevant.
Similar Messages
-
I used the wrong password to join my new belkin wifi. Now that I have the correct password, I can not get the to the join screen with the space to type in the password. I continue to get the unable to join message. I have put the touch to sleep and I have turned on and off the wifi and join options on the Network screen page. Does anyone know how to get pass this block of the wrong password to a new page that will allow me to type in the correct password. I see there is a option that asks if I want to reset the network settings.. is that what I should do? and what does it erase when I do that? Thanks for any input anyone has.
Yes. Reset network settings. Head to Settings -> General -> Reset and tap Reset Network Settings.
B-rock -
I have purchased Wedding Style By Miracle Design - it is showing in the downloads but I can not get it into lightroom - I am using a mac and the instructions are for windows.
Return, cancel, or exchange an Adobe order
-
I am trying to setup wireless using my old dome Airport Extreme Base station. I had previously used it about 5 years ago when I had dial up but have now switched to DSL with Windstream. I can not get connected as the ABS keeps trying to dial up(the old phone number). When I tried to change my network settings an annoying popup window says "your network settings have been changed by another application'. I have no idea what the message is all about and when I close this window it immediately pops up again and prevents me -as far as I can tell -from changing my Airport settings? I need advice on how to get this wireless setup done. Maybe a reset? or something else? I have the DSL phone line plugged into WIndsteam Seimens Speedstream 4200 modem and then the ethernet (yellow) wire from the WIndsteam Seimens Speedstream 4200 modem to the port on the dome that is a circle of dots.
1)Can you explain how using the AEBS as a bridge will work with the Seimens Speedstream4200?
As a bridge, the AEBS will basically become a wireless access point. This will allow the AEBS to provide a wireless network, but still allow the Speedstream to provide NAT & DHCP services for the wireless clients connected to the AEBS. If the AEBS was left as a router, you would have a double-NAT condition which isn't necessary bad in itself, but would create a second subnet. That would make it more difficult for clients connected to the AEBS to access clients connected to the Speedstream.
2) Is there a link that will guide me through the steps to set the AEBS as a bridge?
You can easily reconfigure the AEBS as a bridge using the AirPort Utility.
ref: AirPort Utility > Select the AEBS > Manual Setup > Internet > Internet Connection > Connection Sharing = Off (Bridge Mode)
3)Can I just connect the DSL phone line to the AEBS and eliminate the Speedstream4200?
Unfortunately no. The AEBS does not have a built-in DSL modem. You will still need the Speedstream to provide this function. -
Hi Everybody,
I use an Epson Stylus Office BX320FW printer with my IMac. Since upgrading OSX, I have lost the ability to print and scan. I have downloaded printer drivers from both Epson and Apple. I am using the printer in wifi mode but can not get it print or scan. How do I uninstall the Epson software and start all over again?
nickel_man_65Not using any mouse pad, I have a very smooth desktop. But I just tried to use a sheet of A4 printing paper, but no result, the problem persisted.
Someone on this forum suggested, that USB3 may interfere with the magic mouse.
I have 2 LaCie HDD's about 70 cm away from the mouse, I use them on Thunderbolt. But in operation or not - the result is the same, the mouse plays up! Just now I was clicking the desktop and the mouse created a new folder!!
Thanks for the advice, Bee
Cheers, Gerd -
I have a new Iphone 5
Add a new music cd to the library and then sync music
Also tried manual
TRied on several computers for some hours and evenings
Can not get any music on my Iphone at all
Sometimes I get informed that after copy some are not copied as they have the wrong formet
Also tried with a new CD
No fault during sync, but no musicGood.
Three things come to mind:
1. I think you're implying when you travel away from your home to a more populated area, the cellular coverage improves and your iPhone works well. Is that right?
2. Do you have a case or some other obstruction over or near your iPhone's antenna? Have you tried moving or removing any possible obstructions near the antenna?
3. AT&T has a (free) app in the App Store called "Mark the Spot". You can use this app to report voice and/or data issues to AT&T, as well as keep up on progress they may be making in improving coverage in your area. Your trouble reports are geotagged (if you wish). -
I have IMac 10.7.5 Lion I use I forgot the password and I did a few fixes from web sites, which did not work and now I can not get the computer to reboot the gray screen comes on with the apple and if a shift+c, I get a load bar and it goes half way and stops, I can get into the black screen area with the hard drive info
I did the following: mount -uw / rm/var/db/.AppleSetupDone shutdown/uses/us reboot Ok I know I should not have, but now I need help to reboot and hopefully not lose everything on the desk top, Linda MarkleYou did the wrong things. In the future it's a good idea to remember not to do something when you don't know what you are doing and what happens when you do it.
Forgot Your Account Password
For Lion, Mountain Lion, or Mavericks
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
When the menubar appears select Terminal from the Utilities menu.
Enter resetpassword at the prompt and press RETURN. Follow
instructions in the dialog window that will appear.
Or see:
Reset a Mac OS X 10.7 Lion Password
OS X Mountain Lion- Reset a login password,
OS X Mavericks- Solve password problems,
OS X Lion- Apple ID can be used to reset your user account password. -
I just bought a Iphone 5 -- my Iphone 4 and my ipad used to automatically sinc calendars via the Icloud whenever I entered anything on either device -- I can not get the new phone to do this.I have check the settings on both devices and they seem to be t
There are only two things that you must do to connect a device to calendars:
1) In settings>icloud, you must log in, WITH THE CORRECT ID/PASSWORD, and
2) Turn on calendars on the same page.
You said that the iphone 4 and ipad **used** to automatically sync. Do they no long sync? -
in my itunes tab is images / photo disappeared. . can not get it back, so now I can not get pictures on my iphone??? I do not want to use the photo stream. there are others who have experienced this tab disappears
Make the iTunes window wider.
It is on the far right. -
I can not open documents using adobe reader because I have to accept "end user agreement". How do I get to agreement?
thx but the only thing that happens when I open Adobe Reader is that a small icon appears in the bottom-line. There is no dialogue box where I can accept!
-
Hello, I use MAC AIR OSX 10.6.8 and have Adobe CS2, that I was using 2 years ago on my older computer. I stopped using it because it would close down in the middle of work. Now I would like to reinstall it on the MacAir but I can not get it working. It tells Adobe doesnT support my System. But I can not update my old version or activate it. What can I do?
The mac you want to install photoshop cs2 on is running mac os x 10.6.8 Snow Leopard?
(photoshop cs2 won't run on intel macs with mac os x newer than snow leopard)
Did you ever have cs2 installed on this particular computer before?
If the problem is that you already installed cs2, but it won't activate, that's because adobe took the activation servers offline for some older adobe products such as cs2.
You'll need to use the non activation version of cs2 from here and the supplied serial number:
Activation server shut down for Creative Suite 2, Acrobat 7, and Macromedia products -
How can I get to use my phone? When I try and dial out it says: 'You have not been given access to this service'
Have you chacked with your carrier. The message you are getting seems to relate to a carrier issue and not something to do with the phone itself
-
How do I get my phone out of voice control and can not scroll or use it
How do I get my phone out of voice control and can not scroll or use it?
press the home button and hold it for a few seconds. Voice conrol will appear
-
Good afternoon. My iphone 4s used in Amerke another user. When you upgrade requests id and password. I can not get it, what to do?
As the previous owner of the phone or set up your own id and passwords.
You should have perhaps thought about all of these things before buying the phone. -
about a year ago we purchased a used macbook pro and can not get music to transfer from iPhones to mac
how can i get All music transferred? even non purchased
Maybe you are looking for
-
Is there a way to reinstall Windows without all of HP's preinstalled software?
I have a HP Pavilion dv6-1334us notebook, installed with Windows 7 64-bit. I'm very familiar with the recovery process, DVDs and all, but I've recently read this article on Lifehacker: http://lifehacker.com/5832896/download-windows7-isos-to-reinstall
-
Page number, in a table, in footer
Hello, I'm having an issue which I think might be a legitimate bug. Here's the probem: • I'm adding the dynamic "page number", into a table, that resides within the footer. • When the page number reaches double digits (10, 11, etc), the number displa
-
Dynamic calc on a scenario member
I'm trying to create a dynamic calc for a scenario to calculate the variance between one scenario from another. When I run a report, I keep getting this err msg: Error executing query: CBS-SNI-BP-DB/Sni_prod/Consol/planning/Error(1200400) Error execu
-
How do YOU backuo your project files?
I am making my first iPhone game with Cocos2d. Its A LOT more work than my web browser app. I really don't want to lose my work and have to start again. So I was wondering how people on this forum backup their project files. I'm on a MacBook so I can
-
Guys, I have an issue with NTP and found how to resolve it: http://www.cisco.com/univercd/cc/td/doc/product/iaabu/csids/csids10/hwguide/hwts.htm#wp36468 Step 1 is "Log in to the service account" but how to do that? Thx Stephane