Win a copy of Rust Web Development this week in the Other Languages forum!

Basil Smart

Greenhorn
+ Follow
since Apr 16, 2017
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
3
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 Basil Smart

Adding this code below after FileInputStream processing, gave me the desired result.

Thanks Paul for your reply. The code above copies blank.xlsx to new file client.xlsx. The issue is below this code referring (clonesheet) to copy 1st worksheet to new sheet of workbook2.
Hi Guys, here's my copy and setting new sheet name code for excel 2007 file below, which seems correct but sheet name doesn't change after copy successful. Any help or suggestions greatly appreciated, thanks.
Thanks Guys for your reply, not sure why code would work on PD but not on server when all the relevant libraries are included. Anyway I decided not to use the array, instead I used simple regex as solution below:



I'll move the java code out of the jsp section shortly.
4 years ago
JSP
Hi Guys, thanks for your reply.

Nguyen, I get this output when I print array indexes below from my PC:



Dave, I agree but if code works on PC , it should also work on server unless java library used on PC is missing on server, but libraries are in both PC and server.

Any other suggestions, thanks?



4 years ago
JSP
Hi Guys,

I keep getting this error below, jsp code works on my PC but on server I get error, all I'm doing is changing the date format from eg. 01-12-2017 to 2017-01-27.

I have changed code multiple times previously using enhanced for loop and still getting same error on server, yet it works on my PC perfectly. Any help is greatly appreciated, thanks.



her is the actual code that is producing error now below:

4 years ago
JSP
Thanks Guys for your help, here's the solution below:

4 years ago
Guys, thanks for your welcome and responses.

javaxt.io.Directory is an extension of the Java core library JavaXT Directory Search. They have some useful libraries there.

I see text in the array from line   as follows(C:\test C:\test\test.page C:\test\test2.page C:\test\test3.page). This code works in jsp to print output to browser, not the regular in java. I put the directly above the for loop no difference in output occurred.

Any other ideas, thanks?
4 years ago
Hi Guys,

I am seeing the string match in my array, but the if condition not picking up the match as seen below.



Any help will be greatly appreciated.

Thanks
4 years ago