In page forwarding can variables used for denoting the target pages??
Hi all,
I would like to know whether it is possible to use a variable as the value of "page" attribute of the "jsp:forward ".
I need something similar to this:
String var = request.getParameter("choice") + ".htm";
<jsp:forward page=var/>
regards
Purushotham
Thanq for that.
But I cannot use JSTL here.
You would be happy to know that my job was done.
This worked
<%
String var = request.getParameter("choice");
%>
<jsp:forward page="<%= choice %>" />
There were some typos earlier. An additional space was given between % and = .
Thank you once again for the reply.
Similar Messages
-
System Image Restore Fails "No disk that can be used for recovering the system disk can be found"
Greetings
- Our critical server image backup Fails on one
server -
Two 2008 R2 servers. Both do a nightly "Windows Server Backup" of Bare Metal Recovery, System State, C:, System Reserved partition, to another storage hard drive on the same machine as the source. Active Directory is on the C: The much larger D: data
partition on each source hard drive is not included.
Test recovery by disconnecting 500G System drive, booting from 2008R2 Install DVD, recovering to a new 500G SATA hard drive.
Server A good.
Server B fails. It finds the backed-up image, & then we can select the date we want. As soon as the image restore is beginning and the timeline appears, it bombs with "The system image restore failed. No disk that can be used for recovering the system
disk can be found." There is a wordy Details message but none of it seems relevant (we are not using USB etc).
At some point after this, in one (or two?) of the scenarios below, (I forget exactly where) we also got :
"The system image restore failed. (0x80042403)"
The destination drive is Not "Excluded".
Used diskpart clean to remove volumes from destination drive. Recovery still errored.
Tried a second restore-to drive, same make/model Seagate ST3500418AS, fails.
Tried the earliest dated B image rather than the most recent, fail.
The Server B backups show as "Success" each night.
Copied image from B to the same storage drive on A where the A backup image is kept, and used the A hardware to attempt restore. Now only the latest backup date is available (as would occur normally if we had originally saved the backup to a network location).
Restore still fails. It looks like its to do with the image rather than with the hardware.
Tried unticking "automatically check and update disk error info", still fail.
Server A SRP 100MB C: 50.6GB on Seagate ST3500418AS 465.76GB Microsoft driver 6.1.7600.16385 write cache off
Server B SRP 100MB C: 102GB on Seagate ST3500418AS 465.76GB Microsoft driver 6.1.7600.16385 write cache off
Restore-to hard drive is also Seagate ST3500418AS.
http://social.answers.microsoft.com/Forums/en-US/w7repair/thread/e855ee43-186d-4200-a032-23d214d3d524 Some people report success after diskpart clean, but not us.
http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/31595afd-396f-4084-b5fc-f80b6f40dbeb
"If your destination disk has a lower capacity than the source disk, you need to go into the disk manager and shrink each partition on the source disk before restoring." Doesnt apply here.
http://benchmarkreviews.com/index.php?option=com_content&task=view&id=439&Itemid=38&limit=1&limitstart=4
for 0x80042403 says "The solution is really quite simple: the destination drive is of a lower capacity than the image's source drive." I cant see that here.
Thank you so much.Hello,
1. While recovering the OS to the new Hard disk, please don't keep the original boot disk attached to the System. There is a Disk signature for each hard disk. The signature will collide if the original boot disk signature is assigned to the new disk.
You may attach the older disk after recovering the OS. If you want to recover data to the older disk then they should be attached as they were during backup.
2. Make sure that the new boot disk is attached as the First Boot disk in hardware (IDE/SATA port 0/master) and is the first disk in boot order priority.
3. In Windows Recovery Env (WinRE) check the Boot disk using: Cmd prompt -> Diskpart.exe -> Select Disk = System. This will show the disk where OS restore will be attempted. If the disk is different than the intended 2 TB disk then swap the disks in
correct order in the hardware.
4. Please make sure that the OS is always recovered to the System disk. (Due to an issue: BMR might recover the OS to some other disk if System disk is small in size. Here the OS won't boot. If you belive this is the case, then you should attach the
bigger sized disk as System disk and/or exclude other disks from recovery). Disk exclusion is provided in System Image Restore/Complete PC Restore UI/cmdline.
5. Make sure that Number and Size of disks during restore match the backup config. Apart from boot volumes, some other volumes are also considered critical if there are services/roles installed on them. These disks will be marked critical for recovery and
should be present with minimum size requirement.
6. Some other requirements are discussed in following newsgroup threads:
http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/871a0216-fbaf-4a0c-83aa-1e02ae90dbe4
http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/9a082b90-bd7c-46f8-9eb3-9581f9d5efdd
http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/11d8c552-a841-49ac-ab2e-445e6f95e704
Regards,
Vikas Ranjan [MSFT]
------- This information is provided as-is without any warranties, implicit or explicit.------- -
Is there a linear equation VI that I can use for inputting the coefficients with variables attached to them? I am currently studying elec engineering and am in the thick of transient analysis. It is very time consuming figuring the mesh and nodal analysis in the transform domain. With 3 branches in a mesh analysis the resistors, inductors and capacitors are represented with variable s in them. I need to determine in the transform domain then convert to the time domain. One equation goes like this: (3+2s+1/4s)i1s - (2s)i2s - (1/4s)i3s = 6/s -6. The other equations are similar. I must keep the variable s in the equation and solve it with s in the result. I made several VIs for determining simultaneous linear equations some for complex numbers and they work great. This one has me a little stumped. I thinking that maybe Labview doesn't have a VI for this. The other VIs were fine because you just plugged in the numbers and ran the VI and got your result. Any VIs that do LaPlace transform operations?
Thank you.
TomHello Tom,
You can find a VI for doing Laplace transforms in Functions->Analyze->Signal Processing->Frequency Domain (this VI is only available in the Full and Professional versions).
You may also find the following tutorial of help in working with linear systems in LabVIEW.
Linear Systems in LabVIEW
Keep up to date on the latest PXI news at twitter.com/pxi -
Is variable offsets can be used for characteristics, text and formulas?
hi all,
can anyone let me know whether variable offsets can be used for characteristics, text and formulas.
if so cany one send me examples of using offsets to my email id [email protected]
regds
hariYou use offsets on dates (0CALMONTH, 0FISCYEAR, 0DAT and so on) and of course the corresponding texts.
If you have 0CALMONTH in your query and you want to do the same thing not only for the current month but for the past twelve months, they you just minus 1, 2....11,12 for each selections, and at the same time you can create text variable for the description of each month.
thanks.
Wond -
I bought iPad air. How can I download for free the app : iPhoto, iMovie, Pages, Numbers and Keynote?
Before you can download free apps:
1. Make sure you are using IOS 7 (ignore)
2. Make sure your iPad is registered in My Support Profile.
https://supportprofile.apple.com/
3. Try downloading again; it should be free.
If you need serial number, it's here:
Settings>General>About -
What brands and type can I use for my iMac 20" internal Hard Drive?
what brands and type can I use for my iMac 20" aluminium internal Hard Drive?
can I use WD caviar black?
is it too hot?If you are replacing the drive because the existing one is faulty, that's one thing. If you just want more space, you should take advantage of having a decently fast and relatively small capacity drive in there now (instead of a huge drive). Get an external FireWire drive and off-load most of your user data there. Make your internal drive dedicated to mostly your OS and app files, with plenty of free space. That setup will make your iMac run more efficiently. I won't go into more detail, because I'm not answered your specific question... You can post back with any questions, if interested...
To answer your questions...
You should be able to use any SATA 3.5-inch drive internally, but you should probably keep it at or under 1TB. The main concerns are power usage and heat dissipation. A drive like the WD Caviar Green would be ideal in terms of power and heat, but they do have slower (or variable) spin rate. I have one as an external drive (750GB) and it is amazingly quiet and cool. If I had to replace the internal drive because the current drive failed, I'd put it inside. I'll trade a bit of pure performance for the efficiency (including low noise), and these drives are more advanced with higher data density and larger cache, so the trade-off from slower spin rate may not be so bad.
You can check your current drive's model number (which is shown in System Profiler) to get the specs online. The stock drive in my old +Late 2006+ iMac is a 7200 RPM drive. The Caviar Black is a 7200 RPM drive, with a newer design. So if you want to use a Caviar Black in there, I think it would be OK. -
I don't understand why I can't download for free the apps designed by Apple, such as Pages and Numbers, which are free with iOS 7. Can anyone help me?
The apps are free with iOS 7 if you purchased a new device after September 2013. The apps do not come free just because you are running iOS 7 now. Did you purchase or receive a new iPad recently?
If you did, are you using the same Apple ID to get the apps that you used to activate the iPad? If you are, sign out of your ID, restart your iPad, sign in again and go back to the App Syore and see if the apps show up as free.
Settings>iTunes & App Store>tap your ID and sign out. Restart the iPad and go back to the settings and sign in again. -
Memory modules can we use for RAM upgrade of HP Pavilion dv5-1198de??
What memory modules can we use for RAM upgrade of HP Pavilion dv5-1198de??
Max RAM? Vista? Windows 7?I can't find a dv5-1198de but I did find a dv5-1198er which should be similiar. It states up to 8 gb of ram. HERE
I would try www.Crucial.com for suggested memory ,you can use their Scanner Tool to let it detect what you have and what you can upgrade/replace with.
******Clicking the Thumbs-Up button is a way to say -Thanks!.******
**Click Accept as Solution on a Reply that solves your issue to help others** -
How many devices can you use for your itunes account?
how many devices can you use for your itunes account?
PT wrote:
Macistotle wrote:
Unless you have DRM still haunting your tunes ... Then you can only use those songs on 5 devices. Otherwise, connect as many as you like (as stated above).
No, you can sync your DRM tracks to an unlimited number of iPods (but only authorized to play on 5 different computers/user accounts)
Patrick
So I can sync two iPods to my iTunes account and sync the same digital copy movies that come with some o' my DVDs to both ipods? Do movies make a difference really, DRM-Wise? Thanks in advance. -
When I sync my iphone 4S using iTunes it only syncs 8.5GB of music, not the entore library as specified. Is there a capcity default limit of the amount of storage that can be used for music and if so how do I change it?
The only limit is that of the device. No restrictions on how much of it you can use for music. Is part of your music library unchecked?
tt2 -
How can I use some of the image i am working on to paint with? like if I wanted to give someone an extra eye in the forehead, ow could i then paint their own i in the forehead? I know there is a paint tool for that, i just can't find it ... :/
It sounds like you are talking about the cloning tool?
Tool looks like this:
Then when selected you can change the size of the brush and using Alt (windows) and Command (Mac) to select your region you want to copy then start to create you cloned image.
Hope this helps? -
What can I use for a low battery warning on a Mac Book OSX10.8?
What can I use for a low battery warning on a Mac Book OSX10.8?
What you should see above all your windows when your battery gets to low.
-
What Malicious Software Removal Tool can I use for my Mac Book? I need do to do this for a College class.
You may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful: The User Tip seeks to offer guidance on the main security threats and how to avoid them.
https://discussions.apple.com/docs/DOC-2435 -
Is there a custom function available which can be used for logging errors captured in a sp during and after execution in a sql table?
Basically we would like to utilize such function in every sp and log errors of each sp in a error log table
MudassarThanks .
I was able to write this however I am thinking I am missing something
CREATE FUNCTION testfunction1()
RETURNS @temp_error TABLE (
id int identity(1,1),
procedure_name varchar(255),
line_number int,
error_number int,
error_message varchar(max),
error_state int,
error_severity int,
occurence_datetime datetime default current_timestamp,
user_name sysname default suser_name(),
login_name sysname default suser_name()
AS
BEGIN
insert @temp_error(procedure_name,line_number,error_number,error_message,error_state,error_severity)
select error_procedure(),error_line(),error_number(),error_message(),error_state(),error_severity()
RETURN;
END;
CREATE TYPE test_type AS TABLE(
id int identity(1,1),
procedure_name varchar(255),
line_number int,
error_number int,
error_message varchar(max),
error_state int,
error_severity int,
occurence_datetime datetime default current_timestamp,
user_name sysname default suser_name(),
login_name sysname default suser_name()
GO
create proc usp_error_test
@test_type AS test_type READONLY
as
begin
begin try
select 1/0
end try
begin catch
select * from testfunction1(@test_type)
end catch
end
Mudassar -
Hi
Windows serv 2012 cluster on sql 2012 cluster with 2 instance. on works fine , Second instanc ewhen i try to creat DB a get this message.
Cannot use file for clustered server. Only formatted files on which the cluster resource of the server has a dependency can be used. Either the disk resource containing the file is not present in the cluster group or the cluster resource of the Sql
Server does not have a dependency on it.
CREATE DATABASE failed. Some file names listed could not be created. Check related errors. (Microsoft SQL Server, Error: 5184)
Any help please
kam
KAMELHi Saurabh
Exactly I have SQL SERVER 2012
Failover Clustering in windows server 2012 with two nodes with
two instances and exactly I run them in the same server and each instance with
three drives Backup, Data and log.
KAMEL
Maybe you are looking for
-
UI elements are missing in the layout of a view
Hi Guys, I've downloaded New SAP NetWeaver 7.01 SP0 ABAP Trial Version. After three times installation, I gave up. And I downloaded New SAP NetWeaver 7.01 SP3 ABAP Trial Version, it took more time than SP0 to install. Finally, it works. Then I read t
-
How to get system Hostname in java
Hi, I am a java developer trying to get the hostname of the system from java class. Meaning want the value when i run the $hostname command in linux and my server is Linux server. I am searching in the System Properties for the hostname but i could n
-
Using Arrays in custom objects
All, I have searched for an answer to this but have not been able to find out so I'll post the issue and see what happens. I am creating a service and client for use with a JavaCard system. We have a pre-existing domain class called CardMetaData wich
-
why is it that when I use transform to rotate a dynamic textbox the text no longer appears when i test the movie?
-
Is it ok to leave my old photos in Aperature and start with new photos in Lightroom? MacPro with 2 x 2.26 Ghz Quad-Core Intel Xeon processor, 6 GB memory, 1 TB harddrive? Or should I transfer them to Lightroom?