Ok I managed to figure this out myself. Just in case anyone is interested, here is how to do it:
In the target jsp page, do the following:
Hashtable hashtable = (Hashtable) request.getAttribute("hashtable");
Enumeration enumKeys = hashtable.keys();
<html:select property="someProperty" >...
Hi,
I have a Hashtable in the Action class and I did a request.setAttribute("hashtable",ht);
In my target jsp page, I need to iterate through the key-value pairs in the Hashtable and populate a drop downbox. Can the <logic:iterate> tag to do this? I really have no idea how can this be...
what is the equivalent of the autonumber of Access in Oracle? dun think there is rite?
so how do i generate a running number that is juz +1 bigger than the previous one?
...out that Oracle does not actually support JOIN statement.
i need help in modifying the statement below so that it will work in Oracle. Thank You.
*****************************************************
SELECT
Product.ProductID,
Product.Name,
Product.Description,
Equipment.EquipmentID...
Thanks Ken, it works!
the output this command gives is:
.
./.hiddenfile1
./.hiddenfile2
./.hiddenfile3
juz touch up the line u gave a bit to become: find . -name '.?*' -print | cut -f2 -d/
and i get:
.hiddenfile1
.hiddenfile2
.hiddenfile3
which is wat i need!
Thank You
think u misunderstood my question.
wat i need to do is to list all hidden files and NOTHING else. say if i have 5 files of the type ".XXXX". then only these 5 files will be listed out, ignoring the rest of the files.
i have a binary file and i would like to find the size of this file in bytes. any commands i can use? pls help. newbie to shell programming here...
Thank You!
how do u write a script that renames all the files in the current directory such dat a "." is appended to the front of the filename, ie make it invisible?
I GOT IT!!
did some twiddling around and found out that i can actually scale the picture simply by changing the parameters "width" and "height" of the paintpicture method. (DUH!!)
didn't noticed the paintpicture method the first time round. took some trial n error to...
thanks hackster! that was a pretty cool site indeed. unfortunately, the routine does not accomplish wat i want.
this routine does not scale the form to fit the paper like i wanted to. in fact, the effect is the same as that of PrintForm.
the printout looks really ugly wif the form all cropped...
I'm using frmMyForm.PrintForm to do the printing but it doesn't fill up the whole page. I understnad that another way is to transfer all the controls onto a picture box and then print the picture box. However, this will require too much of a trouble as I have abt 200 - 300 over controls on one...
...errors. anyway, i found another article that describes how to achieve wat i want (to a certain extent) which looks similar to urs. have a look:
'************************************************************
Private Sub Form_Load()
Dim oWordApp As Word.Application
Dim oWordDoc As...
I need to make a reference to a MS Graph chart that i have inserted in a Word document. how do i go about doing it? do i use the path of the Word document?
...i go abt accomplishing this?
i already have some bookmarks in the Word doc template and this is how i insert the values:
******************************
Dim AppWord As Word.Document
Set AppWord =...
...from my vb app.
how do i go abt accomplishing this?
i already have some bookmarks in the Word doc template and this is how i insert the values:
******************************
Dim AppWord As Word.Document
Set AppWord = GetObject(strFileName)
AppWord.Bookmarks("Value1").Select...
this question may sound silly but i really have no idea wat it means.
i keep getting this "error 0" error when i use Err.Number in my error handler. when i do a Err.Description, it doesn't print anything.
my questions are:
1) What is this error 0?
2) Does it mean there is no error...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.