Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Struts
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Struts section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 27th, 2006, 08:21 AM
Authorized User
 
Join Date: Jan 2006
Location: , , .
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default I am not able to compile my Action class

I hav put my action file in src under com.jamesholms package and i have in cluded the jar files in lib and environment varialbles also.
     even then it is not getting compiled.can anybody help me out.

Regards
vivek

__________________
regards ,Vivek
  #2 (permalink)  
Old February 27th, 2006, 01:01 PM
Authorized User
 
Join Date: Jan 2006
Location: , , USA.
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to longjava
Default

Make sure your CLASSPATH environment is set to point to the servlet.jar and struts.jar files. If you don't want to set your CLASSPATH variable, then you can use the option -cp of javac command to point to your servlet and struts jar files while compling.

  #3 (permalink)  
Old May 4th, 2006, 09:09 AM
Authorized User
 
Join Date: Apr 2006
Location: NaviMumbai, Maharashtra, India.
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vakorde
Default

The best way to make the compilation proper and handy use ANT scripts. Yes you need to learn those things but pretty useful if you are using notepad sort of editor for coding.

---------------------------
Vikrant Korde
3i Infotech, Vashi,
Mumbai, Maharashtra, India.


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display errors from Action class on the jsp ntando HTML Code Clinic 0 December 5th, 2006 06:30 PM
unable to compile class file derricktancf JSP Basics 0 November 1st, 2006 04:42 AM
Logger.getInstance in Action Class ramanadyv Struts 1 January 16th, 2006 05:44 AM
Compile method (Compiler class) stalker C# 2 November 11th, 2004 01:19 PM
URGENT - Unable to compile class for jsp Black Balloon Apache Tomcat 6 August 27th, 2004 06:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.