Search Results

Showing results 1 to 40 of 78
Search took 0.01 seconds.
Search: Posts Made By: lookof2day
Forum: Java 1 Day Ago
Replies: 2
Views: 119
Posted By lookof2day
For a simple online store you don't really need to know JSF. However, you should know Servlets and JSP for the same in Java world. Also, do not use JDBC-ODBC bridge. Use JDBC Type 4 driver available...
Forum: Java 1 Day Ago
Replies: 5
Views: 121
Posted By lookof2day
You can store the results in to two separate maps. Then iterate over each map and compare each object in the two maps.
Forum: Java 2 Days Ago
Replies: 0
Views: 213
Posted By lookof2day
I've been trying to get a list of values from database using hibernate.
I'm using MS SQL Server XE 2005 and using Hibernate 3.2.2 to fetch DB rows. I've tried JDBC drivers provided by Microsoft as...
Forum: JSP Mar 11th, 2008
Replies: 7
Views: 2,080
Posted By lookof2day
If you are really interested you can refer the following link http://builder.com.com/5100-6370-5031703.html However, others have already pointed out not to do so.
Forum: Shell Scripting Jan 30th, 2008
Replies: 1
Views: 1,558
Posted By lookof2day
This is ugly but it works!:)


if [ "$NAME*" == "$HTML_NAME*" ]; then
Forum: Shell Scripting Jan 30th, 2008
Replies: 1
Views: 1,558
Posted By lookof2day
Hi
I'm trying to compare two files names using the function given below.
The files to be compared are named as
xxx_yyy_abc_def_.rtf && xxx_yyy_abc_def_.html
The extentions and the underscores...
Forum: Shell Scripting Jan 15th, 2008
Replies: 3
Views: 11,015
Posted By lookof2day
Ah!!

Got it!
I need to use quotes " ' " $var1" ' " with my variables

INPUT=`echo | awk '{ print substr("'"$HTML"'","'"$var1"'","'"$var2"'") }'`
Forum: Shell Scripting Jan 15th, 2008
Replies: 3
Views: 11,015
Posted By lookof2day
Hi !
I'm trying to find the substring in a shell script as given:

#! /bin/bash
HTML="<html><body>OK</body></html>"
OK="OK"
OFFSET=`expr index $HTML $OK`
OK_LEN=`expr length $OK`

