gurcharan singh

Greenhorn
+ Follow
since Dec 21, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by gurcharan singh

Thanks for the insight!!
14 years ago

David Newton wrote:In general this kind of thing isn't really related to Struts itself, and would be handled via JNDI, property files, Spring, or compilation/execution properties.

If you have an example of the kinds of constants you're thinking about we might be able to help better, or direct you to a more appropriate forum.



The settings can be - Whom to email in different mode, Don't send specific emails in dev mode, A specific set of validations need not to be performed if the installation is dev.
14 years ago

David Newton wrote:Custom constants for what? If you want to allow user value changes keep them in a database.

I'm not sure how this is related to Struts yet.



This is my first app with Struts. In past I'd worked with different framework in other programming languages, like, DJango where we can define different settings files and based on our installation (Dev, Prod) we used to refer the specific settings. So I was exploring do Struts provide this kind of freedom.
14 years ago
I want to define my custom constants, not finding any link on how to do it - Anyone has any insight to it.

Also, how can I upload custom settings for different installations, say, Dev and Production, with each having it's own constants/settings.

Thanks!

Gurcharan
14 years ago
Hi!
I am looking for a team members for the developments of projects in j2ee,Java-XML and core java technologies.So if anybody has the knowledge of the following areas and is interested in joining our team do write to me at - singhgurcharan@hotmail.com

bye!
Gurcharan
[ May 24, 2004: Message edited by: gurcharan singh ]
20 years ago
HY!
I am a free lancer developer and looking for a team which is able to work on different technologies of java.I have projects with me.So if anybody interested in working with a good team and lives in NCR contact me at - 9896002118.
BY!
20 years ago
HY!
I have been devloping a program to display a number of photographs in go on JWindow in a matrix form.I make a arrray in which I add image using MediaTracker add image method.But in paint method when I want to draw image using-
for(int i=0;i<2;i++)
{
g2.drawImage(this.display_img[i],x, y, null);
y +=100;
}
I am not been able to get all these images displayed on the screen.
Could you pls tell where I am getting this thing wrong.
BY!
gurcharan
20 years ago
Put the below servlet mapping in web.xml and this will lead your all servlet to execute without doing servlet mapping individually
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
BY!
guru
Ya it's a very well written book and it make these technology easy to understand.But if u want to go for the details go for some other books which deals with one technology like-
-Java servlet Programming by Oreilly
_Professional Jsp by Wrox
BY!
Use <servlet-mapping> in the web.xml file it will work.
<servlet-mapping>
<servlet-name>HelloWorld</servlet-name>
<url-pattern>/HelloWorld</url-pattern>
</servlet-mapping>
BY!
gurcharan
Hy!
i had downloaded the Xerces-j-tools-1.4.4 from the site and place the said file in the directory but still getting the error.
can u tell what this tool is all about and what is to be done of the utilities of this tool.
BY!
gurcharan
HY!
I am using tomcat-4.1.18,but whenever i try to run my jsp which is having custom tags in it, I am
getting the below mention error.This error msg also their when i run the standard jsp example of
the tomcat(ie. SimpleCustomTagExample) which are having jsp tags in it.
Could any body tell me what's wrong?
thanxs,
guru
java.lang.NoClassDefFoundError: org/apache/xerces/parsers/AbstractDOMParser
at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:88)
at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:167)
at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:175)
at org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:147)
at org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:318)
at org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:437)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:353)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:800)
at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:223)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
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)
HY!
i am planning toappear for my scwcd exam in this month;anybody who is also appearing or planning to appear and living in and around delhi contact me on my email-singhgurcharn@hotmail.com.
May be we can share our queries and problems.
YThis is hotel is sistuated in the Lauterbrunnen Valley in the place called Murren.The Murren is one of the few spa resotrs worldwide without any car traffic,accessible only by cableway in 10 minutes or by train in 20 minutes.It's one of the switzerland famous summer destination.
The room that i had is hotel unit for 2 persons.The room is fully carpeted with radio clock,telephone,satellite telivision,video player,hairdryer.The room also has a partial kitchen with breakfast crockery and microwave.
if anybody is interested contact me.
BY!
gemmaverick
Hello,
yes i had done as u told me and also this time i didn't given any database name.
now i am getting trap in the try catch block and also getting error msg-:EOJ_DATABASE_IS_NULL.
Regards,
gurcharan
21 years ago
Thanxs for response No I am not getting any of the print statement.Whenever i write command -: "java jdbcCheckup" I just get out of the command without any response.
21 years ago