Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
71% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
4 Commented Posts
0 Endorsements
Ranked #3K
~22.9K People Reached
Favorite Tags

43 Posted Topics

Member Avatar for bhuvan83

Hey, if you are using Java/JSP and/or servlets you can always save your rs object in the session, which would make it remain accross browser transactions...BUT I have never tried it that way... I also NEVER work with MS Access unless it is on my desktop...it is just not a …

Member Avatar for Vetha
0
249
Member Avatar for sanju21

Well, that wasn't very nice, was it... since the use of Java code in a JSP file is certainly within the realm of JSP, I can understand why this person posted here... it is an innocent enough question, if you don't want to be helpful, then just don't reply... Now, …

Member Avatar for toughlittleone
0
782
Member Avatar for AnzJ

One issue is the concept of "containers"... The div tag is a container, but it is contained in the body tag... the body tag, unfortunately is not trated the same on all browsers... in some it is sized to fit the browser's available space... in some browsers the body tag …

Member Avatar for fenderkris
0
371
Member Avatar for Mohandsa

OK, it seems you posted twice this time with more detail... this should be posted to the Javascript lists rather than JSP lists... BUT, a date object, or datetime is just a long numberic value... counting (usually) seconds or militseconds sine the "Epoc" time... usually Jan, 1 1970 00:00:00... You …

Member Avatar for ehassen
0
223
Member Avatar for shaggysc96

OK, I am hoping your code above is broken because of the way you copied it.... BUT... IE defaults a webpage to a white background... Body tag's background is NOT an inherited value... other browsers make everything or almost everything an inherited value... who's right, who's wrong according to the …

Member Avatar for essential
0
2K
Member Avatar for anastacia

Now I have not seen the site in the link above and jwenting and I have had words over "opinion" about what is right and what is not... Unfortunately, I find his posts to be very little help to most people, he seems to want to post to everything but …

Member Avatar for raja baba
0
253
Member Avatar for push

It is pretty basic, Each time a browser accesses your web application for the first time a session is created... want it or not... this session doesn't mean anything unless you use it... but it would allow you to save data without a DB, text file or cookie, about the …

Member Avatar for rookie446
0
3K
Member Avatar for suigion

On thing I would say is "Just Say NO!" to MS SQL 2000... It is NOT a good DB... it is prone to deadlocks and on any serious system it will be a serious weakness... the number of concurrent supportable users will be microscopic compared to a real DB... I …

Member Avatar for alimirmd
0
163
Member Avatar for hegRT

The simple answer here is to do some debugging by putting some debug code into your class. Start by setting a starting value to rating such that you have, String rating = "Rating Not Null"; Then test, see if rating comes out null, or does rating still contain the initial …

Member Avatar for alimirmd
0
140
Member Avatar for uninvitedm

Without further investigation I can't promise that I am the right track here... But it may be in the url encode and url decode that is taking place... the "+" is the encoded space " " the first time, but the second time, it would get url encoded AGAIN... double …

Member Avatar for uninvitedm
0
151
Member Avatar for ashitha

Add some debug code, skip the actual file write for now... place output statements to show the values of the parameters... if you try to read a parameter that doesn't exist you will have a problem... if you try to create a file with a null object which would be …

Member Avatar for jwenting
0
313
Member Avatar for ashitha

First, be a little nicer about how they wrote their question. NOT all people using these sites are native or even good English speakers... If the question seems to make sense which this one does, don't complain about the language choice... What I see is typical language for a Japanese …

Member Avatar for rgtaylor
0
345
Member Avatar for iam_rob

The links provided to Marty Hall's book info have some valid information, but they book is not good, Marty Hall intentionally avoids anything useful in all but the most trivial applications. Also the book is QUITE old... That said, the sections on sessions shoudl be useful... You may want to …

Member Avatar for iam_rob
0
229
Member Avatar for assoora

OK, first of all, what DB are you using? Second, where are you doing the formatting, in JSP, in the Servlet or in the Bean? Depending on the DB you use, you should be able to set a limit and and offset int he SQL statememt. This will have pseudo …

Member Avatar for jwenting
0
141
Member Avatar for push

I am not sure exactly what you are trying to do here, so if I am off a great deal, please forgive me. If you have 2 different "applications" they are isolated by Tomcat, though a workaround may exist, I am not sure it is needed. You can't really, or …

Member Avatar for rgtaylor
0
81
Member Avatar for chewbacca810

OK, I have been programming for near 30 years. I have touched every major programming language in those 30 years. Actually it is 27 years but near enough to 30 for this discussion... Good coding practices are not written in stone, they have evolved over the years, changing as frequently …

Member Avatar for rgtaylor
1
363
Member Avatar for push

Application scope, as mentioned, is for sharing data among ALL sessions within an application... this can be useful for many purposes, often a hit count is used as an example, BUT that is a contrived example because any server restarts or application restarts will reset it to ZERO... but when …

Member Avatar for rgtaylor
0
106
Member Avatar for amtallah

use DateTime.parseDateTime(String) or DateTime.parseDate(String) Each will return a DateTime object from a string in a standard format... if it doesn't inderstand the string it will throw a NumberFormatException Peace,

Member Avatar for rgtaylor
0
122
Member Avatar for sanju21

How you can say logging is not related to JSP.... are you suggesting that logging can't be done in JSP? If so, then JSP designers seems to have missed something that is vital to all programming and capable of doing in any language of which I am aware. Are you …

Member Avatar for rgtaylor
0
115
Member Avatar for push

Push, can you provide a little clearer post with more specific details about what you are trying to do and what the problem is... typically in JSP you would use the useBean tag to indicate what Bean you want to use... There are paramters to indicate the class or type …

Member Avatar for push
0
91
Member Avatar for vinutha1309

First of all, it doesn't matter what you did with the .java file... Tomcat really cares about the servlet .class file You have to tell Tomcat what you call your servlet within the web.xml file... and what the .class file is... this need to have the package.classname if you used …

Member Avatar for rgtaylor
0
177
Member Avatar for akhilesh.nitt

If you want to work with Excel, you should look at using ASP rather than JSP... there are many ActiveX controls which would allow the Excel sheet to edited inplace on the browser... Now that I said that, I have to ask why, why, why, why, why.... As much as …

Member Avatar for rgtaylor
0
154
Member Avatar for rinoa04

Can you provide more specific details about what you have done, are trying to do? If you separate the logic and presentation then you need to pass state between the logic component and the presentation component. this would include a flag to indicate an error condition and/or the error message... …

Member Avatar for rgtaylor
0
96
Member Avatar for ramakrishna172

What are you referring to? typically the problem with include files is that the response buffer either contains data already or has been sent... you can't change what is buffered or sent but you can add to it... if the buffer is not sent then you can clear it, which …

Member Avatar for rgtaylor
0
131
Member Avatar for ramakrishna172

Can you please explain what you are referring to a little better? Vector was like an array that grew as needed, but its performance is not very good, since linkedlist has been enhanced and performance is better, many professionals who have tested these recommend the use of a linkedlist over …

Member Avatar for rgtaylor
0
100
Member Avatar for klouis

Sorry, I don' fully understand what you are saying. Perhaps a little more info would be helpful. What is your form trying to submit? What text file are you talking about, do you mean text field? What error are you getting? What does your form do when submit? I wanna …

Member Avatar for rgtaylor
0
97
Member Avatar for Sukanto

Your problem here is that you are writing a new document when the button is clicked... the current document is closed, so the browser tries to do the document.write as a new document. You should use some editable field, like using a text input field for output or a text …

Member Avatar for Sukanto
0
158
Member Avatar for SebCachia

My guess is that the radio buttons and text labels are aligned using a form... without being specifically set widths the browsers will just determine the widths as their internal logic dictates... Otherwise you may need to see if the radio buttons have any margin-right values set by default... The …

Member Avatar for rgtaylor
0
73
Member Avatar for okparrothead

div gives great control over layout, fixed or otherwise, only people who don't really spend the time to learn to use it right promote the use of tables for layout... I am not sure that the above suggestion to inline the div tags will work as expected, some browsers, newer …

Member Avatar for rgtaylor
0
271
Member Avatar for jeet_portal

Well, you can certainly do it by embedding some Java code in your JSP file... Instead of trying to insert it directly from JSP tags...or a custom tag library... You can create a custom tag library to handle this also... but it is basically handled by setting the DB Connection …

Member Avatar for rgtaylor
0
186
Member Avatar for Mohandsa

You say in the title js... if you mean Javascript, then you should post in the Javascritp lists, you'll get better results... If it is a typo and you meant JSP, then I will see what I can do... However, the priciple is basically the same... You can build a …

Member Avatar for rgtaylor
0
136
Member Avatar for thejonnotjohn

First of all, the mailto: URL will only work if the client machine is configured for e-mail... which on a campu they aren't because that is user specific to each machine...the server doesn't matter.... it is a client side issue... Next, it can be done with Server Side scripting or …

Member Avatar for niceboy
0
186
Member Avatar for wpcoe

You can do this with CSS only, and even deal with the image issue... the statement that tables should only be used for tabular data is ABSOLUTELY correct. At the risk of sounding argumentative, the comment about using a table for you layout be valid is "in my opinion" absolutely …

Member Avatar for justinm
0
171
Member Avatar for rpjanaka

Dude, you have the answer above already...the onClick parameter is ALWAYS going to run when clicked... this is NOT form input.... The input tag with type="image" is the CORRECT way to use an image as a button... if you don't do it correctly even when people tell you, then there …

Member Avatar for digital-ether
0
8K
Member Avatar for sandbox

Have the dynamic page, php, jsp or even javascript write the file name to the init parameters for the flash movie embed tag...then the flash move can load whatever file is indicated as it init parameters...

Member Avatar for rgtaylor
0
129
Member Avatar for viet_mafia

You have 2 scripts, 1 in the head and 1 in the body, but the 1 in the body is writing a new html, head, body etc. tags... so you have a broken html page for the browser when you are done.... In effect you have this structure html head …

Member Avatar for rgtaylor
0
333
Member Avatar for Java_il

well first of all, your input tag is broken... NO closing bracket.... so it may not be recognized by the browser as a valid element...

Member Avatar for rgtaylor
0
63
Member Avatar for davec271

You know, I really wanted to help, but you over whelmed me with too much stuff to read on the screen... So lets start at the begining... Your HTML page at the top has NO php in it, so it is showing exactly what you have told it to show... …

Member Avatar for rgtaylor
0
197
Member Avatar for Stoney

What results are you getting? Have you tried 5.0/9.0, Java will assume 5/9 are integers, but that is 0.55555 which will be just 0 as an int... it doesn't round, it truncates... or better yet, use (F-32)/1.8 you should make your variables something capable of carrying a fractional component...

Member Avatar for masijade
-1
184
Member Avatar for Inny

loose the "function" keyword... What your script does is declare a function ,which actually already exists, if the page url matches one of your options... it doesn't actually call the function... place the script in the page where you want the html code written and then just use "document.write();" rather …

Member Avatar for rgtaylor
0
76
Member Avatar for Inny

Why did you ask and answer your own questions? First, why are you using both iframes and tables...redundant much...? You have to transfer the html, css, JS to the browser...BUT then the JS has to process the data and the iframe content must load... if it is loaded superfluous data …

Member Avatar for rgtaylor
0
2K
Member Avatar for Stoney

Yes, I have just read several posts in the last 20 minutes and almost all of them have the same problem, people using int for any number without thinking about just what an int is... int, long, double float etc. to each their own and long live the int... I …

Member Avatar for rgtaylor
0
328
Member Avatar for JoeMDOH

I know this is an old question, but I just saw this, an in case anyone else wonders, I did domething like this several years ago, but rather than querying the db from page2, I made my values contain BOTH the index from the DB and the text... I just …

Member Avatar for rgtaylor
0
170

The End.