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 error comes while running the struts application please see the source code for detail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "error comes while running the struts application please see the source code for detail" Watch "error comes while running the struts application please see the source code for detail" New topic
Author

error comes while running the struts application please see the source code for detail

tamnna arzoo
Greenhorn

Joined: Mar 23, 2010
Posts: 23
Iam making application in struts for Login iam using the logic if username and password both are equal then redirect to sucess.jsp otherwise redirect to failure.jsp

when i run my application on eclipse the error comes

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /Login.jsp at line 18

Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9307
    
  17

tamnna please Use Code Tags when you post a source code. That way your code looks formatted. Unformatted code is hard to read. You can add code tags by wrapping your code in [code] [/code] tags. You can edit your message using button and then add code tags to it...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 368
Declare ActionServlet in your web.xml

for more details just google for struts helloworld Application, you will get lots of stuff.

HTH


Thanks,
Shailesh
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

In addition to actually telling Struts to process your requests, you also cannot access a JSP with Struts form tags in it directly--the request must go through an action.

Is there any reason you're starting Struts with such an old version?
christopher Daniel
Greenhorn

Joined: Nov 01, 2010
Posts: 2
check web .xml with this tag Thats its giving you the error.


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error comes while running the struts application please see the source code for detail