[JBoss-user] [Installation Configuration] - Re: package javax.servlet.jsp does not exist

2005-05-26 Thread komo
I had a similar error when i tried to deploy a simple JSP for JBoss in a Tomcat 
manner, means to extend the server.xml by a context-tag. The JSP has been 
transformed to a servlet but this servlet i've been not able to get it compiled 
automatically by JBoss, but only by hand with an appropriate classpath 
extension like ...jboss-4.0.1RC2\server\default\lib\javax.servlet.jar ...

The point was that JBoss works obviously different than Tomcat although 
JBoss integrates Tomcat. No server.xml adaption is necessary but only a DOS box 
with

jar cf HelloWorld.war WEB-INF jsp //... and some more directories you need ...

copy HelloWorld.war ...\jboss-4.0.1RC2\server\default\deploy

When JBoss is already started you can see some seconds later the deployment 
print out in the JBoss-start-window. 

My system variables are simply like this:

JAVA_HOME=C:\j2sdk1.4.2_06
CLASSPATH=C:\j2sdk1.4.2_06
JBOSS_HOME=C:\J2EE\jboss-4.0.1RC2

HTH

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3879149#3879149

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879149


---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402alloc_id=16135op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: package javax.servlet.jsp does not exist

2005-05-26 Thread nkkwok
Komo, thank you for your advice.

After I have added the servlet.jar in my classpath, the mentioned problem was 
solved. My system variables now is set like this:

JAVA_Home: c:\Program Files\Java\jdk1.5.0_01 
JBOSS_HOME: C:\jboss-4.0.0

Path=c:\Program Files\Java\jdk1.5.0_01\bin 

Classpath=c;\ jboss-4.0.0\bin;C:\jboss-4.0.0\server\default\lib\servlet.jar

nkkwok



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3879244#3879244

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879244


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user