Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
6
Posts with Downvotes
3
Downvoting Members
6
~14.4K People Reached
Favorite Tags

44 Posted Topics

Member Avatar for staneja

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 …

Member Avatar for Gayanmdh
-4
4K
Member Avatar for jeetudaljit

Please see the following Code : HTML FILE [code=html]<form action="calculate.jsp"> <input type="Submit" name="Enter" value="see"></input> <input type="Submit" name="Enter" value="saw"></input> <input type="Submit" name="Enter" value="seen"></input>[/code] In calculate.jsp [code=java]request.getParameter("Enter")[/code] Here it will return the value of Button "Enter" as per the button clicked and you can apply different If ELse loops upon the value …

Member Avatar for ethar.ammar
0
1K
Member Avatar for pavani2006

hey i think what you can do is you find the frequency of characters in a word Like ""madam" is having 2 m and 2 "a" and 1"d" so u can make pallindronme for it Its just a logic that u can think abt...Hope it will help u in 1 …

Member Avatar for JamesCherrill
0
224
Member Avatar for niamul

[COLOR=#000000]Well I think what you can do is you can use string operation on your input to get such a Switch Case Statement[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]For Example if you want to go for Black, blue or something else.....what you can do is you make user enter string and find the …

Member Avatar for jon.kiparsky
0
2K
Member Avatar for TransKim

Hi TransKim Write some code ...get an error and ask us ...we are here for you in that case But if your teacher ask you to do something and you are simple coming to us to do that.....then we are not here to help you so come up with some …

Member Avatar for masijade
-2
221
Member Avatar for sarfarazahmed

You do one thing before craeting a war file you remove Source folder from src directory and let it have only complied classes In this way when you will paste it in the webapps folder it wont be having SRC folder only classes will be there Well about the desktop …

Member Avatar for lemon81
0
859
Member Avatar for itsmeisuru
Member Avatar for staneja
0
136
Member Avatar for Rmj001
Member Avatar for Rmj001
0
339
Member Avatar for java..

[code] for (i = 0;i< l;i++ ) { int temp=num[i]; for (j = i;j<l;j++ ) { if(num[i]>num[j]) { num[i]=num[j]; num[j]=temp; } } } [/code] Try this code

Member Avatar for staneja
0
190
Member Avatar for shahali88
Member Avatar for Austinjs0102

I just figured out that your program is reading only word instead of whole line. Can you please try to print content of 'WORD' after [code]String Word = scan.next();[/code] line. Thanks

Member Avatar for staneja
0
314
Member Avatar for mseck

The three different integers are the 3 different integers are : 13, 27, 14 System.out.println("the 3 different integers are : "+num1+","+num2+","+num3); In case you are looking for just formatting your output.

Member Avatar for staneja
0
101
Member Avatar for muskan

Hi..........in general what you can do is .....create one lib folder in your project and copy the driver file for connection in that and set calss path to your lib folder........... set classpath ....u have to do this stem into system variables My computer -: properties -: Advanced -:Environment variables

Member Avatar for masijade
-1
206
Member Avatar for staneja

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 …

Member Avatar for masijade
0
78
Member Avatar for apcxpc

Can you please tell me how you solved this issue. Its occurring for me also. I am running a query , sometime it results in 8 rows and sometime it gives 3 rows. My first quesry resulted in 8 rows and i am getting 8 rows now but my 2nd …

Member Avatar for verruckt24
0
200
Member Avatar for staneja

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 …

Member Avatar for staneja
0
102
Member Avatar for staneja

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 …

0
56
Member Avatar for anastacia

Hi Why dont you give a try to [URL]http://www.jsptut.com/[/URL] May be it will help you out suMit

Member Avatar for raja baba
0
253
Member Avatar for staneja

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 …

Member Avatar for ~s.o.s~
0
97
Member Avatar for staneja

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 …

Member Avatar for dinezhr
0
120
Member Avatar for staneja

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 …

Member Avatar for masijade
0
191
Member Avatar for staneja

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 …

0
59
Member Avatar for staneja

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 …

Member Avatar for staneja
0
101
Member Avatar for staneja

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 …

Member Avatar for sergeant
0
135
Member Avatar for staneja

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 ; …

Member Avatar for Ezzaral
0
89
Member Avatar for staneja

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 …

Member Avatar for ~s.o.s~
0
177
Member Avatar for zhapool

Hello [URL="http://www.daniweb.com/techtalkforums/member151943.html"]zhapool[/URL] Buddy here people are keen to help you but they want a feel that you are right person to help.Me too have asked so many question and Jwenting happily replied them ,though some of questions seems stupid to me now but he never hesitate to reply me. So …

Member Avatar for toxicboy
0
218
Member Avatar for staneja

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 …

0
70
Member Avatar for staneja

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 …

Member Avatar for staneja
0
123
Member Avatar for staneja
Member Avatar for jwenting
0
61
Member Avatar for staneja

I am calling this constructor but it is not getting complied public conn() { Class.forName("com.mysql.jdbc.Driver"); con=DriverManager.getConnection("jdbc:mysql:///dbetech", "root" , ""); } throwing error message: D:\etech\WEB-INF\src>javac *.java conn.java:16: incompatible types found : java.sql.Connection required: com.mysql.jdbc.Connection con=DriverManager.getConnection("jdbc:mysql:///dbetech", "root" , ""); ^ 1 error

Member Avatar for staneja
0
91
Member Avatar for staneja

I am trying to create a calss with a constructior that creates connection with MYSql database , i am using database name as dbetch . I have set the path varable but still it id throwing error package login; import java.sql.*; import java.sql.DriverManager; import com.mysql.jdbc.Connection; public class conn { Connection …

Member Avatar for staneja
0
158
Member Avatar for howdoyoudothat?

EXE means executable file. We can save any file as exe and it will be executed also but whatever we have written inside it will be executed For example if you save a Blank notepad file as "abc.exe" , file will be created but it wont be performing any action …

Member Avatar for stymiee
0
123
Member Avatar for staneja

Well i am doing a very simple program that is to calculate the number of occurrance of a character in a string Hello World The character H appears 1 times The character E appaers 2 times The character L appears 3 times The character L appears 3 times The character …

Member Avatar for sun light
0
284
Member Avatar for staneja

I was executing a simple core java application using JDK1.5 I wrote code and complied using javac it gave some errors that i fixed and at last it got complied successfully But when i tried to exeute it using java it gave me an error message Error in thread main.NoSuchMethodFound …

Member Avatar for vinod_javas
0
142
Member Avatar for algo_man

hey it sounds a very interesting question if you are not allowed to use anything apart from two Stack Tell me ARe we allowed to use temp varaibe here

Member Avatar for iamthwee
0
75
Member Avatar for anousha

Be honest Be truthful and be thankful when looking for any help from anyone. Please do read the Infraction second last reply that gonna help you a lot and will surely teach you a lot . Just give it a try madam

Member Avatar for staneja
0
92
Member Avatar for staneja

I need to get information about the time taken by tomcat server to get restarted and also when i paste some war file inside Webapps folder i dont observe anything on the startup.bbat file............I mean it should register with that file I think there must be some property file with …

Member Avatar for jwenting
0
59
Member Avatar for staneja

I am trying to acess Bean thorugh JSP using useBean tag ,but its giving me ClassNotfoundExcetption i think i am missing somewhere in structure of JSP program Can anyone tell me where shall i place this Bean class so it can be read Currently i have putted it inside WEB-INF …

Member Avatar for aruna_k_2006
0
58
Member Avatar for staneja

I am learning JSP can anyone tell me how shall i proceed with JSP I mean what should be sequence of things that will make learning convinent for me Please do suggest me which kinda aaplication i should make in JSP........some ideas I have done core java and servlets

Member Avatar for jwenting
0
154
Member Avatar for staneja

I am new to JSP and was trying a very simple program that adds/Divide/multiply/Subtract 2 numbers I am taking two numbers from a web page and as per the button pressed performing the action on JSP page. I have kept a vraiable c for output If i write int c=0 …

Member Avatar for staneja
0
103
Member Avatar for green_oasis

Well i believe that you cannot use Sizeof() function on class. DO create objects and then find the size of objects to find sixe of class Like class A a; cout<<sizeof(a); Please correct me if i am wrong at some point ....i am not in touch with C,C++ or long …

Member Avatar for ~s.o.s~
0
170
Member Avatar for Sandtimes

[COLOR=#000000]I think the code [/COLOR][COLOR=#444444]getline(cin,data.stringdirector); [/COLOR][COLOR=#444444]should be written as[/COLOR] [COLOR=#444444]getline(cin,data.movieDirector) ;[/COLOR] [COLOR=#444444][/COLOR][COLOR=#000000] and secondly [/COLOR][COLOR=#444444]int runningtime; should be declared inside Structure defination if you want to define as a Structure member[/COLOR]

Member Avatar for Sandtimes
0
640
Member Avatar for sam1

Tell me What exactly you rae trying to do. Are you trying to mAtch the value from Database Or you are matching the SSN with a dummy value taken in the Program itself Can you provide more information or source code

Member Avatar for DavidRyan
0
158

The End.