Daslan Govender

Greenhorn
+ Follow
since Jan 14, 2005
Merit badge: grant badges
For More
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 Daslan Govender

Like working with people. Like to educate individuals and teams in design and coding.
16 years ago
Looking for a job to put together Java, J2EE, Java EE5, Object Oriented Design, etc courses as well as teach them for a couple years. There after looking to expand to mentoring and coaching programmers and teams. Also looking to structure solutions teams.
16 years ago
We do not have the xmi file. We just have access to the database.
Do you know where I can find this class?
16 years ago
Hi. A vendor has designed and auto-generated code and database of an application. My company has bought the application and does access to the code and design (including xmi file). We have access to the database of which we need to pull of reports directly. The problem is that we cannot make sense of the database to extract the data we need. How do I go about making sense of the database so that I can generate report needed by the my company? We do not have even have access to the technical specification.
Does anyone know where I can download andromda-schema2xmi. Link http://www.andromda.org/andromda-schema2xmi broken.
Does anyone know where I can download andromda-schema2xmi. Link http://www.andromda.org/andromda-schema2xmi broken.
Hi
I have a struture which is an ArrayList of String[]. I wish to sort
the String[0], String[1], etc.

Any Ideas?

Tks in Advance,
d
17 years ago
Tks. It is working now. The file sizes are now the same.
18 years ago
Tks. I decided to use ftp. However I am getting a problem. The pdf that is now stroed on the ftp server is damaged.


What trsnfer mode should I use?


The file is stored temp on the machine as java.io.File. I convert this file to a FileInputStream object. I then use the overloaded FTPClient.storeFile() to store the file. Could t his be the problem?
18 years ago
Hi


Apologies for the confusion. This is what is happening. On the client side, the user selects the file to upload and clicks the submit button of the html form. The server then validates and processes the request.

One of the request attibutyes is a file. The server extracts the file and need to copy this to the DMZ box. What I meant, is that the DMZ does not process the request, it merely stores the file.

The problem is how do I access the dmz OR rather how do I specify the username and password that the dmz requires. What libs are you referring to? Please give some egs?


Tks
18 years ago
Hi


I am using the above API to perform file uploading. The problem that I am having is that when I upload to a machine other than where the application is running (i.e: DMZ). I get an access denied error. How do I provide credentails so that I can upload to the remote box?


Tks
18 years ago
Thanks. I found a nice api to use: javazoom.upload.UploadBean. Details can be found at: http://www.javazoom.net/jzservlets/uploadbean/documentation/index.html
18 years ago
JSP
Hi All





I require your assistance in the above matter.





I am trying to upload a file.


I pass this to a servlet.

The problems I experienced:

I can no longer access my normal parameter (i.e. textline) in the form � This is due to enctype attribute set to multipart/form-data . How do I access them now?
How do I filter for pdf �s? I tried using the accept attribute on IE and this does not work. Any Ideas?
How do I upload the file. I tried using the code attached. Where does FileOutputStream fileOut = new FileOutputStream(saveFile); save the file to. How can specify a location.


I am considering using ftp to upload the file. How do I get the attachment into an object like java.io.File ?




Your assistance will be highly appreciated.
18 years ago
JSP
Hi All





I require your assistance in the above matter.





I am trying to upload a file.



My Simple form is:



<form

action="/FileUpload/servlet/FileHandlerServlet"

enctype="multipart/form-data" method="post">

<p>

Type some text (if you like):<br>

<input type="text" name="textline" size="30">

</p>

<p>

Please specify a file, or a set of files:<br>

<input type="file" name="datafile" size="40">

</p>

<p>

<input type="submit" value="Send">

</p>

</form>





Please note the code in red. I pass this to a servlet.

The problems I experienced:

I can no longer access my normal parameter (i.e. textline) � This is due to enctype attribute. How do I access them now?
How do I filter for pdf �s? I tried using the accept attribute on IE and this does not work. Any Ideas?
How do I upload the file. I tried using the code attached. Where does FileOutputStream fileOut = new FileOutputStream(saveFile); save the file to. How can specify a location.


I am considering using ftp to upload the file. How do I get the attachment into an object like java.io.File ?




Your assistance will be highly appreciated.
18 years ago
JSP