var1=`expr...
Forum: Java Dec 6th, 2007
Replies: 2
Views: 559
Posted By lookof2day
Hi,

I'm trying to reproduce a Production Exception. In order to reproduce it I want to limit the size of my log file. Is there a way so that I can limit the size of my log i.e., my log should not...
Forum: JSP Dec 5th, 2007
Replies: 3
Views: 1,393
Posted By lookof2day
Have you properly configured the servlet information in the web.xml file... ???
Forum: Java Dec 3rd, 2007
Replies: 6
Views: 1,449
Posted By lookof2day
Do your eclipse knows the directory of Tomcat? Have you configured it??
Forum: Java Nov 29th, 2007
Replies: 11
Views: 5,937
Posted By lookof2day
In this forum the rule is not to do somebody else's homework or project work. Whether its a question of 100 marks or 1000 marks. You have to do the ground work and ask for help where required. We are...
Forum: Java Nov 29th, 2007
Replies: 2
Views: 1,855
Posted By lookof2day
Are you using WTP plugins with eclipse or simply eclipse. If in case you are using simply eclipse, then there is no way to configure your App Server with it. However, you can still compile your...
Forum: JSP Nov 28th, 2007
Replies: 1
Views: 767
Posted By lookof2day
You can do so by passing the bean in session/request scope when you are clicking the link.
Forum: Java Nov 24th, 2007
Replies: 7
Views: 4,143
Posted By lookof2day
This was interesting. It was really skipping the readLine(). So try this..

System.out.println( "\n¿De que pueblo desea buscar informacion? " );
input = new Scanner(System.in);
...
Forum: Java Nov 24th, 2007
Replies: 7
Views: 4,143
Posted By lookof2day
if you didn't got the exception here

nombreDocTXT = input.next();

then you can't get it when calling nextLine(); because it's just another method of Scanner class. However, can you provide your...
Forum: Java Nov 23rd, 2007
Replies: 7
Views: 4,143
Posted By lookof2day
Have you used Scanner.nextLine()??
Forum: Java Nov 23rd, 2007
Replies: 7
Views: 9,677
Posted By lookof2day
I agree with jwenting
Forum: JSP Nov 23rd, 2007
Replies: 1
Views: 812
Posted By lookof2day
Practice, debug, solve others problems, read JSRs, reviews and counter reviews. Update yourself on other similar or advanced technologies. And the list is too big....
Forum: JSP Nov 23rd, 2007
Replies: 1
Views: 713
Posted By lookof2day
Refer RequestDispatcher.sendRedirect() API + tutorials for more information. Refer your text too. They will guide you.
Forum: Java Nov 23rd, 2007
Replies: 7
Views: 1,402
Posted By lookof2day
I have used static nested classes in struts to populate a html list from database objects. If you are using struts you might find them handy.
Forum: Java Nov 22nd, 2007
Replies: 6
Views: 14,558
Posted By lookof2day
Database drivers (jdbc,odbc,.net...) are provided by database vendors or third party vendors and not generated. JDBC drivers are loaded into the JVM at runtime.

Please refer some books on JDBC...
Forum: JSP Nov 22nd, 2007
Replies: 1
Views: 1,142
Posted By lookof2day
Better option is to upgrade your container or do it in Servlets
Forum: Java Nov 22nd, 2007
Replies: 1
Views: 485
Posted By lookof2day
Read weblogic documentation regarding services. You can also create a startup batch script.
Forum: Java Nov 22nd, 2007
Replies: 3
Views: 4,043
Posted By lookof2day
An example can be found here:
http://www.novocode.com/doc/servlet-essentials/chapter3.html
Forum: Java Nov 21st, 2007
Replies: 5
Views: 2,134
Posted By lookof2day
Use the following piece of code to get Windows OS Look And Feel


try {
//org.fife.plaf.VisualStudio2005.VisualStudio2005LookAndFeel...
Forum: JSP Nov 13th, 2007
Replies: 4
Views: 2,180
Posted By lookof2day
Ok.. So to learn JSP and Servlets, it is always advisable to use Tomcat. Make yourself comfortable with it. Its pretty easy to use.
Forum: JSP Nov 11th, 2007
Replies: 4
Views: 2,180
Posted By lookof2day
First of all Tomcat is a WebServer and has a JSP/Servlet engine called Catalina to process JSP and servlet requests. It cannot process EJBs whereas, JBoss is an AppServer.
Second, you are trying to...
Forum: Java Nov 11th, 2007
Replies: 2
Views: 4,919
Posted By lookof2day
U should use java.util.Random or Math.random() to generate random numbers.
Forum: JavaScript / DHTML / AJAX Nov 8th, 2007
Replies: 5
Views: 1,081
Posted By lookof2day
Well you require a combination of JSP and JavaScript. I don't have the code right now but will work on it and provide it to you. The logic is:

1) Retrieve a java.util.List of Objects from database...
Forum: JSP Nov 8th, 2007
Replies: 1
Views: 3,203
Posted By lookof2day
404 error is File Not Found. You need to learn the basics of Web Programming.
Forum: JSP Oct 30th, 2007
Replies: 4
Views: 2,014
Posted By lookof2day
Are you still facing problem. Send your directory structure
Forum: JSP Oct 28th, 2007
Replies: 2
Views: 1,408
Posted By lookof2day
The given code might help...

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import="person.Person" %>
<!DOCTYPE html PUBLIC...
Forum: JSP Oct 17th, 2007
Replies: 5
Views: 1,059
Posted By lookof2day
String user="root@localhost"
should be
String user="root";
Forum: Java Oct 11th, 2007
Replies: 4
Views: 2,471
Posted By lookof2day
Well in that case I simply add a readline statement after the print statement. So unless and until you don't press a key it won't exit.
Forum: JSP Oct 2nd, 2007
Replies: 9
Views: 6,039
Posted By lookof2day
I'm sorry for my earlier reply, I thought you r facing Connectivity issues so please ignore it.

According to ur post, the price field is a VARCHAR in Oracle (Correct me if I'm wrong). In that...
Forum: JSP Oct 2nd, 2007
Replies: 9
Views: 6,039
Posted By lookof2day
Hi,

You are using jdbc-odbc bridge to connect to Oracle db here
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:prodDSN");
st =...
Forum: Java Oct 1st, 2007
Replies: 3
Views: 832
Posted By lookof2day
People write specific dlls that are specific to their applications and there dlls are required to be registered with Windows registry so that the calling application knows where the library can be...
Forum: Java Sep 28th, 2007
Replies: 14
Views: 1,628
Posted By lookof2day
Java is both - a Framework and a Language. As a Language, it has all the features of a programming language. As a framework it laids down the requirements which must be met by all the vendors...
Forum: JSP Sep 26th, 2007
Replies: 2
Views: 3,606
Posted By lookof2day
You can use JavaScript for displaying timer and there is no need for binding it with a session. Rather, as soon as the user will click start exam button and the jsp page with questions is diplayed,...
Showing results 1 to 40 of 78

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC