ankit pathariya

Greenhorn
+ Follow
since Aug 16, 2011
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 ankit pathariya

Hi All,
I am currently working on a java project which uses eclipse and tomcat 5.5 server.I have configured tomcat in eclipse nad every thing is working fine.But when i restarts my system and again starts the tomcat server from eclipse then it dosent works.In the console it says that the server is properly started but when i try to access my application from browser it gives 404 error.So,i have to add new server by deleting the existing one,and this time it works fine.
So,any one having any idea thanks in advance.
12 years ago
Hi all,

I have created a simple project in java but later on i changed the package structure of my classes and now when i run my project i am facing the following errors.

SEVERE: Exception starting filter struts2
java.lang.ArrayIndexOutOfBoundsException: 0
at org.apache.struts2.convention.SEOActionNameBuilder.build(SEOActionNameBuilder.java:69)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.determineActionName(PackageBasedActionConfigBuilder.java:601)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildConfiguration(PackageBasedActionConfigBuilder.java:445)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:278)
at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:52)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:200)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:48)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:273)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:254)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:372)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:98)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4584)
at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5262)
at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5257)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Jan 5, 2012 2:45:55 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error filterStart

Please help me if any suggestion regarding this error.
12 years ago
I have created one login action class which entends action support but i dont know what to do in execute method for login

Can you please help me..
12 years ago
Hi
i am creating a user registration and login system using struts 2 and hibernate.
I have succesfully created the user registration but unable to create login system so can any one please help me in creating login action class

12 years ago
Hi,

I have created one user registration system using struts,hibernate and mysql,its working fine but after restarting my server (apache tomcat) when i again fill the registration form and hits submit the older database values gets emptied and new values are entered with no other record.

Any one having any idea regarding this.
Please help me..
12 years ago
Hi,
I have created a simple hello world project in eclipse and i want to deploy it to tomcat server but unable to create a build file so unable to deploy on server
Can any one please help me its really urgent.

Thanks
Ankit
12 years ago
while creating builf file getting error

Unknown lifecycle phase "HelloWorld". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>.

please help
12 years ago
See J2SE and J2EE are two different versions of java but servelet and jsp are part of advance java
12 years ago
Hi i am new to java web development i have created a simple dynamic web project in eclipse now i want to create a build file using maven.
I have installed maven plugin in eclipse but unable to create build file so please help me.
12 years ago