Albert Hopkins

Greenhorn
+ Follow
since Jul 21, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Albert Hopkins

Hi...
I have a sql script called student.sql .

How can I call that script directly using JSP.

Example : Query = student.sql;

thanks

p.s : I hope I'm in the right topic.
Hi...

I wrote



But, I got SQLException: ORA-00933: SQL command not properly ended message.

What I did wrong?? please
Hi..
thank you for the reply..

can you give me an example how to do it???

I'm really a beginner...just trying & trying...until I'm brain dead

ok...

the script compares string

"RDBMS" using .equals

How if i don't want to use equals, because I want the script to compare without using the whole "RDBMS". Just compare "R....S" ??

Can you suggest??
Hi...
I have many Resultset in a page. For evert resultset, we have to the next() thing right??



When I try to display the result nicely on my page, I realized I have to display it concurrently because it is fixed by the next(). I can't display rs13 with rs14 together in my layout.

How to do this?? thank you
Ok..this is another example



you can see this line.

It queries "RDBMS" from the database. I want that the script queries any word contains any "R _ _ _ S" . The result will come out.

In SQL, I understand we can use ( select dataSourceType from data where dataSourceType like 'r_ _ _s') .

I hope this helps.

thank you
Hi...
please assist me:

I want to query a name called "hello_sbm_007" from a field.

I used this code:



The code should query word that contains "_SBM_" . It didn't worked for me.

Pleas help

Originally posted by Amol Nayak:
When your are displaying source code it might contain characters like <,>,& etc..
So you will need to escape these special characters. have a look at the JSTL tag suggested by Bear, that will give you the answer.



The work "escape" from Amol and hint from bear really helped.

Thanks.
12 years ago
JSP
what if i use

< & > ??? is it ok??

thanks
12 years ago
JSP
i just want to display source code examples in a webpage. So that people can copy & paste it.
12 years ago
JSP
please help me. An example would be very appreciated
12 years ago
JSP
i'm sure its something very easy.

Gonna find it out.
12 years ago
JSP
hi..
thanks..

but still, i can't find it out..

please help me
12 years ago
JSP
Hi..
I'm developing a small project that displays source code examples.

what is the suitable tags can be used??
12 years ago
JSP