• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Package not found

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

can any one help me that iam facing a problem in struts,..

i have downloaded struts and installed in my container Tomcat 4.1/webapps
and i entered .. http*//localhost:8080/struts-blank .. thill this movement its working page displayed.. After this

i have created my own application ...


And created a ActionBean..

Like this...


Its showing error on this line import org.apache.struts.action.*;

Telling that the package not found..

i placed the struts.jar in my project lib folder then also its giving the same error

*********************
i set class path like this in my autoexec.bat
SET CLASSPATH =.;C:\Tomcat 4.1\common\lib\servlet.jar;
SET PATH=%PATH%;%JAVAHOME%\BIN
SET CLASSPATH=.;C:\j2sdk1.4.1_01\lib\tools.jar;C:\Tomcat 4.1\common\lib\servlet.jar;
set CLASSPATH=C:\Tomcat 4.1.4\webapps\StrutsExampleWeb\Web-INF\lib\struts.jar;%CLASSPATH%
path =c:/j2sdk1.4.1_01/bin;.;
************************************


can any one help me to solve this problem..


Thanks in advance

[edited to fix CODE tags -JM]
[ February 11, 2005: Message edited by: Jason Menard ]
 
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Have you registered your action and form bean class inside the struts-config.xml?

thanks
daniel
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic