|
|
Up |
|
|
  |
|
|
  |
Author: Damon GetsmanDamon Getsman
Date: Sep 17, 2008 09:40
Not exactly JavaBeans, but pretty close... If anybody knows a better
resource on usenet for just JSP, please feel free to let me know.
Another day, another stupid question proving how little I know about
this language that I'm supposed to be coding in right now...
I have a 'subroutine' in the jsp that I'm currently working on that
works with about 20-30 different variables; general manipulation,
tossing them in to various database tables, etc... Anyway, there's a
whole load of SQL queries, inserts, and updates going on in this piece
of code, too. One of them (at least) is broken. Judging by the error
that I'm getting from the tomcat logfiles, it's in one of the queries,
and it seems that one of my variables is being interpolated as a table
column... So I need to find a way to view the SQL interactions as
they're happening or an easy way to dump all of my variables somewhere
so that I can take a peek at them in order to locate what is going on.
Commenting out all of the SQL and adding debugging output is an
option, but one that is going to be a real pain in the buttocks. I'd
much rather find an easier way.
Any ideas?
TIA
|
| Show full article (1.24Kb) |
|
| |
3 Comments |
|
  |
Author:
Date: Sep 16, 2008 09:31
I created a Manifest file and Jar file properly for my .java file.I placed
all the(.java,.mft,.jar) files in the respective directories.but when i run
my BDK,i could not see my own Bean in the Toolbox.
Please tell me the proper steps to include my own Bean in the BDK Toolbox.
|
| |
|
no comments
|
|
  |
Author: Damon GetsmanDamon Getsman
Date: Sep 16, 2008 07:48
I have a large project that I'm working on right now written primarily
in .jsp. It is used primarily to enter, sort, and process data from
several MySQL tables on the back-end. Unfortunately the previous coder
has written it almost entirely in JSP; to the point where almost all
of the logic, database access, and other functions that should
normally go in beans is written in JSP tags. Anyway, I digress...
This project was handed off to me in a NetBeans project bundle. I had
a lot of issues with NetBeans, so I switched to Eclipse. The new
version of eclipse seemed broken in some areas, too, so I ended up
switching to editing my files with 'vim' on my Linux system,
rebuilding with 'ant', and then redeploying and troubleshooting under
tomcat6+apache on my local webserver.
|
| Show full article (2.84Kb) |
|
1 Comment |
|
  |
Author: Damon GetsmanDamon Getsman
Date: Sep 11, 2008 07:26
Okay, this posting is about JSP, not pure Java, but I couldn't find a
more proper newsgroup(s) for it.
I am doing an from within a .jsp file. Unfortunately at
this point doing the insert from within a bean is not possible.
Unfortunate, but that's the way it is. Anyway, I need to be able to
determine the auto generated primary index field for the record that I
am inserting for further processing beyond this point. For the life
of me I have not been able to find out how to do this. I've tried
googling, researching on sun.com, looking in the ORA book on JSP, and
the book Beginning JSP 2: From Novice to Professional. I have yet to
turn up anything that tells me how to retrieve this key.
Can anybody give me a pointer on how to do this from within JSP? I
have a deadline to meet here and this small issue is really cutting it
close for me.
Thanks in advance.
|
| Show full article (0.97Kb) |
|
3 Comments |
|
  |
|
|
  |
Author: denbosco1denbosco1
Date: Aug 29, 2008 22:20
INTEGRITY CAN MAKE YOU EASY MONEY!! IT WILL!!! BUT YOU
HAVE TO FOLLOW IT TO A LETTER FOR IT TO WORK!!!!
A little while back, I was browsing through newsgroups, just like you
are now, and came across an article similar to this that said you
could make
thousands of dollars within weeks with only an initial investment of
$6.00! So I thought," Yeah, right, this must be a scam", but like most
of us, I was curious, so I kept reading.
Anyway, it said that you send $1.00 to each of the 6 names and address
stated in the article. You then place your own name and address in the
bottom of the list at #6, and post the article in at least...
|
| Show full article (7.35Kb) |
|
no comments
|
|
  |
|
|
  |
Author: Damon GetsmanDamon Getsman
Date: Aug 15, 2008 12:43
I'm working on a project right now that has me deep in the middle
of .jsp source that makes sql queries, and relies on beans for some of
the processing.
I'm very new to Java; I can't pick up a book until later this weekend
to help me on some of the specifics that I'm going to be working with
here (ie JSF/AJAX frameworks/JavaBeans).
The .jsp I'm not having a hard time decoding, I'm starting to feel
pretty at home in it right now, actually. The one thing that I am
finding is a difficulty in correlating the .jsps where it references a
bean and A) where the bean is utilized and B) how the bean and .jsp
are passing values back to each other.
I realize this is potentially a complicated subject, but is there
anybody that could give me a quick general idea on what I'm missing
here?
TIA
-Damon
|
| |
|
1 Comment |
|
  |
|
|
  |
Author: James.SallmenJames.Sallmen
Date: Aug 14, 2008 14:03
http://limb.googlebong.com
Mike Dziurawiec GoogleBong
img { border: 2px solid Black }
pre { font: 6pt/8pt }
p,blockquote { font: 16pt; font-family: verdana, arial, 'sans serif' }
h1,h2,h3,h4,ul { font-family: verdana, arial, 'sans serif'; font: 14p }
table,li,td { font-family: verdana, arial, 'sans serif'; font: 12p }
ul { list-style: disc }
ol { list-style: decimal }
body { background: "#EEEEEE" }
h1,h2,h3,h4,hr,p,ul,blockquote,pre { color:Black }
a:link { color:Blue }
a:visited { color:Blue }
a:active { color:"#008000" }
a:hover { color:"#008000" }
h1.header { padding:0em; margin:0 }
div.container { width:100%%; margin:0px; border:1px solid Black; line-height:150%% }
div.header,div.footer { padding:0.5em; color:white; background-color:Black; clear:left }
div.left { width:15%%; margin:0; float:left; padding:0; }
|
| Show full article (1.07Kb) |
|
no comments
|
|
|
|
|
|
|