MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
mgrommet
Post subject: trouble editing JSPs (looking for tld files) [Closed]  PostPosted: Jul 21, 2003 - 08:29 PM
Registered Member
Registered Member


Joined: Jul 21, 2003
Posts: 4

I've created a new J2EE - Web Module Project.

I let the wizard create the Source / Web Root folders and then I exploded a war file into the web root directory that it created.

My exploded war looks like this
|- WEB-INF
|-- tld files
|-- lib dir
|- Jsp files

So that the Jsp files are at the same level as the WEB-INF file
Well, MyEclipse tries to compile all of my JSPs and unfortunately it cannot find my tld files under the WEB-INF directory... while this is understandable because my jsp taglib entries look like this:

<%@ taglib uri="struts-bean.tld" prefix="bean" %>

Weblogic seems to handle this just fine... apparently it set to look for them in the WEB-INF directory...

Is there any way I can make eclipse look for my tld files beyond the web root?
 
 View user's profile Send private message  
Reply with quote Back to top
mgrommet
Post subject:   PostPosted: Jul 21, 2003 - 08:30 PM
Registered Member
Registered Member


Joined: Jul 21, 2003
Posts: 4

whoops, my post got munged a bit... to clarify...

JSP files are at the web root level,
tld files are inside the WEB-INF directory... the diagram above lost its whitespace representation
 
 View user's profile Send private message  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jul 21, 2003 - 09:14 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

Did you modify web.xml to add the appropriate <taglib> elements to map the URI to the taglib location? You really shouldn't be relying on default behavior for this as it's inherently unportable.

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
mgrommet
Post subject:   PostPosted: Jul 21, 2003 - 10:37 PM
Registered Member
Registered Member


Joined: Jul 21, 2003
Posts: 4

Yep that was it apparently someone before me didn't map all of the taglibs

Thanks!!!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits