Jaffery Rab

Ranch Hand
+ Follow
since Jan 18, 2002
Merit badge: grant badges
For More
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 Jaffery Rab

Hi folks,
If you don't want to use ejb container for data persistance...check out Sun JDO more stable and proven technology than Hibernate.
sorry JSP look like this:
20 years ago
I am new to struts and I am having problen running my first struts application I am having following error message whie I run submit.jsp error is :

My JSP look like this:


My web.xml is :
and struts-config.xml

I have com.struts.LookupForm nd LookupFAction classes in classes diretory of WEB-INF with their respective path like <CATALINA_HOME>/webapps/StrutsProject/WEB-INF/classes/com/struts
code is :

if somebody help me I will be very greatfull::::
Cheers,
20 years ago
Castor dirty check sucks!!
20 years ago

You can include the src directory in your classpath by appending it to your CLASSPATH environment variable or by passing it to the javac compiler using the '-classpath' attribute.


I am sorry I am bothering you too much..........
How can I do this can you gimme an example?
20 years ago
My Class path look like this:
C:\j2sdk1.4.1_03\lib\servlet.jar;C:\jakarta-tomcat-4.1.24\common\lib\servlet.jar;C:\jakarta-tomcat-4.1.24\common\lib\struts.jar

also I am compiling it from my <CATALINA_HOME>/webapps/struts-blank/WEB-INF/src directory.
How can I set classpath for javac ??
20 years ago
Hi
I am very new Struts programming, infact trying to run my first struts application, but can not be able to compile Action class. Code is :

getting error message:

My form bean look like this and its already compile and I put .class file in classes directory alredy:

Web.xml look like this:

struts-config.xml look like this:

and I don't know what to put in hansen.playgound.ApplicationResources thats why I left it blank, nothing is in there.
Please help me!!
20 years ago
I have put my .java classes in src folder in <CATALINA_HOME>/webapps/StrutsProject/WEB-INF/src and trying to compile it from there. I have also put all struts jar in <CATALINA_HOME>/webapps/StrutsProject/WEB-INF/lib what else am I supposed to do to make all struts classes available for compiler classpath.
Also I have all struts jar files in lib directory of my jdk.../lib an put .java in jdk../bin and try to compile it from there but got same error.

How and where can I put all struts jar files so I will get rid of this error. Please help me !
20 years ago
how can I put struts classes in in my class path. I have copied all struts jar files in my WEB-INF/lib is it not enough?
20 years ago
just discard <CODE> tag also I am using tomcat4
20 years ago
Hi
I am new to struts and trying to run my first struts application, but getting error while try to compile my Formbeam, error message is :
========================================
C:\j2sdk1.4.1_02\bin\com\struts\LookupForm.java:6: package org.apache.struts.action does not exist
import org.apache.struts.action.ActionForm;
^
C:\j2sdk1.4.1_02\bin\com\struts\LookupForm.java:7: package org.apache.struts.action does not exist
import org.apache.struts.action.ActionMapping;
^
C:\j2sdk1.4.1_02\bin\com\struts\LookupForm.java:10: cannot resolve symbol
symbol : class ActionForm
location: class com.struts.LookupForm
public class LookupForm extends ActionForm{
^
C:\j2sdk1.4.1_02\bin\com\struts\LookupForm.java:30: cannot resolve symbol
symbol : class ActionMapping
location: class com.struts.LookupForm
public void reset(ActionMapping mapping, HttpServletRequest request) {
^
4 errors
============================================
code is :
<CODE>
package com.struts;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class LookupForm extends ActionForm{
private String symbol=null;

public String getSymbol(){
return (symbol);
}
public void setSymbol(String symbol){
this.symbol=symbol;

}
public void reset(ActionMapping mapping, HttpServletRequest request) {

this.symbol=null;
}

}
</CODE>

my struts-config.xml looks like this:
<CODE>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE struts-config
PUBLIC
"-//Apache Software Foundation //DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<message-resources parameter="com.struts.ApplicationResources" />

<form-bean name="lookupForm" type="com.struts.LookupForm" />
</struts-config>
</CODE>

and my we.xml looks like this:
<CODE>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtd/web-app_2_3.dtd">
<web-app>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
</web-app>
</CODE>
and I have put struts.jar, commons-beanutils.jar, commons-collections.jar, commons-dbcp.jar, commons-digester.jar, commons-logging.jar, commons.pool.jar, commons-validator.jar in WEB-INF/lib directory.
20 years ago
Hi Guys,
I am a new to SOAP, but went through some basic SOAP tutorial and concept. Now I need to have complete and easy SOAP Project including all coding and environment setting so I could just run it and see how it works.
Could anybody tell me how can I get this resource.
Cheers,
Irfan Jaffery
20 years ago
Hi,
I am new to SOAP and just need you guys help. Could anybody tell me about the best tutorial available to get the hands on and also what are the pre-requisite before you go for SOAP.
Cheers,
20 years ago
Hi Thanx for your reply! but I a not getting in it. Could you please write it for me just for one file say that I have to run it at 2:00 PM
Thanx I really appreciate!
Cheers,
21 years ago