- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 6
- Posts with Downvotes
- 3
- Downvoting Members
- 6
I am very new to JSP language and i ahve worked a lot on JAVAlanguage and i have configured my Tomcat Server also and its running fire I would like to know about the steps that i am required to follow to Execute my JSP File. 1.Please tell me in … |
|
Re:
Pl. help in handling button events in JSP like calling a servlet on Button click or executing java code. |
|
Re:
how can i check a given string to form a palindrome or not for(i=0;i<str.length();i++) { if(str.charAt(i)==str1.charAt(i) } } |
|
Re:
I am a new programmer in Java and while programming I faced the following problem. I am trying to use switch statement on String but it gives compilation error. If any one suggest me how to use String in switch-case statement , it will be helpful to me. |
|
Re:
Hi members,I would like to share knowlege in Java with you. I have a problem which i request a solution for. I want to design a GUI in java that displays four roads each having traffic lights and these traffic lights have four colours(green, orange, and Red). So I want … |
|
Re:
Actually ,i made one project for web based application,but now i have to use for desktop application.and also i don't want to show my code to customer to whom i will give my project.While running WAR file in tomcat ,it automatically makes source code file,please help me out. In advance … |
|
Re:
[code] if (a>b || a==2){ System.out.println("yes") } [/code] [quotes] in if command it gives an error, sayin operator || can not be applied to a boolean. I want to know how to use the and &&, or || operations in java.. [\quates] |
|
Re:
Can anyone tell me where I am going wrong with my code? I keep getting two errors stating ';' expected (on lines 22 & 23). I am new to this so I am not sure what I can post and what I can't, so I am just going to post … |
|
Re:
[CODE]public class array{ public static void main(String[] args){ int num[] = {80,20,47,82,25,13}; int l = num.length; int i,j; System.out.print("Given number : "); for (i = 0;i < l;i++ ){ System.out.print(" " + num[i]); } System.out.println("\n"); System.out.print("Accending order number : "); for (i = 0;i < l;i++ ){ //int temp=num[i]; for … |
|
Re:
hello i m ali i m new to jsp please tell me about how jsp runs in openwave |
|
Re:
Alright i am writing a program to read a sentence you write and judging by you punctuation it will tell you whether its a statement, question, exclamation or other. My problem is that it isnt running my If statement. am i just bind and missing something. [CODE]/* * To change … |
|
Re:
I would like to create a java prob that will request three integers from a users and have it printout the sum and product as such: the 3 different integers are : 13, 27, 14. the sum is 54 The product is 4914 Completed Have i programm the right way: … |
|
Re:
please help me to resolve the databasbase connectivity problem in java for mysql .i am using jdk 1.5 ,if there is need to put a file then please mention where it should be copied ,and i am writing the code and error occuring that code. code: import java.sql.ResultSet; import java.sql.SQLException; … |
|
I am creating a simple application using Swings . I am executing search on the database and result i have shown in table. My first query resulted in 8 rows which was shown clearly. Now on same frame i changed the search criteria and clicked search button. Now its resulting … |
|
Re:
Hi all I am programming a database-related application in Java. I have to facilitate several different types of queries, but I'd like to use the same JTable to display the results of each query (one at a time, of course). The problem is that when I'm using one JTable, I … |
|
I am trying to display an Image using applet. Image is updated after every 4 seconds so i want my applet to show updated image.I am not sure where i should load the image i have tried to load it in the init() method as well as in "start" method … |
|
i am woring on a project that finds the CPU temprature and shows in the graph. I am using applet to disply this.The CPU temp program is running and fter every minute the Image is modifed but when i m displaying the updated image in the applet it fails to … |
|
Re:
hi to all well i know html, css javascrpit php apache and mysql. but now i am learning jsp and I DONT HAVE ANY JAVA PROGRAMMING EXPERIENCE!!!:sad: uptill now i just cant figure out whats java and jsp all about well i know its a serverside scripting for web development … |
|
I am executing a project that have 100 jar file attached to it I am able to execute it in Eclipse but i want to run it from batch file but the problem is that i am not able to set class path , whereas in eclipse we can direclty … |
|
I have one doubt about WAR file........ Like i am creating a project with mysql databse and deploying it through WAR file My question is if i want to deploy it on some other machine then i am copying war file there in webapps folder.........but do you think it war … |
|
Hi i am making a new user page where user will fill username and password and i want to put some client side validation on it Suppose user has given wrong values in password and Confirm password column so before a request is send to secnd servlet i want to … |
|
I have one doubt about WAR file........ Like i am creating a project with mysql databse and deploying it through WAR file My question is if i want to deploy it on some other machine then i am copying war file there in webapps folder.........but do you think it war … |
|
Hi All I am trying to create 2 tables Table 1 with cust_id , username and password (Cust_id is primary key here) Table 2 wth cust_info that will store info for that cust........now i want to use this Cust_id as foreign key here in table2 but i am not able … |
|
Hi All I want to implement "FIX protocol" The Financial Information eXchange (FIX) protocol using java technology can any of you please guide me what are the things i need to know in java to implement this. and any further help from where i can get to know more about … |
|
I am passing an object of class "String" to hello function and i want to pribt all the chars so i am using foreach loop My main motive is to use foreach so please help me to type cast it follwoing is the code i have [B][COLOR=#7f0055][/COLOR][/B] [B][COLOR=#7f0055]int[/B][/COLOR] [COLOR=#0000c0]i[/COLOR]=0 ; … |
|
I am attaching a war file that prints hello using servlet This is code for web.xm [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<?xml version="1.0" ?>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]web-app[/COLOR][COLOR=#0000ff]>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR][B]hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-class[/COLOR][COLOR=#0000ff]>[/COLOR][B]servlet1[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-class[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet[/COLOR][COLOR=#0000ff]>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-mapping[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR][B]hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]url-pattern[/COLOR][COLOR=#0000ff]>[/COLOR][B]/hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]url-pattern[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-mapping[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]web-app[/COLOR][COLOR=#0000ff]>[/COLOR] [COLOR=#0000ff][/COLOR] [COLOR=#0000ff]but … |
|
Re:
im a 1st yr IT student, we have a final project this end of class. . . all we have to do is make a program using java. Honestly, java is very hard for me so if i can have a favor please help me to understand it more. . … |
|
Hi , i am trying to run Servlet since last 3 days , i have executed servlet so many times with same method but this time its troubling me . This is code of web.,xml <?xml version="1.0"?> <web-app> <servlet> <servlet-name>hello</servlet-name> <servlet-class>servlet1</servlet-class> </servlet> <servlet-mapping> <servlet-name>hello</servlet-name> <url-pattern>/hello</url-pattern> </servlet-mapping> </web-app> Aug 8, 2007 … |
|
I ahve created a directory Structure Sumit -> WEB-INF -> src -> classes and i putted Servlet file in src , compiled class file in classes folder and created Web.xml file in WEB-INF folder after that i craeted a war file ( I am not sure it should be inside … |
|
What should be the encoding format of Web.xml file while saving it form notepad |