maggie karve

Ranch Hand
+ Follow
since Dec 29, 2009
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by maggie karve

the result is 20
I dont know why??
9 years ago
Hello People.........

I wrote a code in html to just invoke the servlet and my servlet code goes like this

i just get to see the html page ....I expect to see an excel file with the data values..I tried posting the http link in excel file but didnt work..I am not sure how to see it.....
Kindly help...

Thanks in advance
10 years ago
but i didnt get an appropriate reply..i have read that its a bad style to use datasource now...
but can you tell me whether will i be able to acccess database using struts 1..i know we can in struts 2....using hibernate..

please reply
13 years ago
Hi...i have read in forums that using datasource is not a good can i connect to database using struts 1....i want to do it in both in Struts 1 as well as Struts2..
When i use datasource in my stuts-config.xml,i get an error


and my Action
13 years ago
i tried to download DOJO toolkit...
i downloaded it from
i downloaded zip files like
-- dojo-release-1.4.3-src
-- dojo-release-1.4.3-src.tar.gz
-- dojo-release-1.4.3-src.tar
-- dojo-release-1.4.3-demos.tar.gz
-- dojo-release-1.4.3-demos.tar
-- dojo-release-1.4.0-docs.tar.gz
i unzipped all the files i have the DOJO files which you get by default like dojo,dijit,util,dojox...

but i want the builder..from where do i get it??

is it that i have it but i dont know how to get it???

I am getting error while starting Tomcat...

i set the devmode on by including file

and struts.xml file

when i started Tomcat i am getting the foll...
13 years ago
Hi...this is what i get when i put devmode on..

I am using Struts

and my directory for strut.xml is
C:\Software\Tomcat 6.0\webapps\testapp\WEB-INF\classes\struts.xml and rest all the files i have made are in the same path as mentioned in the tutorial....i have put the jsp files Login.jsp and Welcome.jsp in C:\Software\Tomcat 6.0\webapps\testapp directory.....i even made the same jsp and deployed it in eclipse under

C:\Software\workspace\StrutsHelloWorld\WebContent folder......

is there anything else that i am missing???
13 years ago
I am just tying to execute an example from the tutorial available in this code is the same as

i have placed my files in eclipse as mentioned in the tutorial.....
still i have getting error.....i have placed the same struts.xml file under WEB-INF/classes folder..........
13 years ago
I am a newbie in Struts 2...
i am trying to execute a Login.jsp and i am using eclipse as the development environment....i have stored the struts.xml in file......

but when i run the program i get....

There is no Action mapped for namespace / and action name . - [unknown location]
i went through previous links in javaranch which had same posts but even though i made changes like puttings struts.xml under WeB-InF dirrectory and problem is not getting solved...thanks...
13 years ago
i have put all the jar files in my lib directory ..i have removed the jaR FILE FROM c:\Software\tomcat 6.0\webapps/WEB-INF/lib directory....still i am getting the same error......
13 years ago
i am writing Struts 2 app and i have stored all the jar files in my C:\Software\Tomcat 6.0\lib directory...still i get the error as

13 years ago
you mean its ok..if i skip struts 1 and directly start with struts 2....thanks...
13 years ago
i don know anything about struts...hence i started with struts one...then will go on with struts 2...what do you suggest?

13 years ago
my problem is resolved i used one jar file for compiling called struts-core-1.3.10.jar and it compiled fine.........
now i have another doubt in the same application..i have written 2 classes one is dependent on another...
first is ....

second is

when i compile both the servlets compiles well but HelloWorldAction gives complier error as follows cannot find symbol
symbol : class HelloWorldActionForm
location: package myServlets
import myServlets.HelloWorldActionForm;
^ cannot find symbol
symbol : class HelloWorldActionForm
location: class myServlets.HelloWorldAction
HelloWorldActionForm helloWorldForm = (HelloWorldActionForm) form;
^ cannot find symbol
symbol : class HelloWorldActionForm
location: class myServlets.HelloWorldAction
HelloWorldActionForm helloWorldForm = (HelloWorldActionForm) form;
3 errors

though i have written line 1..
what is my mistake....kindly reply..

thanks in advance...
13 years ago
i tried executing the same program in IDE ,even after importing the packages i am getting compiler error on....

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

which jar files are required as executables for running this application???

when i say
public class HelloWorldAction extends org.apache.struts.action.Action

it give complier error on


what am i missing??

13 years ago