|
to deploy the project in web sphere
My project is running in tomcat .I know the structure of creating the web application in the tomcat server.
webapps-contains the applications
project name - contains the WEB-INF and html files
WEB-INF contains contains classes and lib
classes contains class files
lib contains library files
and web.xml is parallel to WEB-INF
please tell me where to store html ,servlet ,xml file in web sphere and how to run the sphere
|
|
|
|
|
I am looking for a self contained simple example that demonstrates how the Code Project shows a Collapse Expand section for code snippets. Anybody willing to share it with me?
|
|
|
|
|
This can be done using an image, div and javascript. Put those +,- images in your page. Then, handle click event for it and hide/show the div containing code block. Also, change the images then.
Here[^] are a plenty of example showing that.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
I have been struggling with this for a while now. I have an ajax function that calls an .aspx page into another .aspx page.
It works in firefox chrome etc but not in IE, but if I use the function to call a .html page it works in IE fine and I have no idea why its not working when i try and use it to call an .aspx. any help would be greatly appreciated.
Heres the code:-
ajax.js
function getReactionTXT(REACT_TXT) {<br />
if (!isWorking && http) {<br />
http.open("GET", "getreactions.aspx?reaction_text=" + REACT_TXT);<br />
http.onreadystatechange = SearchReactions; <br />
isWorking = true;<br />
http.send(null);<br />
}<br />
}<br />
<br />
<br />
function SearchReactions() {<br />
if (http.readyState == 4) {<br />
var div = document.getElementById('reactionSearch');<br />
div.innerHTML = http.responseText;<br />
isWorking = false;<br />
}<br />
}<br />
<br />
<br />
<br />
function getHTTPObject() {<br />
var xmlhttp;<br />
<br />
if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {<br />
try {<br />
xmlhttp = new XMLHttpRequest();<br />
xmlhttp.overrideMimeType("text/xml"); <br />
} catch (e) {<br />
xmlhttp = false;<br />
}<br />
}<br />
return xmlhttp;<br />
}<br />
<br />
var http = getHTTPObject();
var isWorking = false;
|
|
|
|
|
There is nothing wrong with the code as posted.
I copy and paste ed it and retrieved an aspx page.
|
|
|
|
|
Thanks for your response, what version of IE were you using? I'm testing it on IE 8 and it wont play ball
Cheers,
James
|
|
|
|
|
Maybe we need to look at the aspx page that fails.
|
|
|
|
|
I tried it with a very simple .aspx page with no content in it and it still does not work. After searching around for a while it seems sometimes using the 'innerHTML' method causes some problems with IE. I found a solution to this by using 'appendChild' instead but it is not as clean as the innerHTML method as I have to clear the divs content first. If anyone knows of a better way or how I could make this better then please let me know.
heres the modified code:-
function SearchReactions() {<br />
if (http.readyState == 4) {<br />
var div = document.getElementById('reactionSearch');<br />
<br />
var newdiv = document.createElement("div");<br />
newdiv.innerHTML = http.responseText;<br />
<br />
div.innerHTML = '';<br />
<br />
div.appendChild(newdiv);<br />
<br />
<br />
<br />
isWorking = false;<br />
}<br />
}
|
|
|
|
|
|
I am posting here today to announce my new CMS website. Please let me know what you think. I am still working out the kinks and would like to get some feedback from knowledgeable people.
CMoSi is my creation to enable regular users to control their site content.
CMoSi works on any platform (Windows, Linux, etc...) and runs under any language. It works with .NET, php, cgi, plain HTML or anything else! You just cut and paste a code snippet (much like youtube embedding) onto your page. CMoSi does the rest. I also added versioning functionality to let you preview your changes and then decide when to make your new version "LIVE" so to speak.
I have been a member of CodeProject since 2006, and I believe in it's helpfulness in ALL areas of software development. I want to get my software out into the developer community.
Please feel free to check out www.cmosi.com and create a free trial membership to give it a try!
J Osifchin
modified on Wednesday, January 13, 2010 4:29 PM
|
|
|
|
|
Jon O - CMoSi wrote: I am posting here today to announce my new CMS website. Please let me know what you think.
I think that you're going to be downvoted like wild, because this "feels" like an advertisement.
Jon O - CMoSi wrote: CMoSi works on any platform (Windows, Linux, etc...) and runs under any language. It works with .NET, php, cgi, plain HTML or anything else!
That sounds far more interesting than the claim of being the "fastest, easiest and cheapest".
Jon O - CMoSi wrote: Please feel free to check out www.cmosi.com and create a free trial membership to give it a try!
I did, for a "free page" and I got redirected to a page stating "Please enter your billing information below." I closed the browser at that point.
I are Troll
|
|
|
|
|
Eddy,
You are right that it asks you for some information, but just address and email. I need to verify who people are when they use CMoSi to display their content. I want to avoid anyone using it for malicious purposes.
I do not require any credit card information unless you want to purchase a subscription.
I am very excited to see what people think,as this is my first site that I have owned and created by myself.
I thought of the idea myself as I was wiring in YET ANOTHER pain in the butt CMS backend to a website. I am hoping CMoSi can make life easier for us developers.
If you are not comfortable entering your address, I understand. Thanks for at least checking out the site!
Jon Osifchin
|
|
|
|
|
This is cheap! If you want to advertise on this site then please pay for it like everyone else.
MVP 2010 - are they mad?
|
|
|
|
|
I have already spoken with the advertising department on CodeProject.com. I just want to get some feedback from real developers before I launch an ad campaign.
thanks
Jon O
|
|
|
|
|
Jon O - CMoSi wrote: I have already spoken with the advertising department on CodeProject.com.
Perhaps you should have made that clear in your initial post. People tend to downvote, or vote for removal, messages such as yours.
MVP 2010 - are they mad?
|
|
|
|
|
HI Guys
Here's the deal.
I'm trying to write a small javascript program which would be doing this:
if W is pressed on keyboard then write '1' in texbox
if E is pressed on keyboard then write '2' in texbox
if R is pressed on keyboard then write '3' in texbot
etc.
Thanks Much in advance
|
|
|
|
|
So show us your code and someone will help you, but generally nobody provides a solution.
Bob
Ashfield Consultants Ltd
Proud to be a Code Project MVP
|
|
|
|
|
The question to you is
the plan I shared with you is that possible in Javascript?
|
|
|
|
|
Then the answer is yes, it can
Bob
Ashfield Consultants Ltd
Proud to be a Code Project MVP
|
|
|
|
|
Initially the idea behind it is to utilize that trick on Blackberry
where Alt key would not be necessary to punch in the numbers.
this is what I have:
<script type="text/javascript">
document.onkeypress = keyHit;
var keyName;
function keyHit(evt) {
var e = evt || window.event;
var thisKey = e.which || e.keyCode;
keyName = String.fromCharCode(thisKey);
}
function chkForm() {
if (keyName == '"') {
txtFld = document.getElementById("txt");
txt = txtFld.value.substring(0,(txtFld.value.length-1));
txtFld.value = txt+"'";
}
if (keyName == 'w') {
txtFld = document.getElementById("txt");
txt = txtFld.value.substring(0,(txtFld.value.length-1));
txtFld.value = txt+"1";
}
if (keyName == 'e') {
txtFld = document.getElementById("txt");
txt = txtFld.value.substring(0,(txtFld.value.length-1));
txtFld.value = txt+"2";
}
if (keyName == 'r') {
txtFld = document.getElementById("txt");
txt = txtFld.value.substring(0,(txtFld.value.length-1));
txtFld.value = txt+"3";
}
if (keyName == 's') {
txtFld = document.getElementById("txt");
txt = txtFld.value.substring(0,(txtFld.value.length-1));
txtFld.value = txt+"4";
}
if (keyName == 'd') {
txtFld = document.getElementById("txt");
txt = txtFld.value.substring(0,(txtFld.value.length-1));
txtFld.value = txt+"5";
}
if (keyName == 'f') {
txtFld = document.getElementById("txt");
txt = txtFld.value.substring(0,(txtFld.value.length-1));
txtFld.value = txt+"6";
}
if (keyName == 'z') {
txtFld = document.getElementById("txt");
txt = txtFld.value.substring(0,(txtFld.value.length-1));
txtFld.value = txt+"7";
}
if (keyName == 'x') {
txtFld = document.getElementById("txt");
txt = txtFld.value.substring(0,(txtFld.value.length-1));
txtFld.value = txt+"8";
}
if (keyName == 'c') {
txtFld = document.getElementById("txt");
txt = txtFld.value.substring(0,(txtFld.value.length-1));
txtFld.value = txt+"9";
}
}
</script>
|
|
|
|
|
I need a program in PHP which can extract the hidden biders from ebay.I will have to insert the item number and the program must show me all bidders of the auction and their emails.
Also the same program must extract the registered contact information for any specified bidder specially the email address
I will pay for this
If someone can help please contact me at totos_back@yahoo.com
Thanks
|
|
|
|
|
Well, I just hope all the spambots find you. I suspect what you want is illegal, its certainly immoral.
Bob
Ashfield Consultants Ltd
Proud to be a Code Project MVP
|
|
|
|
|
Pretty darn sure you'll find that eBay won't like that and neither will their clients as they're hidden for a reason plus I *suspect* DPA would come into play there.
|
|
|
|
|
So your basically asking for someone to be able to hack into the ebay database and get this information for you so you can win auctions?
Wow.
|
|
|
|
|
Not so I can win the auction .
Is for my new company ..can you help me ?
|
|
|
|