R Laksh

Greenhorn
+ Follow
since Aug 27, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by R Laksh

Hi,

I have a program where the user can download the file in csv
format. I am using jsp and when the file dialog appears, if we choose open, the file name is having [1] appended to it.

And the excel worksheet has a invalid name.

Ex. File name - laksh.csv

It appears as laksh[1].csv
and worksheet name appears as .csv]laksh[
I dont want this to happen.

I am giving the file unique name by appending the file name with current time & also tried the same by deleting all the cache.

Can anyone help me to come out of this problem?
Thanks
Regards
14 years ago
Hi,

I have a program where the user can download the file in csv
format. I am using jsp and when the file dialog appears, if we choose open, the file name is having [1] appended to it.

And the excel worksheet has a invalid name.

Ex. File name - laksh.csv

It appears as <b>laksh[1].csv </b>
and worksheet name appears as <b>.csv]laksh[ </b>

I dont want this to happen.

I am giving the file unique name by appending the file name with current time & also tried the same by deleting all the cache.

Can anyone help me to come out of this problem?
Thanks
Regards
14 years ago
Hi Vikram,

Seems you are using the query string in oracle format.

You are not registering the out parameter. Thats the cause for the
exception thrown.

JanCampus has given the JDBC syntax.

See the following link
http://www.enterprisedt.com/publications/oracle/result_set.html

It may helpful

Thanks
Can you please post wha tis the sqlString in the following statement?

oraclecallablestatement = (OracleCallableStatement)connection.prepareCall(sqlString);

Thanks
Hi,

I have a javascript where I set a variable to true. I want to include a jsp page based on that variable value. If it is true I need to include the jsp page.

How to check it...can I use logic tags. If so how?

Thanks
16 years ago
JSP
Hi,

I have a jsp page where there are many controls and some buttons. If I click a buton called "Edit" I need to include a jsp page below the existing controls.

Can someone please tell me how to do that?

<tr>
<td>
<a><img name="View" src="view.gif" border="0"/></a>
<a><img name="Edit" src="edit.gif" border="0"/></a>
</td>
</tr>

this is thecode which I have for buttons in my page

Thanks
yeah I have did this to select all the values from list2.

Actually while moving items up and down in list 2,in the script,I have swapped the text but didnt exchange the values. That was the problem and its fixed now.

Thanks a lot !!
16 years ago
Hi,

I have two multiselect listboxes in my page. In List1 the data will be retrieved from DB and listed.I will have buttons to move the values from List1 to List2 and viceversa.

After selecting the needed values,I can rearrange them in List2 using some buttons. I have coded this moving and reordering using javascript.

What happens is while submitting the page I want the values from list2 which are rearranged. But im getting the order in which I moved from list1 to list2.

I am using html:selectfor both lists

List1
------
<html:select name="CustForm" property="custName" multiple="true" size="10">
<html ptionsCollection property="CustomerNames" value="custName" label="id"/>
</html:select>


I am having a customer form which has a arraylist CustomerNames. This arraylist has customer bean which has proeprties custName and id. The custForm also has a String custName.


List2
------
<html:select name="CustForm" property="selectedCustName" multiple="true" size="10">
<html ption value=""/>
</html:select>

The custForm also has a String[] selectedCustNames from where I get the selected values in list2


Please let me know what am I doing wrong here.
16 years ago
Thanks a lot I got it!! Without specifying form name itself it is coming..previously there was some uncommented code. So I got the same error again.

Thank you again!!
16 years ago
sorry by mistake posted the same question again
16 years ago
When I try to put a select box with some option tags, I am getting "Cannot find bean under name CustomerNames" error. I have searched the forum and im not able to solve it.


<html:select name="CustForm" property="selCustName" multiple="true" size="10">
<html ptions collection="CustomerNames" property="custName" labelProperty="id"/>
</html:select>


I am having a customer form which has a arraylist CustomerNames. This arraylist has customer bean which has proeprties custName and id. The custForm also has a String[] selCustName.

Please let me know what am I doing wrong here.

Thanks
16 years ago
Thanks for the reply. I tried by using that. But still getting the same error. "Cannot find bean under name CustomerNames".
16 years ago
Thanks for the reply. I tried by using that. But still getting the same error. "Cannot find bean under name CustomerNames".
16 years ago