|
<a href="http://www.hentzenwerke.com/wp/settingup_virtualhosts_onapache.pdf">vhosts IIS Apache</a>[<a href="http://www.hentzenwerke.com/wp/settingup_virtualhosts_onapache.pdf" target="_blank" title="New Window">^</a>]
<a href="http://w3-4u.blogspot.com/2006/12/qa-setting-up-iis-virtual-host.html">http://w3-4u.blogspot.com/2006/12/qa-setting-up-iis-virtual-host.html</a>[<a href="http://w3-4u.blogspot.com/2006/12/qa-setting-up-iis-virtual-host.html" target="_blank" title="New Window">^</a>]
<a href="http://techgurulive.com/2008/08/20/how-to-create-virtual-directories-in-iis-60/">http://techgurulive.com/2008/08/20/how-to-create-virtual-directories-in-iis-60/</a>[<a href="http://techgurulive.com/2008/08/20/how-to-create-virtual-directories-in-iis-60/" target="_blank" title="New Window">^</a>]
those should point you in the right direction
|
|
|
|
|
How do I get a combo to clear its 'value' when the display text is blank or doesn't match a list value, i.e. custom text not in the data store? I'm sure there must be something I'm missing, because such a simple feature lacking can't make an otherwise impressive combo useless.
Last modified: 32mins after originally posted --
You really gotta try harder to keep up with everyone that's not on the short bus with you.
- John Simmons / outlaw programmer.
|
|
|
|
|
If i have a string that contains a comma how do i write that to a csv file without it thinking they are two different words?
|
|
|
|
|
Well first of all, you are in the wrong forum, next time try the C# or asp.net forums
As for your question, look here[^]
|
|
|
|
|
Wrong forum.
And ask in C# forum.
Okay, you should be parsing the string.
Like this: MSDN
Or, if you want a few more links, try: Oh look, first link is about ASP.NET and C#
If everything was not true, would it be not true that everything is not true?
"Rules are merely limits on our potential." -Me
|
|
|
|
|
I need to implement a web page that has a Google map on the left side consuming about 90% of the available width of the browser window and a sidebar on the right side consuming the remaining width. This is pretty standard stuff but I want the google map to resize itself based on the width of the window - i.e. when a user resizes their browser window or when a user has a computer with a small screen the page will adapt to the available screen / window size. I've sorted out how to make a 2 column table with a style sheet that does exactly what I describe but when I put a new GMap2 document into the left side window it all goes to pieces, the map window is a very narrow slit at the top of the page. If you look at the code you may notice that there isn't any code to fill the sidebar yet.
Code that sets up the styles and divs is below. I'm not an HTML expert by any means so please be gentle...
<code><html style="height:100%">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Yacht Tracker</title>
<script src="http://maps.google.com/maps?file=api&v=2&sensor=false&key=my google map key" type="text/javascript"></script>
<style type="text/css">
#parent_div {
width:100%;
padding:6px 0;
border:1px solid #000;
margin:auto;
}
#parent_div:after {
content:'';
display:block;
clear:both;
}
#map {
float:left;
display:inline; /*required by IE6*/
width:1024px;
border:1px solid #999;
margin 3px 0 6px;
}
#sidebar {
float:left;
display:inline; /*required by IE6*/
width:100px;
border:1px solid #999;
margin 6px 0 3px;
}
#map p,#sidebar p {
font-family:sans-serif;
font-size .8em;
text-align:justify;
margin:4px;
}
</style>
<div id="parent" style="height: 100%">
<div id="map" style="height 97%">
|
|
|
|
|
In my jsp page,there are two drop dwon box.
If i select value from one drop down box suppose that value is any country name and
i want the state of that country in another drop down box.
But i want that state from database.
how can access it?
Plz help me.
Thank U.
aarti
|
|
|
|
|
aartib wrote: In my jsp page
me no talk jsp
but, what you need is when an items is selected from the first drop down post the page back, then find out the selected item, run your query to get the value of state from database and fill second drop down.
another way is, spit out country/state info into js and you can handle everything on the client side.
even better is look at AJAX.
|
|
|
|
|
Hi,
I have problem with my goole calender.I could embed the My google calender into my html with a size 200X200 pixel only showing the mouth.But the calender is not displaying the events which i have given.Can any one help me out to show the events in the calender.
|
|
|
|
|
How do I use both paging and auto-complete on an extJS ComboBox with a JSonStore? Auto-complete works fine while the store is local and paging works fine when remote, but as soon as I go remote, I lose the auto-complete, even if the items to be shown are already in the current page.
|
|
|
|
|
hello
How'd you choose your vendor for SSL cert? This is for web server/IIS with shopping cart integrated with PayPal Standard (i.e. payment actually done in PayPal site but you'd still need to guard against DNS spoofing and tell customer you are who you are)
I browsed around here are some options, all EV certs (green bar on your browser):
Versign
US$995/year
http://www.verisign.com/ssl/buy-ssl-certificates/secure-site-services/index.html
Digicert
US$488/year
http://www.digicert.com/ev-ssl-certification.htm
InstallSSL
US$359/year
http://www.instantssl.com/ssl-certificate-products/ssl/ssl-certificate-ev.html?entryURL=
What's your take on this? Doesn't have to be these three...
Thanks
dev
|
|
|
|
|
Basically I am trying to make a sort of conditional statement in CSS. I am making A div containing a form pop up through clicking on a link. The link is below to show that I am just using it as a button to make the form pop up through css.
<a href="#" class="cnb">Create New Blog
<div class="hide">
<form action="#" method="post">
OMITTED FORM FOR SPACE
</form>
</div
The CSS is
.hide {
display:none;
}
a.cnb:active .hide {
display:block;
position:absolute;
top:0px;
bottom:0px;
left:0px;
right:0px;
z-index:1000;
color:#000000;
}
a.cnb .hide:hover {
display:block;
position:absolute;
top:0px;
bottom:0px;
left:0px;
right:0px;
z-index:1000;
color:#000000;
}
So basically the div is a link, and when you hover over the div, which is the size of the web browser, it stays there. Problem is<b>When you scroll out of the web window the div disapears because you are no longer hovering over it.</b>
My first question is, <b>Can I do this without the use of a link and just make the div pop up so that it wont disapear when I scroll off the web browser window.</b>
My Second Question is, <b>Can I do some kind of conditional statement is css like the one below I was trying. Basically I am trying to say in the css that "IF .hide is display:block THEN make it these styles." If I can make a condition like this it would solve the problem.</b>
a.cnb .hide:"display:block" {
display:block;
position:absolute;
top:0px;
bottom:0px;
left:0px;
right:0px;
z-index:1000;
color:#000000;
}
Perhaps there is a way to do
a.cnb .hide:active OR :focus??? I thies this but is doesn't work.
I have been working on this forever and cant figure it out. Any help is useful. THANK YOU!!!
modified on Friday, May 15, 2009 3:41 PM
|
|
|
|
|
It is really urgent that I figure this out ASAP Thanks!
|
|
|
|
|
you can do it with javascript & css
<script>
function show(){
document.getElementById('popupform').style.visibility = 'visible';
document.getElementById('popupform').style.display = 'block';
}
</script>
<div id="hoverbtn" onMouseOver="show()">btn text</div>
<div id="popupform"> form goes here </div>
|
|
|
|
|
I have a html page that sends a message to my tomcat server to create and save a csv file. On the html itself is the link to the created file but it's hidden until the server completes the request. Once the file is created, a response is sent to the html to display the link to that particular file. Instead of having the file contents open up in the browser, how do I force it to display a save as dialog?
I read somewhere that you need to change the header to "Content-Disposition". Is that something I need to do after creating the text file on the server and before sending a response to html page? Or should this get handled on the a href tag where I can link it to a jsp file on the server to handle the forced download?
Any help would be much appreciated!
|
|
|
|
|
here is php code for a csv file. jsp should be similar:
header("Content-Transfer-Encoding", "binary");
header('Cache-Control: maxage=3600');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment; filename="exportclients.csv"');
readfile('exportclients.csv');
|
|
|
|
|
and you may want to use:
application/force-download
|
|
|
|
|
|
Hi,
I have create web project and use ASP.NET C# 2.0,SqlServer2005,Ajax Etc
When I have create setup and install on client machine then install on client machine
.net framework/Sqlexpress and create database but ajax install manualy and change
web.config in Connection string as
<add key="ConnectionString" value="server=MachineName\SQLEXPRESS; database=Database; trusted_connection=yes;">
But I have need Install on client machine one click
How to add ajaxSetup in Web Setup and change web.config and
if client machine not have iis then how to create IIS and virtual directory and run application
Please can any body help.
Thanks & Regard
|
|
|
|
|
how can get content management editor in my site ?and how can manage contents in our web site using content mangement editor in asp.net with c#?
|
|
|
|
|
you can either build one from scratch (expect a few weeks work depending on how big it needs to be) or you can install a premade one try googling along the lines of:
"asp.net content management system c#" or
"simple asp.net cms" etc
|
|
|
|
|
Based on my coding, i can upload image to my server,and all image is renamed absed on the time()...so if i wan to display it out, what should i do since the filename may b different?
<?php
define ("MAX_SIZE","100");
function getExtension($str) {
$i = strrpos($str,".");
if (!$i) { return ""; }
$l = strlen($str) - $i;
$ext = substr($str,$i+1,$l);
return $ext;
}
$errors=0;
if(isset($_POST['Submit']))
{
$image=$_FILES['image']['name'];
if ($image)
{
$filename = stripslashes($_FILES['image']['name']);
$extension = getExtension($filename);
$extension = strtolower($extension);
if (($extension != "jpg") && ($extension != "jpeg") && ($extension != "png") && ($extension != "gif"))
{
echo '<h1>Unknown extension!</h1>';
$errors=1;
}
else
{
$size=filesize($_FILES['image']['tmp_name']);
if ($size > MAX_SIZE*1024)
{
echo '<h1>You have exceeded the size limit!</h1>';
$errors=1;
}
$image_name=time().'.'.$extension;
$newname="images/".$image_name;
$copied = copy($_FILES['image']['tmp_name'], $newname);
if (!$copied)
{
echo '<h1>Copy unsuccessfull!</h1>';
$errors=1;
}}}}
if(isset($_POST['Submit']) && !$errors)
{
echo "<h1>File Uploaded Successfully! Try again!</h1>";
}
?>
<form name="newad" method="post" enctype="multipart/form-data" action="upload.php">
<table>
<tr><td><input type="file" name="image"></td></tr>
<tr><td><input name="Submit" type="submit" value="Upload image"></td></tr>
</table>
</form>
http://CodeBasic.net
|
|
|
|
|
you can store the name as a session variable and then use it or for a more permanent soultion record the name in a database so you can use it repeatedly.
|
|
|
|
|
I need to know if there is anyone that can help with this ejb's. I'm just trying to set up a simple timer. I want to set it up in intervals plus I need to know what all does the ejb needs. And its ejb3.0 and ejb is Enterprise Java Beans. The code is below:
Client: -> did have something but wasn't working correctly.
package ejb30.STClient;
import ejb30.STBean.*;
import javax.ejb.EJB;
import javax.ejb.TimerService;
import javax.naming.*;
public class Client
{
}
Remote:
package ejb30.STBean;
import javax.ejb.Remote;
import javax.naming.NamingException;
@Remote
public interface STBeanRemote
{
public void Timer();
}
Bean:
package ejb30.STBean;
import javax.annotation.Resource;
import javax.ejb.Stateless;
import javax.ejb.TimedObject;
import javax.ejb.TimerService;
import sun.misc.Timer;
@Stateless
public class STBean implements STBeanRemote, TimedObject {
@Resource
private TimerService gog;
public void setSessionContext()
{
}
public void Timer()
{
Timer ts = (Timer) gog.createTimer(0, 15000, null);
}
@Override
public void ejbTimeout(javax.ejb.Timer timer)
{
System.out.println("I'm working");
}
}
XML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 EJB 3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd">
<ejb-jar xmlns ="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://ww.w3.org/2001/XMLSchema-instance"
metadata-complete="true" version="3.0"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/nx/javaee/ejb-jar_3_0.xsd">
<enterprise-beans>
<session>
<display-name>STBean</display-name>
<ejb-name>STBean</ejb-name>
<business-remote>ejb30.STBean.STBeanRemote</business-remote>
<ejb-class>ejb30.STBean.STBean</ejb-class>
<session-type>Stateless</session-type>
<transaction>Container</transaction>
<security-identity>
<use-caller-identity />
</security-identity>
</session>
</enterprise-beans>
</ejb-jar>
I edited it with the proper tags... please help.
|
|
|
|
|