Win a copy of Head First Android this week in the Android forum!

Monu Sharma

Greenhorn
+ Follow
since Nov 27, 2002
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 Monu Sharma

Thanks a lot for this advice-i will refer that book
for the URLyBird-what shud be the directory structure?
I know upto this time many assignments might be issued by Sun to the candidates. Infact i know people who want to ask questions abt Fly By Night they use the convention as "FBN:" in the subject to ask questions of this kind.....
How we shud write the subject for the URLyBird assignment?
Well in my last project we implemented instance based security on our own as EJB is missing that. I mean to say-it is is having instance based security that can be implemented declaratively but for the instance based security u shud do it all on ur own i.e. programatically.
Do u have any good approach to do it declaratively rather than programatically?
17 years ago
Thanks for the reply-but i'm continuosly getting Cudn't resolve symbol and all becoz of XML related classes like SAXParser... etc..
I'm trying to compile an existing code using jdk1.4.1.
In one of the files becoz of this import
"import javax.xml.transform.stream.StreamSource;" I'm getting the following error : "package javax.xml.transform.stream does not exist".
tell me what to do?
I have lost/corrupted my original assignment Zip file. And now some other assignment is availble to download. Can some one please send it across to my emial id ashu_2001@rediffmail.com
Becoz the new downloadable assignment is something like this:
------------------------
Application Overview
Background
------------------------
URLyBird is a broker of discount hotel rooms. They sell accomodations for business and pleasure travellers at short notice, helping hotels to fill rooms that would otherwise be left empty. They take bookings only within 48 hours of the start of room occupancy. Curently, URLyBird sells the rooms over the phone using a team of customer service representatives (CSRs). The CSRs interact with an aging custom-written application that has been drawing increasing criticism from the CSRs. In the future, URLyBird wants to move into Internet-based marketing, and hopes to be able to accept bookings direct from customers over the web.
The company's IT director has decided to migrate the existing application to a Java technology based system. Initially, the system will support only the CSRs, although the hope is that this interim step will give them a starting point for migrating the system to the web. The IT director does not anticipate much reuse of the first Java technology system, but intends to use that system as a learning exercise before going on to a web based system.
The company's IT department has a data file that contains the essential information for the company, but because the data must continue to be manipulated for reports using another custom-written application, the new system must reimplement the database code from scratch without altering the data file format.
The new application, using the existing data file format, must allow the CSRs to generate a list of accomodations that match a customer's criteria. This is the project that you have been commissioned to implement.
while it shud be
--------------------
Background
--------------------
Fly By Night Services is a small but growing travel agency that provides flight information on a small selection of routes and carriers. The company's IT department recently had an undergraduate student in for work experience during the summer vacation. This undergraduate did some work using the Java programming language and started to produce a rudimentary database system.
The Information Systems Department Manager now wishes to extend this work into a usable application. This application should keep scheduled flight information for a number of airlines and routes, and it should provide a convenient way to search for and book flights that might suit customer's requirements. This is the project that you have been commissioned to complete.
The Current Project Status
At present, a basic data storage and retrieval system (the "database") has been implemented and shown to work by the undergraduate. No network or user level code exists. The database is not relational; it is simply a binary file called "db.db", currently located in the starting/suncertify/db directory of this distribution. This file's format is compatible with the access methods of the Data class.
Hi Andrew,
Thanks, ur links helped me a lot. Infact i forgot my password and asked the CertManager to provide me.
The one i downloaded at that time said SCJD for java1.2(or 2). So it's clear that i can use any good production release of jdk which is after 1.2.
Hi Andrew,
Thanks for ur response. I got this voucher of SCJD for java 1.2 during January this year.
So according to that can i use the new features of jdk1.4 to complete my examination or i have to use jdk1.2 only.
Does this also means that whatever .jar, .class u generate it shud work fine with the JRE/JVM for version 1.2?
can i use jdk1.4.2 to complete my assignment? It's mentioned as jdk1.2 only.
Also tell me some good books also.
I am new to Tocat. I have configured it to run at port 17080 on my m/c-this
has been asked during the installation of tomcat.(we can configure the port during the setup/installation)
I'm having 4.1.24 version of it running on Windows 2000 professional m/c with
jdk1.3.1_02.
At the time when we put "http://localhost:17080/index.jsp"
This is a very first error i'm getting. Can someone help me out regarding
this.Can somebody help me out-how to correct this one.


Edited by MC to use code tags
[ April 29, 2003: Message edited by: Mike Curwen ]
18 years ago
yes JAVA_HOME is all set. Infact i have made changes to all the batch files and hardcoded the value at there also.
18 years ago
While running the sample example JSPs i'm getting this error. I'm running on 17080 port and servlets are running fine. Any idea what to do?
http://localhost:17080/examples/jsp/num/numguess.jsp
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
[javac] Modern compiler not found - looking for classic compiler
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:484)
--------------------------------------------------------------------------------
Apache Tomcat/4.1.18
18 years ago
Thanks a lot Kyle,
I will try to follow the instructions and get back to u in case of any problems.
Anyway is their any newer version of ur book available which covers the WSAD ver 5.0?
18 years ago
Hi Kyle Brown,
All those client programs are having standard main methods into them.
18 years ago