How does this tag work on run-time? Does it automaticaly redirect to the file specified if you only type the domain name? I'm asking cause for me it seem to do nothing. Also, can I put a servlet name in there instead of a JSP or HTML file?
http://www.wolfmahheaven.net
I am trying to set cookies in a controller servlet before dispatching to a JSP file, but the cookies are not set in the JSP file.
Servlet
Cookie cookie= new Cookie("userName", "wolfmah");
cookie.setMaxAge(60*60*24*7*1)...
Is it possible in MySQL to put a CHECK in your CREATE TABLE sentence? I have try this below but it doesn't work at all.
CREATE TABLE test(
id TINYINT UNSIGNED NOT NULL ,
PRIMARY KEY ( id ) ,
UNIQUE UC_id( id ) ,
CHECK (
id > 33
)
); http://www.wolfmahheaven.net
Is there a way to include font (a font that is mostly non existing on a user station) directly into a project .exe without having to make an installation? My application is pretty small and I don't want to bulk it with an installation thing for simply a font, but if there is a way, it would be a...
I want to add an icon to a button but I got a problem, the following code doesn't work and I don't know why:
JToggleButton button = new JToggleButton( new ImageIcon( "images/oval.gif" ) );
My button is showing up, it does what I told it to do but the image is not showing up! The...
I'm using PHP 4.2.1 and MySQL 3.23.39 for WinXP.
My problem is that I can't seem to be able to pass a value through the URL. I tried to catch the variable with this : $id= HTTP_GET_VARS['id']; I also tried without but it always give me a notice.
The SQL query I'm using :
$query= "SELECT *...
Here my problem, I got a picture control in one of my dialog box and I want to change a bitmap picture in it when the user select one of the option found in a combo box near by.
I have set a variable link to the picture control (CStatic) and I know that there is a member function to set a...
Hi there!
I wrote down something that make images act like buttons and it work pretty well except for one thing. I can't seem to be able to specify a specific path for images so I'm force to put them in the same place as the htm file. I want to know if it's possible to determine a relative path...
Hi there!
I was typing some lines of code to tell the visitor of my site what is the resolution of his screen, so he could change it or not to the one I'm using for my web site. Here the sample :
<script language="JavaScript">
<!--
var width=screen.availWidth;
var...
Hi there!
onMouseOver="window.status='SOMETHING';return true"
Everybody know this line of code. But my question is : is it possible to make the SOMETHING into a function that will automaticaly show my hyperlink name instead of always re-naming my hyperlink in this part.
And also...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.