File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Http status 404 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Http status 404 error" Watch "Http status 404 error" New topic
Author

Http status 404 error

Preethi Dev
Ranch Hand

Joined: Sep 07, 2008
Posts: 265
Hi Ranchers!

I am very new to this Struts...Please help me out to execute my struts application on eclipse galileo.

I am getting the error as " The requested resource() is not available. ( tomcat server)

Struts.xml




web.xml


I got this program on the net to try from the below page
http://devtalks.blogspot.com/2009/07/eclipse-galileo-and-struts2.html

I got this from workspace log
"A handler conflict occurred. This may disable some commands."

the taglib uri i used is as follows:

<%@ taglib uri="/struts-html" prefix="html" %> ------->shows error here as can not find taglib descriptor for "/struts-html"

please help me to understand what is needed to get this program run.
sorry to place this much long code and making uncomfortable to read.

I have been trying this for whole day please someone help me to understand .
Thanks in advance
Preetha
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please UseCodeTags when posting code or configuration. Unformatted code and configuration is unnecessarily difficult to read. You can edit your post by using the button.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

What's in the logs? I'm guessing you have a startup error.
Preethi Dev
Ranch Hand

Joined: Sep 07, 2008
Posts: 265
please tell me how to rectify this start up error?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please tell me what's in the logs.

In other words, how can anybody possibly tell you how to rectify the startup error (if that's what it actually is) without knowing anything about what's happening?
Preethi Dev
Ranch Hand

Joined: Sep 07, 2008
Posts: 265
I found these in Log..


eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.osgi 2 1 2010-05-11 11:07:07.226
!MESSAGE NLS unused message: contextRootLabelInvalid in: org.eclipse.jst.servlet.ui.project.facet.WebFacetInstallPage

!ENTRY org.eclipse.osgi 2 1 2010-05-11 11:07:07.227
!MESSAGE NLS unused message: contentDirLabelInvalid in: org.eclipse.jst.servlet.ui.project.facet.WebFacetInstallPage

!ENTRY org.eclipse.help.base 4 4 2010-05-11 11:27:39.141
!MESSAGE Help documentation could not be indexed completely.
!SUBENTRY 1 org.eclipse.help.base 4 4 2010-05-11 11:27:39.141
!MESSAGE IO exception occurred while adding document /org.eclipse.jpt.doc.user/ref_persistence_general.htm to index C:\Users\Preetha\Documents\Downloads\Compressed\eclipse-jee-galileo-SR2-win32\eclipse\configuration\org.eclipse.help.base\index\en_US.
!STACK 0
java.io.IOException: Cannot rename C:\Users\Preetha\Documents\Downloads\Compressed\eclipse-jee-galileo-SR2-win32\eclipse\configuration\org.eclipse.help.base\index\en_US\segments.new to C:\Users\Preetha\Documents\Downloads\Compressed\eclipse-jee-galileo-SR2-win32\eclipse\configuration\org.eclipse.help.base\index\en_US\segments
at org.apache.lucene.store.FSDirectory.renameFile(FSDirectory.java:291)
at org.apache.lucene.index.SegmentInfos.write(SegmentInfos.java:95)
at org.apache.lucene.index.IndexWriter$4.doBody(IndexWriter.java:698)
at org.apache.lucene.store.Lock$With.run(Lock.java:109)
at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:696)
at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:658)
at org.apache.lucene.index.IndexWriter.maybeMergeSegments(IndexWriter.java:646)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:453)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:436)
at org.eclipse.help.internal.search.SearchIndex.addDocument(SearchIndex.java:223)
at org.eclipse.help.internal.search.IndexingOperation.addDocuments(IndexingOperation.java:252)
at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:159)
at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:106)
at org.eclipse.help.internal.search.LocalSearchManager.updateIndex(LocalSearchManager.java:620)
at org.eclipse.help.internal.search.LocalSearchManager.ensureIndexUpdated(LocalSearchManager.java:594)
at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:31)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Preetha
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Anything related to your application startup?
 
 
subject: Http status 404 error