Hi,
Does any body know if it is posible to access Java methods in a .NET environment using C#?
E.g. In Java I would access Java methods as follows:
import my.formats.*;
import my.struc.*;
import java.io.*;
How would I access the above methods in .NET or what is the syntax to declare the above in a aspx page?
Any help would be greatly appreciated. Thanks.
User Profile
Collapse
-
Accessing Java methods within .NET using C#
-
How to attach a file stored in a database to an email from memory
Hi
I have a word document stored in a database as a blob. I would like to attach this file to a cdosys email directly from the database. Does any body know how to use the adodb.stream object to achieve this once the file is loaded into a recordset?
Sample code would be useful.
Thanks -
What about puting it in a db in a memo field. eg. the jobseeker can copy and paste it to a memo field to be saved in a database. I know it will be in a standard format without the layout and formating afforded to a word document. But i can live with that. But what i wish to do then is be able to stream that content to a word doc using asp . any idea how to do that i.e. write the content held in in db to a word document?... -
creating a secure directory
Hi,
I have an asp website where by jobseekers can login and upload their CV/Resume in word format to a directory called CV. This directory has read and write permission to allow the upload to work. the link to the CV is held in a database.
I have another login script where by an employer can login and view jobseeker CV/Resumes. However how do I make this directoy secure so that only people who are logged in can view... -
Importing data using load infile and retreiving ids of all rows inserted
Is there any way to retrieve the ids of all rows inserted after importing bulk data using the load infile technique?
I need the ids of all rows that have been inserted so that they can be inserted in to another table as foriegn keys. -
How to run a background script
does any body know how you run an asp script or vb code in a background thread. The idea is to avoid server time out in running a similar script in a normal web page? -
So how does one exactly run an ASP script that runs in a background thread? I've been searching on the net and cant for the life of me find any decent tutorials. Any sample code or example will be appreciated. Thanks...Leave a comment:
-
Ok i've found a script to parse the query string from a url however I get nothing in the parsed variable even thoug I know there is a value for that variable in the query string! Below is the code am using. any suggetions. Do I need to unescape the pair for it to work?
The url link is : "mysearchresult s.asp?fpage=1" generated dynamically
...Code:<script> function getQueryVariable(variable) { varLeave a comment:
-
Ok I've come up with an idea. I could read all the variables in to one variable and then parse that at the other end. I have the following as example:
...Code:original query string: "mysearchresults.asp?foo=blah&faa=blah&fee=blah&numperpage=10&pagenum=2" myquery = "mysearchresults.asp?foo=blah&faa=blah&fee=blah&numperpage=10&pagenum=2" new url
Leave a comment:
-
how to parse name value pairs in querystring
Hi,
Does anybody know how to parse the name value pairs in a querystring contained in a variable with asp?
for those of you who might be confused, what i am trying to do is basically I have a recordset paging script generated for a search page. I want to read all the search criteria in the querystring of this paging script into one variable and then parse it at the other end.
The idea behind this is to... -
I dont understand what you mean by doing it on the server side? the paging links/numbers are generated dynamicaly and hold search data in the querystring. When the user clicks on the navigation link the data in that link is so long that the querystring get method will simply truncate. It therefore needs to be sent via the post method. The only way i can think of doin this is through javascript. the paging link would have a onclick even which sends...Leave a comment:
-
Javascript to add querystring url to hidden form fields
Hi,
Is there a way to add the infomation in a url querystring/link to hidden form fields
and submit that form when the user clicks on the link?
Basically I have some paging links generated from a search page which hold a lot of search data and other variables. I need to send this data using the post method as its too much to be sent via the get method employed using a query string.
Any other technique... -
How to create an ASP Email Alert System
Hi, Does any body know how to create an asp email alert system. I wish to send members an email alert at the end of the day for updates to the site that meet their search criteria.
for example if a member has set up a particular job search email alert when a job matching that criteria is posted i need to notify them at the end of the day.
I know its possible to generate an email alert at the time the job is posted but... -
Hi where do i include the response.flush line? is it after the send method?
Will this work for say 1000 email addresses and perhaps more?...Leave a comment:
-
ASP Bulk Email Script With CDOSYS timesout
Hi,
I have a asp email script which uses cdosys to send emails with attahcments by iterating through a record set of 500 email addresses. However the script simply times out. I know you can increase the script timeout property in IIS but is there any other way of sending bulk emails with cdosys without it timing out?
Any help would be greatly appreciated. -
How to Maintain and Optimize SQL Queries with Large Tables?
Hi, I have a table called products which consist of various supplier
products and has the following fields:
ID int not null primary key auto_increment
SupplierID int not null
ProductCode varchar(30) not null
productName varchar(255) null
Length varchar(20) null
Width varchar(20) null
Height varchar(20) null
Weight varchar(20) null
The table will be frequently... -
I simply need to convert the above jsp script to asp. I am not familiar with JSP syntax which is why i am unable to convert the logic my self.
Does anybody have the microsoft java language conversion assistant tool to convert the above code for me? I know its available to download for free but i need visual studio 2005 package to run it!...Leave a comment:
-
JSP to ASP.NET can any one answer!
Hi,
Is it possible to convert the following JSP code to ASP.NET?
...Code:<%-- Exactly 2 parameters need to be set 1) format 2) filename --%> <%@page import="java.io.*,java.net.URLDecoder,emaxon.formats.MolImporter,emaxon.struc.Molecule"%> <% try { // Retrieving GET/POST parameters -
MySql indexing
Hi,
I have a MySql database with a table called products. The table consist of over 1000000 records and increasing. This table is frequently updated with new products. Therefore several insert, update, delete queries are carried out daily to keep the catalogue upto date (approx 100,000 products added,updated,d eleted daily). The table is constantly searched by customers via product name, code and additional fields which have been indexed... -
Hi, Thanks for the suggestions. but I've managed to get it to work using an array.
as suggested by hardman!...Leave a comment:
No activity results to display
Show More
Leave a comment: