|
Hi Guys,
Just wondering. Is there a way or a tool to trace a certain website if what are the webservices and other aspx files been used?
hifiger2004
|
|
|
|
|
No, you need to know them in advance.
|
|
|
|
|
I'm using visual studio 2005 and ajax extension 1.0 and also I installed ajax control toolkit[downloaded from www.asp.net].when i added to toolbox,it shows an following error.
There was an error loading types from assembly ‘C:\Program Files\Microsoft ASP.NET\ ASP.NET 2.0 AJAX Extensions\AjaxControlToolkit\Binaries\AjaxControlToolkit.dll’
‘Could not load file or assembly ‘System.Web.Extensions,Version=1.0.61025.0,Culture=neutral,PublickeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.’
Any one known about this issue,help me
Thanks in advance
Known is a drop , Unknown is an Ocean
|
|
|
|
|
ganeshMohan wrote: I'm using visual studio 2005 and ajax extension 1.0
Fortunately, there is a forum for that[^].
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Hello All,
In my program, i want to use a Java servlet to response to users' web request, in which the info submitted by users is write into a remote MySQL database. To this end, I have to establish a connection to the MySQL database firsts. I do this using the following code and can compile it sucessfully. It is strange to me that the code can be compiled successfully,though there is actually not mysql-connector-java-###-bin.jar package installed/copied on the Linux box.
import java.sql.*;
import java.io.*;
import java.util.*;
public class welcomeyou extends HttpServlet
{
public void doGet(HttpServletRequest rqu, HttpServletResponse resp)
{
String driver="com.mysql.jdbc.Driver";
String url="jdbc:mysql://192.168.1.1/DatabaseName";
String databaseuser="root";
String password=""
Connection con = null;Statement smt =null;
Resultset rs=null;
try
{
con=DriverManager.getConnection(url, databaseuser, password);
smt =con.createStatement();
}
catch(SQLException E)
{
System.out.println("SQLException:" + E.getMessage());
System.exit(0);
}
}
}
I cannot provide error message, since the statement System.out.println("....) could not display error message on the screen in this circumstance.(Could anybody tell me how to do this )
I wonder if the statement 'import java.sql.*;' means import library from mysql-connector-java-###-bin.jar
Please help me, this problem has stuck me for a long time.
thanks
|
|
|
|
|
Hi there.
At times I see a hidden input tag in *.aspx websites.
Something like this :
<input type="hidden"
name="__VIEWSTATE"
id="__VIEWSTATE" value="/wEPDwUKMTA0ODU1ODQ1Nw9kFgICAQ
9kFgICAQ9kFgJmD2QWBAIBDw8WAh4HVmlzaWJsZWdkZAIDDw8WAh8AaGRkGAEFHl9fQ2
9udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYBBRJjdGwwMyRJbWFnZUJ1dHRvbjFpjYePDwA
+Be/n+ZqTa2h71d92Vg==" />
what's that?
Thanks in advance
|
|
|
|
|
|
Hi,
I am using .Net 2008 for my web applications.
Crystal Report is my cup of tea.
The problem I am facing is that.....
I am loading crystal report in a web form through button click,
once my crystal report is displayed in crystal viewer and if I
do some changes like reduce report size from 100 % to 50 % etc , It leads me to a screen with textboxes for giving server name , etc.
please suggest me to help me out.
thanks
Hemant Thaker
By:
Hemant Thaker
|
|
|
|
|
Hi,
I am developing a web application in ASP.I want to copy file from one server to another using VB Script.You can say server machine(application is hosted on it) to client machine.Anybody know how to do this.
my client machine path is like http://machineIP/foldername/filename.doc
please reply me!
|
|
|
|
|
|
How to find the no. of days in a Month in Javascript but Month no. should be 1-12 not in 0-11
|
|
|
|
|
Can you explain your situation in more detail, perhaps with a code sample?
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
.NET- India wrote: How to find the no. of days in a Month in Javascript
Create a Date object for the first day of the month, and one for the first day of the next month. Use the valueOf method to get the values as milliseconds, subtract them and divide the result by 86400000 to get the number of days.
.NET- India wrote: but Month no. should be 1-12 not in 0-11
The Date object uses the values 0-11 for month, and there is nothing that you can do about that. You have to translate the value by adding or subtracting one.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi
I'm using the 'file'' input control tag (HTML) – this represents the
"Browse..." HTML control on internet browsers.
I'm not using this control for its conventional use – to upload a file to a
server, rather – I use it to get the path of a file on a network share – in
order to save typing time for the user.
For example on Windows or Linux when browsing to a network server to get a
file – the result is: \\SomePC\SomeShare\SomeFile.ext
On Mac – Leopard/Tiger – we will see something like:
/Volumes/SomeShare/SomeFile.ext
Our problem is that we need the file server name – which the Mac seem to
automount under the /Volumes directory, I would appreciate your
comments/idea on how to get the full path instead of the mounted path
returned to the server by the browser.
|
|
|
|
|
Short answer: you can't.
Long answer: you get what the browser gives you and have to accept this due to the non-standard use of the file element.
|
|
|
|
|
Basically, with the use of asp.net or javascript, wats the coding for sending a form to an email address.
|
|
|
|
|
You have to use a server-side language such as PHP or ASP to send e-mails.
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
I remember that you posted the same question yesterday too.
As you said, you are using html and css to build your site, but maite there is no way you can send an email using these(as these are the client side language/scripts which are used to render you page content to the browser and nothing else).
For an operation like Sending an Email, you need to do it at the sever side using languages like ASP, ASP.Net'and many more.
Hope this helps.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
|
Thanks all, i understand now
|
|
|
|
|
Hi all, this is my first message here so i hope i can rely on some of you people to help...
My problem is that i'm working on a website that has drop down menus written in javascript. Now these menus work properly on IE and Netscape, but when i try to view the site on firefox, the table cell that holds the "hidden" menu is at a greater height (the height of the cell + the height of the drop down menu). And the menu appears within the that cell when hovered over and disapears when you leave it. But the menu is never hidden and the table cell remains the same height. Its not acting like a proper drop down menu, but instead its like it shows the links when hovered over. Here is the html code and the Javascript code that i'm using...
html:
(For the row that has the menu only)
<tr><td width="145px"></td><td width="0px" class="test" height="0" id=0 onmouseout=btnTimer() onmouseover=showLayer("Menu0",'0')>
<a class="menu_special" href="products.html">
drop_down
<img src="images/arrowdown.gif" border="0" width="10" height="10" alt="">
<div id=Menu0 style="visibility:hidden;">
<table bgcolor=#ffffff cellpadding=5 style="border-collapse: collapse;">
<tr height=0 onmouseout=menuOut(this,'#ffffff') onmouseover=menuOver(this,'#ffffff')>
<td align=left width="75px"><a class="menu_special" href="#1">test1</a></td></tr>
<tr height=0 onmouseout=menuOut(this,'#ffffff') onmouseover=menuOver(this,'#ffffff')>
<td align=left width="75px"><a class="menu_special" href="#3">test2</a></td></tr>
<tr height=0 onmouseout=menuOut(this,'#ffffff') onmouseover=menuOver(this,'#ffffff')>
<td align=left width="75px"><a class="menu_special" href="#3">test3</a></td></tr>
<table>
<div>
<a></td></tr>
Javascript code:
window.onerror = null;
var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
var menuActive = 0;
var menuOn = 0;
var onLayer;
var timeOn = null;
function showLayer(layerName,aa){
var x =document.getElementById(aa);
var tt =findPosX(x);
var ww =findPosY(x)+20;
if (timeOn != null) {
clearTimeout(timeOn);
hideLayer(onLayer);
}
if (IE4) {
var layers = eval('document.all["'+layerName+'"].style');
layers.left = tt;
eval('document.all["'+layerName+'"].style.visibility="visible"');
}
else {
if(document.getElementById){
var elementRef = document.getElementById(layerName);
if((elementRef.style)&& (elementRef.style.visibility!=null)){
elementRef.style.visibility = 'visible';
elementRef.style.left = tt;
elementRef.style.top = ww;
}
}
}
onLayer = layerName
}
function hideLayer(layerName){
if (menuActive == 0)
{
if (IE4){
eval('document.all["'+layerName+'"].style.visibility="hidden"');
}
else{
if(document.getElementById){
var elementRef = document.getElementById(layerName);
if((elementRef.style)&& (elementRef.style.visibility!=null)){
elementRef.style.visibility = 'hidden';
}
}
}
}
}
function btnTimer() {
timeOn = setTimeout("btnOut()",50)
}
function btnOut(layerName){
if (menuActive == 0){
hideLayer(onLayer)
}
}
var item;
function menuOver(itemName,ocolor){
item=itemName;
itemName.style.backgroundColor = ocolor; //background color change on mouse over
clearTimeout(timeOn);
menuActive = 1
}
function menuOut(itemName,ocolor){
if(item)
itemName.style.backgroundColor = ocolor;
menuActive = 0
timeOn = setTimeout("hideLayer(onLayer)", 50)
}
function findPosX(obj)
{
var curleft = 0;
if (obj.offsetParent)
{
while (obj.offsetParent)
{
curleft += obj.offsetLeft
obj = obj.offsetParent;
}
}
else if (obj.x)
curleft += obj.x;
return curleft;
}
function findPosY(obj)
{
var curtop = 0;
if (obj.offsetParent)
{
while (obj.offsetParent)
{
curtop += obj.offsetTop
obj = obj.offsetParent;
}
}
else if (obj.y)
curtop += obj.y;
return curtop;
}
Any Help Would be appreciated
Thanks
|
|
|
|
|
That code is old - get a new menu[^].
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
As shown by the line: var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
Wow, the days when IE was on OS X I wonder why they got rid of it
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
Thanks for the advice, i scrapped the old code and found a better drop down menu code that works perfectly for both IE and firefox
|
|
|
|
|
You're welcome - hope you didn't take my reply as rude; i've found that older (targeting v4-era browsers) DHTML code generally isn't worth updating; too much has changed, too much has been learned. Glad you found something!
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|