Kirtipur Itagol

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

Recent posts by Kirtipur Itagol

Hey Mike!
Not only the working code is necessary but also the structure of the code counts a lot while you work in a group. It makes you as well as your teacher or any third person to read and understand your code easily and quickly. So, I think you will be better off accepting your teacher's/professor's code snippet writting rules. Because life will be easier with that coding practice! Don't think that you will write / read 10 lines of codes in a real world scenario, there will be thousands dude, so make it as a habit to maintain your code snippets like your instructor said!
Hi there, I unzipped a new eclipse IDE inside my C:. Now I tried to run the eclipse.exe, but it gives "Error: Couldn't find Java 2 runtime environment". what's the solution?
Sorry, didn't get you precisely Tim. What I'm doing in the Eclipse is, creating a WAR file using ANT, then running it through the Tomcat in the eclipse itself (not using the Command line)without hitting the startup.bat in the tomcat's bin directory. Do I need to add certain specific jar files in Run window??
Hi everybody,
I'm getting this "Source not found for bean.method() line 212" problem while I try to step over (F6) the arguments in a method in the DEBUG mode in Eclipse...anybody has any clue about this problem??
Thanks Ulf. By the way I forgot to inform you that i'm using Eclipse 3.1.
I created my first project - Login - and could debug fine.

I then created a second project but when trying to debug, I got a
problem linking with the source. I could set the breakpoint and it
would stop at the correct breakpoint however it could not find the
source file. The debugger created a new window displaying "Source not found for TopUpValidatorForm.getCvc() line: 42" I finally discovered that if I put a copy of the source file under the original Login project, it did find the source.I'm sure there is a path somewhere pointing to Login instead of the
new project but I can not find it.
Hi i'm using Ant to build the WAR, and using Eclipse IDE and Tomcat 5.0 as a server. Now I want to debug my app using some breakpoints. But when I hit a button in my page, the breakpoint/ and debug mode of Eclipse is not working. Is it something to do with ANT? How to tackle this situation so that I can go to each line for debugging!!
19 years ago
i'm using eclipse and trying to run my application. All of my jars are located in C:. To add a new jar in my local repository, I go to the topmost tree, go to the properties, and add external jar. but what i see in the tree is the jar name with the address...different from other jars. what am i missing?
19 years ago
yeah i did. Or should i remove that jar and put it in again?
19 years ago
What the heck is this " Unable to read TLD "META-INF/taglib.tld" from JAR file "file:/C:/Documents and Settings/RCMSWorkSpace/RCMS/WebContent/WEB-INF/lib/sitemesh-2.2.1.jar": java.lang.NullPointerException."

Looks like one of my jar got ripped off. what is the solution for this folks!
19 years ago
Hey Jong, thanks a lot!
19 years ago
Can anybody give me some clue for this!
<code>StandardContext[/RCMS]Error configuring application listener of class gov.nyc.dop.rcms.util.StartupListener
java.lang.ClassNotFoundException: gov.nyc.dop.rcms.util.StartupListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3775)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)

<code>
19 years ago
Thanks Ansar!
In the JSP, as soon as I click the add button, I can see the values selected in the datatable(same page). And after that I select save (I don't have any errors displayed in my log file). As far as my understanding, after hitting the save button, I want those displayed datas in the datatable be populated in the database, but i'm not seeing it.
I'm using DAO, service class/interface, controller, and model objects. From the lookup table, I display the values, Those selected values should be displayed in the table "some_table" in the database.
I think I have a correct mapping in the hibernate.xml. So, my question is how should I implement this (in the jsp, value="save" action="#{controller.savedata)") in my controller?
FYI each time the data is inserted( which is not being inserted currently!), it will generate a sequence code.
Thanks for the advice!
19 years ago
JSF
Hi there, I'm using hibernate and Db2 with JSF. In the Db2 I have a table A, where I have a column B with two values. In the jsp I could directly/dynamically populate those two values in my selectonelistBox.
My question is, after I select a value from the list and click add or save button, I want the selected value to be saved in the database. So, do I need to create a separate table for the stored value, or do I need to do something with the hibernate?
Show me the way people!!
19 years ago
JSF
Thanks basar, but here's my datatable binder: <code>binding="#{SomeController.uiSomeNameDataTable}"</code>
So, after this, I call the action button called " save", and you mean after this I have to update it in the hibernate??
Is it possible to guide me through few lines of codes??
Appreciate it!
Kirtipur
19 years ago
JSF