35 Posted Topics
Is it possible to get the current URL in my JSP page. Say i open a site "http://abc.com/page1.jsp" I want to display it in page1.jsp the total url as "http://abc.com/page1.jsp" If yes please tell me the step! Thanks in Advance
Hi every one, Can anyone give me some idea about this! I need to check a string is numeric or not. Example: if string is 1111111111 returns true if string is 11111111aa returns false if string is 11 1111111 returns false if string is 111~`11111 returns false Any idea will …
hello friends, i hav my very own forum but its hosted in a free hosting site called invision.. now i hav my own webspace and i want to have my own forum in that webspace. i don kno how to start with or is ther any software that can help …
Hi Everyone, I am searching the most effective way of sorting a list of objects. Say i have a bean [CODE]public class MyClass { private string name; private string id; // Getters and setters } [/CODE] Now say we put some values in a List [CODE]List<MyClass> myClassList = new ArrayList<MyClass>(); …
[QUOTE=jingwen;933100]Now our site want to use "tag", And our site is an B2C website,so we sale electronics gadgets online, but i do not know how to do it,and i do not know what is the effect of "tag", anyone can tell me?Or could you show me serveal sites had used …
Hi All, I have this requirement to do and am still scratching my head. Actually am not that comfortable with webservice but am still fighting and need some help. Here i go. I need to send xHTML content through webservice. Something like if someone calls my API he gets a …
ya its true.. dani is really good site and very good directory
Guys, I was going through the book called Ajax for Dummies and got the following example. [CODE]<html> <head> <title>Ajax at work</title> <script language = "javascript"> var XMLHttpRequestObject = false; if (window.XMLHttpRequest) { XMLHttpRequestObject = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttpRequestObject = new ActiveXObject(“Microsoft.XMLHTTP”); } function getData(dataSource, divID) { …
Hello all, I am trying to do something like this.I have did this before with C# and asp.net but it was long back and currently am not able to recall anything similar. This time i need to make it work with [B]vb.net and ASP.net[/B] I want that only a administrative …
Hi Everyone, Can some one tell me is this possible. I want to show a text hiperlink over an image. [URL=http://img371.imageshack.us/my.php?image=texthiperlinkjv3.png][IMG]http://img371.imageshack.us/img371/5936/texthiperlinkjv3.th.png[/IMG][/URL][URL=http://g.imageshack.us/thpix.php][IMG]http://img371.imageshack.us/images/thpix.gif[/IMG][/URL] The image it self wont be hyperlink but only the text over it. Check this attached image. Need some thing like this.. Thanks,
wow this is one of the best post i found
Hi everyone, I need some suggestion. Actually i created a text box and wrote a java script to limit its character hold to 500 char. I made my related db column size to 508bytes(Oracle). The functionality was working fine when i suddenly found a bug. Say for example if i …
Hope i am posting in the right place. Any pointer will be helpful. Am a learner so pls bare with me.. Thanks for that :) I was just wondering if i want to make a simple web apps (Say a user data will be saved to sql db) which of …
Guys check this site.. [url]http://symbian.mobilethemes.com/downloads/info/24346.jsp[/url] If you are not logged in.. it gives a IE tool bar saying "You are not logged in."similar like the ActiveX warning of IE.. Any idea how this was done..
I think he is asking how to display the column names in dropdown.. If thats the case use java code in your jsp(Though not the best practice). Create a set with all the values and then parse it to display in the dropdown.. So as you told you dont want …
ya same here.. its folder and look has gone a bit good but nothing else.. it also take hell lot of time to install:mad: one thing good is while installing its not req u to stay.. and also cant do net.. not secured.. i crashed my system i 7 days:mad:
Am using the following code to remove a text box from my site. So when the user clicks on remove_btn.gif a text box row gets removed. [CODE]<html:image onclick="document.getElementById('wishlistForm').action='/wishlist/send.do?method=remove&removeIndex=${status.index}';" styleId="remove" src="${siteImages.imagePath}local/localbuttons/remove_btn.gif" border="0" altKey="btn.altTxt.remove" />[/CODE] Now i want to replace the remove_btn.gif with a normal hyperlink text something like this [URL="http://remove"]Remove[/URL]. So …
Is it possible to get the key value of any property file through JSP.. Let me explain.. I have following keys in my application.properties file. it has my.a=http://apple.com my.b=http://ball.com my.c=http://cat.com Now i want to access this from my jsp.. i tried to access like this.. <fmt:message id="alphabets" key="my.a" /> I …
Is there any way by which we can provide hyper link as alternative text to images. Means if an image is disabled then a hyper link is displayed! Please help me! Its urgent!
Is there a way to check Iframe is supported by a browser or not in the JSP using some script. Please let me know! Its urgent
I am learning struts from various e-books.I am facing this problem. [code][B]HTTP Status 500 - No action instance for path /Test could be created[/B] [B]type[/B] Status report [B]message[/B] [U]No action instance for path /Test could be created[/U] [B]description[/B] [U]The server encountered an internal error (No action instance for path /Test …
which is right.html buddy?
ya you can.. only thing you require is a fixed ip. Usually the service provider provides a dynamic ip.So just ask them for a fixed ip.They may charge you something. Some softwares are available which promise to do the same but i personally feel that its not so convinent as …
i have made a web-application in java framework.I have implemented it in the server. I want to check its stability like how many user can it support and how is its sucurity.. is there any software for that?
I use the following code to display the user name on the website.. like "Welcome Kaushik" [CODE] <jsp:useBean id="adminUser" class="bss.BSSUserDetailsDo" scope="session"/> <font size="4" color="brown" face="verdana"> <bean:message key="Bss.user.welcome"/> //comes from some property file abcd.property <jsp:getProperty name="adminUser" property="firstName"/> </font> [/CODE] i want to access the user first name from my JS function. …
use the inbuild error console in firefox to know your error..its cool.. tool -> error console first clear the console and then execute ur web app in firefox and continiously check for any error message in the error console
How to do this type of comparison. Say i have a variable with a word "ABCDEF" and i want to check the combination "DEF" exists in it or not how do i do? I want to make a simple comparison test.. Some friend suggested me the "substring" function but that …
Hi friends, The code i attached is used for checking password strength!. I have a html page which calls this. Problem is if i change the following code Code: [code] if (bCheckLowerCase) { strCheck = "abcdefghijklmnopqrstuvwxyz"; if (doesContain(strPassword, strCheck) > 0) { nCombinations += strCheck.length; } } to Code: if …
In the following code i am able to change the case of my entered text with each entry of letters.. can you tell how do i dynamically display its length as well without using ajex.. [CODE]<html> <head> <script type="text/javascript"> function length(x) { var y=document.getElementById(x).value document.getElementById(x).value=y.toUpperCase() } </script> </head> <body> Enter …
How do i create a session time out? i have tried with <session-config> <session-timeout>1</session-timeout> </session-config> in web.xml file but nothing seems to happen after 5 min.. if i do refresh it still works
I have configured my tomcat to work on port 80 so when i press [url]http://localhost/[/url] i gets the default page of tomcat. I have a web apps under webapps folder and it has the starting page as login.jsp. How do i configure so that i get the login.jsp when i …
a picture link has been given. I want to do the same but it should work with database but not with folders and files.. that is i want my database made with MS Access to show like this where each node is the primary key and all the childs will …
Friends am confused!Really too much confused! Am trying to simply send sms to any mobiles from my PC using Bluetooth.. I got some scrap codes and am able to do work with it. My n-gage QD works fine with it and even SE and Moto mobiles also working but n70 …
The End.
kaushik259106